/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-5z8ylgaran] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-5z8ylgaran] {
    flex: 1;
}

.sidebar[b-5z8ylgaran] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-5z8ylgaran] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-5z8ylgaran]  a, .top-row[b-5z8ylgaran]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-5z8ylgaran]  a:hover, .top-row[b-5z8ylgaran]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-5z8ylgaran]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-5z8ylgaran] {
        justify-content: space-between;
    }

    .top-row[b-5z8ylgaran]  a, .top-row[b-5z8ylgaran]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-5z8ylgaran] {
        flex-direction: row;
    }

    .sidebar[b-5z8ylgaran] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-5z8ylgaran] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-5z8ylgaran]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-5z8ylgaran], article[b-5z8ylgaran] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-5z8ylgaran] {
    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-5z8ylgaran] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-nlx3lcg8si] {
    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-nlx3lcg8si] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-nlx3lcg8si] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-nlx3lcg8si] {
    font-size: 1.1rem;
}

.bi[b-nlx3lcg8si] {
    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-nlx3lcg8si] {
    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-nlx3lcg8si] {
    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-nlx3lcg8si] {
    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-nlx3lcg8si] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-nlx3lcg8si] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-nlx3lcg8si] {
        padding-bottom: 1rem;
    }

    .nav-item[b-nlx3lcg8si]  .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-nlx3lcg8si]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-nlx3lcg8si]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-nlx3lcg8si] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-nlx3lcg8si] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-nlx3lcg8si] {
        display: none;
    }

    .nav-scrollable[b-nlx3lcg8si] {
        /* 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-425mvcepht],
.components-reconnect-repeated-attempt-visible[b-425mvcepht],
.components-reconnect-failed-visible[b-425mvcepht],
.components-pause-visible[b-425mvcepht],
.components-resume-failed-visible[b-425mvcepht],
.components-rejoining-animation[b-425mvcepht] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-425mvcepht],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-425mvcepht],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-425mvcepht],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-425mvcepht],
#components-reconnect-modal.components-reconnect-retrying[b-425mvcepht],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-425mvcepht],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-425mvcepht],
#components-reconnect-modal.components-reconnect-failed[b-425mvcepht],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-425mvcepht] {
    display: block;
}


#components-reconnect-modal[b-425mvcepht] {
    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-425mvcepht 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-425mvcepht 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-425mvcepht 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-425mvcepht]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-425mvcepht 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-425mvcepht {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-425mvcepht {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-425mvcepht {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-425mvcepht] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-425mvcepht] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-425mvcepht] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-425mvcepht] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-425mvcepht] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-425mvcepht] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-425mvcepht] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-425mvcepht 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-425mvcepht] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-425mvcepht {
    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/Calendrier.razor.rz.scp.css */
/* ── Navigation mensuelle ─────────────────────────────── */
.cal-nav[b-5e06yan0gq] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.cal-month-title[b-5e06yan0gq] {
    min-width: 240px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
}

.cal-nav-btn[b-5e06yan0gq] {
    background: none;
    border: 2px solid var(--primary, #60233a);
    color: var(--primary, #60233a);
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
}

.cal-nav-btn:hover[b-5e06yan0gq] {
    background: var(--primary, #60233a);
    color: #fff;
}

/* ── Grille ───────────────────────────────────────────── */
.cal-grid[b-5e06yan0gq] {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #ddd;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.cal-day-header[b-5e06yan0gq] {
    background: var(--primary, #60233a);
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .06em;
    padding: .55rem .25rem;
}

/* ── Cellule ──────────────────────────────────────────── */
.cal-cell[b-5e06yan0gq] {
    background: #fff;
    min-height: 110px;
    padding: .4rem .45rem;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.cal-cell--empty[b-5e06yan0gq] {
    background: #f7f4f5;
    min-height: 110px;
}

.cal-cell--today[b-5e06yan0gq] {
    background: #fdf6f8;
}

.cal-cell-header[b-5e06yan0gq] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: .15rem;
}

.cal-day-num[b-5e06yan0gq] {
    font-size: .85rem;
    font-weight: 600;
    color: #555;
    line-height: 1;
}

.cal-day-num--today[b-5e06yan0gq] {
    background: var(--primary, #60233a);
    color: #fff;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
}

/* ── Bouton + ─────────────────────────────────────────── */
.cal-add-btn[b-5e06yan0gq] {
    background: none;
    border: none;
    color: var(--primary, #60233a);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 .2rem;
    opacity: .5;
    transition: opacity .15s;
}

.cal-cell:hover .cal-add-btn[b-5e06yan0gq] {
    opacity: 1;
}

/* ── Événement dans la cellule ────────────────────────── */
.cal-event[b-5e06yan0gq] {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--primary, #60233a);
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: .2rem .4rem;
    font-size: .72rem;
    line-height: 1.3;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: opacity .15s;
}

.cal-event:hover[b-5e06yan0gq] {
    opacity: .85;
}

.cal-event-time[b-5e06yan0gq] {
    font-weight: 700;
    margin-right: .3rem;
    opacity: .85;
}

/* ── Modal calendrier ─────────────────────────────────── */
.cal-modal[b-5e06yan0gq] {
    max-width: 480px;
    width: 92vw;
    padding: 1.75rem 2rem 2rem;
}

@media (max-width: 480px) {
    .cal-modal[b-5e06yan0gq] {
        padding: 1.25rem 1.25rem 1.5rem;
    }
}

.cal-modal-title[b-5e06yan0gq] {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 1.2rem;
    padding-right: 2rem;
}

/* ── Détail événement ─────────────────────────────────── */
.cal-detail[b-5e06yan0gq] {
    display: flex;
    flex-direction: column;
    gap: .55rem;
    margin-bottom: 1.2rem;
}

.cal-detail-date[b-5e06yan0gq]   { font-weight: 600; font-size: 1rem; }
.cal-detail-time[b-5e06yan0gq]   { font-size: .95rem; color: #555; }
.cal-detail-lieu[b-5e06yan0gq]   { font-size: .95rem; }
.cal-detail-desc[b-5e06yan0gq]   { font-size: .9rem; line-height: 1.6; color: #444; white-space: pre-line; }

/* ── Formulaire ───────────────────────────────────────── */
.cal-form[b-5e06yan0gq] {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.cal-form-field[b-5e06yan0gq] {
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.cal-form-field label[b-5e06yan0gq] {
    font-weight: 600;
    font-size: .85rem;
}

.cal-form-row[b-5e06yan0gq] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.cal-form-error[b-5e06yan0gq] {
    color: #c0392b;
    font-size: .85rem;
    margin: 0;
}

.cal-form-actions[b-5e06yan0gq] {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}

.cal-btn-delete[b-5e06yan0gq] {
    background: #c0392b;
    color: #fff;
    border: none;
    padding: .6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: .9rem;
    transition: background .15s;
}

.cal-btn-delete:hover[b-5e06yan0gq] { background: #a93226; }

.cal-btn-cancel[b-5e06yan0gq] {
    background: none;
    border: 1px solid #aaa;
    color: #555;
    padding: .6rem 1.2rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: .9rem;
    transition: border-color .15s, color .15s;
}

.cal-btn-cancel:hover[b-5e06yan0gq] {
    border-color: #555;
    color: #222;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 640px) {
    .cal-cell[b-5e06yan0gq] { min-height: 70px; padding: .25rem; }
    .cal-cell--empty[b-5e06yan0gq] { min-height: 70px; }
    .cal-day-header[b-5e06yan0gq] { font-size: .7rem; padding: .4rem .1rem; }
    .cal-event[b-5e06yan0gq] { font-size: .65rem; padding: .15rem .25rem; }
    .cal-event-time[b-5e06yan0gq] { display: none; }
    .cal-month-title[b-5e06yan0gq] { font-size: 1.2rem; min-width: 180px; }
    .cal-form-row[b-5e06yan0gq] { grid-template-columns: 1fr; }
}
