#statistics_title_block{
	display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
#statistics_title{
    z-index: 1;
	text-align: center;
	border: var(--background-red-border);
	padding: 15px;
	border-radius: 5px;
	transition: .5s;
	background-color: var(--background-header);
	margin-bottom: 20px;
    margin-top: 15px;
}
#statistics_title:hover{
	background-color: rgba(148, 49, 49, 1);
}
#statistics_title:hover .statistics_title_text{
	color: var(--police-white-color);
    transition: .5s;
}
#back_link_block_error{
    margin-top: 50px;
    margin-bottom: 20px;
}
#stat_premium_redirection{
    padding: 10px;
    -webkit-appearance: none;
    color: var(--police-main-color);
    font-family: var(--police-main-family);
    font-size: 1.1em;
    box-shadow: 1px 2px 2px rgba(77, 72, 72, 1);
    background-color: var(--background-body);
    border: var(--border-main-button);
    border-radius: 5px;
    text-decoration: none;
}
#stat_premium_redirection:hover{
	background-color: var(--hover-main-button);
	box-shadow: inset 3px 3px 3px rgba(0, 0, 0, 1);
	cursor: pointer; /* Devient pointeur quand la souris passe sur le block */
}
#statistics_dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 0.3rem;
}

.statistics_card {
    background-color: var(--background-header);
    border-radius: 6px;
    padding: 20px;
    padding-bottom: 30px;
    width: 100%;
    max-width: 45%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.full {
    max-width: 100%;
    width: 93%;
}

.card_header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.statistics_card_title {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--police-main-color);
    margin-bottom: 1rem;
}

.legend{
    background-color: var(--background-body);
    border-radius: 8px;
    padding: 6px;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.legend_icon_and_label{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
}
#icon_card_legend_block{
    margin-bottom: 2px;
}
.legend_icon{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    font-size: 0.8rem;
}

.legend_icon img{
    width: 10px;
}

.legend_label{
    color: var(--police-main-color);
    font-size: 0.8em;
}

.edit_img{
    width: 13px;
}
.red{
    color: rgb(244, 67, 54);
}

.green{
    color: rgb(76, 175, 80);
}

.bleu{
    color: rgb(65, 105, 225);
}

.orange_filter{
    filter: invert(44%) sepia(96%) saturate(1399%) hue-rotate(326deg) brightness(103%) contrast(101%);
}

.bleu_filter{
    filter: invert(44%) sepia(89%) saturate(1569%) hue-rotate(185deg) brightness(98%) contrast(95%);
    width: 15px;
}

.statistics_container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
#statistics_password_strength_container{
    flex-direction: row;
    justify-content: space-evenly;
}

.statistics_item {
    text-align: left;
    flex-basis: calc(45% - 1rem);
    padding: 1rem;
    background-color: var(--background-body);
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    min-width: 100px;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    text-decoration: none;
    -webkit-appearance:none; /* Permet de conserver le style des boutons sur téléphone */
}

.statistics_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.statistics_item h3 {
    font-size: 1rem;
    font-weight: 300;
    color: var(--police-main-color);
    margin-bottom: 0.5rem;
    padding: 0;
    margin: 0;
}

.statistics_item h6 {
    font-size: 0.7rem;
    font-weight: 300;
    color: rgb(117, 117, 117);
    margin-bottom: 0.5rem;
    padding: 0;
    margin: 0;
}

.statistics_item p {
    font-size: 3rem;
    font-weight: 500;
    color: var(--police-main-color);
    padding: 0;
    margin: 0;
}

.statistics_item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 6px;
    background-color: rgba(38, 38, 38, 0.1);
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.statistics_item:hover::before {
    opacity: 1;
}

.statistics_value {
    display: flex;
    gap: 20px;
    align-items: baseline;
}

.statistics_details {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    align-items: flex-end;
    justify-content: space-between;
}

