* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
}

@font-face {
    font-family: 'Montserrat';
    src: url('asset/typographie/montserrat-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    /* Base color: #17a2b8 */
    --primary: #489e88;
    --primary-light: #4bc0d2;
    --primary-lighter: #c2ebf0;
    --primary-dark: #138496;
    --primary-darker: #0f6674;
    --primary-bg: #eaf8fb;
    --text-dark: #0a4149;
    --text-light: #ffffff;
    --danger: #d44f78;
    --success: #20b588;
    --warning: #ebc149;
    --gray-light: #f4f9fa;
    --gray: #e4eef0;
}

.btn1:hover {
    background-color: #929292 !important;
    color: white !important;
}

body {
    background-color: var(--primary-bg) !important;
    color: var(--text-dark);
    height: 100vh;
    overflow: hidden;
    font-weight: 400;
}

.input-detail {
    color: black !important;
    background-color: #f5f4f4 !important;
}

.modul {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: var(--bs-body-bg);
    background-clip: padding-box;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}

.centrer {
    display: flex;
    justify-content: center;
}

.container1 {
    display: flex;
    height: 100vh;
}

.detail {
    font-weight: bold;
    color: #489e88;
}


.star-rating {
    display: flex;
    justify-content: left;
}

.star {
    font-size: 20px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.3s;
}

.star.active {
    color: #ffc107;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background: white;
    color: var(--text-light);
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 2px 0 10px rgba(15, 102, 116, 0.2);
    z-index: 10;
}

.sidebar-logo {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #5050502e;
}

.sidebar-logo1 {
    padding: 24px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #5050502e;
}

.sidebar-logo img {
    width: 50px;
    height: 50px;
    border: .5px solid #489e8947;
    padding: 5px;
    border-radius: 5px;
}

.col {
    color: #0000001b !important;
    font-size: 50px;
}

.table-title2 {
    font-size: 14px;
    font-weight: 600;
    color: #316d5e;
    width: 200px;
    width: 200px;
    /* Largeur fixe */
    line-height: 1.5em;
    /* Hauteur d'une ligne */
    max-height: 3em;
    /* 2 lignes max (1.5em * 2) */
    overflow: hidden;
    /* Cache le texte excédentaire */
    position: relative;
    text-overflow: ellipsis;
}

.table-title2::after {
    text-overflow: ellipsis;
    position: absolute;
    bottom: 0;
    right: 0;
}




.logo-text {
    margin-left: 12px;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.name_container {
    width: 160px;
    height: 50px;
    background-color: #eaeaea93;
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    /* Centre verticalement */
    text-transform: uppercase;
}

label {
    font-weight: bolder;
}

.nav-list {
    padding: 20px 0;
    list-style: none;
    max-height: calc(100vh - 70px);
    /* Ajuste en fonction de la hauteur de la navbar */
    overflow-y: scroll;
}

/* Personnalisation de la scrollbar */
::-webkit-scrollbar {
    width: 6px;
    /* Largeur de la scrollbar */
}

/* Fond de la scrollbar */
::-webkit-scrollbar-track {
    background: #eaf8fb;
    /* Couleur du fond */
    border-radius: 10px;
}

/* Couleur de la barre */
::-webkit-scrollbar-thumb {
    background: #17a2b8;
    /* Couleur principale */
    border-radius: 10px;
    border: 2px solid #eaf8fb;
}

/* Effet au survol */
::-webkit-scrollbar-thumb:hover {
    background: #138496;
}

.detail:hover {
    color: #138496;
}

.scroll {
    overflow-y: auto !important;
    max-height: 260px !important;
}

.scrollregister {
    overflow-y: auto !important;
    max-height: 350px !important;
}

.padding {
    padding: 16px 20px;
}


.nav-item {
    padding: 14px 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #262a2e;
    margin: 4px 8px;
    border-radius: 8px;
    font-weight: 500;
    background-color: #dddddd78;
}

a {
    text-decoration: none !important;
}

.nav-item.active {
    background: var(--primary);
    color: white;
    /**box-shadow: 0 4px 10px rgba(23, 162, 184, 0.3);**/
    font-weight: 600;
}

.sub-menu-item.active {
    background: var(--primary-lighter);
    color: var(--primary-darker);
}

.nav-item:hover {
    background: var(--primary-dark);
    color: white;
}

.nav-item i {
    margin-right: 12px;
    width: 24px;
    text-align: center;
    font-size: 12px;
}

/* Toggle sidebar button */
.toggle-sidebar {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    z-index: 20;
    box-shadow: 0 4px 12px rgba(15, 102, 116, 0.3);
    transition: all 0.3s ease;
    font-size: 12px;
}

.toggle-sidebar:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Main Content */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    color: black;
    letter-spacing: -0.5px;
}


.body1 {
    background-color: #489e88 !important;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    position: relative;
    overflow-x: hidden;
}

.main-content1 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.login-container {
    max-width: 400px;
    width: 90%;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
    position: relative;
    z-index: 10;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-img {
    max-width: 150px;
    height: auto;
}

.input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.custom-input {
    background: transparent;
    border: none;
    border-bottom: 2px solid rgb(255, 255, 255);
    color: white;
    width: 100%;
    padding: 0.5rem 0;
    outline: none;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px !important;
}

.custom-input:focus {
    border-bottom: 2px solid white;
}

.custom-input::placeholder {
    color: rgb(255, 255, 255);
    font-weight: 500;
}

.btn-login2 {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 30px;
    padding: 0.5rem 2rem;
    font-weight: 600;
    letter-spacing: 1px;
    width: 100%;
    margin-top: 1rem;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px !important;
}

.btn-login2:hover {
    background-color: white !important;
    color: #489e88 !important;
}

.forgot-password {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 1;
    transition: opacity 0.3s;
    font-weight: 300;
    font-size: 14px !important;
}

.register {
    text-align: center;
    margin-top: 1rem;
}

.register a {
    color: #20b588 !important;
    background-color: white !important;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: .8;
    transition: opacity 0.3s;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
}

.register a:hover {
    opacity: 1;
}


.background-image {
    position: fixed;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.background-image img {
    width: 50%;
    max-width: 700px;
    height: auto;
    opacity: .3;
}

.forgot-password a:hover {
    opacity: 1;
    text-decoration: underline !important;
}

.footer {
    text-align: center;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-weight: 300;
    margin-top: auto;
    position: relative;
    z-index: 2;
}



/* Animation des labels plus sophistiquée */
.text-label {
    animation: glowPulse 5s ease-in-out infinite alternate;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
}

.text-label:nth-child(odd) {
    animation-delay: 1.5s;
}

.text-label:nth-child(3n) {
    animation-delay: 0.8s;
}

@keyframes glowPulse {
    0% {
        opacity: 0.4;
        font-size: 5.5px;
    }

    50% {
        opacity: 1;
        font-size: 6.5px;
    }

    100% {
        opacity: 0.4;
        font-size: 5.5px;
    }
}

/* User Menu avec Dropdown */
.user-menu {
    position: relative;
}

.user-menu-button {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(15, 102, 116, 0.1);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.user-menu-button:hover {
    background: var(--gray-light);
}

.user-menu-button img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}


.user-menu-button2 {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 16px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(15, 102, 116, 0.1);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.user-menu-button2:hover {
    background: var(--gray-light);
}

.user-menu-button2 img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.user-menu-button i {
    margin-left: 10px;
    color: var(--primary-dark);
}

.user-dropdown {
    position: absolute;
    top: 55px;
    right: 0;
    background: white;
    min-width: 180px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 16px !important;
    display: flex;
    align-items: center;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: var(--primary-lighter) !important;
}

.dropdown-item i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary-dark);
}

.dropdown-item:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.dropdown-item:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border-top: 1px solid var(--gray);
    color: var(--danger);
}

.dropdown-item:last-child i {
    color: var(--danger);
}

/* Cards */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(15, 102, 116, 0.08);
    transition: transform 0.3s;
}

