/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-3pm4jr4u2c] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-3pm4jr4u2c] {
    flex: 1;
}

.sidebar[b-3pm4jr4u2c] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-3pm4jr4u2c] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.account-menu[b-3pm4jr4u2c] {
    position: relative;
}

.account-menu-trigger[b-3pm4jr4u2c] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    cursor: pointer;
    list-style: none;
    user-select: none;
    background: #ffffff;
    border: 1px solid #d6d5d5;
}

.account-menu-trigger[b-3pm4jr4u2c]::-webkit-details-marker {
    display: none;
}

.account-avatar[b-3pm4jr4u2c] {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1b6ec2;
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
}

.account-name[b-3pm4jr4u2c] {
    max-width: 12rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu-panel[b-3pm4jr4u2c] {
    position: absolute;
    right: 0;
    top: calc(100% + 0.4rem);
    min-width: 13rem;
    background: #fff;
    border: 1px solid #d6d5d5;
    border-radius: 0.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 50;
    padding: 0.4rem;
}

.account-menu-header[b-3pm4jr4u2c] {
    padding: 0.5rem 0.65rem;
    border-bottom: 1px solid #ececec;
    margin-bottom: 0.25rem;
}

.account-menu-item[b-3pm4jr4u2c] {
    width: 100%;
    border: none;
    background: transparent;
    text-align: left;
    padding: 0.5rem 0.65rem;
    border-radius: 0.35rem;
}

.account-menu-item:hover[b-3pm4jr4u2c] {
    background: #f5f7fb;
}

.account-menu-item.danger[b-3pm4jr4u2c] {
    color: #b42318;
}

    .top-row[b-3pm4jr4u2c]  a, .top-row[b-3pm4jr4u2c]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-3pm4jr4u2c]  a:hover, .top-row[b-3pm4jr4u2c]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-3pm4jr4u2c]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-3pm4jr4u2c] {
        justify-content: space-between;
    }

    .top-row[b-3pm4jr4u2c]  a, .top-row[b-3pm4jr4u2c]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-3pm4jr4u2c] {
        flex-direction: row;
    }

    .sidebar[b-3pm4jr4u2c] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-3pm4jr4u2c] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-3pm4jr4u2c]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-3pm4jr4u2c], article[b-3pm4jr4u2c] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-3pm4jr4u2c] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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-3pm4jr4u2c] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-5o46vz1zmh] {
    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-5o46vz1zmh] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-5o46vz1zmh] {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-5o46vz1zmh] {
    font-size: 1.1rem;
}

.bi[b-5o46vz1zmh] {
    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-5o46vz1zmh] {
    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-5o46vz1zmh] {
    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-5o46vz1zmh] {
    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");
}

.bi-children-nav-menu[b-5o46vz1zmh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 2.5a1.75 1.75 0 1 1-3.5 0 1.75 1.75 0 0 1 3.5 0Zm3.5 1.25a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm-6.75 2A2.75 2.75 0 0 0 2 8.5v3a.5.5 0 0 0 1 0V9h1v4.5a.75.75 0 0 0 1.5 0V11h1v2.5a.75.75 0 0 0 1.5 0V8.5A2.75 2.75 0 0 0 5.25 5.75Zm6.25.75h-1.5a2 2 0 0 1 .5 1.5v2.5a.5.5 0 0 0 1 0V9h.75v3a.75.75 0 0 0 1.5 0V8.25A1.75 1.75 0 0 0 11.5 6.5Z'/%3E%3C/svg%3E");
}

.bi-gear-fill-nav-menu[b-5o46vz1zmh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311a1.464 1.464 0 0 1-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.858 2.929 2.929 0 0 1 0 5.858z'/%3E%3C/svg%3E");
}

