/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.admin-nav[b-iv1zl04uvr] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #BFB1A0;
}

    .admin-nav[b-iv1zl04uvr]  a {
        padding: 0.4rem 0.8rem;
        border-radius: 6px;
        color: #7A291E;
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
    }

        .admin-nav[b-iv1zl04uvr]  a:hover {
            background: rgba(122, 41, 30, 0.08);
        }

        .admin-nav[b-iv1zl04uvr]  a.active {
            background: #7A291E;
            color: #fff;
        }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.brand[b-e72wd8oq44] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
}

.brand-logo[b-e72wd8oq44] {
    height: 40px;
    width: auto;
}

.brand-title[b-e72wd8oq44] {
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.appbar-link[b-e72wd8oq44] {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 1rem;
}

.appbar-button[b-e72wd8oq44] {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
}

    .appbar-button:hover[b-e72wd8oq44] {
        background: rgba(255, 255, 255, 0.12);
    }

.appbar-icon-link[b-e72wd8oq44] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

[b-e72wd8oq44] .appbar-icon {
    color: #fff;
}

/* L'icône de déconnexion n'apparaît que sur téléphone, à la place du libellé */
[b-e72wd8oq44] .appbar-icon-mobile {
    display: none;
}

/* Téléphone : icônes seules (les libellés restent annoncés par les lecteurs d'écran via aria-label) */
@media (max-width: 600px) {
    .appbar-label[b-e72wd8oq44] {
        display: none;
    }

    [b-e72wd8oq44] .appbar-icon-mobile {
        display: inline-block;
    }

    .appbar-link[b-e72wd8oq44] {
        margin-left: 0.5rem;
    }

    .appbar-button[b-e72wd8oq44] {
        padding: 0.3rem 0.45rem;
    }

    .brand-logo[b-e72wd8oq44] {
        height: 34px;
    }
}

@media (max-width: 380px) {
    .brand-title[b-e72wd8oq44] {
        display: none;
    }
}

#blazor-error-ui[b-e72wd8oq44] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-e72wd8oq44] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-qtjsz24ou6],
.components-reconnect-repeated-attempt-visible[b-qtjsz24ou6],
.components-reconnect-failed-visible[b-qtjsz24ou6],
.components-pause-visible[b-qtjsz24ou6],
.components-resume-failed-visible[b-qtjsz24ou6],
.components-rejoining-animation[b-qtjsz24ou6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-qtjsz24ou6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-qtjsz24ou6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-qtjsz24ou6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-qtjsz24ou6],
#components-reconnect-modal.components-reconnect-retrying[b-qtjsz24ou6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-qtjsz24ou6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-qtjsz24ou6],
#components-reconnect-modal.components-reconnect-failed[b-qtjsz24ou6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-qtjsz24ou6] {
    display: block;
}