.font-size-12px {
    font-size: 12px !important;
}

.font-size-13px {
    font-size: 13px !important;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(15, 102, 116, 0.12);
}

.stat-card-title {
    font-size: 12px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 500;
}

.stat-card-value {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--primary-darker);
}




.cont25 {
    display: flex;
    align-items: center;
    /* Centre verticalement */
    justify-content: space-between;
    /* Sépare les éléments (texte à gauche, icône à droite) */
    width: 100%;
    /* Occupe toute la largeur disponible */
}




.stat-card-trend {
    font-size: 12px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.trend-up {
    color: var(--success);
}

.trend-down {
    color: var(--danger);
}

/* Table */
.table-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(15, 102, 116, 0.08);
    overflow-x: auto;
}

.border {
    border: var(--bs-border-width) solid var(--bs-border-color);
    padding: 15px 20px;
    border-radius: 8px;
}

.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.table-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    background-color: #eaeaea93;
    padding: 10px 15px;
    border-radius: 50px;
}



/* Personnalisation DataTables */
.dataTables_wrapper {
    width: 100%;
    font-family: 'Montserrat', sans-serif;
}

.dataTables_filter input {
    border: 1px solid var(--gray);
    border-radius: 8px;
    padding: 8px 12px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: all 0.2s;
    margin-bottom: 20px;
}

