@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';
@import '_content/Blazored.Toast/Blazored.Toast.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
/* ===========================
   Layout principal
=========================== */
html[b-lgziflz3sa], body[b-lgziflz3sa] {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Poppins', sans-serif;
}

.page[b-lgziflz3sa] {
    /* Le conteneur principal doit prendre 100% de la hauteur */
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-layout[b-lgziflz3sa] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* TOP */
.top-section[b-lgziflz3sa] {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #21A393;
    color: #fff;
    padding: 0 1rem;
    font-size: 1.4rem;
    font-weight: bold;
    flex-shrink: 0;
}

.top-left[b-lgziflz3sa] {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

    .top-left .logo[b-lgziflz3sa] {
        height: 100px;
        width: auto;
    }

    .top-left .title[b-lgziflz3sa] {
        font-size: 1.8rem;
        font-weight: bold;
        color:#fff;
    }
.vertical-separator[b-lgziflz3sa] {
    width: 3px;
    height:50px;
    background-color:white;
    border-radius: 2px;
    flex-shrink: 0;
    margin: 0 1rem;
}
/* BOTTOM */
.bottom-section[b-lgziflz3sa] {
    display: flex;
    flex: 1;
    min-height: 0; /* Important pour éviter le débordement */
    overflow: hidden;
}

/* SIDEBAR */
.sidebar[b-lgziflz3sa] {
    width: 340px;
    background-color: #000;
    color: #fff;
    border-right: 1px solid #ccc;
    flex-shrink: 0;
}

/* CONTENT + FOOTER */
.content-section[b-lgziflz3sa] {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.body[b-lgziflz3sa] {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background-color: #F0F0F0;
}

.footer[b-lgziflz3sa] {
    height: 35px;
    line-height: 35px;
    background-color: #e9ecef;
    border-top: 1px solid #ccc;
    text-align: center;
    color: #555;
    flex-shrink: 0;
}

/* ===========================
   Menu utilisateur top-right
=========================== */
.user-menu-container[b-lgziflz3sa] {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.user-avatar[b-lgziflz3sa] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

    .user-avatar img[b-lgziflz3sa] {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid #ccc;
    }

    .user-avatar i[b-lgziflz3sa] {
        font-size: 0.8rem;
        color: #666;
    }

.menu-popup[b-lgziflz3sa] {
    position: absolute;
    right: 0;
    top: 110%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    width: 220px;
    z-index: 9999;
}

.menu-header[b-lgziflz3sa] {
    font-size: 0.9rem;
    padding: 0.8rem;
    color: #555;
}

.menu-item[b-lgziflz3sa] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1rem;
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: background 0.2s;
}

    .menu-item:hover[b-lgziflz3sa] {
        background: #f5f5f5;
    }

.logout[b-lgziflz3sa] {
    color: #b00020;
    border: none;
    background: none;
    padding: 0.7rem 1rem;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    font-weight: bold; /* texte en gras */
}

hr[b-lgziflz3sa] {
    margin: 0.3rem 0;
    border: none;
    border-top: 1px solid #eee;
}

.menu-overlay[b-lgziflz3sa] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 999;
}
/* /Layout/MinimalLayout.razor.rz.scp.css */
.login-wrapper[b-98ptes87om] {
    display: flex;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-image: url('/images/wallpaper_GIE.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    align-items: baseline;
    justify-content: center;
    height: 50vh; /* plein écran */
}

/* Partie gauche */
.login-left[b-98ptes87om] {
    flex: 1;
    background-color: #c8e0dc; /* vert d’eau */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.login-background-logo[b-98ptes87om] {
    width: 80%;
    opacity: 0.15;
}

/* Partie droite */
.login-right[b-98ptes87om] {
    flex: 1;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card[b-98ptes87om] {
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
}

.login-logo[b-98ptes87om] {
    width: 250px;
    margin-bottom: 2rem;
}

.input-field[b-98ptes87om] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    margin-bottom: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-login[b-98ptes87om] {
    width: 100%;
    background-color: #ee6f3c;
    color: white;
    border: none;
    padding: 0.7rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

    .btn-login:hover[b-98ptes87om] {
        background-color: #d45f32;
    }

.error-message[b-98ptes87om] {
    color: red;
    margin-top: 0.5rem;
}

.login-footer[b-98ptes87om] {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #777;
}

    .login-footer a[b-98ptes87om] {
        color: #777;
        text-decoration: none;
    }

        .login-footer a:hover[b-98ptes87om] {
            text-decoration: underline;
        }

.footer[b-98ptes87om] {
    height: 60px;
    line-height: 60px;
    background-color: #e9ecef;
    border-top: 1px solid #ccc;
    text-align: center;
    color: #555;
    flex-shrink: 0;
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-lbbp77uwz8] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-lbbp77uwz8] {
    height: 0.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-lbbp77uwz8] {
    font-size: 1.1rem;
}

.bi[b-lbbp77uwz8] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-lbbp77uwz8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-lbbp77uwz8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-lbbp77uwz8] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-lbbp77uwz8] {
    font-size: 0.8rem;
    padding-bottom: 0.2rem;
}

    .nav-item:first-of-type[b-lbbp77uwz8] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-lbbp77uwz8] {
        padding-bottom: 1rem;
    }

    .nav-item[b-lbbp77uwz8]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 2rem;/* hauteur de chaque item */
        display: flex;
        align-items: center;
        line-height: 2rem;
    }

       .nav-item[b-lbbp77uwz8]  a.active {
            background-color: #2A4670; /* couleur lors de la s�lection */
            font-weight:bold;
            color: white;
        }

        .nav-item[b-lbbp77uwz8]  a:hover {
            background-color: rgba(42,70,112,0.5); /* couleur lors du survol*/
            color: white;
        }