.arrow_right_icon{
    filter: invert(15%) sepia(100%) saturate(6692%) hue-rotate(330deg) brightness(100%) contrast(105%);
    width: 10px;
}

.statistics_create {
    display: flex;
    align-items: center;
    color: rgb(76, 175, 80);
}

.statistics_delete {
    display: flex;
    align-items: center;
    color: rgb(244, 67, 54);
}

.statistics_viewed {
    display: flex;
    align-items: center;
    color: rgb(33, 150, 243);
}

.statistics_edit {
    display: flex;
    align-items: center;
    color: rgb(255, 127, 80);
}

.statistics_share_rights {
    display: flex;
    align-items: center;
    color: rgb(255, 0, 102);
}

.statistics_share{
    display: flex;
    align-items: center;
    color: rgb(255, 152, 0);
}

.statistics_rights{
    display: flex;
    align-items: center;
    color: rgb(65, 105, 225);
}
.statistics_viewed img {
    filter: invert(44%) sepia(89%) saturate(1569%) hue-rotate(185deg) brightness(98%) contrast(95%);
    width: 20px;
}

.statistics_edit img {
    filter: invert(44%) sepia(96%) saturate(1399%) hue-rotate(326deg) brightness(103%) contrast(101%);
    width: 15px;
}

.statistics_rights img{
    width: 12px;
}

#statistics_share_container{
    display: none;
}
#statistics_password_container{
    display: none;
}

.graph_data {
    display: flex;
    align-items: center;
    width: 100%;
    height: 380px;
    justify-content: center;
}

.graph_share {
    display: flex;
    align-items: center;
    width: 100%;
    height: 380px;
    justify-content: center;
}
.graph_password_strength {
    display: flex;
    align-items: center;
    width: 50%;
    height: 380px;
    justify-content: center;
}

.graphBody {
    width: 100%;
}

.statistics_panneau{
    display: flex;
    gap: 20px;
}

#statistics_password_strength_container{
    gap: 4em;
}

.green_border_circle_block {
    width: 210px;
    height: 210px;
    background-color: rgb(255, 255, 255);
    clip-path: circle(50% at 50% 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.green_border_circle {
    width: 200px;
    height: 200px;
    background-color: rgb(0, 128, 0);
    clip-path: circle(50% at 50% 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.border_octagon_block {
    width: 210px;
    height: 210px;
    background-color: rgb(255, 255, 255);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.border_octagon {
    width: 200px;
    height: 200px;
    background-color: rgb(184, 13, 13);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.red_border_circle_block{
    width: 210px;
    height: 210px;
    background-color: rgb(255, 255, 255);
    clip-path: circle(50% at 50% 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.red_border_circle{
    width: 200px;
    height: 200px;
    background-color: rgb(184, 13, 13);
    clip-path: circle(50% at 50% 50%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}


.content {
    text-align: center;
    color: var(--police-main-color);;
    position: absolute;
}

.content h1{
    font-size: 4em; 
    padding: 0;
    margin: 0;
}
.content p{
    padding: 0;
    margin: 0;
}

@media (max-width: 1250px) {
    .statistics_container {
        flex-direction: row;
        width: 100%;
    }

    .full {
        width: 100%;
        padding: 6px;
    }

    .statistics_item {
        flex-basis: calc(100% - 1rem);
        height: auto;

    }

    .statistics_card {
        max-width: 100%;
    }

    .graph_share {
        width: 100%;
    }

    .graph_data {
        padding-top: 10px;
        height: 350px;
        width: 95%;
    }
}

@media (max-width: 576px) {
    .statistics_container {
        flex-direction: row;
        width: 100%;
    }

    #statistics_password_strength_container{
        flex-direction: column;
        justify-content: flex-start
    }
    .graph_share {
        width: 100%;
    }

    .graph_data {
        width: 100%;
    }

    .legend_label{
        font-size: 0.7rem;
    }

    .graph_password_strength {
        width: 100%;
    }
    
    .statistics_panneau{
        flex-direction: column;
    }
}