.dataTables_filter input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.2);
}

table.dataTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
}

table.dataTable thead th {
    background-color: #eaeaea;
    color: rgb(0, 0, 0);
    padding: 14px 20px;
    font-weight: 600;
    border-bottom: none;
    letter-spacing: 0.3px;
}

/**table.dataTable thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}**/

/**table.dataTable thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}**/

table.dataTable tbody td {
    padding: 8px 20px;
    border-bottom: 1px solid var(--gray);
    font-weight: 400;
}

table.dataTable.row-border tbody tr:last-child td {
    border-bottom: none;
}

table.dataTable.stripe tbody tr.odd {
    background-color: var(--gray-light);
}

table.dataTable.stripe tbody tr.even {
    background-color: white;
}

table.dataTable tbody tr:hover {
    background: rgba(128, 128, 128, 0.073) !important;
}

.separat {
    border-bottom: 1px solid #489e8930;
}

.pad {
    padding: 16px 20px;
}

.mb-24 {
    margin-bottom: 24px !important;
}

.gauche {
    display: flex;
    justify-content: flex-end;
    /* Aligner à droite */
    align-items: center;
    /* Centre verticalement */
    gap: 10px;
}


.dataTables_length select {
    border: 1px solid var(--gray);
    border-radius: 6px;
    padding: 5px 10px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    font-size: 12px !important;
}