.bi-sliders-nav-menu[b-5o46vz1zmh] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M11.5 2a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3M9.05 3a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0V3zM4.5 7a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3M2.05 8a2.5 2.5 0 0 1 4.9 0H16v1H6.95a2.5 2.5 0 0 1-4.9 0H0V8zm9.45 4a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3m-2.45 1a2.5 2.5 0 0 1 4.9 0H16v1h-2.05a2.5 2.5 0 0 1-4.9 0H0v-1z'/%3E%3C/svg%3E");
}

.nav-item[b-5o46vz1zmh] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-5o46vz1zmh] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-5o46vz1zmh] {
        padding-bottom: 1rem;
    }

    .nav-item[b-5o46vz1zmh]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.nav-item[b-5o46vz1zmh]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-5o46vz1zmh]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-5o46vz1zmh] {
    display: none;
}

.nav-scrollable nav[b-5o46vz1zmh] {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.nav-main[b-5o46vz1zmh] {
    display: block;
}

.system-menu > summary[b-5o46vz1zmh]::-webkit-details-marker {
    display: none;
}

.system-menu > summary[b-5o46vz1zmh]::after {
    content: '\25BE';
    margin-left: auto;
    font-size: 0.8rem;
    opacity: 0.9;
}

.system-menu[open] > summary[b-5o46vz1zmh]::after {
    content: '\25B4';
}

.nav-bottom[b-5o46vz1zmh] {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-top: 0.85rem;
    padding-bottom: 1rem;
}

.navbar-toggler:checked ~ .nav-scrollable[b-5o46vz1zmh] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-5o46vz1zmh] {
        display: none;
    }

    .nav-scrollable[b-5o46vz1zmh] {
        /* 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/Pages/Children.razor.rz.scp.css */
.child-create-card .card-header[b-fzsnkhxfyx] {
    padding: 0.45rem 0.75rem;
}

.child-create-card .card-body[b-fzsnkhxfyx] {
    padding: 0.65rem 0.75rem;
}

.child-create-label[b-fzsnkhxfyx] {
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.org-selector-line .org-selector-control[b-fzsnkhxfyx] {
    flex: 0 0 32ch;
    width: 32ch;
    max-width: 32ch;
}

.child-create-row[b-fzsnkhxfyx] {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.35rem 0.45rem;
}

.child-create-row .child-field[b-fzsnkhxfyx] {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
}

.child-create-row .field-child-code[b-fzsnkhxfyx] {
    width: 12ch;
}

.child-create-row .field-child-name[b-fzsnkhxfyx] {
    width: 12ch;
}

.child-create-row .field-birth-date[b-fzsnkhxfyx],
.child-create-row .field-enrollment-date[b-fzsnkhxfyx] {
    width: 14ch;
}

.child-create-row .field-gender[b-fzsnkhxfyx] {
    width: 9ch;
}

.child-create-row .field-child-status[b-fzsnkhxfyx] {
    width: 9ch;
}

.child-create-row .field-guardian-phone[b-fzsnkhxfyx] {
    width: 15ch;
}

.child-create-row .field-guardian-name[b-fzsnkhxfyx] {
    width: 16ch;
}

.child-create-row .field-relationship[b-fzsnkhxfyx] {
    width: 8ch;
}

.child-create-row .field-guardian-password[b-fzsnkhxfyx] {
    width: 14ch;
}

.child-create-row .field-action[b-fzsnkhxfyx] {
    padding-top: 0.2rem;
}

.child-create-row .form-control-sm[b-fzsnkhxfyx],
.child-create-row .form-select-sm[b-fzsnkhxfyx] {
    min-height: calc(1.35em + 0.4rem + 2px);
    padding: 0.2rem 0.45rem;
    width: 100%;
}

@media (max-width: 991.98px) {
    .org-selector-line[b-fzsnkhxfyx] {
        flex-wrap: wrap;
    }

    .org-selector-line .org-selector-control[b-fzsnkhxfyx] {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .child-create-row .form-control[b-fzsnkhxfyx],
    .child-create-row .form-select[b-fzsnkhxfyx] {
        max-width: 100%;
    }

    .child-create-row .child-field[b-fzsnkhxfyx] {
        width: 100%;
        min-width: 0;
    }
}
/* /Components/Pages/EnrollmentRecords.razor.rz.scp.css */
/* 全屏遮罩进度提示：position:fixed 不随页面滚动，保存/重新整理/上传等耗时操作时无论滚动到哪里都能看到。 */
.enrollment-loading-overlay[b-ic18nkt7mt] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enrollment-loading-box[b-ic18nkt7mt] {
    background: white;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    min-width: 220px;
}

/* 格式化编辑整个区域字体调小一点，内容多时不至于一屏只能看到一两个板块。 */
#enrollment-form-print-area[b-ic18nkt7mt] {
    font-size: 0.82rem;
}

    #enrollment-form-print-area h5[b-ic18nkt7mt] {
        font-size: 1rem;
    }

    #enrollment-form-print-area h6[b-ic18nkt7mt] {
        font-size: 0.88rem;
    }

    #enrollment-form-print-area .form-control-sm[b-ic18nkt7mt] {
        font-size: 0.82rem;
    }
