/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-jza0jvlfic] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-jza0jvlfic] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-jza0jvlfic] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-jza0jvlfic] {
    font-size: 1.1rem;
}

.bi[b-jza0jvlfic] {
    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-jza0jvlfic] {
    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-jza0jvlfic] {
    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-jza0jvlfic] {
    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-jza0jvlfic] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-jza0jvlfic] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-jza0jvlfic] {
        padding-bottom: 1rem;
    }

    .nav-item[b-jza0jvlfic]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-jza0jvlfic]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-jza0jvlfic]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-jza0jvlfic] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-jza0jvlfic] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-jza0jvlfic] {
        display: none;
    }

    .nav-scrollable[b-jza0jvlfic] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-ca0xrr39io],
.components-reconnect-repeated-attempt-visible[b-ca0xrr39io],
.components-reconnect-failed-visible[b-ca0xrr39io],
.components-pause-visible[b-ca0xrr39io],
.components-resume-failed-visible[b-ca0xrr39io],
.components-rejoining-animation[b-ca0xrr39io] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-ca0xrr39io],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-ca0xrr39io],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-ca0xrr39io],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-ca0xrr39io],
#components-reconnect-modal.components-reconnect-retrying[b-ca0xrr39io],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-ca0xrr39io],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-ca0xrr39io],
#components-reconnect-modal.components-reconnect-failed[b-ca0xrr39io],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-ca0xrr39io] {
    display: block;
}


#components-reconnect-modal[b-ca0xrr39io] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-ca0xrr39io 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-ca0xrr39io 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-ca0xrr39io 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-ca0xrr39io]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-ca0xrr39io 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-ca0xrr39io {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-ca0xrr39io {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-ca0xrr39io {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-ca0xrr39io] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-ca0xrr39io] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-ca0xrr39io] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-ca0xrr39io] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-ca0xrr39io] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-ca0xrr39io] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-ca0xrr39io] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-ca0xrr39io 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-ca0xrr39io] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-ca0xrr39io {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Affichage.razor.rz.scp.css */
/* Réinitialisation locale */
.page-zone[b-vi6nbozq8n] {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/*
        La zone principale prend tout l'espace disponible,
        sauf la hauteur de la barre inférieure.
    */
.contenu-principal[b-vi6nbozq8n] {
    flex: 1 1 auto;
    min-height: 0;
    padding-left: 0;
    padding-right: 0;
    display: grid;
    grid-template-columns: 15% 85%;
    overflow: hidden;
}

/* Colonne gauche */
.colonne-gauche[b-vi6nbozq8n] {
    min-width: 300px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-right: 2px solid #163957;
    background: transparent;
    container-type: inline-size;
}


/* Horloge en haut de la colonne gauche */
.horloge[b-vi6nbozq8n] {
    flex: 0 0 auto;
    margin-bottom: 1rem;
    color: #1f2937;
    font-size: clamp(1rem, 5vw, 4rem);
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}




.zone-liste-guichets[b-vi6nbozq8n] {
    flex: 1 1 auto;
    min-height: 0;
    min-width: 0;
    width: 100%;
    display: flex;
}



/* Contenu interne d'un guichet */
.guichet-item[b-vi6nbozq8n] {
    width: 100%;
    min-width: 0;
    display: flex;
    padding: 0px 0px 15px 0px;
    flex-direction: column;
    align-items: center;
    gap: clamp(5px, 0.8cqw, 12px);
    color: #123653;
    white-space: normal;
}

/* Nom sans ellipse ni troncature */
.nom-guichet[b-vi6nbozq8n] {
    width: 100%;
    min-width: 0;
    color: #123653;
    font-size: clamp(2rem, 6cqw, 10rem);
    font-weight: 700;
    text-align: center;
}

/* Ligne icône + numéro */
.ticket-guichet[b-vi6nbozq8n] {
    width: 100%;
    min-width: 0;
    color: #123653;
    font-size: clamp(2rem, 6cqw, 10rem);
    font-weight: 700;
    text-align: center;
}

/* Icône proportionnelle à la largeur disponible */
.icone-guichet[b-vi6nbozq8n] {
    width: clamp(60px, 19cqw, 110px);
    height: clamp(60px, 19cqw, 110px);
    flex: 0 0 auto;
    object-fit: contain;
}

/* Numéro de ticket */
.numero-ticket[b-vi6nbozq8n] {
    min-width: 0;
    color: #123653;
    padding-left: 20px;
    font-size: clamp(1.5rem, 28cqw, 8rem);
    font-weight: 700;
    line-height: 1;
    white-space: normal;
}



/* Zone principale réservée au logo */
.zone-logo[b-vi6nbozq8n] {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
    text-align: center;
}

/* Logo centré et contenu dans la zone disponible */
.logo-centre[b-vi6nbozq8n] {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.activation-audio[b-vi6nbozq8n] {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
}

.bouton-activer-audio[b-vi6nbozq8n] {
    display: block;
    margin: 0 auto;
    border: 0;
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: white;
    background-color: #1769aa;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

    .bouton-activer-audio:hover[b-vi6nbozq8n] {
        background-color: #0d4f82;
    }



.notification-ticket[b-vi6nbozq8n] {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    color: white;
    background: rgba(20, 20, 20, 0.90);
    animation: apparition-notification-b-vi6nbozq8n 250ms ease-out;
}

.notification-titre[b-vi6nbozq8n] {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffd43b;
}

.notification-ticket-numero[b-vi6nbozq8n] {
    margin-top: 0.5rem;
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    font-weight: 800;
    color: white;
}

.notification-guichet[b-vi6nbozq8n] {
    margin-top: 1rem;
    font-size: clamp(1.2rem, 2.5vw, 2.2rem);
    font-weight: 500;
}

    .notification-guichet strong[b-vi6nbozq8n] {
        color: #ffd43b;
        font-weight: 800;
    }

@keyframes apparition-notification-b-vi6nbozq8n {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* Barre inférieure */
.appbar-bottom[b-vi6nbozq8n] {
    flex: 0 0 auto;
    width: 100%;
    min-height: 60px;
    z-index: 1000;
}

    /* Texte de la barre inférieure */
    .appbar-bottom span[b-vi6nbozq8n] {
        padding: 0 1rem;
        font-size: 1.3rem;
        text-align: center;
    }
