/* Variables globales */
:root {
    --primary-color: #003E60;
    --secondary-color: hsl(200, 30%, 96%);
    --text-color: #003E60;
    --border-color: #9A9A9A;
    --background-color: #F2F6F8;
    --error-color: #D04141;
    --error-light-color: #D041411A;
    --success-color: #00A859;
    --success-light-color: #00A8591A;
    --success-hover-color: hsla(152, 100%, 33%, 0.1);
    --step-active-color: #003E60;
    --step-complete-color: #00A859;
    --step-inactive-color: hsla(201, 100%, 19%, 0.10);
    --white-color: #FFFFFF;
    --hover-color: hsla(200, 100%, 13%, 0.1);
    --transparent-white: hsla(0, 0%, 100%, 0.1);
    --calendar-header-bg: #003E60;
    --calendar-selected-bg: #003E60;
    --calendar-hover-bg: hsla(200, 100%, 19%, 0.10);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--background-color);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 21px;
    color: var(--text-color);
    margin: 0;
    padding: 8px;
    height: 100vh;
}



/* Overlay semi-transparent derrière la modale */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1200;
    display: none;
    backdrop-filter: blur(5px);
}

/* Modale principale */
.modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: var(--white-color);
    border-radius: 12px;
    padding: 40px;
    z-index: 1300;
    opacity: 0;
    transition: all 0.5s ease;
    display: none;
    min-width: 50vw;
    min-height: 50vh;
    max-height: 95vh;
    flex-direction: column;
    gap: 20px;
    
}

.modal #medecin-table {
    min-width: 70vw;
}

.modal.height-unset {
    max-height: unset;
    min-height: unset;
}

.modal.width-unset {
    max-width: unset;
    min-width: unset;
}

/* Navigation buttons */
.form-navigation {
    display: flex;
    justify-content: space-between;
}

.form-navigation button {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}


.menu-container {
    display: flex;
    left: 8px;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: calc(100vh - 16px);
    width: 240px;
    padding: 20px;
    border-radius: 12px;
    background-color: var(--primary-color);
    color: var(--white-color);
    position: fixed;
    z-index: 900;
    transition: left 0.3s ease-in-out;
}

/* Modal active state */
.modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    color: var(--text-color);
    font-weight: 500;
    text-align: left;
}

.form-group input,
.form-group select {
    padding: 10px;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    color: var(--text-color);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-color);
}

.moyen-btn.selected {
    background-color: var(--primary-color);
    color: var(--white-color);
    }

