/* /Components/Auth/AuthStatus.razor.rz.scp.css */
/* AuthStatus is now rendered inside the sidebar footer via NavMenu */
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.tc-layout[b-prle3av9dd] {
    display:    flex;
    min-height: 100vh;
}

.tc-sidebar[b-prle3av9dd] {
    width:       var(--tc-sidebar-width);
    flex-shrink: 0;
    position:    sticky;
    top:         0;
    height:      100vh;
    overflow-y:  auto;
    background:  var(--tc-sidebar-bg);
    border-right: 1px solid var(--tc-border);
    display:     flex;
    flex-direction: column;
    z-index:     100;
}

.tc-main[b-prle3av9dd] {
    flex:          1;
    min-width:     0;
    display:       flex;
    flex-direction: column;
    background:    var(--tc-bg);
}

.tc-content[b-prle3av9dd] {
    flex:    1;
    padding: 1.75rem 2rem;
}

/* Mobile: collapse sidebar into top hamburger */
@media (max-width: 991.98px) {
    .tc-layout[b-prle3av9dd] {
        flex-direction: column;
    }

    .tc-sidebar[b-prle3av9dd] {
        width:    100%;
        height:   auto;
        position: sticky;
        top:      0;
        overflow: visible;
        z-index:  1030;
        border-right: 0;
        border-bottom: 1px solid var(--tc-border);
    }

    .tc-content[b-prle3av9dd] {
        padding: 1rem;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.tc-nav-inner[b-2c79ci2cgb] {
    display:        flex;
    flex-direction: column;
    height:         100%;
    padding:        0;
}

/* Brand */
.tc-brand[b-2c79ci2cgb] {
    display:     flex;
    align-items: center;
    gap:         12px;
    padding:     20px 16px 16px;
    border-bottom: 1px solid var(--tc-border-subtle);
    flex-shrink: 0;
}

.tc-brand-icon[b-2c79ci2cgb] {
    width:            36px;
    height:           36px;
    flex-shrink:      0;
    display:          grid;
    place-items:      center;
    border-radius:    8px;
    background:       var(--tc-accent-dim);
    border:           1px solid color-mix(in srgb, var(--tc-accent) 25%, transparent);
    color:            var(--tc-accent);
    font-size:        13px;
    font-weight:      800;
    letter-spacing:   0.5px;
    overflow:         hidden;
    padding:          4px;
    background:       #fff;
}

.tc-brand-icon img[b-2c79ci2cgb] {
    width:      100%;
    height:     100%;
    display:    block;
    object-fit: contain;
    transform:  scale(1.45);
}

.tc-brand-name[b-2c79ci2cgb] {
    font-size:   14px;
    font-weight: 700;
    color:       var(--tc-text);
    line-height: 1.2;
}

.tc-brand-sub[b-2c79ci2cgb] {
    font-size: 11px;
    color:     var(--tc-text-muted);
    margin-top: 1px;
}

/* Mobile toggle (hidden on desktop) */
.tc-nav-toggle-input[b-2c79ci2cgb] {
    display: none;
}

.tc-nav-toggle-btn[b-2c79ci2cgb] {
    display:    none;
    flex-direction: column;
    gap:        5px;
    padding:    10px 16px;
    cursor:     pointer;
    flex-shrink: 0;
}

.tc-nav-toggle-btn span[b-2c79ci2cgb] {
    display:    block;
    width:      22px;
    height:     2px;
    background: var(--tc-text-muted);
    border-radius: 2px;
    transition: 0.2s;
}

/* Nav */
.tc-nav[b-2c79ci2cgb] {
    flex:       1;
    padding:    12px 8px;
    display:    flex;
    flex-direction: column;
    gap:        2px;
    overflow-y: auto;
}

[b-2c79ci2cgb] .tc-nav-link {
    display:       flex;
    align-items:   center;
    gap:           10px;
    padding:       9px 12px;
    border-radius: var(--tc-radius-sm);
    color:         var(--tc-text-muted);
    font-size:     14px;
    font-weight:   500;
    text-decoration: none;
    transition:    background 0.15s, color 0.15s;
    border:        1px solid transparent;
    white-space:   nowrap;
}

[b-2c79ci2cgb] .tc-nav-link:hover {
    background: var(--tc-surface);
    color:      var(--tc-text);
    border-color: var(--tc-border-subtle);
}

[b-2c79ci2cgb] .tc-nav-link.active {
    background:   var(--tc-accent-dim);
    color:        var(--tc-accent);
    border-color: color-mix(in srgb, var(--tc-accent) 20%, transparent);
    font-weight:  600;
}

.tc-nav-icon[b-2c79ci2cgb] {
    font-size:   16px;
    line-height: 1;
    flex-shrink: 0;
}

/* Sidebar footer (user info) */
.tc-sidebar-footer[b-2c79ci2cgb] {
    border-top:  1px solid var(--tc-border-subtle);
    padding:     12px 10px 16px;
    flex-shrink: 0;
    display:     flex;
    flex-direction: column;
    gap:         8px;
}

.tc-theme-toggle[b-2c79ci2cgb] {
    width:         100%;
    display:       flex;
    align-items:   center;
    justify-content: space-between;
    gap:           10px;
    padding:       8px 10px;
    border-radius: var(--tc-radius-sm);
    border:        1px solid var(--tc-border);
    background:    var(--tc-surface);
    color:         var(--tc-text-muted);
    font-size:     13px;
    font-weight:   600;
    cursor:        pointer;
    transition:    background 0.15s, color 0.15s, border-color 0.15s;
}

.tc-theme-toggle:hover[b-2c79ci2cgb] {
    background:    var(--tc-surface-2);
    color:         var(--tc-text);
    border-color:  var(--tc-accent);
}

.tc-theme-toggle-icon[b-2c79ci2cgb] {
    width:         24px;
    height:        24px;
    display:       grid;
    place-items:   center;
    border-radius: 50%;
    background:    var(--tc-accent-dim);
    color:         var(--tc-accent);
    font-size:     13px;
    flex-shrink:   0;
}

.tc-theme-toggle-text[b-2c79ci2cgb] {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tc-user-card[b-2c79ci2cgb] {
    display:     flex;
    align-items: center;
    gap:         10px;
    padding:     6px 6px;
    border-radius: var(--tc-radius-sm);
}

.tc-user-avatar[b-2c79ci2cgb] {
    width:         34px;
    height:        34px;
    flex-shrink:   0;
    display:       grid;
    place-items:   center;
    border-radius: 50%;
    background:    var(--tc-accent-dim);
    border:        1px solid color-mix(in srgb, var(--tc-accent) 25%, transparent);
    color:         var(--tc-accent);
    font-size:     13px;
    font-weight:   700;
}

.tc-user-info[b-2c79ci2cgb] {
    min-width: 0;
}

.tc-user-name[b-2c79ci2cgb] {
    font-size:   13px;
    font-weight: 600;
    color:       var(--tc-text);
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
}

.tc-user-role[b-2c79ci2cgb] {
    font-size: 11px;
    color:     var(--tc-text-muted);
    margin-top: 1px;
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
}

.tc-logout-link[b-2c79ci2cgb] {
    display:       block;
    padding:       7px 12px;
    border-radius: var(--tc-radius-sm);
    border:        1px solid var(--tc-border);
    color:         var(--tc-text-muted);
    font-size:     13px;
    text-align:    center;
    text-decoration: none;
    transition:    background 0.15s, color 0.15s;
}

.tc-logout-link:hover[b-2c79ci2cgb] {
    background: var(--tc-surface-2);
    color:      var(--tc-danger);
    border-color: rgba(240,82,82,0.3);
}

/* Desktop always visible */
@media (min-width: 992px) {
    .tc-nav-toggle-btn[b-2c79ci2cgb] { display: none; }

    .tc-nav[b-2c79ci2cgb] {
        display: flex !important;
    }
}

/* Mobile */
@media (max-width: 991.98px) {
    .tc-nav-inner[b-2c79ci2cgb] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        height: auto;
    }

    .tc-brand[b-2c79ci2cgb] {
        min-width: 0;
        padding: 10px 16px;
        border-bottom: 0;
    }

    .tc-brand-icon[b-2c79ci2cgb] {
        width: 32px;
        height: 32px;
    }

    .tc-nav-toggle-btn[b-2c79ci2cgb] {
        display:         flex;
        justify-content: center;
        align-items:     center;
        min-width:       54px;
        padding:         12px 16px;
        border-left:     1px solid var(--tc-border-subtle);
    }

    .tc-nav[b-2c79ci2cgb] {
        display: none;
        grid-column: 1 / -1;
        max-height: calc(100vh - 54px);
        padding: 8px;
        border-top: 1px solid var(--tc-border-subtle);
    }

    .tc-nav-toggle-input:checked ~ .tc-nav[b-2c79ci2cgb] {
        display: flex;
    }

    .tc-sidebar-footer[b-2c79ci2cgb] {
        display: none;
        grid-column: 1 / -1;
    }

    .tc-nav-toggle-input:checked ~ .tc-sidebar-footer[b-2c79ci2cgb] {
        display: flex;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-oqsn8eh6ks],
.components-reconnect-repeated-attempt-visible[b-oqsn8eh6ks],
.components-reconnect-failed-visible[b-oqsn8eh6ks],
.components-pause-visible[b-oqsn8eh6ks],
.components-resume-failed-visible[b-oqsn8eh6ks],
.components-rejoining-animation[b-oqsn8eh6ks] {
    display: none;
}

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


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

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

}

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

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

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

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

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

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

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

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

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

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

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

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

@keyframes components-rejoining-animation-b-oqsn8eh6ks {
    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/Archive.razor.rz.scp.css */
.archive-sessions-table[b-qrh32qc7yx] {
    min-width: 1120px;
    table-layout: fixed;
}

.archive-notes-col[b-qrh32qc7yx] {
    width: 150px;
    text-align: center;
    padding-right: 18px;
    padding-left: 18px;
}

.archive-notes-cell[b-qrh32qc7yx] {
    width: 150px;
    text-align: center;
    padding-right: 18px;
    padding-left: 18px;
}

.archive-attendance-col[b-qrh32qc7yx] {
    width: 145px;
}

.archive-attendance-cell[b-qrh32qc7yx] {
    width: 145px;
}

.archive-attendance-badge[b-qrh32qc7yx],
.archive-report-button[b-qrh32qc7yx] {
    white-space: nowrap;
    min-width: 76px;
}

.archive-attendance-badge[b-qrh32qc7yx] {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.session-explanation[b-qrh32qc7yx] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.6;
}
/* /Components/Pages/Home.razor.rz.scp.css */
.dash-header[b-3rgag5qcox] {
    display:         flex;
    align-items:     flex-start;
    justify-content: space-between;
    gap:             18px;
    margin-bottom:   28px;
}

.dash-title[b-3rgag5qcox] {
    margin:      0;
    font-size:   26px;
    font-weight: 800;
    color:       var(--tc-text);
    line-height: 1.15;
}

.dash-sub[b-3rgag5qcox] {
    margin:    6px 0 0;
    font-size: 14px;
    color:     var(--tc-text-muted);
}

.dash-header-actions[b-3rgag5qcox] {
    display:         flex;
    align-items:     center;
    justify-content: flex-end;
    gap:             10px;
    flex-wrap:       wrap;
}

.tc-tenant-chip[b-3rgag5qcox] {
    flex-shrink:      0;
    padding:          7px 12px;
    border-radius:    999px;
    background:       var(--tc-accent-dim);
    border:           1px solid color-mix(in srgb, var(--tc-accent) 28%, transparent);
    color:            var(--tc-accent);
    font-size:        12px;
    font-weight:      800;
    letter-spacing:   0.03em;
    text-transform:   uppercase;
    white-space:      nowrap;
}

.dash-stats[b-3rgag5qcox] {
    display:               grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap:                   16px;
    margin-bottom:         24px;
}

.dash-stat[b-3rgag5qcox] {
    min-height:      126px;
    padding:         20px 18px 18px;
    border-radius:   var(--tc-radius);
    background:      var(--tc-surface);
    border:          1px solid var(--tc-border);
    border-top-width: 4px;
    display:         flex;
    flex-direction:  column;
    gap:             10px;
    text-decoration: none;
    box-shadow:      var(--tc-shadow);
    transition:      background 0.15s, border-color 0.15s, transform 0.15s;
}

.dash-stat:hover[b-3rgag5qcox] {
    background: var(--tc-surface-2);
    transform:  translateY(-1px);
}

.dash-stat--green[b-3rgag5qcox] { border-top-color: var(--tc-success); }
.dash-stat--teal[b-3rgag5qcox]  { border-top-color: var(--tc-accent); }
.dash-stat--blue[b-3rgag5qcox]  { border-top-color: #38bdf8; }
.dash-stat--amber[b-3rgag5qcox] { border-top-color: #f59e0b; }

.dash-stat-label[b-3rgag5qcox] {
    font-size:      12px;
    font-weight:    800;
    letter-spacing: 0.05em;
    color:          var(--tc-text-muted);
    text-transform: uppercase;
}

.dash-stat-value[b-3rgag5qcox] {
    font-size:   34px;
    font-weight: 800;
    color:       var(--tc-text);
    line-height: 1;
}

.dash-stat-foot[b-3rgag5qcox] {
    margin-top: auto;
    color:      var(--tc-text-muted);
    font-size:  12px;
}

.dash-overview[b-3rgag5qcox] {
    display:               grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
    gap:                   18px;
}

.dash-panel[b-3rgag5qcox] {
    padding:       20px;
    background:    var(--tc-surface);
    border:        1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    box-shadow:    var(--tc-shadow);
}

.dash-panel--wide[b-3rgag5qcox] {
    min-height: 260px;
}

.dash-panel-heading[b-3rgag5qcox] {
    display:         flex;
    align-items:     flex-start;
    justify-content: space-between;
    gap:             12px;
    margin-bottom:   16px;
    padding-bottom:  14px;
    border-bottom:   1px solid var(--tc-border-subtle);
}

.dash-panel-heading p[b-3rgag5qcox] {
    margin:    5px 0 0;
    color:     var(--tc-text-muted);
    font-size: 13px;
}

.dash-panel-title[b-3rgag5qcox] {
    font-size:      12px;
    font-weight:    800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:          var(--tc-text);
}

.dash-actions-grid[b-3rgag5qcox] {
    display:               grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:                   12px;
}

.dash-action[b-3rgag5qcox] {
    display:       flex;
    gap:           12px;
    min-height:    92px;
    padding:       14px;
    border-radius: var(--tc-radius-sm);
    background:    var(--tc-surface-2);
    border:        1px solid var(--tc-border-subtle);
    color:         var(--tc-text);
    text-decoration: none;
    transition:    background 0.15s, border-color 0.15s;
}

.dash-action:hover[b-3rgag5qcox] {
    background:   var(--tc-accent-dim);
    border-color: color-mix(in srgb, var(--tc-accent) 30%, transparent);
    color:        var(--tc-text);
}

.dash-action-icon[b-3rgag5qcox] {
    width:         32px;
    height:        32px;
    display:       grid;
    place-items:   center;
    flex:          0 0 auto;
    border-radius: 8px;
    background:    var(--tc-accent-dim);
    color:         var(--tc-accent);
    font-size:     16px;
}

.dash-action strong[b-3rgag5qcox] {
    display:     block;
    font-size:   14px;
    line-height: 1.2;
}

.dash-action small[b-3rgag5qcox] {
    display:     block;
    margin-top:  5px;
    color:       var(--tc-text-muted);
    line-height: 1.35;
}

.dash-dl[b-3rgag5qcox] {
    display:               grid;
    grid-template-columns: 76px 1fr;
    gap:                   8px 12px;
    margin:                14px 0 0;
    font-size:             13px;
}

.dash-dl dt[b-3rgag5qcox] {
    color:       var(--tc-text-muted);
    font-weight: 600;
    padding:     6px 0;
    border-bottom: 1px solid var(--tc-border-subtle);
}

.dash-dl dd[b-3rgag5qcox] {
    margin:    0;
    color:     var(--tc-text);
    padding:   6px 0;
    border-bottom: 1px solid var(--tc-border-subtle);
    word-break: break-word;
}

@media (max-width: 1100px) {
    .dash-stats[b-3rgag5qcox] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dash-overview[b-3rgag5qcox] { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .dash-header[b-3rgag5qcox] { flex-wrap: wrap; }
    .dash-header-actions[b-3rgag5qcox] { justify-content: flex-start; }
    .dash-stats[b-3rgag5qcox] { grid-template-columns: 1fr; }
    .dash-actions-grid[b-3rgag5qcox] { grid-template-columns: 1fr; }
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-shell[b-86c8yj3gw2] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
    background: var(--tc-bg);
}

.login-theme-toggle[b-86c8yj3gw2] {
    position: fixed;
    top: 18px;
    right: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-sm);
    background: var(--tc-surface);
    color: var(--tc-text-muted);
    box-shadow: var(--tc-shadow);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.login-theme-toggle:hover[b-86c8yj3gw2] {
    background: var(--tc-surface-2);
    color: var(--tc-text);
    border-color: var(--tc-accent);
}

.login-theme-toggle span:first-child[b-86c8yj3gw2] {
    color: var(--tc-accent);
}

.login-panel[b-86c8yj3gw2] {
    width: min(420px, calc(100vw - 32px));
    box-sizing: border-box;
    padding: 32px;
    background: var(--tc-surface);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    box-shadow: var(--tc-shadow);
}

.login-heading[b-86c8yj3gw2] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.product-mark[b-86c8yj3gw2] {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: var(--tc-accent-dim);
    border: 1px solid rgba(0, 200, 154, 0.25);
    color: var(--tc-accent);
    font-weight: 800;
    font-size: 15px;
    overflow: hidden;
    padding: 5px;
    background: #fff;
}

.product-mark img[b-86c8yj3gw2] {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transform: scale(1.45);
}

.login-heading h1[b-86c8yj3gw2] {
    margin: 0;
    color: var(--tc-text);
    font-size: 22px;
    line-height: 1.1;
}

.login-heading p[b-86c8yj3gw2] {
    margin: 4px 0 0;
    color: var(--tc-text-muted);
    font-size: 14px;
}

.login-field[b-86c8yj3gw2] {
    margin-bottom: 14px;
}

.login-field label[b-86c8yj3gw2] {
    display: block;
    margin-bottom: 6px;
    color: var(--tc-text-muted);
    font-size: 13px;
    font-weight: 500;
}

.field-wrapper[b-86c8yj3gw2] {
    position: relative;
}

[b-86c8yj3gw2] .login-input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius-sm);
    background: var(--tc-surface-2);
    color: var(--tc-text);
    outline: none;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

[b-86c8yj3gw2] .login-input:focus {
    border-color: var(--tc-accent);
    background: var(--tc-surface);
    box-shadow: 0 0 0 3px var(--tc-accent-dim);
}

.password-toggle[b-86c8yj3gw2] {
    position: absolute;
    inset-block: 4px;
    inset-inline-end: 4px;
    width: 38px;
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--tc-text-muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.password-field[b-86c8yj3gw2]  .login-input {
    padding-inline-end: 50px;
}

.email-field[b-86c8yj3gw2]  .login-input {
    padding-inline-end: 50px;
}

.field-icon[b-86c8yj3gw2] {
    position: absolute;
    inset-block: 4px;
    inset-inline-end: 4px;
    width: 38px;
    display: grid;
    place-items: center;
    color: var(--tc-text-muted);
    pointer-events: none;
}

.field-icon svg[b-86c8yj3gw2] {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.email-field:focus-within .field-icon[b-86c8yj3gw2] {
    color: var(--tc-accent);
}

.password-toggle svg[b-86c8yj3gw2] {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.password-toggle:hover[b-86c8yj3gw2] {
    background: var(--tc-accent-dim);
    color: var(--tc-accent);
}

.password-toggle:focus-visible[b-86c8yj3gw2] {
    outline: 2px solid var(--tc-accent);
    outline-offset: 1px;
}

.remember-row[b-86c8yj3gw2] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 22px;
    color: var(--tc-text-muted);
    font-size: 13px;
}

.remember-row label[b-86c8yj3gw2] {
    margin: 0;
    font-weight: 400;
}

.login-button[b-86c8yj3gw2] {
    width: 100%;
    min-height: 42px;
    border: none;
    border-radius: var(--tc-radius-sm);
    background: var(--tc-accent);
    color: var(--tc-on-accent);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.login-button:hover:not(:disabled)[b-86c8yj3gw2] {
    background: var(--tc-accent-hover);
}

.login-button:disabled[b-86c8yj3gw2] {
    opacity: 0.5;
    cursor: default;
}

.report-box[b-86c8yj3gw2] {
    margin-top: 14px;
    padding: 10px 12px;
    border: 1px solid rgba(240, 82, 82, 0.3);
    border-radius: var(--tc-radius-sm);
    background: var(--tc-danger-dim);
    color: var(--tc-danger);
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 575.98px) {
    .login-shell[b-86c8yj3gw2] {
        place-items: start center;
        padding: 88px 14px 24px;
    }

    .login-theme-toggle[b-86c8yj3gw2] {
        top: 14px;
        right: 14px;
        min-height: 40px;
    }

    .login-panel[b-86c8yj3gw2] {
        width: calc(100vw - 28px);
        padding: 24px 20px;
        border-radius: 12px;
    }

    .login-heading[b-86c8yj3gw2] {
        margin-bottom: 24px;
    }

    .login-heading h1[b-86c8yj3gw2] {
        font-size: 20px;
    }

    [b-86c8yj3gw2] .login-input {
        /* Prevent mobile browsers from zooming when an input receives focus. */
        font-size: 16px;
    }

    .login-button[b-86c8yj3gw2] {
        min-height: 46px;
        font-size: 15px;
    }
}
/* /Components/Pages/Messages.razor.rz.scp.css */
.msg-layout[b-xpsustg90t] {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 0;
    height: calc(100vh - 180px);
    min-height: 500px;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    overflow: hidden;
}

/* ── Left sidebar ── */
.msg-sidebar[b-xpsustg90t] {
    border-right: 1px solid var(--bs-border-color);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.msg-sidebar-tabs[b-xpsustg90t] {
    display: flex;
    border-bottom: 1px solid var(--bs-border-color);
    flex-shrink: 0;
}

.msg-stab[b-xpsustg90t] {
    flex: 1;
    padding: 10px 12px;
    background: transparent;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--bs-secondary-color, #6c757d);
    cursor: pointer;
    transition: color 0.15s, border-bottom 0.15s;
    border-bottom: 2px solid transparent;
}

.msg-stab.active[b-xpsustg90t] {
    color: var(--bs-primary);
    border-bottom-color: var(--bs-primary);
}

.msg-sidebar-empty[b-xpsustg90t] {
    padding: 20px;
    text-align: center;
}

.msg-conv-item[b-xpsustg90t] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid var(--bs-border-color);
    transition: background 0.12s;
}

.msg-conv-item:hover[b-xpsustg90t] { background: var(--bs-tertiary-bg); }
.msg-conv-item.active[b-xpsustg90t] { background: var(--bs-primary-bg-subtle); }

.msg-conv-avatar[b-xpsustg90t] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bs-primary);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
    text-transform: uppercase;
}

.msg-conv-info[b-xpsustg90t] {
    flex: 1;
    min-width: 0;
}

.msg-conv-name[b-xpsustg90t] {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-conv-preview[b-xpsustg90t] {
    font-size: 12px;
    color: var(--bs-secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.msg-conv-time[b-xpsustg90t] {
    font-size: 11px;
    color: var(--bs-secondary-color);
    flex-shrink: 0;
}

/* ── Right thread panel ── */
.msg-thread-panel[b-xpsustg90t] {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.msg-thread-header[b-xpsustg90t] {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bs-border-color);
    flex-shrink: 0;
    font-size: 14px;
}

.msg-thread-body[b-xpsustg90t] {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.msg-thread-empty[b-xpsustg90t] {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--bs-secondary-color);
    font-size: 14px;
}

.msg-thread-empty-icon[b-xpsustg90t] { font-size: 48px; }

/* ── Bubbles ── */
.msg-bubble-row[b-xpsustg90t] {
    display: flex;
}
.msg-bubble-row.mine[b-xpsustg90t] { justify-content: flex-end; }
.msg-bubble-row.theirs[b-xpsustg90t] { justify-content: flex-start; }

.msg-bubble[b-xpsustg90t] {
    max-width: 65%;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.4;
}

.msg-bubble-mine[b-xpsustg90t] {
    background: var(--bs-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.msg-bubble-theirs[b-xpsustg90t] {
    background: var(--bs-tertiary-bg);
    border-bottom-left-radius: 4px;
}

.msg-bubble-body[b-xpsustg90t] { word-break: break-word; }

.msg-bubble-time[b-xpsustg90t] {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 3px;
    text-align: right;
}

/* ── Compose ── */
.msg-compose[b-xpsustg90t] {
    padding: 12px 16px;
    border-top: 1px solid var(--bs-border-color);
    flex-shrink: 0;
}

.msg-compose-row[b-xpsustg90t] {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.msg-compose-input[b-xpsustg90t] {
    flex: 1;
    resize: none;
    font-size: 14px;
}

.msg-send-btn[b-xpsustg90t] {
    flex-shrink: 0;
    height: 58px;
    min-width: 64px;
}

/* ── Mobile ── */
@media (max-width: 700px) {
    .msg-layout[b-xpsustg90t] {
        grid-template-columns: 1fr;
        height: auto;
    }

    .msg-sidebar[b-xpsustg90t] {
        border-right: none;
        border-bottom: 1px solid var(--bs-border-color);
        max-height: 240px;
        overflow-y: auto;
    }

    .msg-thread-panel[b-xpsustg90t] {
        height: 500px;
    }
}
/* /Components/Pages/MyPayments.razor.rz.scp.css */
.summary-card[b-rtkeqyec7h] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 104px;
    padding: 20px;
    border: 1px solid var(--tc-border);
    border-radius: 10px;
    background: var(--tc-surface);
}

.summary-card span[b-rtkeqyec7h] {
    color: var(--tc-muted);
    font-weight: 700;
}

.summary-card strong[b-rtkeqyec7h] {
    font-size: 1.8rem;
}

.summary-card-earned[b-rtkeqyec7h] { border-top: 3px solid var(--bs-primary); }
.summary-card-paid[b-rtkeqyec7h] { border-top: 3px solid var(--bs-success); }
.summary-card-remaining[b-rtkeqyec7h] { border-top: 3px solid var(--bs-warning); }

.payment-summary-table[b-rtkeqyec7h] {
    min-width: 720px;
}
/* /Components/Pages/MySessions.razor.rz.scp.css */
.my-sessions-table[b-nrl6oi7gnd] {
    table-layout: fixed;
}

.my-session-notes-col[b-nrl6oi7gnd] {
    width: 150px;
    text-align: center;
    padding-right: 18px;
    padding-left: 18px;
}

.my-session-notes-cell[b-nrl6oi7gnd] {
    width: 150px;
    text-align: center;
    padding-right: 18px;
    padding-left: 18px;
}

.my-session-report-button[b-nrl6oi7gnd] {
    white-space: nowrap;
    min-width: 76px;
}

.session-explanation[b-nrl6oi7gnd] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.6;
}
/* /Components/Pages/Sessions.razor.rz.scp.css */
.session-actions[b-mg0mts9y3i] {
    min-width: 240px;
    white-space: nowrap;
}

.session-complete-btn[b-mg0mts9y3i] {
    min-width: 86px;
    margin-right: 6px;
    white-space: nowrap;
}
/* /Components/Pages/Subjects/SubjectTable.razor.rz.scp.css */
.subject-table[b-zhwxd796n9] {
    min-width: 820px;
    table-layout: fixed;
}

.subject-name-col[b-zhwxd796n9] {
    width: 170px;
}

.subject-description-col[b-zhwxd796n9] {
    width: auto;
}

.subject-status-col[b-zhwxd796n9] {
    width: 110px;
}

.subject-name-cell[b-zhwxd796n9] {
    width: 170px;
    max-width: 170px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.subject-description-cell[b-zhwxd796n9] {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.35;
}

.subject-description-text[b-zhwxd796n9] {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* /Components/Pages/TeacherPayments.razor.rz.scp.css */
.summary-card[b-13qfiz48bn] {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 94px;
    padding: 18px;
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    background: var(--tc-surface);
}

.summary-card span[b-13qfiz48bn] {
    color: var(--tc-muted);
    font-weight: 700;
}

.summary-card strong[b-13qfiz48bn] {
    font-size: 1.8rem;
}
/* /Components/SessionFormModal.razor.rz.scp.css */
.session-student-picker[b-j2n5w5ql3q] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
    max-height: 220px;
    overflow: auto;
    padding: 8px;
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    background: var(--tc-surface);
}

.session-student-option[b-j2n5w5ql3q] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px 10px;
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    cursor: pointer;
}

    .session-student-option span[b-j2n5w5ql3q] {
        min-width: 0;
        overflow-wrap: anywhere;
    }

.session-repeat-days[b-j2n5w5ql3q] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    background: var(--tc-surface);
}

.session-repeat-day[b-j2n5w5ql3q] {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 7px 9px;
    border: 1px solid var(--tc-border);
    border-radius: 8px;
    cursor: pointer;
}

    .session-repeat-day span[b-j2n5w5ql3q] {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
/* /Components/Shared/SessionCalendar.razor.rz.scp.css */
.sc-root[b-jdm98e6bf0] {
    background:    var(--tc-surface);
    border:        1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding:       20px;
    box-shadow:    var(--tc-shadow);
}

/* ── Toolbar ── */
.sc-toolbar[b-jdm98e6bf0] {
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    margin-bottom:   16px;
}

.sc-month-label[b-jdm98e6bf0] {
    font-size:      16px;
    font-weight:    700;
    color:          var(--tc-text);
    letter-spacing: 0.01em;
}

.sc-nav-btn[b-jdm98e6bf0] {
    width:  32px;
    height: 32px;
    padding: 0;
    font-size: 20px;
    line-height: 1;
    display: grid;
    place-items: center;
}

/* ── Grid ── */
.sc-grid[b-jdm98e6bf0] {
    display:               grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap:                   4px;
}

.sc-header-cell[b-jdm98e6bf0] {
    padding:        6px 2px;
    text-align:     center;
    font-size:      11px;
    font-weight:    700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color:          var(--tc-text-muted);
}

/* ── Day cells ── */
.sc-day-cell[b-jdm98e6bf0] {
    width:         100%;
    min-height:    80px;
    padding:       6px;
    border-radius: var(--tc-radius-sm);
    border:        1px solid var(--tc-border-subtle);
    background:    var(--tc-surface-2);
    display:       flex;
    flex-direction: column;
    gap:            3px;
    overflow:       hidden;
    color:          var(--tc-text);
    font-family:    inherit;
    text-align:     start;
    cursor:         pointer;
    transition:     border-color .15s, background .15s, transform .15s;
}

.sc-day-cell:hover:not(:disabled)[b-jdm98e6bf0] {
    border-color: color-mix(in srgb, var(--tc-accent) 55%, var(--tc-border));
    transform: translateY(-1px);
}

.sc-day-cell:focus-visible[b-jdm98e6bf0] {
    outline: 2px solid var(--tc-accent);
    outline-offset: 1px;
}

.sc-day-cell:disabled[b-jdm98e6bf0] {
    cursor: default;
}

.sc-day-cell--other[b-jdm98e6bf0] {
    opacity: 0.35;
}

.sc-day-cell--today[b-jdm98e6bf0] {
    border-color: var(--tc-accent);
    background:   var(--tc-accent-dim);
}

.sc-day-cell--today .sc-day-num[b-jdm98e6bf0] {
    color:       var(--tc-accent);
    font-weight: 800;
}

.sc-day-cell--selected[b-jdm98e6bf0] {
    border-color: var(--tc-accent);
    box-shadow: inset 0 0 0 1px var(--tc-accent);
}

.sc-day-num[b-jdm98e6bf0] {
    font-size:   12px;
    font-weight: 600;
    color:       var(--tc-text-muted);
    line-height: 1;
    margin-bottom: 2px;
    flex-shrink: 0;
}

/* ── Session chips ── */
.sc-event[b-jdm98e6bf0] {
    border-radius: 4px;
    padding:       2px 5px;
    font-size:     11px;
    line-height:   1.35;
    white-space:   nowrap;
    overflow:      hidden;
    text-overflow: ellipsis;
    color:         var(--tc-on-accent);
    cursor:        default;
}

.sc-event--active[b-jdm98e6bf0] {
    background: var(--tc-accent);
    color:      var(--tc-on-accent);
}

.sc-event--done[b-jdm98e6bf0] {
    background: var(--tc-text-dim);
    color:      var(--tc-text);
}

.sc-event--cancelled[b-jdm98e6bf0] {
    background: var(--tc-danger-dim);
    color:      var(--tc-danger);
    border:     1px solid var(--tc-danger);
}

/* ── Selected day details ── */
.sc-day-overlay[b-jdm98e6bf0] {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(2, 10, 18, .72);
    backdrop-filter: blur(4px);
}

.sc-day-sheet[b-jdm98e6bf0] {
    width: min(520px, 100%);
    max-height: min(720px, calc(100dvh - 40px));
    overflow: hidden;
    border: 1px solid var(--tc-border);
    border-radius: 16px;
    background: var(--tc-surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .4);
}

.sc-day-sheet-header[b-jdm98e6bf0] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid var(--tc-border);
    background: color-mix(in srgb, var(--tc-accent) 5%, var(--tc-surface));
}

.sc-day-sheet-kicker[b-jdm98e6bf0] {
    display: block;
    margin-bottom: 5px;
    color: var(--tc-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.sc-day-sheet-header h3[b-jdm98e6bf0] {
    margin: 0;
    color: var(--tc-text);
    font-size: 19px;
    font-weight: 750;
}

.sc-day-sheet-header p[b-jdm98e6bf0] {
    margin: 5px 0 0;
    color: var(--tc-text-muted);
    font-size: 12px;
}

.sc-day-sheet-close[b-jdm98e6bf0] {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid var(--tc-border);
    border-radius: 9px;
    background: var(--tc-surface-2);
    color: var(--tc-text-muted);
    font-size: 24px;
    line-height: 1;
}

.sc-day-sheet-close:hover[b-jdm98e6bf0] {
    border-color: var(--tc-accent);
    color: var(--tc-accent);
}

.sc-day-session-list[b-jdm98e6bf0] {
    display: grid;
    gap: 10px;
    max-height: calc(100dvh - 170px);
    padding: 14px;
    overflow-y: auto;
}

.sc-day-session-card[b-jdm98e6bf0] {
    padding: 14px;
    border: 1px solid var(--tc-border-subtle);
    border-inline-start: 3px solid var(--tc-accent);
    border-radius: 10px;
    background: var(--tc-surface-2);
}

.sc-day-session-topline[b-jdm98e6bf0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--tc-border-subtle);
    color: var(--tc-text);
    font-size: 13px;
}

.sc-day-status[b-jdm98e6bf0] {
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
}

.sc-day-session-card dl[b-jdm98e6bf0] {
    display: grid;
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 8px 12px;
    margin: 12px 0 0;
    font-size: 12px;
}

.sc-day-session-card dt[b-jdm98e6bf0] {
    color: var(--tc-text-muted);
    font-size: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.sc-day-session-card dd[b-jdm98e6bf0] {
    margin: 0;
    color: var(--tc-text);
    overflow-wrap: anywhere;
}

.sc-day-empty[b-jdm98e6bf0] {
    display: grid;
    justify-items: center;
    gap: 5px;
    padding: 34px 20px;
    color: var(--tc-text);
    text-align: center;
}

.sc-day-empty-icon[b-jdm98e6bf0] {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 5px;
    border-radius: 50%;
    background: var(--tc-accent-dim);
    color: var(--tc-accent);
    font-size: 20px;
}

.sc-day-empty small[b-jdm98e6bf0] {
    color: var(--tc-text-muted);
}

@media (max-width: 860px) {
    .sc-day-cell[b-jdm98e6bf0] { min-height: 60px; }
    .sc-event[b-jdm98e6bf0]    { font-size: 10px; padding: 1px 4px; }
}

@media (max-width: 580px) {
    .sc-root[b-jdm98e6bf0] { padding: 12px; }
    .sc-day-cell[b-jdm98e6bf0] { position: relative; min-height: 46px; padding: 5px; align-items: center; }
    .sc-day-num[b-jdm98e6bf0] { font-size: 11px; }
    .sc-event[b-jdm98e6bf0]    { display: none; }
    .sc-day-cell--has-sessions[b-jdm98e6bf0]::after {
        content: '';
        width: 5px;
        height: 5px;
        margin-top: 3px;
        border-radius: 50%;
        background: var(--tc-accent);
    }

    .sc-day-overlay[b-jdm98e6bf0] {
        place-items: end center;
        padding: 0;
    }

    .sc-day-sheet[b-jdm98e6bf0] {
        width: 100%;
        max-height: 82dvh;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 18px 18px 0 0;
    }

    .sc-day-sheet-header[b-jdm98e6bf0] {
        padding: 18px 16px 15px;
    }

    .sc-day-session-list[b-jdm98e6bf0] {
        max-height: calc(82dvh - 108px);
        padding: 12px;
    }
}
