/**
    * App-wide CSS styles.
    * Main style
*/



/*
    * Global styles for the app.
*/



h1:focus {
    outline: none;
    
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    /*padding-top: 1.1rem;*/
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5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    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

footer {
    display: table;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: small
}

.gradient-custom-2 {
    /* fallback for old browsers */
    /*background: #fccb90;*/
    /* Chrome 10-25, Safari 5.1-6 */
    /*background: -webkit-linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);*/
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    /*background: linear-gradient(to right, #ee7724, #d8363a, #dd3675, #b44593);*/
    /* background: linear-gradient(to right, rgba(106, 17, 203, 0.5), rgba(37, 117, 252, 0.5)) */

    background: linear-gradient(to right, #ee7900, #d8363a, #dd3675, #b44930)
}

.navbar-marquee {
    flex: 0 0 40%;
    max-width: 40%;
    height: 56px;
    overflow: hidden;
    display: flex;
    align-items: center;
    /*pointer-events: none;*/
    white-space: nowrap;
}
    .navbar-marquee span {
        display: inline-block;
        color: black;
        font-weight: bolder;
        font-size: 20px;
        animation: marquee 10s linear infinite;
    }

.navbar-marquee-centered {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex: none;
}
@media (max-width: 768px) {
    .navbar-marquee-centered {
        display: none;
    }
}

/* Animation */
@keyframes marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}
.toolbar-title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 21px;
    font-weight: bolder;
    font-family: Calibri;
    color: dodgerblue;
    margin-left: 15px
}
.custom-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    animation: glowFadeIn 0.3s ease-in-out;
}
.bandeau {
    width: 100%;
    height: 150px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}
.link {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}


.icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-purple {
    background-color: #6f42c1;
}

.quick-link:hover {
    border-color: var(--bs-primary);
    transform: translateY(-3px);
    transition: all 0.2s ease;
}