.dataTables_paginate .paginate_button {
    background: var(--gray-light) !important;
    border: none !important;
    border-radius: 5px;
    color: var(--text-dark) !important;
    padding: 5px 12px;
    margin: 0 3px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.dataTables_paginate .paginate_button.current {
    background: var(--primary) !important;
    color: white !important;
}

.dataTables_paginate .paginate_button:hover {
    background: var(--primary-light) !important;
    color: white !important;
}

.status {
    padding: 6px 12px;
    border-radius: 20px;
    /* font-size: 10px; */
    font-weight: 700;
    display: inline-block;
}

.status-active {
    background: rgba(32, 181, 136, 0.1);
    color: var(--success);
}

.status-pending {
    background: rgba(235, 193, 73, 0.1);
    color: var(--warning);
}

.status-inactive {
    background: rgba(212, 79, 120, 0.1);
    color: var(--danger);
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    color: var(--primary-dark);
    margin-right: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -260px;
        height: 100%;
        overflow-y: auto;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(260px);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }

    .toggle-sidebar {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-content {
        width: 100%;
        padding: 20px;
        padding-top: 80px;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .user-menu {
        align-self: flex-end;
    }
}

/* Styles pour les sous-menus */
.nav-item {
    position: relative;
}

.nav-item.has-submenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.submenu-toggle {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.nav-item.open .submenu-toggle {
    transform: rotate(90deg);
}

.sub-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.sub-menu-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #262a2e;
    font-weight: 400;
    font-size: 12px;
}

.sub-menu-item:hover {
    background: var(--primary-lighter);
    color: var(--primary-darker);
}

@media (max-width: 576px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }

    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .user-menu {
        align-self: stretch;
    }

    .dataTables_length,
    .dataTables_filter {
        width: 100%;
        text-align: left;
        margin-bottom: 10px;
    }

    .dataTables_filter input {
        width: 100%;
        margin-left: 0 !important;
    }
}

/* Style de base pour les colonnes triables */
table.dataTable thead th {
    position: relative;
    /* Nécessaire pour positionner les icônes */
    cursor: pointer;
    /* Curseur en main pour indiquer le tri */
    padding-right: 24px;
    /* Plus d’espace pour les triangles */
}

/* Personnalisation des icônes de tri */
table.dataTable thead th::before,
table.dataTable thead th::after {
    content: '';
    /* Icônes vides par défaut */
    position: absolute;
    right: 5px;
    border: 6px solid transparent;
    opacity: 0.3;
    /* Icônes semi-transparentes par défaut */
}

/* Triangle haut (tri ascendant) */
table.dataTable thead th::before {
    top: 6px;
    /* Plus haut pour espacer */
    border-bottom-color: #17a2b8;
    /* Couleur du triangle haut */
}

/* Triangle bas (tri descendant) */
table.dataTable thead th::after {
    top: 22px;
    /* Plus bas pour plus d’espace */
    border-top-color: #17a2b8;
    /* Couleur du triangle bas */
}

/* Quand la colonne est triée en ascendant */
table.dataTable thead th.sorting_asc::before {
    opacity: 1;
}

/* Quand la colonne est triée en descendant */
table.dataTable thead th.sorting_desc::after {
    opacity: 1;
}

.ligne {
    white-space: normal !important;
    /* Permet au texte d'aller à la ligne */
    word-wrap: break-word !important;
    /* Force le texte à se couper si nécessaire */
    overflow-wrap: break-word !important;
    /* Alternative pour certains navigateurs */
}

.comment {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.comment-author {
    font-weight: bold;
    color: var(--primary);
}

.comment-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.comment-text {
    margin-top: 8px;
}

.new-comment {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.current-user {
    background-color: #f8f9fa;
    border-left: 3px solid #0d6efd;
    padding-left: 12px;
}

.section-title {
    background-color: #f0f0f0;
    padding: 10px 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
}


.scroll2 {
    overflow-x: auto !important;
    max-height: 250px !important;
}

.scroll3 {
    overflow-x: auto !important;
    max-height: 160px !important;
}

.scroll4 {
    overflow-x: auto !important;
    max-height: 220px !important;
}

.contain {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
}

/* Ajout d'une règle pour les écrans de petite taille */
@media screen and (max-width: 768px) {
    .contain {
        flex-direction: column;
    }
}

.div1,
.div2 {
    flex: 1;
}

.email-history-item {
    cursor: pointer;
    transition: background-color 0.2s;
}

.email-history-item:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.datatable-container1 {
    width: 100%;
    /* Prend toute la largeur du parent */
    overflow-x: auto;
    /* Active le scroll horizontal si nécessaire */
    max-width: 100%;
    /* Empêche le débordement */
}

.datatable1 {
    width: 100%;
    /* S'adapte au conteneur */
    min-width: 600px;
    /* Définit une largeur minimale pour éviter un écrasement excessif */
    table-layout: auto;
    /* Ajuste la taille des colonnes automatiquement */
    border-collapse: collapse;
    /* Supprime les espaces entre les bordures */
    white-space: nowrap;
    /* Empêche le texte de passer à la ligne */
    word-wrap: break-word;
    /* Casse les mots trop longs */
}

.datatable1 th,
.datatable1 td {
    white-space: nowrap;
    /* Empêche le texte de sauter à la ligne */
    overflow: hidden;
    /* Cache tout débordement */
    text-overflow: ellipsis;
    /* Ajoute des "..." si le contenu est trop long */
}





.tabs {
    display: flex;
    border-bottom: 1px solid #489e8930;
    ;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: #f1f1f1;
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
}

.tab.active {
    background: #489e88;
    color: white;
    font-weight: bold;
}

.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #489e8930;
    border-top: none;
}

.tab-content.active {
    display: block;
}

td,
th {
    white-space: nowrap;
    text-overflow: ellipsis;
    /* Ajoute "..." si le texte dépasse */
}

.imglang {
    width: 20px;
}

.hov1:hover {
    background-color: #489e88 !important;
    color: white !important;
}

.containero {
    border-radius: 8px;
    padding: 30px;
}


#imageInput {
    margin-bottom: 20px;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button2 {
    margin-bottom: 20px;
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #337061 !important;
}

#imagePreview {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    border: 2px dashed #ddd;
    min-height: 150px;
    border-radius: 8px;
}

#imagePreview img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}



.panel-default {
    border-color: #cccccc;
}

.panel-default>.panel-heading {
    color: #737373;
    background-color: #cccccc;
    border-color: #cccccc;
}

.panel-default>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #cccccc;
}