@media (min-width: 641px) {
    .navbar-toggler[b-lbbp77uwz8] {
        display: none;
    }

    .collapse[b-lbbp77uwz8] {
        display: block;
    }

    .nav-scrollable[b-lbbp77uwz8] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        background-color:#192841;
        overflow-y: auto;
    }
}

.menu-separator[b-lbbp77uwz8] {
    border: none;
    width: 85%;
    background-color: #FFB74F !important; /* couleur d�sir�e */
    opacity: 1 !important; /* emp�che tout effet de transparence */
    filter: none !important; /* supprime tout filtre appliqu� par le th�me */

    height: 5px; /* �paisseur de la ligne */
    width: 85%; /* moiti� de la largeur du menu */
    background-color: #fff; /* ta couleur */
    margin: 10px auto; /* centrage horizontal et un peu d�espace autour */
    border-radius: 25px; /* optionnel : arrondir l�g�rement la ligne */
}

/* /Pages/AuthLogin/AuthLogin.razor.rz.scp.css */
.footer[b-nq6salwejl] {
    height: 200px; /* espace avant le footer */
    padding: 50px 0; /* espace interne */
    text-align: left; /* centrer le texte horizontalement */
    position: relative;
    bottom: -50px; /* si tu veux le coller en bas de la page */
}

