/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-skl3e70m0s] {
    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-skl3e70m0s] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-7u6u44gnkm],
.components-reconnect-repeated-attempt-visible[b-7u6u44gnkm],
.components-reconnect-failed-visible[b-7u6u44gnkm],
.components-pause-visible[b-7u6u44gnkm],
.components-resume-failed-visible[b-7u6u44gnkm],
.components-rejoining-animation[b-7u6u44gnkm] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-7u6u44gnkm],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-7u6u44gnkm],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-7u6u44gnkm],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-7u6u44gnkm],
#components-reconnect-modal.components-reconnect-retrying[b-7u6u44gnkm],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-7u6u44gnkm],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-7u6u44gnkm],
#components-reconnect-modal.components-reconnect-failed[b-7u6u44gnkm],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-7u6u44gnkm] {
    display: block;
}


#components-reconnect-modal[b-7u6u44gnkm] {
    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-7u6u44gnkm 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-7u6u44gnkm 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-7u6u44gnkm 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-7u6u44gnkm]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-7u6u44gnkm 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-7u6u44gnkm {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-7u6u44gnkm {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-7u6u44gnkm {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-7u6u44gnkm] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-7u6u44gnkm] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-7u6u44gnkm] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-7u6u44gnkm] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-7u6u44gnkm] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-7u6u44gnkm] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-7u6u44gnkm] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-7u6u44gnkm 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-7u6u44gnkm] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-7u6u44gnkm {
    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/Calendar/MonthGrid.razor.rz.scp.css */
/* Стили сетки месяца (scoped CSS — действуют только внутри MonthGrid). */

.erudit-month-grid[b-d4mffskeh7] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.erudit-month-head[b-d4mffskeh7] {
    text-align: center;
    font-weight: 500;
    color: #666;
    padding: 4px 0;
}

.erudit-day[b-d4mffskeh7] {
    position: relative;
    aspect-ratio: 1.2;
    min-width: 0;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 4px 6px;
    background: #fff;
    cursor: pointer;
    font-size: 1.05rem;
}

.erudit-day-off[b-d4mffskeh7] {
    color: #c62828;
    background: #fdecea;
}

.erudit-vacation[b-d4mffskeh7] {
    background: #fff4d6;
    border-color: #f0b429;
}

.erudit-day-off.erudit-vacation[b-d4mffskeh7] {
    background: linear-gradient(135deg, #fdecea 50%, #fff4d6 50%);
}

.erudit-vacation-part[b-d4mffskeh7] {
    border: 2px dashed #f0b429;
}

.erudit-today[b-d4mffskeh7] {
    outline: 2px solid #1F3864;
}

[b-d4mffskeh7] .erudit-day-manual {
    position: absolute;
    right: 4px;
    bottom: 4px;
    opacity: 0.6;
}

/* Компактный вид: несколько месяцев на экране — клетки меньше, число по центру. */
.erudit-month-title[b-d4mffskeh7] {
    font-weight: 500;
    text-transform: capitalize;
    margin-bottom: 4px;
}

.erudit-compact .erudit-month-grid[b-d4mffskeh7] {
    gap: 2px;
}

.erudit-compact .erudit-month-head[b-d4mffskeh7] {
    font-size: 0.7rem;
    padding: 0;
}

.erudit-compact .erudit-day[b-d4mffskeh7] {
    aspect-ratio: 1;
    padding: 0;
    border-radius: 4px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.erudit-compact[b-d4mffskeh7]  .erudit-day-manual {
    display: none;
}

.erudit-compact .erudit-day.erudit-vacation-part[b-d4mffskeh7] {
    border-width: 1px;
}
/* /Components/Pages/Calendar/SchoolCalendar.razor.rz.scp.css */
/* Стили страницы календаря (scoped CSS). Сами клетки дней — в MonthGrid.razor.css. */

/* Несколько месяцев: квартал и полгода — по 3 в ряд, год — по 4. */
.erudit-months[b-frm43bdz1i] {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 24px;
}

.erudit-months-3[b-frm43bdz1i] {
    gap: 16px 32px;
}

.erudit-months-12[b-frm43bdz1i] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Узкий экран (планшет): год — по 3 в ряд. */
@media (max-width: 1100px) {
    .erudit-months-12[b-frm43bdz1i] {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Телефон: крупный квартал — по одному месяцу, остальное — по два. */
@media (max-width: 700px) {
    .erudit-months[b-frm43bdz1i], .erudit-months-12[b-frm43bdz1i] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .erudit-months-3[b-frm43bdz1i] {
        grid-template-columns: 1fr;
    }
}

.erudit-legend[b-frm43bdz1i] {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    margin-right: 6px;
    vertical-align: middle;
}

.erudit-legend-off[b-frm43bdz1i] {
    background: #fdecea;
}

.erudit-legend-vacation[b-frm43bdz1i] {
    background: #fff4d6;
    border-color: #f0b429;
}

.erudit-legend-vacation-part[b-frm43bdz1i] {
    border: 2px dashed #f0b429;
}