.panel-default>.panel-heading .badge-pill {
    color: #cccccc;
    background-color: #737373;
}

.panel-default .panel-title {
    color: #4d4d4d;
}

.panel-default .panel-action {
    color: #737373;
}

.panel-default .panel-footer+.panel-collapse>.panel-body {
    border-bottom-color: #cccccc;
}

.panel-dark {
    border-color: #666666;
}

.panel-dark>.panel-heading {
    color: #ffffff;
    background-color: #666666;
    border-color: #666666;
}

.panel-dark>.panel-heading+.panel-collapse>.panel-body {
    border-top-color: #666666;
}

.panel-dark>.panel-heading .badge-pill {
    color: #666666;
    background-color: #ffffff;
}

.panel-dark .panel-title,
.panel-dark .panel-action {
    color: #ffffff;
}

.panel-dark .panel-footer+.panel-collapse>.panel-body {
    border-bottom-color: #666666;
}

.panel-primary {
    border: none;
}

.panel-primary .panel-heading {
    border: none;
}

.panel-primary .panel-title,
.panel-primary .panel-action {
    color: #ffffff;
}

.panel-info {
    border: none;
}

.panel-info .panel-heading {
    border: none;
}

.panel-info .panel-title,
.panel-info .panel-action {
    color: #ffffff;
}

.panel-success {
    border: none;
}

.panel-success .panel-heading {
    border: none;
}

.panel-success .panel-title,
.panel-success .panel-action {
    color: #ffffff;
}

.panel-warning {
    border: none;
}

.panel-warning .panel-heading {
    border: none;
}

.panel-warning .panel-title,
.panel-warning .panel-action {
    color: #ffffff;
}

.panel-danger {
    border: none;
}

.panel-danger .panel-heading {
    border: none;
}

.panel-danger .panel-title,
.panel-danger .panel-action {
    color: #ffffff;
}

.panel-dark {
    border: none;
}

.panel-dark .panel-heading {
    border: none;
}

.panel-dark .panel-title,
.panel-dark .panel-action {
    color: #ffffff;
}

.panel-line .panel-heading {
    background: transparent;
    border: none;
    border-top: 3px solid transparent;
}

.panel-line.panel-default .panel-heading {
    color: #cccccc;
    border-top-color: #cccccc;
    background: transparent;
}

.panel-line.panel-default .panel-title,
.panel-line.panel-default .panel-action {
    color: #cccccc;
}

.panel-line.panel-dark .panel-heading {
    color: #666666;
    border-top-color: #666666;
    background: transparent;
}

.panel-line.panel-dark .panel-title,
.panel-line.panel-dark .panel-action {
    color: #666666;
}




.card {
    transition: transform 0.3s;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
    font-weight: bold;
}



.metric-value {
    font-size: 2rem;
    font-weight: bold;
}

.metric-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.trend-up {
    color: #1cc88a;
}

.trend-down {
    color: #e74a3b;
}

.period-selector {
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.navbar-brand {
    font-weight: bold;
}

.contour {
    border: 1px solid rgb(0 0 0 / 18%) !important;
}

.date-input {
    width: auto;
    display: inline-block;
}

.date2 {
    padding: 5px 20px;
    border-radius: 5px;
}

.label_special {
    color: #489e88;
    padding-top: 5px;

}

.label_special2 {
    background-color: #eaeaea !important;
    border-radius: 5px;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    color: #989898;
    transition: color 0.2s;
    /* Empêche la sélection de l'icône */
    user-select: none;
    -webkit-user-select: none;
}

.password-toggle2 {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    color: #ffffff;
    transition: color 0.2s;
    /* Empêche la sélection de l'icône */
    user-select: none;
    -webkit-user-select: none;
}

.color_black {
    color: #000000 !important;
}








.upload-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.profile-container {
    width: 100%;
    padding-bottom: 100%;
    /* Maintient un ratio 1:1 (carré) */
    position: relative;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

.profile-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: none;
}

.upload-icon {
    font-size: 50px;
    color: #aaa;
}

.photo-input {
    display: none;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    display: none;
    z-index: 10;
}

.drag-text {
    text-align: center;
    color: #999;
    margin-top: 10px;
}

.success-message {
    display: none;
    margin-top: 15px;
}