/* /Components/Layout/MainLayout.razor.rz.scp.css */
.app-layout[b-fad2esxpje] {
    display: flex;
    min-height: 100vh;
}

.app-sidebar[b-fad2esxpje] {
    width: var(--sidebar-width);
    min-width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: 0 0 0 0.5px rgba(0,0,0,0.1);
}

.app-main[b-fad2esxpje] {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-left: var(--sidebar-width);
}

.app-layout.no-sidebar .app-main[b-fad2esxpje] {
    margin-left: 0 !important;
}

@media print {
    .app-sidebar[b-fad2esxpje],
    .sidebar-overlay[b-fad2esxpje],
    .app-header[b-fad2esxpje] {
        display: none !important;
    }
    .app-main[b-fad2esxpje] {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

.app-header[b-fad2esxpje] {
    height: var(--header-height);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.app-content[b-fad2esxpje] {
    flex: 1;
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    animation: fadeIn-b-fad2esxpje 0.25s ease;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .app-sidebar[b-fad2esxpje] { width: var(--sidebar-width-tablet); min-width: var(--sidebar-width-tablet); }
    .app-main[b-fad2esxpje] { margin-left: var(--sidebar-width-tablet); }
}

@media (max-width: 767px) {
    .app-header[b-fad2esxpje] {
        height: var(--header-height-mobile);
    }
    .app-content[b-fad2esxpje] {
        padding: 0.75rem;
    }
}

.sidebar-toggle[b-fad2esxpje] {
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.375rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
}

.sidebar-toggle:hover[b-fad2esxpje] {
    background: var(--gray-100);
    color: var(--gray-900);
}

.header-breadcrumb[b-fad2esxpje] {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.breadcrumb-item[b-fad2esxpje] {
    font-weight: 500;
}

.user-menu[b-fad2esxpje] {
    position: relative;
}

.user-menu-trigger[b-fad2esxpje] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: none;
    border: none;
    padding: 0.375rem 0.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu-trigger:hover[b-fad2esxpje] {
    background: var(--gray-100);
}

.user-avatar[b-fad2esxpje] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(59,130,246,0.3);
}

.user-info[b-fad2esxpje] {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.user-name[b-fad2esxpje] {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.2;
}

.user-role[b-fad2esxpje] {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.user-chevron[b-fad2esxpje] {
    color: var(--gray-400);
    transition: transform 0.2s ease;
}

.user-menu-trigger[aria-expanded="true"] .user-chevron[b-fad2esxpje],
.user-menu.show .user-chevron[b-fad2esxpje] {
    transform: rotate(180deg);
}

.user-dropdown[b-fad2esxpje] {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 285px;
    max-width: 340px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.16), 0 4px 16px -2px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.98);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 200;
}

.user-dropdown.show[b-fad2esxpje] {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-header-info[b-fad2esxpje] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 13px;
}

.dropdown-avatar[b-fad2esxpje] {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(59, 130, 246, 0.25);
    border: 2px solid #ffffff;
}

.dropdown-user-details[b-fad2esxpje] {
    flex: 1;
    min-width: 0;
}

.dropdown-name[b-fad2esxpje] {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.dropdown-role-badge[b-fad2esxpje] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    margin-top: 3px;
}

.role-dot[b-fad2esxpje] {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #2563eb;
}

.dropdown-divider[b-fad2esxpje] {
    height: 1px;
    background: rgba(226, 232, 240, 0.8);
    margin: 6px 4px;
    border: none;
}

.dropdown-item-signout[b-fad2esxpje] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    color: #ef4444 !important;
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.18s ease;
    cursor: pointer;
}

.dropdown-item-icon[b-fad2esxpje] {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.dropdown-item-signout:hover[b-fad2esxpje] {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

.dropdown-item-signout:hover .dropdown-item-icon[b-fad2esxpje] {
    background: #fee2e2;
    color: #dc2626;
    transform: translateX(1px);
}

.btn-login-header[b-fad2esxpje] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-login-header:hover[b-fad2esxpje] {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26,86,219,0.3);
}

@keyframes fadeIn-b-fad2esxpje {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

#blazor-error-ui[b-fad2esxpje] {
    background: var(--danger);
    color: #fff;
    bottom: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 10000;
    font-size: 0.875rem;
}

#blazor-error-ui .reload[b-fad2esxpje] { color: #fff; text-decoration: underline; margin-left: 0.5rem; }

#blazor-error-ui .dismiss[b-fad2esxpje] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    color: #fff;
    opacity: 0.7;
}

#blazor-error-ui .dismiss:hover[b-fad2esxpje] { opacity: 1; }

@media (max-width: 991px) {
    .sidebar-overlay[b-fad2esxpje] {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(15, 23, 42, 0.4);
        backdrop-filter: blur(2px);
        z-index: 1040;
        animation: fadeIn-b-fad2esxpje 0.3s ease;
        display: none;
    }

    .sidebar-overlay.show[b-fad2esxpje] {
        display: block;
    }

    .app-sidebar[b-fad2esxpje] {
        transform: translateX(-100%);
        position: fixed;
        z-index: 1050;
        box-shadow: 10px 0 30px rgba(0,0,0,0.15);
    }

    .app-sidebar.show[b-fad2esxpje] {
        transform: translateX(0);
    }

    .app-main[b-fad2esxpje] {
        margin-left: 0 !important;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/*
  INTENTIONALLY EMPTY.

  All sidebar / nav styles live in wwwroot/app.css (the global stylesheet)
  because Blazor CSS isolation scopes every rule in this file with a
  [b-xxxxxxxx] attribute.  That attribute is NOT applied to elements rendered
  inside <AuthorizeView> child content, so scoped rules like
  `.sidebar .nav-link.active` never match those <a> tags.

  Moving every sidebar rule to app.css (global, un-scoped) is the only
  reliable fix.  See the "=== SIDEBAR NAVIGATION ===" section in app.css.
*/
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-o1s824dtpb],
.components-reconnect-repeated-attempt-visible[b-o1s824dtpb],
.components-reconnect-failed-visible[b-o1s824dtpb],
.components-pause-visible[b-o1s824dtpb],
.components-resume-failed-visible[b-o1s824dtpb],
.components-rejoining-animation[b-o1s824dtpb] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-o1s824dtpb],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-o1s824dtpb],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-o1s824dtpb],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-o1s824dtpb],
#components-reconnect-modal.components-reconnect-retrying[b-o1s824dtpb],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-o1s824dtpb],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-o1s824dtpb],
#components-reconnect-modal.components-reconnect-failed[b-o1s824dtpb],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-o1s824dtpb] {
    display: block;
}


