        @font-face {
            font-family: "AGLAE-title";
            /* src: url("./assets/fonts/Sudoku.ttf") format("TrueType") */
            src: url("../assets/fonts/LaOriental-Bold.otf") format("OpenType")
        }
        

        :root {
            /* Couleurs */

            --primary-color: #18140c;
            --secondary-color: #cf3114;
            --secondary-dark: #bc2d12;
            --karate-gold: #d4af37;
            --blue-color:#055ca5;
            --green-color: #059669;
            --success-color: #27ae60;
            --danger-color: #e74c3c;
            --danger-color-rgb: 231, 76, 60;
            --soft-white: #fafbfc;
            --light-gray: #f8f9fa;
            --medium-gray: #e9ecef;
            --text-muted: #6c757d;
            --success-light: #d1e7dd;
            --warning-light: #fff3cd;
            --info-color:#1295af;

            /* Gradients */
            --gradient-bg: radial-gradient(ellipse at center, #d4af37 0%, #2d1f0f 45%, #18140c 60%);
            /* --gradient-bg: linear-gradient(135deg, #18140c 0%, #2d1f0f 50%, #18140c 100%); */
            --red-gradient: linear-gradient(135deg, #d13114 0%, #bb2e11 100%);
            --blue-gradient: linear-gradient(135deg, #055ca5 0%, #044880 100%);
            --gradient-primary: linear-gradient(135deg, #18140c 0%, #2d1f0f 100%);
            --gradient-gold: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
            --gradient-red: linear-gradient(135deg, #cf3114 0%, #bc2d12 100%);
            --gradient-blue: linear-gradient(135deg, #055ca5 0%, #0466c8 100%);
            --gradient-green: linear-gradient(135deg, #059669 0%, #047857 100%);
            --gradient-green-subtile: linear-gradient(135deg, #c9ffde 0%, #c1ffd6 100%);
            --gradient-green-flashy: linear-gradient(135deg, #77ec8f 0%, #52ff52 100%);

            /* Shadows */
            --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
            --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
            --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);

            /*----Re-Bootstrap----*/
            --bs-primary:var(--blue-color);
            --bs-success:var(--success-color);
            --bs-danger:var(--secondary-color);
            --bs-info:var(--info-color);
            --bs-info-rgb:var(--info-color-rgb);
            --bs-warning-rgb:var(--danger-color-rgb);
        }

        /* .text-warning{
            color(rgba())
        } */
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            /* background: var(--gradient-bg); */
            min-height: 100vh;
            margin: 0;

            /*Ajout suite refont 25-08-25 */
            background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
            color: var(--primary-color);
            line-height: 1.6;
        }
        
        [ng-cloak], .ng-cloak {
            display: none !important;
        }

        .text-info{
            color:var(--bs-info) !important;
        }

        /* Couleur du placeholder */
        input::placeholder {
            color: #ffffff !important;       /* gris clair */
            font-style: italic; /* italique */
            font-size: 14px;    /* taille de police */
        }
        input::-webkit-input-placeholder {
            color: #ffffff !important;
            font-style: italic;
            font-size: 14px;
        }
        input::-moz-placeholder {
            color: #ffffff !important;
            font-style: italic;
            font-size: 14px;
        }
        input:-ms-input-placeholder {
            color: #ffffff !important;
            font-style: italic;
            font-size: 14px;
        }
        input::-ms-input-placeholder {
            color: #ffffff !important;
            font-style: italic;
            font-size: 14px;
        }

a {
    text-decoration: none;
}

a.link{
    text-decoration: underline;
}


/* ----------- ALL ------------------ */
.blue-title {
        color: var(--blue-color);
    }

.btn-custom {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}
.btn-custom.sm{
    font-size: smaller;
}
.btn-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-custom:hover::before {
    left: 100%;
}

/* ----------- Login ---------------- */
img.login{
    border-radius: 0.5rem 0 0 0.5rem;
    object-fit: cover;       /* Remplit la zone, rogner si nécessaire */
    object-position: center; /* Centre l'image */
    height: 100%;            /* Assure que l'image prend toute la hauteur du parent */
}

.header {
    /* height: 5vh; */
    /* background-color: rgb(0,34,64); */
    /* color: white; */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030; /* au-dessus des éléments BS comme navbar */
}

.bottom-screen{
    /* --bs-gutter-x:0;
    margin-top:5vh; */
    /* background-color: rgb(0,34,64); */
    margin-top: 40px;
    box-shadow: inset 0 0 15rem rgba(0,0,0,0.5);  
}

.text-sdm-light{
    color: rgba(108, 117, 125, 0.5);
}

.logo-sdm{
    position: absolute;
    top:5px;
    left: 10px;
    height: 75px;
    z-index: 999;
}

.photoUser{
    width: 60px;
    border-radius: 50%;
    position: relative;
    top: 20px;
}
/* .header{
    text-transform: uppercase;
} */
/* .oswald{
    font-family: 'oswald', sans-serif;
} */
.aglae-admin-text-header{
    /* font-family: 'oswald', sans-serif; */
    font-family: 'AGLAE-title';
    font-size: large;
    /* padding-right: 1rem; */
    padding-left: 6rem;
    border-right: 1px solid white;
}

.header-container {
    /* border-bottom: 0.1em solid #a1a1a1; */
    /* color: antiquewhite; */
    
    background-color:#18140c;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    height: 40px;
    display: flex;
    align-items: center; /* Centre verticalement tous les éléments */
    gap: 10px; /* Optionnel : ajoute un espace entre les éléments */
}

/* .card-body-dashboard-bg:hover{
    background-color: #ffc107;
    transition: all ease-in-out 0.6s;
} */
.card-dashboard{
    box-shadow: 5px 5px 10px rgba(0,0,0, 0.2);
}
.card-dashboard:hover{
    box-shadow: 0 2px 14px 0 rgba(0,0,0,0.8);
    color: oklch(0.76 0.14 205);
}

.card-section{
    border-radius: 0.5em;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.315);
    /* border: 1px solid black; */
    padding: 0;
    /* ransition: all ease-in-out 3s; */

}
.card-section-header{
    /* background-color: rgba(0, 0, 0, 0.3); */
    border-radius: 0.5em 0.5rem 0 0;
    /* border-top-right-radius: 1em; */
    /* border: 1px solid black; */
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.315);
    padding: 0.25rem 0.5rem 0.25rem 0.5rem;
}

/* .card-section-content{
    background-color: rgba(0,0,0,0.15);
    padding: 1rem;

} */

.opaque015{
    background-color: rgba(0, 0, 0, 0.15);
}

.opaque030{
    background-color: rgba(0, 0, 0, 0.3);
}
.opaque085{
    background-color: rgba(0, 0, 0, 0.85);
}

/* ----------------- Table Transparent ------------------- */

.table-transparent{ 
    --bs-table-bg: transparent !important;
    /* --bs-table-color: white !important; */
    /* --bs-border-width: 0;
    --bs-table-hover-bg:rgba(0,64,255,0.14); */
}

.text-overflow-ellispis {
    width: 10vw;
    white-space: nowrap;        /* Pas de retour à la ligne */
    overflow: hidden;           /* Masquer le texte débordant */
    text-overflow: ellipsis;    /* Ajouter les "..." */
}

/* ----------------- Toast Boostrap ----------------------- */
.toast {
    z-index: 2;
}


/*------------------Modal Boostrap ------------------------ */



/* ----------------- Create Salle : Map -------------------- */ 

    #mapDetail {
        height: 450px;
        width: 100%;
        margin: auto;
    }
    .greenMarker{
        background-image: url(https://unpkg.com/leaflet@1.9.3/dist/images/marker-icon.png);
        filter:hue-rotate(-70deg);
        width: 25px;
        height: 41px;
    }
    .activeMarker{
        animation: 0.7s linear 0s infinite alternate markerRedBlink;
    }

    @keyframes markerRedBlink{
        0% {filter:hue-rotate(0deg);}
        49%{filter: hue-rotate(0deg);}
        50%{filter: hue-rotate(155deg);}
        100%{filter: hue-rotate(155deg);}
    }

.min-h-450{
    min-height: 450px;
}




.main-screen {
    height: 100%;
    overflow-y: auto; /* Permet le défilement vertical */
}

/* .nav-link-fie {
    background-color:rgba(255, 255, 255,0.13);
    color: grey;
    border: none !important;
}

.nav-link-fie:hover{
    border: none !important;
    color: chocolate;
    transition: color 0.3s ease-in-out;
} */

.aglae-nav-item a{
    color: grey;
}
.aglae-nav-item:hover a{
    color: chocolate;
    transition: color ease-in-out 0.3s;
}

.aglae-nav-item.active a{
    color: white;
}

.aglae-nav-item.active{
   /*  border: darkblue 2px solid; */
    background-color:darkblue;
    transition: all 0.3s ease-in-out;
}
.aglae-nav-item.completed{
    background-color:#009300  !important;
}
.aglae-nav-item.completed a{
    color: whitesmoke;
}
.aglae-nav-item.invalid{
    background-color:crimson;
}
.aglae-nav-item.invalid a{
    color: whitesmoke;
}

/* .aglae-nav-item.active:hover {
    background-color: rgb(200,0,0);
    font-weight: bold;
    color: whitesmoke;
} */
:root {
  --line-length: 5.4rem; /* correspond au gap que tu utilises */
}
.aglae-nav-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;   /* centre horizontalement le rond + le titre */
    text-align: center;
    position: relative; /* nécessaire pour placer la ligne */
}

.aglae-nav-item {
    background-color: lightgrey;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;   /* centre le chiffre */
    justify-content: center;
    position: relative; /* pour que la ligne parte du centre */
    z-index: 1; /* pour que la bulle passe au-dessus de la barre */
}

/* Ligne de connexion : ajoutée à droite de chaque bulle sauf la dernière */
.aglae-nav-wrapper:not(:last-child) .aglae-nav-item::after {
  content: "";
  position: absolute;
  top: 1.5rem; /* milieu vertical de la bulle (3.5rem / 2) */
  left: calc(50% + 1.5rem); /* centre + rayon de la bulle */
  width: var(--line-length, 2rem); /* longueur de la barre = correspond au gap */
  height: 2px;
  background-color: #ccc;
  z-index: 0;
}

.nav-tabs{
    --bs-nav-tabs-border-color: #000000;
}



blockquote {
    background-color: rgb(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 5px;
    font-style: italic;
    font-size: small;
    }


/* --------------- Test Edit Salle ------------- */

.is-changed {
    background-color: #fffdf5;
    border-left: 4px solid #ffc107;
}

.suggestion-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1050;
}

/* ---------------- Gestion de validation de form Angular -------- */
.errorsForm {
    position: fixed;
    right: 0;
    bottom: 0;
    width: 20vw;
    overflow-y: auto;
    box-shadow: 0px 0 10px rgba(0,0,0,0.5);
    z-index: 1050;
    margin: 15px;
    border-radius: 5px;
}