.moyen-btn[aria-disabled="true"] {
    background-color: #e0e0e0;
    color: #b0b0b0;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

select.small {
    width: 250px;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.close:hover {
    color: var(--error-color);
}

.grid {
    display: grid;
}

.grid-reverse {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.grid-span-2 {
    grid-column: span 2;
}

.grid-span-3 {
    grid-column: span 3;
}

.form-column-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.form-column-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.form-column-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.form-column-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}


.menu-logo {
    width: 175px;
    object-fit: contain;
    image-rendering: auto;
}

.fit-content {
    width: fit-content;
}

.menu-toggle {
    display: none;
    position: fixed;
    border-radius: 8px;
    transition: display 1s ease, left 2s ease-in-out;
    background: hsla(201, 100%, 19%, 0.1);
    z-index: 1100;
    color: var(--primary-color);
    backdrop-filter: blur(8px);
}

.menu-container.open {
    left: 6px;
    /* Fait apparaître le menu */
}

.menu-container a {
    display: flex;
    gap: 10px;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    border-radius: 8px;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-container a:hover,
.menu-container a.active {
    background-color: var(--transparent-white);
}

.main-container {
    display: flex;
    flex-direction: column;
    margin-left: 250px;
    transition: margin-left 0.3s ease-in-out, margin-top 0.3s ease-in-out, opacity 0.5s ease-out, transform 0.5s ease-out;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInSlideUp 0.5s ease-out 0.1s forwards;
}

@keyframes fadeInSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Classe pour éviter la transition au chargement initial de la page */
.no-transition {
    transition: none !important;
}

.home-gird {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    width: calc(100% - 250px);
    height: calc(100vh - 16px);
    gap: 10px;
    transition: all 0.5s ease-in-out;
}

input, select, textarea {
    font-family: "Poppins", sans-serif;
    border-radius: 8px;
    padding: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

input[type="checkbox"] {
    padding: 9px !important;
    appearance: none;
    border: 1.5px solid var(--primary-color);
    background-color: var(--white-color);
    cursor: pointer;
    border-radius: 4px;
    width: 18px !important;
    height: 18px !important;
    outline: none !important;
    min-width: 18px !important;
    min-height: 18px !important;
    position: relative;
}

input[type="checkbox"]:checked {
    background-color: var(--primary-color);
    border-radius: 4px;
    position: relative;
    width: 18px !important;
    height: 18px !important;
    outline: none !important;
}

input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    border-radius: 4px;
    width: 18px !important;
    height: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    top: 50%;
    color: white;
    font-size: 12px;
    transform: translate(-50%, -50%);
    outline: none !important;
}

/* Styles similaires pour les boutons radio */
input[type="radio"] {
    padding: 9px !important;
    appearance: none;
    border: 1.5px solid var(--primary-color);
    background-color: var(--white-color);
    cursor: pointer;
    border-radius: 50%;
    width: 18px !important;
    height: 18px !important;
    outline: none !important;
    min-width: 18px !important;
    min-height: 18px !important;
    position: relative;
}

input[type="radio"]:checked {
    background-color: var(--primary-color);
    border-radius: 50%;
    position: relative;
    width: 18px !important;
    height: 18px !important;
    outline: none !important;
}

input[type="radio"]:checked::after {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}



input, select, textarea {
    border: 1px solid var(--primary-color);
}

input:focus, select:focus, textarea:focus {
    outline: 1px solid var(--primary-color);
}

input.grey {
    font-family: "Poppins", sans-serif;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
}

input.grey:focus, select.grey:focus {
    outline: 1px solid var(--primary-color);
    border: 1px solid var(--primary-color);
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position:  right 5px center;
    background-size: 18px;
    padding-right: 30px;
}

.light-grey {
    background-color: #F2F6F8;
    border-radius: 8px;
}


button, button span {
    font-family: "Poppins", sans-serif;
    border: none;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
}

button {
    padding: 10px;
}

/* Fil d'Ariane */
.breadcrumb {
    margin-left: 250px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    transition: margin-left 0.3s ease-in-out;
}

.button-dark {
    border-radius: 8px;
    background-color: var(--primary-color);
    color: var(--white-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-dark:hover {
    background-color: var(--hover-color);
    color: var(--primary-color);
}

.button-dark.off {
    cursor: auto;
    background-color: var(--primary-color);
    color: var(--white-color);
}

.button-dark.off i.fa-times {
    cursor: pointer;
}

.button-red {
    border-radius: 8px;
    background-color: var(--error-light-color);
    color: var(--error-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-red:hover {
    background-color: var(--error-color);
    color: var(--white-color);
}

.button-red.off {
    background-color: var(--error-light-color);
    cursor: auto;
}

.button-grey {
    border-radius: 8px;
    background-color: var(--step-inactive-color);
    color: var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-grey:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.button-grey.off {
    background-color: var(--step-inactive-color);
    color: var(--primary-color);
    cursor: auto;
}

.button-light {
    border-radius: 8px;
    font-weight: 600;
    background-color: var(--white-color);
    color: var(--primary-color);
    border: var(--primary-color) solid 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-light:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.button-light.off {
    background-color: var(--white-color);
    color: var(--primary-color);
    cursor: auto;
}

.delete-button {
    color: var(--error-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.red-cell {
    background-color: var(--error-light-color);
}

.red-text {
    color: var(--error-color);
}

.green-text {
    color: var(--success-color);
}  

.green-bg {
    background-color: var(--success-light-color);
}

.red-bg {
    background-color: var(--error-light-color);
}

.box-container {
    border-radius: 12px;
    background-color: var(--white-color);
    padding: 20px;
}

.main-bg {
    background-color: var(--primary-color);
}

.secondary-bg {
    background-color: var(--secondary-color);
}

.main-color {
    color: var(--primary-color);
}

.error {
    color: var(--error-color);
}

.white-bg {
    background-color: var(--white-color);
}

.white-color {
    color: var(--white-color);
}

.champ {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.break-word-150 {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.white-space-nowrap {
    white-space: nowrap;
}

.text-overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overflow-y-auto {
    overflow-y: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.flex {
    display: flex;
}

.none {
    display: none;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-wrap-nowrap {
    flex-wrap: nowrap;
}

.justify-content-left {
    justify-content: flex-start;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-right {
    justify-content: flex-end;
}

.justify-self-center {
    justify-self: center;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.align-items-center {
    align-items: center;
}

.align-content-start {
    align-content: flex-start;
}

.align-content-end {
    align-content: flex-end;
}

.align-content-between {
    align-content: space-between;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

.padding-tb-20 {
    padding-bottom: 20px;
    padding-top: 20px;
}

.padding-bottom-10 {
    padding-bottom: 10px;
}

.padding-rf-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.padding-tb-10 {
    padding-bottom: 10px;
    padding-top: 10px;
}

.padding-b-20 {
    padding-bottom: 20px;
}

.padding-5 {
    padding: 5px;
}

.padding-10 {
    padding: 10px;
}

.padding-10 {
    padding: 10px;
}

.padding-20 {
    padding: 20px;
}

.padding-30 {
    padding: 30px;
}

.padding-40 {
    padding: 40px;
}

.margin-b-10 {
    margin-bottom: 10px;
}

.margin-top-10 {
    margin-top: 10px;   
}

.margin-top-20 {
    margin-top: 20px;
}

.margin-top-30 {
    margin-top: 30px;
}

.margin-top-40 {
    margin-top: 40px;
}

.margin-b-20 {
    margin-bottom: 20px;
}

.margin-b-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-8 {
    margin-bottom: 8px;
}

.mb-12 {
    margin-bottom: 12px;
}


a {
    text-decoration: none;
    color: inherit;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.link-hover:hover {
    opacity: 0.7;
}

.width-auto {
    width: auto;
}

.width-1 {
    width: 1px;
}
.width-100px {
    width: 100px;
}

.width-150px {
    width: 150px;
}

.width-200px {
    width: 200px;
}

.width-250px {
    width: 250px;
}

.width-300px {
    width: 300px;
}

.min-width-250px {
    min-width: 250px;
}

.max-width-500px {
    max-width: 500px;
}

.width-500px {
    width: 500px;
}

.width-100 {
    width: 100%;
}

.width-90 {
    width: 90%;
}

.width-80 {
    width: 80%;
}

.width-70 {
    width: 70%;
}

.width-60 {
    width: 60%;
}

.width-50 {
    width: 50%;
}


.width-49 {
    width: 49%;
}

.height-42 {
    height: 42px;
    min-height: 42px;
}

.height-vh-pad {
    height: 100vh;
}

.height-100 {
    height: 100%;
}

.height-auto {
    height: auto;
}

.height-100px {
    height: 100px;
}

.height-200px {
    height: 200px;
}

.span-12 {
    font-size: 12px;
}

h2 {
    font-size: 20px;
    font-weight: 600;
}

h3 {
    font-size: 18px;
    font-weight: 500;
}

h4 {
    font-size: 16px;
    font-weight: 400;
}

.bilan-container h3 {
    text-align: center !important;
    padding: 10px !important;
    background-color: var(--secondary-color) !important;
    border-radius: 8px !important;
    
    font-weight: 600 !important;
}

.bilan-container h4 {
    text-align: left !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: var(--primary-color) solid 1px !important;
    width: fit-content !important;
}

.tab {
    color: var(--primary-color);
    background-color: var(--white-color);
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: all 0.3s ease;
}

.tab.active {
    background-color: var(--primary-color);
    color: var(--white-color);  
}

.tab-header {
    overflow-x: auto;
}

.tab-border {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Styles pour les panneaux d'onglets */
.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
    margin-bottom: 10px;
}

.tab-panel.active {
    display: flex;
}

.tab-container {
    border-radius: 12px;
    border-top-left-radius: 0;
    background-color: var(--white-color);
    padding: 20px;
}

.inactive-user {
    opacity: 0.5;
    text-decoration: line-through;
}

.bold, .font-bold {
    font-weight: bold;
}

.semibold, .font-semibold {
    font-weight: 600;
}

.medium, .font-medium {
    font-weight: 500;
}

.regular, .font-regular {
    font-weight: 400;
}


.rounded-8 {
    border-radius: 8px;
}

.active .fa-stack .fa-stack-1x {
    font-weight: bold;
    color: var(--primary-color);
}

.fa-stack .fa-stack-1x {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 1.3em;
}
.fa-stack{
    font-size: 0.7em;
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.td-center {
    text-align: center;
    align-items: center;
    align-content: center;
}


.grid-reglement {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.totaux {
    display: flex;
    justify-content: space-between;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}


.actes-container {
    width: auto;
}

.actes-existants {
    max-height: 150px;
    overflow-y: auto;
    display: block;
}

.flex-1 {
    flex: 1;
    min-height: 0;
}

/* Styles pour les cartes de consultation */
.card {
    background: var(--secondary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}


.card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
    padding: 10px;
}

.card.red-cell {
    background-color: var(--error-light-color);
}

.card.red-cell:hover {
    background-color: hsla(0, 60%, 54%, 0.15);
}

.card:hover {
    transform: translateY(-2px);
    background-color: #E9F1F4;
}

.card .date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.card .date i {
    color: var(--primary-color);
}

.card .type {
    padding: 10px;
    border-radius: 8px;
}

.card .type.light {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.card .type.dark {
    background: var(--primary-color);
    color: var(--white-color);
}

.card .actions {
    display: flex;
    gap: 10px;
}

.card .card-content p {
    color: var(--text-color);
    display: flex;
    gap: 10px;
}

.card .card-content strong {
    color: var(--primary-color);
    min-width: 100px;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.card {
    opacity: 0;
    animation: slideIn 0.3s ease forwards;
}

/* Style pour l'état vide */
.empty-state {
    text-align: left;
    padding: 10px;
    color: var(--text-color);
    background: var(--secondary-color);
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Style pour le conteneur de la liste */
.consultations-list {
    display: flex;
    flex-direction: column;
}

/* Style pour le header du panneau */


.panel-header .add-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.panel-header .add-button:hover {
    background: var(--hover-color);
    color: var(--primary-color);
}

.panel-header .add-button i {
    font-size: 1.1em;
}

.actes-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.acte-item {
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    gap: 20px;
    transition: all 0.3s ease;
}

.bilan-container {
    max-height: calc(100vh - 160px);
    overflow-y: auto;
}

.reed-container {
    max-height: calc(100vh - 240px);
    overflow-y: auto;
}


.blur {
    filter: blur(3px);
    transition: filter 0.3s;
    cursor: default;
}

.blur:hover {
    filter: blur(0);
}

/* Styles pour les cellules de texte */
.break-word-150 {
    max-width: 150px;
    word-break: break-word;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

/* Styles pour le padding */
.padding-10 {
    padding: 10px;
}

.search-container {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.box-color {
    border-radius: 8px;
}

.box-color input,
.box-color textarea, td input, td textarea, td select {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    min-height: 38px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.box-color textarea {
    resize: vertical;
    min-height: 100px;
}



#medecin_specialite_search {
    width: 100%;
    padding-right: 35px;
}

#medecin_specialite {
    max-height: 200px;
    overflow-y: auto;
}


.search-container {
    position: relative;
    width: 100%;
}

.search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

#medecin_specialite_search {
    width: 100%;
    padding-right: 35px;
}

#medecin_specialite {
    max-height: 200px;
    overflow-y: auto;
}

.media-show {
    display: none;
}

/* Styles pour les champs en erreur */
.form-group input.error,
.form-group select.error {
    border-color: var(--error-color);
    background-color: var(--error-light-color);
}

/* Styles d'impression */
@media print {
    @page {
        size: A4 portrait;
    }
    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        background-color: white !important;
    }
    .overlay-print {
        display: none !important;
    }
    .content {
        color: black !important;
        font-weight: 500 !important;
    }
    span.box {
        display: none !important;
    }
    select.box {
        display: none !important;
    }

    h3 {
        text-align: center !important;
        padding: 10px !important;
        background-color: var(--secondary-color) !important;
        border-radius: 8px !important;
        
        font-weight: 600 !important;
    }

    h4 {
        text-align: left !important;
        padding: 10px !important;
        border-radius: 8px !important;
        border: var(--primary-color) solid 1px !important;
        width: fit-content !important;
    }

    .box-color {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }

    .champ {
        display: flex !important;
        gap: 0px !important;
        flex-direction: column !important;
    }
    

    .button-grey {
        background-color: var(--secondary-color) !important;
    }
    .button-dark {
        background-color: var(--primary-color) !important;
        color: var(--white-color) !important;
    }
    .box-container {
        background-color: var(--secondary-color) !important;
    }
    .flex {
        display: flex !important;
    }
    .grid {
        display: grid !important;
    }
    .gap-20 {
        gap: 20px !important;
    }
    .padding-10 {
        padding: 10px !important;
    }
    .width-100 {
        width: 100% !important;
    }
    .white-bg {
        background-color: white !important;
    }
}

/* Menu en bas de l'écran pour les téléphones */
.bottom-menu-mobile {
    display: flex;
    position: fixed;
    border-radius: 12px;
    width: calc(100vw - 16px);
    bottom: -100px;
    background: var(--primary-color);
    z-index: 1000;
    transition: bottom 0.3s ease;
    padding: 8px;
}

.bottom-menu-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-menu-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: var(--white-color);
    font-size: 12px;
    padding: 10px;
    border-radius: 8px;
    align-items: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.bottom-menu-item.active, .bottom-menu-item:hover {
    background-color: var(--transparent-white);
}

.bottom-menu-item i {
    font-size: 18px;
    margin-bottom: 2px;
}

.bottom-menu-item span {
    font-size: 10px;
    line-height: 1.2;
}

.bottom-menu-item.logout {
    color: var(--error-color);
}

.bottom-menu-item.logout:hover {
    background: var(--error-light-color);
    color: var(--error-color);
}