#components-reconnect-modal[b-o1s824dtpb] {
    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-o1s824dtpb 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-o1s824dtpb 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-o1s824dtpb 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-o1s824dtpb]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-o1s824dtpb 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-o1s824dtpb {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-o1s824dtpb {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-o1s824dtpb {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-o1s824dtpb] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-o1s824dtpb] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-o1s824dtpb] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-o1s824dtpb] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-o1s824dtpb] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-o1s824dtpb] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-o1s824dtpb] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-o1s824dtpb 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-o1s824dtpb] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-o1s824dtpb {
    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/Admin/Dashboard.razor.rz.scp.css */
.dashboard-page[b-ggnmxqql1c] {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.dashboard-page .row:last-child[b-ggnmxqql1c] {
    flex: 1;
    overflow: hidden;
}

.dashboard-page .row:last-child .col-lg-8[b-ggnmxqql1c],
.dashboard-page .row:last-child .col-lg-8 > .content-card[b-ggnmxqql1c] {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-page .row:last-child .col-lg-8 .card-body[b-ggnmxqql1c] {
    flex: 1;
    overflow: hidden;
}

.activity-timeline[b-ggnmxqql1c] {
    max-height: 100%;
    overflow-y: auto;
}
/* /Components/Pages/Student/Dashboard.razor.rz.scp.css */
/* ── Student Dashboard Modern Styles ── */

.student-welcome-hero[b-a80kwb82q2] {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 20px;
    padding: 1.75rem 2rem;
    box-shadow: 0 4px 20px -4px rgba(15, 23, 42, 0.05);
    position: relative;
    overflow: hidden;
}

.student-welcome-hero[b-a80kwb82q2]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #6366f1 50%, #8b5cf6 100%);
}

.welcome-pill[b-a80kwb82q2] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
    padding: 0.28rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.live-dot[b-a80kwb82q2] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: livePulse-b-a80kwb82q2 2s infinite ease-in-out;
}

@keyframes livePulse-b-a80kwb82q2 {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.welcome-title[b-a80kwb82q2] {
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 0.35rem;
}

.gradient-text[b-a80kwb82q2] {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-subtitle[b-a80kwb82q2] {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 0;
}

.quick-stat-chip[b-a80kwb82q2] {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 0.85rem 1.4rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    min-width: 140px;
}

.stat-number[b-a80kwb82q2] {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2563eb;
    line-height: 1.1;
}

.stat-label[b-a80kwb82q2] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 0.15rem;
}

/* ── Section Headers ── */
.dashboard-section[b-a80kwb82q2] {
    margin-bottom: 2.25rem;
}

.section-header[b-a80kwb82q2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.1rem;
}

.section-title-wrap[b-a80kwb82q2] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon-badge[b-a80kwb82q2] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon-badge.reading[b-a80kwb82q2] {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.section-icon-badge.teachers[b-a80kwb82q2] {
    background: rgba(99, 102, 241, 0.1);
    color: #4f46e5;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title[b-a80kwb82q2] {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.015em;
    margin-bottom: 0;
}

.count-pill[b-a80kwb82q2] {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ── Continue Reading Cards ── */
.resume-card[b-a80kwb82q2] {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05);
    padding: 1.35rem 1.5rem;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.resume-card[b-a80kwb82q2]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2563eb 0%, #6366f1 100%);
    opacity: 0.9;
}

.resume-card:hover[b-a80kwb82q2] {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -6px rgba(37, 99, 235, 0.14), 0 4px 12px rgba(15, 23, 42, 0.03);
    border-color: rgba(147, 197, 253, 0.9);
}

.resume-card-main[b-a80kwb82q2] {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.resume-top-row[b-a80kwb82q2] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.resume-book-icon[b-a80kwb82q2] {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(191, 219, 254, 0.8);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
}

.resume-book-title[b-a80kwb82q2] {
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
}

.teacher-chip[b-a80kwb82q2] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
}

.resume-action-btn[b-a80kwb82q2] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.resume-card:hover .resume-action-btn[b-a80kwb82q2] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.resume-action-btn svg[b-a80kwb82q2] {
    transition: transform 0.2s ease;
}

.resume-card:hover .resume-action-btn svg[b-a80kwb82q2] {
    transform: translateX(3px);
}

/* ── Progress Bar ── */
.resume-progress-wrap[b-a80kwb82q2] {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.progress-track[b-a80kwb82q2] {
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.progress-fill[b-a80kwb82q2] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb 0%, #6366f1 100%);
    transition: width 0.4s ease;
}

.progress-info-row[b-a80kwb82q2] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
}

.progress-page-text[b-a80kwb82q2] {
    font-weight: 500;
}

.progress-page-text strong[b-a80kwb82q2] {
    color: #0f172a;
    font-weight: 700;
}

.progress-percent-pill[b-a80kwb82q2] {
    font-weight: 600;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* ── Teacher Cards ── */
.teacher-card[b-a80kwb82q2] {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 18px;
    box-shadow: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
    padding: 1.35rem 1.4rem;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-decoration: none;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.teacher-card:hover[b-a80kwb82q2] {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px -6px rgba(15, 23, 42, 0.1), 0 4px 10px rgba(15, 23, 42, 0.03);
    border-color: rgba(99, 102, 241, 0.4);
}

.teacher-avatar-circle[b-a80kwb82q2] {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
    border: 2px solid #ffffff;
}

.teacher-info[b-a80kwb82q2] {
    flex: 1;
    min-width: 0;
}

.teacher-name[b-a80kwb82q2] {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.teacher-badge-tag[b-a80kwb82q2] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.74rem;
    font-weight: 600;
    color: #4f46e5;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 6px;
    padding: 0.15rem 0.5rem;
    margin-bottom: 0.25rem;
}

.teacher-subtext[b-a80kwb82q2] {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.teacher-chevron-btn[b-a80kwb82q2] {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.teacher-card:hover .teacher-chevron-btn[b-a80kwb82q2] {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

/* ── Announcements & Empty State ── */
.announcement-card[b-a80kwb82q2] {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.empty-state-modern[b-a80kwb82q2] {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-icon-wrap[b-a80kwb82q2] {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #f1f5f9;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

@media (max-width: 768px) {
    .student-welcome-hero[b-a80kwb82q2] {
        padding: 1.35rem 1.25rem;
    }
    
    .welcome-title[b-a80kwb82q2] {
        font-size: 1.45rem;
    }
    
    .quick-stat-chip[b-a80kwb82q2] {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 0.65rem 1rem;
    }
    
    .resume-top-row[b-a80kwb82q2] {
        flex-direction: column;
        align-items: stretch;
    }
    
    .resume-action-btn[b-a80kwb82q2] {
        justify-content: center;
        width: 100%;
    }
}
/* /Components/Pages/Student/TeacherBooks.razor.rz.scp.css */
.student-book-card[b-yyz36lax6e] {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 2px 4px rgba(15, 23, 42, 0.02);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.28s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.student-book-card[b-yyz36lax6e]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #6366f1 100%);
    opacity: 0.85;
}

.student-book-card:hover[b-yyz36lax6e] {
    transform: translateY(-6px);
    box-shadow: 0 20px 32px -8px rgba(37, 99, 235, 0.16), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    border-color: rgba(147, 197, 253, 0.9);
}

.student-book-card .card-body[b-yyz36lax6e] {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-header-meta[b-yyz36lax6e] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.board-badge[b-yyz36lax6e] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.08);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-badge[b-yyz36lax6e] {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
}

.status-badge.in-progress[b-yyz36lax6e] {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.status-badge.new[b-yyz36lax6e] {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.book-title-wrap[b-yyz36lax6e] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.book-icon-badge[b-yyz36lax6e] {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid rgba(191, 219, 254, 0.8);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.08);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.student-book-card:hover .book-icon-badge[b-yyz36lax6e] {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.book-card-title[b-yyz36lax6e] {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7rem;
}

.progress-section[b-yyz36lax6e] {
    margin-top: auto;
    margin-bottom: 1.25rem;
}

.progress-meta-row[b-yyz36lax6e] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
    font-size: 0.78rem;
    color: #64748b;
}

.progress-track[b-yyz36lax6e] {
    height: 6px;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.progress-fill[b-yyz36lax6e] {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    transition: width 0.4s ease;
}

.btn-book-action[b-yyz36lax6e] {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.15);
}

.btn-book-action:hover[b-yyz36lax6e] {
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}
/* /Components/Pages/Student/Viewer.razor.rz.scp.css */
.student-viewer-layout[b-bgiqcxhnue] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    background-color: #1e293b;
}

.viewer-header-dark[b-bgiqcxhnue] {
    background: #0f172a;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.35);
    padding: 0.65rem 1.25rem;
    flex-shrink: 0;
    z-index: 20;
}

.viewer-container[b-bgiqcxhnue] {
    flex: 1;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.viewer-back-btn[b-bgiqcxhnue] {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.viewer-back-btn:hover[b-bgiqcxhnue] {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.viewer-book-title[b-bgiqcxhnue] {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    max-width: 260px;
}

/* ── Modern Pagination Pill ── */
.viewer-page-pill[b-bgiqcxhnue] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 3px 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.page-nav-btn[b-bgiqcxhnue] {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.page-nav-btn:hover[b-bgiqcxhnue] {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.page-nav-text[b-bgiqcxhnue] {
    padding: 0 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
    user-select: none;
}

.page-nav-text strong[b-bgiqcxhnue] {
    color: #ffffff;
    font-weight: 700;
}

/* ── Modern Tool Dock ── */
.tool-dock[b-bgiqcxhnue] {
    display: flex;
    align-items: center;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.tool-group[b-bgiqcxhnue] {
    display: flex;
    align-items: center;
    gap: 2px;
}

.tool-separator[b-bgiqcxhnue] {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 4px;
}

.tool-btn[b-bgiqcxhnue] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 10px;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.tool-btn.icon-only[b-bgiqcxhnue] {
    padding: 0 8px;
    min-width: 30px;
    justify-content: center;
}

.tool-btn:hover[b-bgiqcxhnue] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.tool-btn.active[b-bgiqcxhnue] {
    color: #ffffff !important;
    background: rgba(59, 130, 246, 0.28) !important;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.45) !important;
}

.color-dot[b-bgiqcxhnue] {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.25);
    transition: transform 0.18s ease;
}

.color-dot.dot-yellow[b-bgiqcxhnue] { background-color: #fbbf24; }
.color-dot.dot-green[b-bgiqcxhnue]  { background-color: #34d399; }
.color-dot.dot-pink[b-bgiqcxhnue]   { background-color: #f472b6; }

.tool-btn:hover .color-dot[b-bgiqcxhnue] {
    transform: scale(1.25);
}

.tool-btn-danger[b-bgiqcxhnue] {
    color: #f87171 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.tool-btn-danger:hover[b-bgiqcxhnue] {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.tool-btn-bookmarks[b-bgiqcxhnue] {
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tool-btn-bookmarks:hover[b-bgiqcxhnue], .tool-btn-bookmarks.active[b-bgiqcxhnue] {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-save-annotations[b-bgiqcxhnue] {
    height: 38px;
    padding: 0 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-save-annotations:hover[b-bgiqcxhnue] {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .viewer-header-dark[b-bgiqcxhnue] {
        padding-top: 12px;
        padding-bottom: 12px;
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px !important;
    }
    
    .annotation-toolbar[b-bgiqcxhnue] {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        padding-bottom: 4px;
        scrollbar-width: none; /* Firefox */
        width: 100%;
        justify-content: flex-start !important;
    }
    
    .annotation-toolbar[b-bgiqcxhnue]::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    
    .viewer-controls[b-bgiqcxhnue] {
        margin-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
    }
    
    .viewer-controls .btn[b-bgiqcxhnue] {
        min-width: 44px;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .viewer-header-dark h5[b-bgiqcxhnue] {
        max-width: none !important;
        flex: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *[b-bgiqcxhnue] {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