#components-reconnect-modal[b-qtjsz24ou6] {
    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-qtjsz24ou6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-qtjsz24ou6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-qtjsz24ou6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-qtjsz24ou6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-qtjsz24ou6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-qtjsz24ou6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-qtjsz24ou6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-qtjsz24ou6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-qtjsz24ou6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-qtjsz24ou6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-qtjsz24ou6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-qtjsz24ou6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-qtjsz24ou6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-qtjsz24ou6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-qtjsz24ou6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-qtjsz24ou6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-qtjsz24ou6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-qtjsz24ou6 {
    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/Admin/Capacities.razor.rz.scp.css */
.capacity-scroll[b-0yzdqd97q1] {
    overflow-x: auto;
    border: 1px solid #e0d8cf;
    border-radius: 8px;
}

.capacity-grid[b-0yzdqd97q1] {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.875rem;
}

    .capacity-grid th[b-0yzdqd97q1], .capacity-grid td[b-0yzdqd97q1] {
        border-bottom: 1px solid #eee6dd;
        padding: 0.4rem 0.5rem;
        text-align: center;
        white-space: nowrap;
    }

    .capacity-grid th[b-0yzdqd97q1] {
        background: #f5f1ec;
        color: #3E150F;
        font-weight: 600;
        position: sticky;
        top: 0;
    }

    .capacity-grid .mission-col[b-0yzdqd97q1] {
        text-align: left;
        position: sticky;
        left: 0;
        background: #fff;
        min-width: 200px;
        white-space: normal;
        z-index: 1;
    }

    .capacity-grid th.mission-col[b-0yzdqd97q1] {
        background: #f5f1ec;
        z-index: 2;
    }

    .capacity-grid td.open[b-0yzdqd97q1] {
        background: rgba(46, 125, 50, 0.08);
    }

    .capacity-grid td.closed[b-0yzdqd97q1] {
        background: #f3f3f3;
    }

    .capacity-grid td.dirty[b-0yzdqd97q1] {
        box-shadow: inset 0 0 0 2px #7A291E;
    }

    .capacity-grid tr.inactive td[b-0yzdqd97q1], .capacity-grid th.inactive[b-0yzdqd97q1] {
        color: #9e9e9e;
    }

    .capacity-grid input[type=number][b-0yzdqd97q1] {
        width: 3.5rem;
        padding: 0.2rem;
        border: 1px solid #c9bcae;
        border-radius: 4px;
        text-align: center;
    }

.cell[b-0yzdqd97q1] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.hint[b-0yzdqd97q1] {
    font-size: 0.7rem;
    font-weight: 400;
    color: #6b5a55;
}

    .hint.over[b-0yzdqd97q1] {
        color: #C62828;
        font-weight: 600;
    }
/* /Components/Pages/Admin/PlanningOverview.razor.rz.scp.css */
.capacity-scroll[b-2qm2ob9bz7] {
    overflow-x: auto;
    border: 1px solid #e0d8cf;
    border-radius: 8px;
}

.capacity-grid[b-2qm2ob9bz7] {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.875rem;
}

    .capacity-grid th[b-2qm2ob9bz7], .capacity-grid td[b-2qm2ob9bz7] {
        border-bottom: 1px solid #eee6dd;
        padding: 0.4rem 0.5rem;
        text-align: center;
        white-space: nowrap;
    }

    .capacity-grid th[b-2qm2ob9bz7] {
        background: #f5f1ec;
        color: #3E150F;
        font-weight: 600;
        position: sticky;
        top: 0;
    }

    .capacity-grid .mission-col[b-2qm2ob9bz7] {
        text-align: left;
        position: sticky;
        left: 0;
        background: #fff;
        min-width: 200px;
        white-space: normal;
        z-index: 1;
    }

    .capacity-grid th.mission-col[b-2qm2ob9bz7] {
        background: #f5f1ec;
        z-index: 2;
    }

    .capacity-grid td.open[b-2qm2ob9bz7] {
        background: rgba(46, 125, 50, 0.08);
    }

    .capacity-grid td.closed[b-2qm2ob9bz7] {
        background: #f3f3f3;
    }

    .capacity-grid td.dirty[b-2qm2ob9bz7] {
        box-shadow: inset 0 0 0 2px #7A291E;
    }

    .capacity-grid tr.inactive td[b-2qm2ob9bz7], .capacity-grid th.inactive[b-2qm2ob9bz7] {
        color: #9e9e9e;
    }

    .capacity-grid input[type=number][b-2qm2ob9bz7] {
        width: 3.5rem;
        padding: 0.2rem;
        border: 1px solid #c9bcae;
        border-radius: 4px;
        text-align: center;
    }

.cell[b-2qm2ob9bz7] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
}

.hint[b-2qm2ob9bz7] {
    font-size: 0.7rem;
    font-weight: 400;
    color: #6b5a55;
}

    .hint.over[b-2qm2ob9bz7] {
        color: #C62828;
        font-weight: 600;
    }

/* Taux de remplissage des cases (vue organisation) */
.capacity-grid td.fill-full[b-2qm2ob9bz7] { background: rgba(46, 125, 50, 0.15); }
.capacity-grid td.fill-half[b-2qm2ob9bz7] { background: rgba(230, 81, 0, 0.12); }
.capacity-grid td.fill-low[b-2qm2ob9bz7] { background: rgba(198, 40, 40, 0.10); }
.capacity-grid td.fill-over[b-2qm2ob9bz7] { background: rgba(198, 40, 40, 0.30); }