/*
    * Cartes dans la page d'accueil
*/
.cards-container {
    width: 100%;
}
.card-item-resa {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.card-item {
    background: white;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
/* chaque ligne */
.card-line {
    display: flex;
    align-items: center;
    gap: 10px;
    /*padding: 6px 4px;*/
    cursor: pointer;
    margin-bottom: 5px;
}
    .card-line:hover {
        transform: translateY(-2px);
        background: linear-gradient(to right, #ee7900, #d8363a, #dd3675);
        color: white;
        border-radius: 8px;
    }
        .card-line:hover .card-date {
            color: white;
        }

    .card-line:last-child {
        border-bottom: none;
    }

    .card-line img {
        height: 28px;
        width: 28px;
        object-fit: contain;
    }

    .card-line h6 {
        margin: 0;
        font-size: 15px;
        flex: 1;
    }

    .card-line .card-date {
        
        margin: 4px;
        font-size: 13px;
        color: gray;
        font-weight: bolder;
    }

/*
    * Fin style pour cartes dans la page d'accueil
    
    * Debut style pour modale large
*/


.custom-wide-modal {
    max-width: 80vw !important;
}

    .custom-wide-modal .modal-content {
        height: 100vh;
    }
/*
    * Fin style pour modale large
    
    * Debut style pour modale de l'agenda
*/

.e-schedule-dialog.e-dialog {
    width: 900px !important;
    max-width: 900px !important;
}

.custom-editor-container .e-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.custom-editor-container .e-col {
    flex: 1;
}

.custom-editor-container label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}
.fullscreen-schedule {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999;
    background: white;
}
/*
    * Fin style pour modale de  l'agenda

    * Debut style pour l'agenda
*/
.e-schedule {
    border: 1px solid #bfbfbf !important;
}

    .e-schedule .e-month-view .e-work-cells {
        border: 1px solid #bfbfbf !important;
    }
/*
    Fin style pour l'agenda
*/
.bandeau-color {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ee7900, #d8363a, #dd3675);
    padding: 15px;
    border-radius: 12px;
}

/* Bandeau citations placé hors .dashboard-wrapper (évite le clip du bouton carrousel « suivant »). */
.citation-bandeau {
    max-width: 86%;
    box-sizing: border-box;
}
.Carousel {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg,#ff7a18,#ff3d77);
    padding: 15px;
    border-radius: 12px;
}

/*
    * Fin style pour le bandeau de la page d'accueil
    * Style pour le widget météo de la page d'accueil
   
*/
.weather-widget {
    border-radius: 16px;
    padding: 10px;
    color: white;
    transition: 0.3s;
    display: flex;
    flex-direction: column; /* stack vertically */
    justify-content: center; /* vertical center */
    align-items: center; /* horizontal center */
    text-align: center; /* center text */
    height: 100%;
}

/* ☀️ Sunny */
.weather-sunny {
    background: linear-gradient(135deg,#FFD54F,#FF9800);
}

/* 🌤 Partly cloudy */
.weather-partly {
    background: linear-gradient(135deg,#81D4FA,#29B6F6);
}

/* ☁️ Cloudy */
.weather-cloudy {
    background: linear-gradient(135deg,#90A4AE,#607D8B);
}

/* 🌫 Fog */
.weather-fog {
    background: linear-gradient(135deg,#B0BEC5,#78909C);
}

/* 🌦 Drizzle */
.weather-drizzle {
    background: linear-gradient(135deg,#4FC3F7,#0288D1);
}

/* 🌧 Rain */
.weather-rain {
    background: linear-gradient(135deg,#1976D2,#0D47A1);
}

/* ❄️ Snow */
.weather-snow {
    background: linear-gradient(135deg,#E1F5FE,#B3E5FC);
    color: #333;
}

/* ⛈ Storm */
.weather-storm {
    background: linear-gradient(135deg,#5E35B1,#311B92);
}

/* default */
.weather-default {
    background: linear-gradient(135deg,#546E7A,#37474F);
}
  
.weather-icon {
    font-size: 32px;
}

.weather-desc {
    opacity: 1;
    font-size: 18px;
    font-weight: bold;
}


/*
    * Fin style pour le widget météo de la page d'accueil
    * Style pour les panels de la page d'accueil
*/
.panel-header {
    background: linear-gradient(to right, #ee7900, #d8363a, #dd3675) !important;
    
    display: flex;
    align-items: center; /* vertical center */
    justify-content: center; /* horizontal center */
    gap: 10px;
    font-weight: 600;
    font-size: 20px;
    color: white;
    border-top-left-radius : 10px;
    border-top-right-radius : 10px;
}
.header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-right {
    font-size: 15px;
}
.header-icon {
    color: ghostwhite;
    font-size: 20px;
}

/*
    * Fin style pour les panels de la page d'accueil
    * Style pour les boutons manuels dans les cartes de la page d'accueil
*/

.manual-btn {
    margin-top: 6px;
    font-size: 11px;
    border: none;
    background: #f3f4f6;
    color: #555;
    padding: 3px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .manual-btn i {
        color: #e63946;
        font-size: 12px;
    }

    .manual-btn:hover {
        background: #ffe5e5;
        color: #c1121f;
    }

/*
        * Fin style
        * Style pour la section des actualités dans la page d'accueil

*/

.news-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.news-content {
    display: flex;
    flex-direction: column; /* stack vertically */
    justify-content: center; /* vertical center */
    align-items: center; /* horizontal center */
    text-align: center; /* center text */
}
    .news-content p {
        margin: 8px 0 10px 0;
        font-size: 14px;
        line-height: 1.6;
        color: navajowhite;
        font-weight: bolder;
    }

    .news-content span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 18px;
        font-weight: 500;
        color: #6c757d;
        background: #f5f7fa;
        padding: 4px 10px;
        border-radius: 6px;
    }
.citation-content {
    display: flex;
    flex-direction: column; /* stack vertically */
    justify-content: center; /* vertical center */
    align-items: center; /* horizontal center */
    text-align: center; /* center text */
}
    .citation-content p {
        margin: 8px 0 10px 0;
        font-size: 14px;
        line-height: 1.6;
        color: navajowhite;
        font-weight: bolder;
    }

   
.news-btn {
    background: white;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
}

    .news-btn:hover {
        background: #eee;
    }

/*
    * Fin style pour la section des actualités dans la page d'accueil
    * Style pour les applications dans la page d'accueil
*/


.manual-btn {
    margin-top: auto;
    font-size: 11px;
    border: none;
    background: #f3f4f6;
    padding: 3px 8px;
    border-radius: 6px;
    cursor: pointer;
}

    .manual-btn:hover {
        background: #ffe5e5;
    }
/*
    * Fin style pour les applications dans la page d'accueil
   * Style pour la section logistique de la page d'accueil
*/
.Logistics-Text {
    font-size: 14px;
    color: black;
    font-weight: bolder;
}
.links-header {
    font-weight: bolder;
    font-size: 18px;
    text-align: center;
}

.links-row {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    align-items: center;
    /*padding-top: 10px;*/
}

.small-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
}

    .small-card img {
        height: 60px;
        width: 80px;
        object-fit: contain;
    }

/*
    * Fin style pour la section logistique de la page d'accueil
    * Style pour les panels verticaux de la page d'accueil
*/
.panel-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.line-box {
    flex: 1;
    background: #EBEBEB;
    border-radius: 8px;
    padding-left: 9px;
    padding-top: 5px;
    padding-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/*
    * Fin style pour les panels verticaux de la page d'accueil
    * Style global pour la page d'accueil
*/
.dashboard-wrapper {
    cursor: default; 

}
@media (min-width:1400px) {
    .dashboard-wrapper {
        transform: scale(0.9);
        transform-origin: top left;
        width: 111%;
    }
}
.e-dashboardlayout .e-panel {
    cursor: default !important;
    border: 5px solid !important;
}

.e-dashboardlayout .e-panel-content {
    cursor: default !important;
}

.e-dashboardlayout .e-panel .e-panel-header {
    background: linear-gradient(to right, #ee7900, #d8363a, #dd3675) !important;
    box-shadow: none !important;
    padding: 4px 8px;
}
    

/* Supprimer les bordures des panels */
.e-dashboardlayout .e-panel {
    border: none !important;
    box-shadow: 50px 50px 2px 50px gray;

}

    /* Supprimer aussi la bordure du header si présent */
    .e-dashboardlayout .e-panel .e-panel-header {
        border-bottom: none !important;
    }

    /* Supprimer fond blanc si besoin */
    .e-dashboardlayout .e-panel .e-panel-container {
        border: none !important;
    }

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.quick-link-btn {
    background: white;
    border-radius: 12px;
    padding: 15px 30px;
    border: 1px solid #e5e5e5;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

    .quick-link-btn:hover {
        background: #f97316;
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    }


/*
        * Fin style global pour la page d'accueil
         * Style pour les dropdowns et les liens dans le menu de navigation
*/

.iseor-dropdown {
    min-width: 220px;
    padding: 8px;
}

.iseor-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    font-weight: 500;
    color: #333;
}

    .iseor-link:hover {
        background: linear-gradient(to right, #ee7900, #d8363a, #dd3675);
        color: white !important;
    }
.iseor-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/*
    * Fin style pour les dropdowns et les liens dans le menu de navigation
*/

@media (max-width:768px) {

    .links-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .small-card img {
        height: 70px;
        width: 70px;
    }

    .quick-actions {
        flex-direction: column;
        gap: 10px;
    }

    .quick-link-btn {
        width: 100%;
        justify-content: center;
    }

    

    .card-line h6 {
        font-size: 14px;
    }
}

.header-img {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

/*
    * Fin style pour les dropdowns et les liens dans le menu de navigation

    * Style pour le formulaire de réservation 
*/

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

/*
    * Fin style pour le formulaire de réservation
    * Style pour la page d'administration
*/
.admin-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    height: 80vh;
    flex-wrap: wrap;
}

/* CARD STYLE */
.admin-card {
    width: 320px;
    height: 220px;
    background: linear-gradient(135deg, #4e73df, #224abe);
    color: white;
    border-radius: 20px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ICON */
.card-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

/* TITLE */
.admin-card h2 {
    font-weight: bold;
    margin-bottom: 10px;
}

/* DESCRIPTION */
.admin-card p {
    opacity: 0.9;
    font-size: 14px;
}

/* HOVER EFFECT */
.admin-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* OPTIONAL SECOND CARD COLOR */
.admin-card:nth-child(1) {
    background: linear-gradient(315deg, #3905F7, #7CACD1);
}

.admin-card:nth-child(2) {
    background: linear-gradient(135deg, #1cc88a, #13855c);
}

.admin-card:nth-child(3) {
    background: linear-gradient(315deg, #83A6D1, #A5B3F4);
}

.admin-card:nth-child(4) {
    background: linear-gradient(315deg, #F7722E, #E8B92C);
}

    