@import '_content/Blazor.Bootstrap/Blazor.Bootstrap.olwso25aue.bundle.scp.css';

/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-9offug0et3] {
    position: initial;
    display: flex;
    flex-direction: column;
}

main[b-9offug0et3] {
    flex: 1;
    background-color: var(--surface-bg);
}

.sidebar[b-9offug0et3] {
    background-color: var(--nav-bg);
    z-index: 1000;
}

.top-row[b-9offug0et3] {
    position: sticky;
    background-color: var(--topbar-bg);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
    color: var(--topbar-text);
}

    .top-row[b-9offug0et3]  a, .top-row[b-9offug0et3]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-9offug0et3]  a:hover, .top-row[b-9offug0et3]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-9offug0et3]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }


.bodyContainer[b-9offug0et3] {
    position: absolute;
    right: 0px;
    left: 0px;
    top: 100px;
    bottom: 0px;
}


@media (max-width: 640.98px) {
    .top-row[b-9offug0et3] {
        justify-content: space-between;
        z-index:1000;
    }

    .top-row[b-9offug0et3]  a, .top-row[b-9offug0et3]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-9offug0et3] {
        position:relative;
        flex-direction: row;
    }

    .sidebar[b-9offug0et3] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-9offug0et3] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-9offug0et3]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-9offug0et3], article[b-9offug0et3] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .bodyContainer[b-9offug0et3] {
        position: absolute;
        right: 0px;
        left: 250px;
        top: 50px;
        bottom: 0px;
    }

}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-ps8xhhvzjl] {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255,255,255,0.2);
}

.top-row[b-ps8xhhvzjl] {
    min-height: 3.5rem;
    background-color: var(--nav-header-bg);
}

.navbar-brand[b-ps8xhhvzjl] {
    font-size: 1.1rem;
    color: #FFFFFF;
    font-weight: 600;
}

.nav-icon[b-ps8xhhvzjl] {
    font-size: 1.1rem;
    margin-right: 0.65rem;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}

.nav-item[b-ps8xhhvzjl] {
    font-size: 0.9rem;
    padding-bottom: 0rem;
}

    .nav-item:first-of-type[b-ps8xhhvzjl] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-ps8xhhvzjl] {
        padding-bottom: 1rem;
    }

    .nav-item[b-ps8xhhvzjl]  a {
        color: var(--nav-text);
        border-radius: 6px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

.nav-item[b-ps8xhhvzjl]  a.active {
    background-color: var(--nav-active-bg);
    color: var(--nav-text-active);
    font-weight: 600;
}

.nav-item[b-ps8xhhvzjl]  a:hover {
    background-color: var(--nav-bg-hover);
    color: var(--nav-text-active);
}

/* ── Logout dialog ── */
.lo-dialog-icon[b-ps8xhhvzjl] {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.38);
}

.lo-btn-confirm[b-ps8xhhvzjl] {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: #ef4444;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s, transform 0.1s;
}

.lo-btn-confirm:hover:not(:disabled)[b-ps8xhhvzjl] {
    background: #dc2626;
    transform: translateY(-1px);
}

.lo-btn-confirm:disabled[b-ps8xhhvzjl] { opacity: 0.78; cursor: not-allowed; }

/* ── Reset School dialog ── */
.rs-overlay[b-ps8xhhvzjl] {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.rs-dialog[b-ps8xhhvzjl] {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1.75rem 1.5rem;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    text-align: center;
    animation: rs-in-b-ps8xhhvzjl 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes rs-in-b-ps8xhhvzjl {
    from { opacity: 0; transform: scale(0.93) translateY(12px); }
    to   { opacity: 1; transform: scale(1)    translateY(0);    }
}

.rs-dialog-icon[b-ps8xhhvzjl] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59f3d, #e8890c);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 14px rgba(245,159,61,0.38);
}

.rs-dialog-icon i[b-ps8xhhvzjl] {
    font-size: 1.4rem;
    color: #fff;
}

.rs-dialog-title[b-ps8xhhvzjl] {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

.rs-dialog-body[b-ps8xhhvzjl] {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
}

.rs-dialog-actions[b-ps8xhhvzjl] {
    display: flex;
    gap: 10px;
}

.rs-btn-cancel[b-ps8xhhvzjl] {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    transition: background 0.15s, border-color 0.15s;
}

.rs-btn-cancel:hover:not(:disabled)[b-ps8xhhvzjl] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.rs-btn-cancel:disabled[b-ps8xhhvzjl] { opacity: 0.6; cursor: not-allowed; }

.rs-btn-confirm[b-ps8xhhvzjl] {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    border: none;
    background: #f59f3d;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'DM Sans', 'Segoe UI', sans-serif;
    box-shadow: 0 4px 12px rgba(245,159,61,0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: background 0.15s, transform 0.1s;
}

.rs-btn-confirm:hover:not(:disabled)[b-ps8xhhvzjl] {
    background: #e8890c;
    transform: translateY(-1px);
}

.rs-btn-confirm:disabled[b-ps8xhhvzjl] { opacity: 0.78; cursor: not-allowed; }

@keyframes rs-spin-b-ps8xhhvzjl {
    to { transform: rotate(360deg); }
}

.rs-spinner[b-ps8xhhvzjl] {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rs-spin-b-ps8xhhvzjl 0.65s linear infinite;
    flex-shrink: 0;
}

@media (min-width: 641px) {
    .navbar-toggler[b-ps8xhhvzjl] {
        display: none;
    }

    .collapse[b-ps8xhhvzjl] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-ps8xhhvzjl] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }

    .nav-item[b-ps8xhhvzjl] {
        padding-bottom: 0.5rem;
    }

}