.admin-cell[b-2qm2ob9bz7] {
    width: 100%;
    padding: 0.35rem;
    border: none;
    background: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

    .admin-cell:hover[b-2qm2ob9bz7] {
        text-decoration: underline;
    }
/* /Components/Pages/Admin/Schedule.razor.rz.scp.css */
.slot-inactive td[b-4mygetmv64] {
    color: #9e9e9e;
}

.text-end[b-4mygetmv64] {
    text-align: right;
}
/* /Components/Pages/Admin/StatTile.razor.rz.scp.css */
[b-bi0gtudhoc] .stat-tile {
    height: 100%;
    text-align: center;
}

.stat-value[b-bi0gtudhoc] {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2B1A17;
}

.stat-label[b-bi0gtudhoc] {
    font-size: 0.8rem;
    color: #6b5a55;
}

[b-bi0gtudhoc] .stat-highlight .stat-value {
    color: #7A291E;
}

[b-bi0gtudhoc] .stat-warning .stat-value {
    color: #E65100;
}

.stat-link[b-bi0gtudhoc] {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

    .stat-link:hover[b-bi0gtudhoc]  .stat-tile {
        border-color: #7A291E;
    }
/* /Components/Pages/Registration/Registration.razor.rz.scp.css */
.registration[b-mpwob48vis] {
    max-width: 760px;
    margin: 0 auto;
}
/* /Components/Pages/Volunteer/Legend.razor.rz.scp.css */
.legend[b-duuesor188] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    color: #6b5a55;
}

.legend-item[b-duuesor188] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.legend-dot[b-duuesor188] {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
}
/* /Components/Pages/Volunteer/MissionInfoDialog.razor.rz.scp.css */
[b-oqti27h2el] .description {
    white-space: pre-line;
}
/* /Components/Pages/Volunteer/Planning.razor.rz.scp.css */
.planning-page[b-nqkxf4opgg] {
    max-width: 960px;
    margin: 0 auto;
    /* Place pour la barre fixe en bas d'écran */
    padding-bottom: 6rem;
}

/* ---------- Récapitulatif ---------- */
.recap-line[b-nqkxf4opgg] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.25rem 0;
    border-bottom: 1px solid #f0ebe5;
    font-size: 0.9rem;
}

/* ---------- Onglets des journées ---------- */
.day-tabs[b-nqkxf4opgg] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    overflow-x: auto;
}

.day-tab[b-nqkxf4opgg] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid #7A291E;
    border-radius: 20px;
    background: #fff;
    color: #7A291E;
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
    cursor: pointer;
}

    .day-tab.active[b-nqkxf4opgg] {
        background: #7A291E;
        color: #fff;
    }

.day-tab-count[b-nqkxf4opgg] {
    min-width: 1.3rem;
    height: 1.3rem;
    line-height: 1.3rem;
    border-radius: 50%;
    background: #1565C0;
    color: #fff;
    font-size: 0.75rem;
    text-align: center;
}

/* ---------- Vue liste ---------- */
.slot-block[b-nqkxf4opgg] {
    margin-bottom: 1rem;
}

.slot-header[b-nqkxf4opgg] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 2px solid #BFB1A0;
    margin-bottom: 0.4rem;
}

.slot-time[b-nqkxf4opgg] {
    font-weight: 700;
    font-size: 1.05rem;
    color: #3E150F;
}

.mission-card[b-nqkxf4opgg] {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
    border-radius: 8px;
    border-left: 6px solid #9e9e9e;
    background: #fafafa;
}

.mission-card-main[b-nqkxf4opgg] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0.6rem 0.75rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    min-height: 3.2rem;
}

    .mission-card-main:disabled[b-nqkxf4opgg] {
        cursor: default;
    }