.prefooter[b-nq6salwejl] {
    height: 200px; /* espace avant le footer */
}
.login-wrapper[b-nq6salwejl] {
    display: flex;
    height: 100vh;
    width: 100vw;
    font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-image: url('/images/wallpaper_GIE.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Partie gauche */
.login-left[b-nq6salwejl] {
    flex: 0 0 47%;
    background-color: transparent;
}

.login-background-logo[b-nq6salwejl] {
    background-image: url('/images/wallpaper_GIE.png');
    width: 100%;
    height:100%;
}

.login-right[b-nq6salwejl] {
    flex: 0 0 53%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
    opacity: 85%;
    justify-content: flex-start;
}


/* Bloc blanc avec opacité 85% */
.login-card[b-nq6salwejl] {
    width: 100%;
    max-width: 420px;
    padding: 0 2.5rem;
}


.login-title[b-nq6salwejl] {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.9rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.login-logo[b-nq6salwejl] {
    width: 300px;
    margin-bottom: 1.5rem;
    display: block;
    opacity:100%
}

.login-form[b-nq6salwejl] {
    width: 100%;
    /*/max-width: 350px; /* ajuste selon la largeur désirée */
    text-align: left;
}
.form-group[b-nq6salwejl] {
    margin-bottom: 1.3rem;
    width: 100%;
}
    .form-group label[b-nq6salwejl] {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 400;
        color: #333;
        font-size: 0.9rem;
    }

.required[b-nq6salwejl] {
    color: #f16a3d;

}
/*
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background-color: transparent;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: border-bottom-color 0.3s ease;
    border-radius: 0;
    height: 20px;
}*/
/*
    .login-form button {
        width: 50%;
        padding: 12px;
        background-color: #f16a3d;
        color: white;
        border: none;
        border-radius: 8px;
        font-weight: bold;
        font-size: 1.0em;
        cursor: pointer;
        transition: background-color 0.2s;
        text-align: center;
    }

        .login-form button:hover {
            background-color: #d95b32;
        }
        */

.input-field[b-nq6salwejl] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background-color: transparent;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: border-bottom-color 0.3s ease;
    border-radius: 0;
    height:20px;
}
    .input-field:focus[b-nq6salwejl] {
        outline: none;
        border-bottom-color: #f16a3d;
        background-color: transparent;
    }

    .input-field[b-nq6salwejl]::placeholder {
        color: #bbb;
        font-size: 0.9rem;
    }

.btn-login[b-nq6salwejl] {
    width: 160px;
    background-color: #f16a3d;
    color: white;
    border: none;
    padding: 0.65rem 0.90rem;
    border-radius: 16px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.2rem;
    font-family: 'Poppins', sans-serif;
    text-align: center;
    transition: all 0.2s ease;
}

    .btn-login:hover[b-nq6salwejl] {
        background-color: #d95b32;
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(241, 106, 61, 0.2);
    }

    .btn-login:active[b-nq6salwejl] {
        transform: translateY(0);
    }

.error-message[b-nq6salwejl] {
    color: red;
    margin-top: 0.5rem;
}

.login-footer[b-nq6salwejl] {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: #777;
}

    .login-footer a[b-nq6salwejl] {
        color: #777;
        text-decoration: none;
    }

        .login-footer a:hover[b-nq6salwejl] {
            text-decoration: underline;
        }

.separator[b-nq6salwejl] {

    border: none;
    background-color: #FFB74F !important; /* couleur désirée */
    opacity: 1 !important; /* empêche tout effet de transparence */
    filter: none !important; /* supprime tout filtre appliqué par le thème */
    width: 86px;
    height: 4px; /* épaisseur de la ligne */
    background-color: #fff; /* ta couleur */
    margin: 0 0 2rem 0; /* centrage horizontal et un peu d’espace autour */
    border-radius: 2px; /* optionnel : arrondir légèrement la ligne */
}
.login-btn-section[b-nq6salwejl]{
    flex-direction:row-reverse;
}

.bi[b-nq6salwejl]{
    margin-left:8px;
}
/* /Pages/Menus/MenuAdministrationApplication.razor.rz.scp.css */
.admin-header[b-siud3763ih] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

.admin-header h2[b-siud3763ih] {
    font-weight: 700;
    font-size: 1.5rem;
    color: #222;
}

.admin-badge[b-siud3763ih] {
    background-color: #f05a28;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-grid[b-siud3763ih] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.admin-card[b-siud3763ih] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    text-align: center;
    padding: 1.5rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.admin-card:hover[b-siud3763ih] {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.admin-icon[b-siud3763ih] {
    background-color: #2a9d8f;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
}

.admin-card h4[b-siud3763ih] {
    margin: 0.5rem 0;
    font-weight: 600;
}

.admin-card p[b-siud3763ih] {
    font-size: 0.9rem;
    color: #555;
}
/* /Pages/Menus/MenuAdministrationRegion.razor.rz.scp.css */
.admin-header[b-hs59majl9r] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

    .admin-header h2[b-hs59majl9r] {
        font-weight: 700;
        font-size: 1.5rem;
        color: #222;
    }

.admin-badge[b-hs59majl9r] {
    background-color: #f05a28;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-grid[b-hs59majl9r] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.admin-card[b-hs59majl9r] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    text-align: center;
    padding: 1.5rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

    .admin-card:hover[b-hs59majl9r] {
        transform: translateY(-5px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

.admin-icon[b-hs59majl9r] {
    background-color: #2a9d8f;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
}

.admin-card h4[b-hs59majl9r] {
    margin: 0.5rem 0;
    font-weight: 600;
}

.admin-card p[b-hs59majl9r] {
    font-size: 0.9rem;
    color: #555;
}
/* /Pages/Menus/MenuParametrageSite.razor.rz.scp.css */
.admin-header[b-ee0z6hmhak] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1rem 0;
}

    .admin-header h2[b-ee0z6hmhak] {
        font-weight: 700;
        font-size: 1.5rem;
        color: #222;
    }

.admin-badge[b-ee0z6hmhak] {
    background-color: #f05a28;
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.admin-grid[b-ee0z6hmhak] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.admin-card[b-ee0z6hmhak] {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    text-align: center;
    padding: 1.5rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

    .admin-card:hover[b-ee0z6hmhak] {
        transform: translateY(-5px);
        box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    }

.admin-icon[b-ee0z6hmhak] {
    background-color: #2a9d8f;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 1rem auto;
}

.admin-card h4[b-ee0z6hmhak] {
    margin: 0.5rem 0;
    font-weight: 600;
}

.admin-card p[b-ee0z6hmhak] {
    font-size: 0.9rem;
    color: #555;
}
