/* /Layout/MainLayout.razor.rz.scp.css */
.qr-app[b-h2pjgww332] {
    background: var(--qr-bg);
    color: var(--qr-text);
    min-height: 100vh;
    position: relative;
    transition: background .2s ease, color .2s ease;
}

.qr-header[b-h2pjgww332] {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 16px 32px;
    background: var(--qr-bg);
    border-bottom: 1px solid var(--qr-border);
}

.qr-brand[b-h2pjgww332] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qr-mark[b-h2pjgww332] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
}

.qr-brand-name[b-h2pjgww332] {
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.2px;
}

.qr-nav[b-h2pjgww332] {
    display: flex;
    align-items: center;
    gap: 26px;
    flex: 1;
    flex-wrap: wrap;
}

.qr-navlink[b-h2pjgww332] {
    font-size: 14px;
    color: var(--qr-muted);
    text-decoration: none;
    font-weight: 500;
}

.qr-navlink:hover[b-h2pjgww332] {
    color: var(--qr-text);
}

.qr-navlink.active[b-h2pjgww332] {
    color: var(--qr-text);
    font-weight: 600;
}

.qr-header-actions[b-h2pjgww332] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.qr-nav-toggle[b-h2pjgww332] {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--qr-border);
    background: var(--qr-surface);
    color: var(--qr-text);
    cursor: pointer;
    flex-shrink: 0;
}

.qr-main[b-h2pjgww332] {
    position: relative;
    z-index: 1;
    padding: 32px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .qr-header[b-h2pjgww332] {
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 20px;
    }

    .qr-nav-toggle[b-h2pjgww332] {
        display: flex;
    }

    .qr-nav[b-h2pjgww332] {
        order: 4;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        max-height: 0;
        overflow: hidden;
    }

    .qr-nav.qr-nav-open[b-h2pjgww332] {
        max-height: 240px;
        padding-top: 4px;
    }

    .qr-navlink[b-h2pjgww332] {
        width: 100%;
        padding: 10px 4px;
    }

    .qr-main[b-h2pjgww332] {
        padding: 20px;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-r8zp3thwst] {
    background-color: rgba(255, 255, 255, 0.1);
}

.top-row[b-r8zp3thwst] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-r8zp3thwst] {
    font-size: 1.1rem;
}

.bi[b-r8zp3thwst] {
    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-r8zp3thwst] {
    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-r8zp3thwst] {
    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-r8zp3thwst] {
    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-r8zp3thwst] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-r8zp3thwst] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-r8zp3thwst] {
        padding-bottom: 1rem;
    }

    .nav-item[b-r8zp3thwst]  a {
        color: #d7d7d7;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
    }

.nav-item[b-r8zp3thwst]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-r8zp3thwst]  a:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

@media (min-width: 641px) {
    .navbar-toggler[b-r8zp3thwst] {
        display: none;
    }

    .collapse[b-r8zp3thwst] {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .nav-scrollable[b-r8zp3thwst] {
        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Login.razor.rz.scp.css */
.qr-login-wrap[b-phw7u5pofc] {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.qr-login-card[b-phw7u5pofc] {
    width: 100%;
    max-width: 420px;
    padding: 40px;
}

.qr-login-brand[b-phw7u5pofc] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-login-mark[b-phw7u5pofc] {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    margin-bottom: 16px;
}
/* /Pages/Student/Scan.razor.rz.scp.css */
.qr-scan-wrap[b-qa7p66nflh] {
    max-width: 480px;
    margin: 0 auto;
    padding-top: 8px;
}

.qr-scan-header[b-qa7p66nflh] {
    text-align: center;
    margin-bottom: 20px;
}

.qr-scan-card[b-qa7p66nflh] {
    padding: 24px;
}

.qr-scan-success[b-qa7p66nflh] {
    padding: 40px 24px;
    text-align: center;
}

.qr-step[b-qa7p66nflh] {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.qr-step-num[b-qa7p66nflh] {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    background: var(--qr-input-bg-muted);
    color: var(--qr-muted2);
}

.qr-step-active[b-qa7p66nflh] {
    background: var(--qr-accent-bg);
    color: var(--qr-accent-contrast);
}

.qr-step-done[b-qa7p66nflh] {
    background: var(--qr-success-bg);
    color: var(--qr-success-text);
}

.qr-step-status[b-qa7p66nflh] {
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 20px;
}

.qr-step-ok[b-qa7p66nflh] {
    background: var(--qr-success-bg);
    color: var(--qr-success-text);
}

.qr-step-error[b-qa7p66nflh] {
    background: rgba(220,38,38,0.1);
    color: #dc2626;
}

.qr-step-warning[b-qa7p66nflh] {
    background: rgba(217,119,6,0.1);
    color: #d97706;
}
/* /Pages/Teacher/Dashboard.razor.rz.scp.css */
.qr-dash-grid[b-u5mijt51xr] {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .qr-dash-grid[b-u5mijt51xr] {
        grid-template-columns: 1fr;
    }
}

.qr-dash-checkins[b-u5mijt51xr] {
    max-height: 420px;
    overflow-y: auto;
}

.qr-checkin-row[b-u5mijt51xr] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 2px;
    border-bottom: 1px solid var(--qr-divider);
}

.qr-checkin-row:last-child[b-u5mijt51xr] {
    border-bottom: none;
}

.qr-checkin-info[b-u5mijt51xr] {
    flex: 1;
    min-width: 0;
}

.qr-checkin-name[b-u5mijt51xr] {
    font-size: 14px;
    font-weight: 500;
}

.qr-checkin-reg[b-u5mijt51xr] {
    font-size: 12px;
    color: var(--qr-muted2);
}

.qr-checkin-time[b-u5mijt51xr] {
    font-size: 12px;
    color: var(--qr-muted2);
}

.qr-dash-right[b-u5mijt51xr] {
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-frame[b-u5mijt51xr] {
    padding: 16px;
    border-radius: 20px;
    background: var(--qr-input-bg-muted);
    border: 1px solid var(--qr-border);
}

.qr-frame-inner[b-u5mijt51xr] {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-countdown[b-u5mijt51xr] {
    width: 280px;
    margin-top: 28px;
}

.qr-countdown-row[b-u5mijt51xr] {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.qr-countdown-num[b-u5mijt51xr] {
    font-size: 32px;
    font-weight: 600;
    color: var(--qr-mono-color);
}

.qr-countdown-label[b-u5mijt51xr] {
    font-size: 13px;
    color: var(--qr-muted2);
}

.qr-testlink[b-u5mijt51xr] {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--qr-border);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-dash-empty[b-u5mijt51xr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 380px;
    justify-content: center;
}
/* /Pages/Teacher/Reports.razor.rz.scp.css */
/* .qr-report-tiles moved to wwwroot/css/app.css (global) — it's shared with Sessions.razor
   too, and Blazor's component-scoped CSS isolation doesn't let scoped rules cross components. */