.mission-name[b-nqkxf4opgg] {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.mission-location[b-nqkxf4opgg] {
    font-size: 0.8rem;
    color: #6b5a55;
}

.mission-status[b-nqkxf4opgg] {
    font-size: 0.85rem;
    font-weight: 600;
}

/* Code couleur (§11) : la couleur n'est jamais la seule information */
.state-available[b-nqkxf4opgg] { border-left-color: #2E7D32; background: rgba(46, 125, 50, 0.07); }
.state-available .mission-status[b-nqkxf4opgg] { color: #2E7D32; }
.state-almostfull[b-nqkxf4opgg] { border-left-color: #E65100; background: rgba(230, 81, 0, 0.08); }
.state-almostfull .mission-status[b-nqkxf4opgg] { color: #E65100; }
.state-full[b-nqkxf4opgg] { border-left-color: #C62828; background: #f3f3f3; color: #757575; }
.state-full .mission-status[b-nqkxf4opgg] { color: #C62828; }
.state-mine[b-nqkxf4opgg], .state-minelocked[b-nqkxf4opgg] { border-left-color: #1565C0; background: rgba(21, 101, 192, 0.12); }
.state-mine .mission-status[b-nqkxf4opgg], .state-minelocked .mission-status[b-nqkxf4opgg] { color: #1565C0; }
.state-blocked[b-nqkxf4opgg] { border-left-color: #bdbdbd; background: #f3f3f3; color: #757575; }
.state-notoffered[b-nqkxf4opgg] { border-left-color: #e0e0e0; background: #fafafa; color: #bdbdbd; }

/* ---------- Vue tableau ---------- */
.planning-table-scroll[b-nqkxf4opgg] {
    overflow-x: auto;
    border: 1px solid #e0d8cf;
    border-radius: 8px;
}

.planning-table[b-nqkxf4opgg] {
    border-collapse: collapse;
    width: 100%;
    font-size: 0.85rem;
}

    .planning-table th[b-nqkxf4opgg], .planning-table td[b-nqkxf4opgg] {
        border-bottom: 1px solid #eee6dd;
        padding: 0.3rem;
        text-align: center;
    }

    .planning-table th[b-nqkxf4opgg] {
        background: #f5f1ec;
        color: #3E150F;
        white-space: nowrap;
    }

    .planning-table .mission-col[b-nqkxf4opgg] {
        text-align: left;
        min-width: 180px;
    }

.cell-button[b-nqkxf4opgg] {
    width: 100%;
    min-width: 6.5rem;
    padding: 0.45rem 0.3rem;
    border: none;
    border-left: 4px solid #9e9e9e;
    border-radius: 4px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

    .cell-button:disabled[b-nqkxf4opgg] {
        cursor: default;
    }

.link-button[b-nqkxf4opgg] {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: #7A291E;
    text-decoration: underline;
    cursor: pointer;
    text-align: left;
}

.hint[b-nqkxf4opgg] {
    font-size: 0.75rem;
    color: #6b5a55;
}

/* ---------- Barre fixe ---------- */
.planning-bar[b-nqkxf4opgg] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.12);
}

.planning-bar-hint[b-nqkxf4opgg] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 3.9rem;
    z-index: 1100;
    padding: 0.3rem 1rem;
    background: #fff3e0;
    color: #E65100;
    font-size: 0.85rem;
    text-align: center;
}
/* /Components/Shared/PhotoUpload.razor.rz.scp.css */
.photo-upload[b-0xgh4zubq9] {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-start;
}

.photo-help[b-0xgh4zubq9] {
    flex: 1 1 220px;
}

/* Aperçu du badge, aux couleurs du Salon */
.badge-preview[b-0xgh4zubq9] {
    width: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    background: #fff;
    text-align: center;
    padding-bottom: 0.6rem;
}

.badge-band[b-0xgh4zubq9] {
    background: #7A291E;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.4rem 0;
}

.badge-photo[b-0xgh4zubq9] {
    display: block;
    width: 120px;
    height: 160px;
    margin: 0.75rem auto 0.5rem;
    object-fit: cover;
    border-radius: 6px;
}

.badge-placeholder[b-0xgh4zubq9] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f1ec;
    color: #BFB1A0;
}

.badge-name[b-0xgh4zubq9] {
    font-weight: 700;
    color: #2B1A17;
    line-height: 1.2;
    min-height: 1.2em;
}

.badge-lastname[b-0xgh4zubq9] {
    text-transform: uppercase;
}

.badge-role[b-0xgh4zubq9] {
    margin-top: 0.4rem;
    color: #7A291E;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
}