/* /Components/Pages/Login.razor.rz.scp.css */
.login-page[b-0slp0d8vx0] {
    min-height: calc(100vh - 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    background:
    radial-gradient(circle at 12% 12%, rgba(48, 95, 176, 0.36), transparent 34%),
    radial-gradient(circle at 88% 84%, rgba(89, 61, 142, 0.32), transparent 30%),
    linear-gradient(135deg, #c7d9f2 0%, #bcd0ed 42%, #b5c5e8 62%, #bbb9df 100%);
}

.login-shell[b-0slp0d8vx0] {
    width: min(100%, 460px);
}

.login-card[b-0slp0d8vx0] {
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    border: 1px solid #e9eef5;
    background: #fff;
    overflow: hidden;
}

.login-card-header[b-0slp0d8vx0] {
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 22px 22px;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0f3f83, #2f1f63);
}

.login-card-icon[b-0slp0d8vx0] {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), 0 6px 14px rgba(0, 0, 0, 0.12);
}

.login-card-icon .bi[b-0slp0d8vx0] {
    font-size: 0.95rem;
    line-height: 1;
}

.login-card-icon svg[b-0slp0d8vx0] {
    width: 18px;
    height: 18px;
    display: block;
    color: #ffffff;
}

.login-card-body[b-0slp0d8vx0] {
    padding: 24px;
}

.login-welcome[b-0slp0d8vx0] {
    margin-top: 18px;
    padding: 12px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(28, 47, 87, 0.72);
    letter-spacing: 0.02em;
}

.login-footer-note[b-0slp0d8vx0] {
    margin-top: 14px;
    text-align: center;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: rgba(28, 47, 87, 0.6);
}

.login-tip[b-0slp0d8vx0] {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f8fbff;
    border: 1px solid #e3eefc;
    color: #5b6b82;
    font-size: 0.95rem;
}

.login-input[b-0slp0d8vx0] {
    min-height: 46px;
    border-radius: 12px;
    border-color: #d8e2ee;
}

.login-remember[b-0slp0d8vx0] {
    margin-bottom: 14px;
    color: #44556f;
    font-size: 0.92rem;
}

.login-submit[b-0slp0d8vx0] {
    width: 100%;
    min-height: 46px;
    border: none;
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #2c7be5, #3b8ef5);
    box-shadow: 0 10px 24px rgba(44, 123, 229, 0.22);
}

.login-submit:hover[b-0slp0d8vx0] {
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 860px) {
    .login-shell[b-0slp0d8vx0] {
        width: min(100%, 100%);
    }
}
/* /Components/Pages/Users.razor.rz.scp.css */
.org-selector-line .org-selector-control[b-foctks322t] {
    flex: 0 0 32ch;
    width: 32ch;
    max-width: 32ch;
}

@media (max-width: 991.98px) {
    .org-selector-line[b-foctks322t] {
        flex-wrap: wrap;
    }

    .org-selector-line .org-selector-control[b-foctks322t] {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
    }
}
