/* Student Web Portal
   Responsive, compact, admin-theme aligned styling for the web student portal.
*/

:root {
    --student-bg: #f3f6fb;
    --student-card: #ffffff;
    --student-card-soft: #f8fbff;
    --student-border: #d9e3ef;
    --student-border-strong: #c6d3e3;
    --student-text: #1f2d3d;
    --student-muted: #6c7a90;
    --student-primary: #1f5eff;
    --student-primary-dark: #1239a8;
    --student-primary-soft: rgba(31, 94, 255, 0.10);
    --student-success: #17a673;
    --student-success-soft: rgba(23, 166, 115, 0.12);
    --student-warning: #f0a43a;
    --student-warning-soft: rgba(240, 164, 58, 0.12);
    --student-danger: #d9534f;
    --student-danger-soft: rgba(217, 83, 79, 0.12);
    --student-info: #2e86de;
    --student-info-soft: rgba(46, 134, 222, 0.12);
    --student-dark: #edf3fb;
    --student-dark-2: #dde8f5;
    --student-shadow: 0 14px 32px rgba(18, 38, 63, 0.08);
    --student-shadow-soft: 0 8px 20px rgba(18, 38, 63, 0.06);
    --student-radius: 14px;
}

.student-document-section-card {
    margin-top: 14px;
}

.student-document-section-head {
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.student-document-section-head h5 {
    margin: 0 0 4px;
}

.student-document-section-head p {
    margin: 0;
    font-size: 12px;
}

.student-document-list {
    display: grid;
    gap: 8px;
}

.student-document-list-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    background: #fff;
    border: 1px solid var(--student-border);
    border-radius: 12px;
    box-shadow: var(--student-shadow-soft);
}

.student-document-list-card-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.student-document-list-card-copy {
    min-width: 0;
}

.student-document-list-card h5 {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 800;
}

.student-document-list-card-action {
    flex: 0 0 auto;
}

.student-document-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 6px;
}

.student-document-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border: 1px solid var(--student-border);
    border-radius: 999px;
    background: var(--student-card-soft);
    color: var(--student-muted);
    font-size: 10px;
    line-height: 1.35;
    white-space: nowrap;
}

.student-document-meta i {
    color: var(--student-primary);
}

.student-document-icon--admit + .student-document-list-card-copy .student-document-meta i {
    color: var(--student-info);
}

.student-document-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--student-primary);
    background: var(--student-primary-soft);
}

.student-document-icon--admit {
    color: var(--student-info);
    background: var(--student-info-soft);
}

.student-document-loader {
    margin-bottom: 0;
}

.student-document-view {
    display: grid;
    gap: 10px;
}

.student-document-view-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.student-document-frame {
    display: block;
    width: 100%;
    min-height: 780px;
    height: min(1100px, 82vh);
    border: 1px solid var(--student-border-strong);
    border-radius: 12px;
    background: #f5f7fa;
    box-shadow: var(--student-shadow-soft);
}

.student-document-hold {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.student-document-hold-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--student-warning);
    background: var(--student-warning-soft);
    font-size: 18px;
}

.student-document-hold h4 {
    margin: 10px 0 5px;
    font-weight: 800;
}

.student-document-hold > p {
    max-width: 600px;
    margin: 0 auto 12px;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.55;
}

.student-document-hold-total {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    padding: 7px 12px;
    border: 1px solid var(--student-border);
    border-radius: 999px;
    background: var(--student-card-soft);
}

.student-document-hold-total span {
    color: var(--student-muted);
    font-size: 11px;
}

.student-document-hold-total strong,
.student-document-fee-due {
    color: var(--student-danger);
}

.student-document-hold h5 {
    margin: 0 0 8px;
    text-align: left;
    font-size: 13px;
}

.student-document-fee-list {
    display: grid;
    gap: 7px;
    text-align: left;
}

.student-document-fee-row {
    padding: 9px 10px;
    border: 1px solid var(--student-border);
    border-radius: 10px;
    background: #fff;
}

.student-document-fee-row-head,
.student-document-fee-breakdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.student-document-fee-row-head strong {
    display: block;
    font-size: 12px;
}

.student-document-fee-row-head small {
    display: block;
    margin-top: 3px;
    color: var(--student-muted);
    font-size: 10px;
}

.student-document-fee-breakdown {
    justify-content: flex-start;
    margin-top: 8px;
    color: var(--student-muted);
    font-size: 10px;
}

.student-document-fee-breakdown span {
    padding-right: 9px;
    margin-right: 9px;
    border-right: 1px solid var(--student-border);
}

.student-document-fee-breakdown span:last-child {
    border-right: 0;
    margin-right: 0;
}

.student-document-fee-breakdown b {
    color: var(--student-text);
}

.student-document-counter-note {
    margin-top: 10px;
    padding: 9px 10px;
    text-align: left;
}

.student-document-hold-actions {
    display: flex;
    justify-content: center;
    margin-top: 14px;
}

.student-mandatory-payment-note {
    margin-bottom: 14px;
}

.student-mandatory-payment-note-head {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
}

.student-mandatory-payment-note > span {
    display: block;
    font-size: 11px;
}

.student-mandatory-payment-note ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.student-mandatory-payment-note li {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 3px 0;
    font-size: 11px;
}

.student-mandatory-payment-note li > span {
    flex: 1;
}

.student-mandatory-payment-amount {
    color: var(--student-danger);
}

.student-document-error {
    max-width: 680px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .student-document-list-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-document-list-card .btn {
        width: 100%;
    }

    .student-document-list-card-action {
        width: 100%;
    }

    .student-document-section-head {
        flex-direction: column;
    }

    .student-document-frame {
        min-height: 650px;
        height: 78vh;
        border-radius: 8px;
    }

    .student-document-fee-breakdown {
        flex-wrap: wrap;
        row-gap: 4px;
    }
}

html,
body {
    min-height: 100%;
}

body.student-webapp-body {
    font-family: "Inter", "Segoe UI", sans-serif;
    background: #f4f6f9;
    color: var(--student-text);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: auto;
}

.student-hidden {
    display: none !important;
}

.student-muted {
    color: var(--student-muted);
}

.student-shell {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow: visible;
}

.student-login-shell {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 18px 0;
    position: relative;
    overflow: hidden;
}

.student-login-shell::before,
.student-login-shell::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(0);
}

.student-login-shell::before {
    width: 360px;
    height: 360px;
    left: -90px;
    top: -120px;
    background: radial-gradient(circle, rgba(31, 94, 255, 0.16), transparent 65%);
}

.student-login-shell::after {
    width: 280px;
    height: 280px;
    right: -90px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(23, 166, 115, 0.12), transparent 68%);
}

.student-login-hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    color: var(--student-text);
    border: 1px solid var(--student-border);
    border-radius: 22px;
    box-shadow: var(--student-shadow);
    padding: 22px;
    min-height: 560px;
    position: relative;
    overflow: hidden;
}

.student-login-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(31, 94, 255, 0.05), transparent 42%),
        radial-gradient(circle at 82% 18%, rgba(31, 94, 255, 0.10), transparent 22%);
    pointer-events: none;
}

.student-login-hero-content {
    position: relative;
    z-index: 1;
}

.student-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(31, 94, 255, 0.08);
    border: 1px solid rgba(31, 94, 255, 0.12);
    color: var(--student-primary-dark);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.student-login-hero h1 {
    font-size: 34px;
    line-height: 1.08;
    font-weight: 700;
    margin: 16px 0 10px;
    color: var(--student-text);
}

.student-login-hero p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--student-muted);
    margin-bottom: 14px;
    max-width: 620px;
}

.student-hero-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.student-hero-point {
    background: #ffffff;
    border: 1px solid var(--student-border);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 8px 20px rgba(18, 38, 63, 0.05);
}

.student-hero-point h4 {
    color: var(--student-text);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.student-hero-point p {
    color: var(--student-muted);
    font-size: 12px;
    margin: 0;
}

.student-login-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 24px;
    box-shadow: var(--student-shadow);
    overflow: hidden;
}

.student-login-card .panel-heading {
    background: linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
    border-bottom: 1px solid var(--student-border);
    padding: 14px 18px;
}

.student-login-card .panel-body {
    padding: 18px;
}

.student-login-card .panel-title {
    margin: 0;
}

.student-login-card .panel-title h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--student-text);
}

.student-login-card .panel-title p {
    margin: 8px 0 0;
    color: var(--student-muted);
    font-size: 13px;
    line-height: 1.6;
}

.student-login-form .form-group {
    margin-bottom: 14px;
}

.student-login-form label {
    display: block;
    color: var(--student-text);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.student-login-form .form-control {
    height: 48px;
    border-radius: 12px;
    border-color: var(--student-border-strong);
    box-shadow: none;
    padding-left: 14px;
    padding-right: 14px;
    background: #fff;
}

.student-login-form .form-control:focus {
    border-color: var(--student-primary);
    box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.12);
}

.student-login-form .btn {
    min-height: 48px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.student-login-help {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f7fbff;
    border: 1px solid #dce8f7;
    border-radius: 14px;
    padding: 14px;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.6;
}

.student-login-help i {
    color: var(--student-info);
    margin-top: 2px;
}

.student-login-password-group .btn {
    min-height: 48px;
    border-radius: 0 12px 12px 0;
    border-color: var(--student-border-strong);
}

.student-login-password-group .form-control {
    border-radius: 12px 0 0 12px;
}

body.student-login-page {
    background:
        radial-gradient(circle at top left, rgba(31, 94, 255, 0.08), transparent 26%),
        radial-gradient(circle at bottom right, rgba(23, 166, 115, 0.06), transparent 24%),
        linear-gradient(180deg, #fdfefe 0%, #eef4fb 100%);
}

.student-login-simple-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 18px 0;
}

.student-login-simple-card {
    background: #ffffff;
    border: 1px solid var(--student-border);
    border-radius: 24px;
    box-shadow: var(--student-shadow);
    overflow: hidden;
}

.student-login-simple-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
}

.student-login-simple-side {
    padding: 20px;
    border-right: 1px solid var(--student-border);
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}

.student-login-simple-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.student-login-simple-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(31, 94, 255, 0.14), rgba(23, 166, 115, 0.10));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--student-primary);
    font-size: 24px;
    flex: 0 0 auto;
}

.student-login-simple-brand h1 {
    margin: 0;
    color: var(--student-text);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
}

.student-login-simple-brand p {
    margin: 6px 0 0;
    color: var(--student-muted);
    font-size: 13px;
    line-height: 1.6;
}

.student-login-simple-side h2 {
    margin: 0 0 12px;
    color: var(--student-text);
    font-size: 30px;
    line-height: 1.12;
    font-weight: 800;
}

.student-login-simple-side > p {
    margin: 0;
    color: var(--student-muted);
    font-size: 14px;
    line-height: 1.7;
    max-width: 560px;
}

.student-login-simple-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 22px;
}

.student-login-simple-point {
    background: #ffffff;
    border: 1px solid rgba(201, 213, 228, 0.9);
    border-radius: 18px;
    padding: 14px 16px;
    box-shadow: 0 6px 18px rgba(18, 38, 63, 0.04);
}

.student-login-simple-point h4 {
    margin: 0 0 6px;
    color: var(--student-text);
    font-size: 14px;
    font-weight: 700;
}

.student-login-simple-point p {
    margin: 0;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.65;
}

.student-login-simple-form {
    padding: 20px;
    background: #ffffff;
}

.student-login-simple-form .student-login-card {
    box-shadow: none;
    border-radius: 0;
    border: 0;
    background: transparent;
}

.student-login-simple-form .student-login-card .panel-heading {
    background: transparent;
    border-bottom: 0;
    padding: 0 0 10px;
}

.student-login-simple-form .student-login-card .panel-body {
    padding: 0;
}

.student-login-simple-footer {
    margin-top: 16px;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.6;
}

.student-login-simple-footer strong {
    color: var(--student-text);
}

.student-app-shell {
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    overflow: visible;
}

.student-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 290px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: var(--student-text);
    z-index: 1050;
    box-shadow: 18px 0 30px rgba(18, 38, 63, 0.08);
    border-right: 1px solid var(--student-border);
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.student-sidebar-brand {
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--student-border);
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.student-brand-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #eef4fb;
    border: 1px solid var(--student-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.student-brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-brand-title {
    min-width: 0;
}

.student-brand-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--student-text);
    line-height: 1.35;
}

.student-brand-title p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--student-muted);
    line-height: 1.5;
}

.student-sidebar-profile {
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--student-border);
    flex-shrink: 0;
}

.student-sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.student-avatar {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    overflow: hidden;
    background: #eef4fb;
    border: 1px solid var(--student-border);
    flex: 0 0 auto;
}

.student-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-user-meta {
    min-width: 0;
}

.student-user-meta h5 {
    color: var(--student-text);
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
}

.student-user-meta p {
    margin: 4px 0 0;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.45;
}

.student-nav-list {
    padding: 12px 12px 16px;
    overflow-x: hidden;
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
}

.student-nav-group-label {
    display: block;
    color: #7f8ea6;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 10px 6px;
}

.student-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-decoration: none !important;
    color: var(--student-text);
    padding: 10px 10px;
    border-radius: 12px;
    margin-bottom: 4px;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.2s ease;
    cursor: pointer;
}

.student-nav-item i {
    width: 18px;
    text-align: center;
    color: var(--student-primary);
    font-size: 14px;
}

.student-nav-item span {
    flex: 1 1 auto;
    font-weight: 600;
    font-size: 13px;
}

.student-nav-item small {
    color: var(--student-muted);
    font-size: 10px;
    font-weight: 500;
}

.student-nav-item:hover,
.student-nav-item.active {
    background: rgba(31, 94, 255, 0.08);
    border-color: rgba(31, 94, 255, 0.12);
    color: var(--student-text);
    transform: translateX(2px);
}

.student-nav-item.disabled {
    opacity: 0.46;
    pointer-events: auto;
}

.student-sidebar-footer {
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--student-border);
    margin-top: auto;
    flex-shrink: 0;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.92) 0%, rgba(255, 255, 255, 1) 100%);
}

.student-sidebar-footer .btn {
    width: 100%;
    border-radius: 14px;
    font-weight: 700;
}

.student-sidebar-backdrop {
    display: none;
}

.student-app-main {
    margin-left: 290px;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 16px 16px 24px;
    overflow: visible;
}

.student-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: space-between;
    background: rgba(243, 246, 251, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(214, 224, 235, 0.80);
    border-radius: 16px;
    box-shadow: var(--student-shadow-soft);
    padding: 10px 14px;
    margin-bottom: 14px;
}

.student-topbar-left,
.student-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.student-topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.student-topbar-brand .student-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.student-topbar-title {
    min-width: 0;
}

.student-topbar-title h1 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--student-text);
    line-height: 1.28;
}

.student-topbar-title p {
    margin: 4px 0 0;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.4;
}

.student-topbar-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.student-topbar-chip,
.student-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--student-border);
    color: var(--student-text);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 6px 14px rgba(18, 38, 63, 0.05);
}

.student-chip i {
    color: var(--student-primary);
}

.student-chip.student-chip--trust {
    background: #eef7ff;
    color: #1a4f8a;
    border-color: #bfd8f4;
}

.student-icon-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 12px;
    border: 1px solid var(--student-border);
    background: #fff;
    color: var(--student-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.student-icon-btn:hover,
.student-icon-btn:focus {
    color: var(--student-primary);
}

.student-section-card,
.student-stat-card,
.student-detail-card,
.student-login-card {
    border: 1px solid var(--student-border);
}

.student-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.student-pill.primary {
    background: var(--student-primary-soft);
    color: var(--student-primary-dark);
}

.student-pill.success {
    background: var(--student-success-soft);
    color: var(--student-success);
}

.student-pill.warning {
    background: var(--student-warning-soft);
    color: #a66b0a;
}

.student-pill.danger {
    background: var(--student-danger-soft);
    color: #b73935;
}

.student-pill.info {
    background: var(--student-info-soft);
    color: var(--student-info);
}

.student-stat-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--student-shadow-soft);
    padding: 14px;
    height: 100%;
}

.student-stat-card.compact {
    min-height: 100%;
}

.student-stat-card .student-stat-label {
    color: var(--student-muted);
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.student-stat-card .student-stat-value {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
    color: var(--student-text);
}

.student-stat-card .student-stat-sub {
    margin-top: 6px;
    color: var(--student-muted);
    font-size: 11px;
    line-height: 1.5;
}

.student-section-card {
    background: #f8fafc;
    border: 1px solid #dfe7f0;
    border-top: 3px solid #dbe7f5;
    border-radius: 5px;
    box-shadow: none;
    padding: 12px;
    margin-bottom: 12px;
}

.student-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e3e9f1;
}

.student-section-head h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: var(--student-text);
    line-height: 1.25;
}

.student-section-head p {
    margin: 6px 0 0;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.6;
    max-width: 760px;
}

.student-section-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex-wrap: wrap;
}

.student-section-actions .btn {
    border-radius: 4px;
    font-weight: 700;
}

.student-kv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.student-kv-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    border: 1px solid var(--student-border);
    border-radius: 12px;
    background: #fff;
    min-width: 0;
}

.student-kv-label {
    min-width: 120px;
    color: var(--student-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: none;
}

.student-kv-value {
    flex: 1 1 auto;
    color: var(--student-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.55;
    word-break: break-word;
}

.student-banked-table-wrap {
    border: 1px solid var(--student-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.student-fee-card-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.student-fee-card-collapse {
    border: 1px solid var(--student-border);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--student-shadow-soft);
}

.student-fee-card-collapse--selected {
    border-color: rgba(23, 166, 115, 0.30);
    background: linear-gradient(180deg, #f6fffb 0%, #ffffff 100%);
    box-shadow: 0 16px 34px rgba(18, 38, 63, 0.10);
}

.student-fee-card-collapse--open {
    border-color: rgba(31, 94, 255, 0.24);
    box-shadow: 0 16px 34px rgba(18, 38, 63, 0.10);
}

.student-fee-card-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 12px;
    cursor: pointer;
    list-style: none;
    outline: none;
}

.student-fee-card-summary-main {
    flex: 1 1 auto;
    min-width: 0;
}

.student-fee-card-summary-title {
    margin: 0;
    color: var(--student-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}

.student-fee-card-summary-meta {
    margin-top: 4px;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.45;
}

.student-fee-card-summary-side {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.student-fee-card-summary-total {
    color: var(--student-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.student-fee-card-collapse--selected .student-fee-card-summary-total {
    color: #0f7e54;
}

.student-fee-card-summary-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--student-primary-soft);
    color: var(--student-primary-dark);
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.student-fee-card-chevron {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(31, 94, 255, 0.08);
    color: var(--student-primary);
    transition: transform 180ms ease, background 180ms ease;
}

.student-fee-card-expand-btn {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    line-height: 1;
}

.student-fee-card-expand-btn:focus {
    outline: none;
}

.student-fee-card-expand-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.18);
}

.student-fee-card-collapse--open .student-fee-card-chevron,
.student-fee-card-collapse--open .student-fee-card-expand-btn i {
    transform: rotate(180deg);
    background: rgba(31, 94, 255, 0.14);
}

.student-fee-card-body {
    border-top: 1px solid var(--student-border);
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    padding: 12px 14px 14px;
}

.student-fee-card-select-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.student-fee-card-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--student-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
}

.student-fee-card-select input {
    margin: 0;
    accent-color: var(--student-primary);
}

.student-fee-card-select-hint {
    color: var(--student-muted);
    font-size: 11px;
    line-height: 1.45;
    text-align: right;
    max-width: 180px;
}

.student-fee-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.student-fee-card-field {
    border: 1px solid var(--student-border);
    border-radius: 12px;
    background: #fff;
    padding: 8px 10px;
    min-width: 0;
}

.student-fee-card-field-label {
    color: var(--student-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.student-fee-card-field-value {
    margin-top: 4px;
    color: var(--student-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.student-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.student-pagination-summary {
    color: var(--student-muted);
    font-size: 12px;
    font-weight: 600;
}

.student-pagination-actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.student-pagination-actions .btn {
    min-height: 30px;
    border-radius: 10px;
    padding: 4px 9px;
    font-size: 11px;
    font-weight: 700;
}

.student-pagination-actions .btn.active,
.student-pagination-actions .btn.active:focus,
.student-pagination-actions .btn.active:hover {
    background: var(--student-primary);
    border-color: var(--student-primary);
    color: #fff;
}

.student-pagination-ellipsis {
    color: var(--student-muted);
    font-size: 12px;
    padding: 0 2px;
}

.student-wrap-anywhere {
    word-break: break-word;
    white-space: normal;
}

.student-photo-pair {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.student-photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.student-photo-item span {
    font-size: 10px;
    color: var(--student-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.student-photo-thumb {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--student-border);
    background: #fff;
    box-shadow: 0 4px 14px rgba(31, 94, 255, 0.08);
}

.student-photo-thumb--sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.student-photo-thumb--lg {
    width: 72px;
    height: 72px;
    border-radius: 16px;
}

.student-photo-thumb--gatepass {
    width: 100%;
    height: 180px;
    min-height: 180px;
    border-radius: 0;
    object-fit: contain;
    object-position: center center;
    box-sizing: border-box;
    padding: 8px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    box-shadow: none;
}

.student-teacher-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.student-teacher-photo {
    flex: 0 0 auto;
}

.student-teacher-meta {
    flex: 1 1 auto;
    min-width: 0;
}

.student-teacher-meta p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
    color: var(--student-muted);
}

.student-teacher-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: var(--student-primary-soft);
    color: var(--student-primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.student-table-compact {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin: 0;
}

.student-table-compact th,
.student-table-compact td {
    border-bottom: 1px solid var(--student-border);
    border-right: 1px solid var(--student-border);
    padding: 8px 6px;
    text-align: center;
    vertical-align: middle !important;
    word-break: break-word;
    white-space: normal;
    font-size: 12px;
    line-height: 1.45;
}

.student-table-compact th:last-child,
.student-table-compact td:last-child {
    border-right: none;
}

.student-table-compact thead th {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: #27364a;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
}

.student-table-compact tbody tr:nth-child(even) td {
    background: #fcfdff;
}

.student-table-compact tbody tr:hover td {
    background: #f4f8ff;
}

.student-table-compact .text-left {
    text-align: left;
}

.student-table-compact .text-right {
    text-align: right;
}

.student-table-compact .amount-positive {
    color: var(--student-danger);
    font-weight: 800;
}

.student-table-compact .amount-negative {
    color: var(--student-success);
    font-weight: 800;
}

body.student-device-mobile .student-banked-table-wrap {
    border: 0;
    overflow: visible;
    background: transparent;
}

body.student-device-mobile .student-table-compact {
    display: block;
    table-layout: auto;
}

body.student-device-mobile .student-table-compact thead {
    display: none;
}

body.student-device-mobile .student-table-compact tbody,
body.student-device-mobile .student-table-compact tr,
body.student-device-mobile .student-table-compact td {
    display: block;
    width: 100%;
}

body.student-device-mobile .student-table-compact tr {
    background: #fff;
    border: 1px solid var(--student-border);
    border-radius: 16px;
    box-shadow: var(--student-shadow-soft);
    margin-bottom: 12px;
    overflow: hidden;
}

body.student-device-mobile .student-table-compact td {
    border-right: none;
    border-bottom: 1px solid rgba(214, 223, 235, 0.95);
    padding: 10px 12px;
    text-align: left !important;
    white-space: normal;
}

body.student-device-mobile .student-table-compact td:last-child {
    border-bottom: none;
}

body.student-device-mobile .student-table-compact td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--student-muted);
}

body.student-device-mobile .student-table-compact td[data-label=""]::before {
    display: none;
}

body.student-device-mobile .student-table-compact td.student-table-empty-cell {
    text-align: center !important;
}

body.student-device-mobile .student-table-compact td.student-table-empty-cell::before {
    display: none;
}

body.student-device-mobile .student-table-compact .text-right,
body.student-device-mobile .student-table-compact .text-left {
    text-align: left !important;
}

body.student-device-mobile .student-table-compact .student-nowrap {
    white-space: normal !important;
}

body.student-device-mobile .student-table-compact .btn,
body.student-device-mobile .student-table-compact .student-file-link {
    max-width: 100%;
}

body.student-device-mobile .student-attendance-mobile-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

body.student-device-mobile .student-attendance-mobile-item {
    width: 100%;
    border: 1px solid var(--student-border);
    border-radius: 16px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    padding: 12px 14px;
    box-shadow: var(--student-shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

body.student-device-mobile .student-attendance-mobile-item.kind-success {
    background: var(--student-success-soft);
    border-color: rgba(23, 166, 115, 0.18);
}

body.student-device-mobile .student-attendance-mobile-item.kind-warning {
    background: var(--student-warning-soft);
    border-color: rgba(240, 164, 58, 0.18);
}

body.student-device-mobile .student-attendance-mobile-item.kind-danger {
    background: var(--student-danger-soft);
    border-color: rgba(217, 83, 79, 0.18);
}

body.student-device-mobile .student-attendance-mobile-item.kind-info {
    background: var(--student-info-soft);
    border-color: rgba(46, 134, 222, 0.18);
}

body.student-device-mobile .student-attendance-mobile-item.kind-holiday {
    background: #f6f8fc;
    border-color: rgba(198, 211, 227, 0.95);
}

body.student-device-mobile .student-attendance-mobile-item.future {
    opacity: 0.7;
}

body.student-device-mobile .student-attendance-mobile-item.today {
    box-shadow: 0 0 0 2px rgba(31, 94, 255, 0.14), var(--student-shadow-soft);
}

body.student-device-mobile .student-attendance-mobile-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

body.student-device-mobile .student-attendance-mobile-day {
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--student-muted);
}

body.student-device-mobile .student-attendance-mobile-date {
    font-size: 14px;
    font-weight: 700;
    color: var(--student-text);
}

body.student-device-mobile .student-attendance-mobile-note {
    font-size: 12px;
    color: var(--student-muted);
    line-height: 1.4;
}

body.student-device-mobile .student-attendance-mobile-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex: 0 0 auto;
}

body.student-device-mobile .student-attendance-mobile-code {
    min-width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--student-primary-soft);
    color: var(--student-primary-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body.student-device-mobile .student-attendance-mobile-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--student-muted);
}

.student-attendance-calendar-wrap {
    border: 1px solid var(--student-border);
    border-radius: 14px;
    overflow-x: auto;
    background: #fff;
}

.student-attendance-calendar {
    min-width: 700px;
}

.student-attendance-calendar th,
.student-attendance-calendar td {
    padding: 4px;
}

.student-attendance-calendar td {
    background: #fff;
}

.student-attendance-empty-cell {
    background: #fafcff;
}

.student-attendance-day-cell {
    width: 100%;
    min-height: 70px;
    border: 1px solid var(--student-border);
    border-radius: 12px;
    padding: 8px 6px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.student-attendance-day-cell:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(31, 94, 255, 0.08);
}

.student-attendance-day-cell.today {
    border-color: rgba(31, 94, 255, 0.42);
    box-shadow: 0 0 0 2px rgba(31, 94, 255, 0.08) inset;
}

.student-attendance-day-cell.empty {
    cursor: default;
    border: 0;
    background: transparent;
    box-shadow: none;
    min-height: 58px;
}

.student-attendance-day-cell.holiday {
    background: #f6f8fc;
    color: var(--student-muted);
    cursor: default;
}

.student-attendance-day-cell.kind-success {
    background: #def7ea;
    border-color: rgba(23, 166, 115, 0.30);
    color: #0f7e54;
}

.student-attendance-day-cell.kind-warning {
    background: var(--student-warning-soft);
    border-color: rgba(240, 164, 58, 0.20);
}

.student-attendance-day-cell.kind-danger {
    background: #ffe7e6;
    border-color: rgba(217, 83, 79, 0.30);
    color: #a63f3c;
}

.student-attendance-day-cell.kind-info {
    background: var(--student-info-soft);
    border-color: rgba(46, 134, 222, 0.18);
}

.student-attendance-day-cell.future {
    background: #eef2f7;
    border-color: rgba(149, 161, 178, 0.50);
    color: var(--student-muted);
    cursor: not-allowed;
    opacity: 0.68;
    box-shadow: none;
}

.student-attendance-day-cell.future:hover {
    transform: none;
    box-shadow: none;
}

.student-attendance-day-number {
    font-size: 16px;
    font-weight: 800;
    color: var(--student-text);
    line-height: 1;
}

.student-attendance-day-code {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--student-muted);
}

.student-attendance-day-note {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--student-text);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.student-attendance-day-cell.future .student-attendance-day-code,
.student-attendance-day-cell.future .student-attendance-day-note {
    display: none;
}

.student-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid transparent;
}

.student-badge.success {
    background: var(--student-success-soft);
    color: var(--student-success);
    border-color: rgba(23, 166, 115, 0.18);
}

.student-badge.warning {
    background: var(--student-warning-soft);
    color: #9b6611;
    border-color: rgba(240, 164, 58, 0.16);
}

.student-badge.danger {
    background: var(--student-danger-soft);
    color: #b33936;
    border-color: rgba(217, 83, 79, 0.16);
}

.student-badge.info {
    background: var(--student-info-soft);
    color: var(--student-info);
    border-color: rgba(46, 134, 222, 0.16);
}

.student-badge.muted {
    background: rgba(108, 122, 144, 0.10);
    color: var(--student-muted);
    border-color: rgba(108, 122, 144, 0.16);
}

.student-empty-state {
    padding: 22px 16px;
    text-align: center;
    color: var(--student-muted);
    background: #fff;
    border: 1px dashed var(--student-border-strong);
    border-radius: 16px;
}

.student-empty-state i {
    font-size: 34px;
    color: var(--student-primary);
    margin-bottom: 12px;
}

.student-empty-state h4 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
    color: var(--student-text);
}

.student-empty-state p {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
}

.student-loading-surface {
    min-height: 180px;
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(240, 245, 252, 0.95) 25%, rgba(252, 253, 255, 1) 37%, rgba(240, 245, 252, 0.95) 63%);
    background-size: 400% 100%;
    animation: studentShimmer 1.2s ease-in-out infinite;
}

.student-loading-line {
    height: 14px;
    border-radius: 999px;
    background: rgba(215, 225, 236, 0.85);
    margin-bottom: 10px;
}

.student-loading-line.wide {
    width: 90%;
}

.student-loading-line.med {
    width: 70%;
}

.student-loading-line.small {
    width: 50%;
}

/* Theme-matched section loading state; the sidebar and topbar remain outside this surface.
   Result Hosting [Mr. Shudhanshu Kumar Pandey] */
.student-section-body--loading {
    min-height: 154px;
}

.student-section-loader {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px 12px;
    min-height: 138px;
    padding: 20px 18px;
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 4px;
    background: linear-gradient(135deg, #f8fbff 0%, #f2f6fb 100%);
    color: var(--student-text);
}

.student-section-loader::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--student-primary), transparent);
    opacity: 0.72;
    animation: studentSectionLoaderSweep 1.5s ease-in-out infinite;
}

.student-section-loader-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 3px solid rgba(31, 94, 255, 0.16);
    border-top-color: var(--student-primary);
    border-radius: 50%;
    color: var(--student-primary);
    font-size: 14px;
    animation: studentSectionLoaderSpin 0.9s linear infinite;
}

.student-section-loader-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.student-section-loader-copy strong {
    color: var(--student-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
}

.student-section-loader-copy > span {
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.45;
}

.student-section-loader-track {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(31, 94, 255, 0.10);
}

.student-section-loader-track > span {
    display: block;
    width: 34%;
    height: 100%;
    border-radius: inherit;
    background: var(--student-primary);
    animation: studentSectionLoaderProgress 1.25s ease-in-out infinite;
}

@keyframes studentSectionLoaderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes studentSectionLoaderSweep {
    0%,
    100% {
        transform: translateX(-35%);
    }
    50% {
        transform: translateX(35%);
    }
}

@keyframes studentSectionLoaderProgress {
    0% {
        transform: translateX(-125%);
    }
    100% {
        transform: translateX(390%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-section-loader::before,
    .student-section-loader-mark,
    .student-section-loader-track > span {
        animation: none;
    }
}

@keyframes studentShimmer {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.student-form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.student-form-inline .form-control,
.student-form-inline .btn {
    border-radius: 12px;
    min-height: 42px;
}

.student-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 14px;
}

.student-filter-row .form-group {
    margin-bottom: 0;
}

.student-filter-row .form-control {
    min-width: 160px;
    border-radius: 12px;
    min-height: 40px;
}

.student-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.student-detail-item {
    border: 1px solid var(--student-border);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.student-detail-item h5 {
    margin: 0 0 6px;
    font-size: 11px;
    color: var(--student-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.student-detail-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: var(--student-text);
    word-break: break-word;
}

.student-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.student-link-btn {
    text-decoration: none !important;
    font-weight: 700;
}

.student-file-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    border: 1px solid var(--student-border);
    background: #fff;
    color: var(--student-primary);
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.student-file-link:hover {
    border-color: rgba(31, 94, 255, 0.32);
    background: var(--student-primary-soft);
    color: var(--student-primary-dark);
}

.student-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--student-border), transparent);
    margin: 14px 0;
}

.student-modal .modal-content {
    border-radius: 18px;
    border: 1px solid var(--student-border);
    box-shadow: var(--student-shadow);
    overflow: hidden;
}

.student-payment-modal .modal-dialog {
    width: calc(100% - 24px);
    max-width: 760px;
    margin: 14px auto;
}

.student-payment-modal .modal-content {
    border-radius: 0;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    background: #ffffff;
}

.student-payment-modal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 12px;
}

.student-payment-modal .modal-body {
    background: #ffffff;
    padding: 10px 12px 12px;
}

.student-payment-modal .modal-footer {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 10px 12px;
}

.student-modal .modal-header {
    background: linear-gradient(135deg, #ffffff 0%, #f5f9ff 100%);
    border-bottom: 1px solid var(--student-border);
    padding: 14px 16px;
}

.student-modal .modal-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--student-text);
}

.student-modal .modal-body {
    padding: 16px;
}

.student-modal .modal-footer {
    border-top: 1px solid var(--student-border);
    padding: 12px 16px;
}

.student-modal .close {
    font-size: 30px;
    line-height: 1;
}

.student-payment-review-shell {
    display: grid;
    gap: 8px;
}

.student-payment-review-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0;
    padding: 8px 10px;
}

.student-payment-review-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.student-payment-review-title h5 {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: var(--student-text);
}

.student-payment-review-summary .student-table-compact th,
.student-payment-review-summary .student-table-compact td {
    padding: 6px 6px;
    font-size: 11px;
}

.student-payment-note {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--student-muted);
    font-size: 11px;
    line-height: 1.45;
}

.student-payment-note strong {
    flex: 0 0 auto;
    min-width: 54px;
    color: var(--student-text);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.student-payment-note span {
    flex: 1 1 auto;
    min-width: 0;
}

.student-payment-note + .student-payment-note {
    margin-top: 6px;
}

.student-payment-policy-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.student-payment-policy-row .student-file-link {
    padding: 4px 8px;
    font-size: 11px;
    border-radius: 999px;
}

.student-payment-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: var(--student-text);
    font-size: 11px;
    line-height: 1.45;
}

.student-payment-consent-row input {
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.student-payment-consent-text {
    flex: 1 1 auto;
    min-width: 0;
}

@media (max-width: 767px) {
    .student-payment-modal .modal-dialog {
        width: calc(100% - 12px);
        margin: 6px auto;
    }

    .student-payment-modal .modal-header,
    .student-payment-modal .modal-body,
    .student-payment-modal .modal-footer {
        padding-left: 10px;
        padding-right: 10px;
    }

    .student-payment-review-block {
        padding: 7px 8px;
    }

    .student-payment-modal .student-table-compact {
        display: table;
        table-layout: fixed;
    }

    .student-payment-modal .student-table-compact thead {
        display: table-header-group;
    }

    .student-payment-modal .student-table-compact tbody {
        display: table-row-group;
    }

    .student-payment-modal .student-table-compact tr {
        display: table-row;
        margin: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .student-payment-modal .student-table-compact td {
        display: table-cell;
        width: auto;
        padding: 6px 5px;
        border-right: 1px solid var(--student-border);
    }

    .student-payment-modal .student-table-compact td::before {
        display: none;
    }

    .student-payment-modal .student-table-compact td:last-child {
        border-right: none;
    }
}

.student-webapp-body .modal-backdrop {
    z-index: 2990;
}

.student-modal {
    z-index: 3000;
}

.student-modal .modal-dialog {
    z-index: 3001;
}

.student-fee-payment-cta,
.student-fee-payment-footer {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.student-fee-payment-footer {
    justify-content: center;
}

.student-pay-selection-summary {
    white-space: nowrap;
}

.student-pay-selection-summary--empty {
    opacity: 0.82;
}

.student-note-box {
    background: #f8fbff;
    border: 1px solid #dbe6f3;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 12px;
    color: var(--student-muted);
    line-height: 1.7;
}

.student-note-box strong {
    color: var(--student-text);
}

.student-alert {
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.65;
    border: 1px solid transparent;
}

.student-alert.info {
    background: var(--student-info-soft);
    color: #1b5da8;
    border-color: rgba(46, 134, 222, 0.18);
}

.student-alert.success {
    background: var(--student-success-soft);
    color: #0f7e54;
    border-color: rgba(23, 166, 115, 0.18);
}

.student-alert.warning {
    background: var(--student-warning-soft);
    color: #9a670e;
    border-color: rgba(240, 164, 58, 0.18);
}

.student-alert.danger {
    background: var(--student-danger-soft);
    color: #a63f3c;
    border-color: rgba(217, 83, 79, 0.18);
}

.student-table-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.student-table-stack .student-kv-row {
    align-items: center;
}

.student-bullet-list {
    margin: 0;
    padding-left: 16px;
}

.student-bullet-list li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.student-compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 10px;
}

.student-subtle-card {
    background: #fff;
    border: 1px solid var(--student-border);
    border-radius: 14px;
    padding: 12px;
}

.student-subtle-card h5 {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--student-text);
}

.student-subtle-card p {
    margin: 0;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.6;
}

.student-note-box--compact {
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.55;
}

.student-compact-card-list {
    display: grid;
    gap: 10px;
}

.student-compact-card {
    border: 1px solid var(--student-border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--student-shadow-soft);
}

.student-compact-card--open {
    border-color: rgba(31, 94, 255, 0.24);
    box-shadow: 0 16px 34px rgba(18, 38, 63, 0.10);
}

.student-compact-card-summary {
    width: 100%;
    appearance: none;
    border: 0;
    background: transparent;
    padding: 12px 12px 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.student-compact-card-summary:focus {
    outline: none;
}

.student-compact-card-summary:focus-visible {
    box-shadow: 0 0 0 3px rgba(31, 94, 255, 0.16);
}

.student-compact-card-main {
    flex: 1 1 auto;
    min-width: 0;
}

.student-compact-card-title {
    color: var(--student-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    word-break: break-word;
}

.student-compact-card-meta {
    margin-top: 4px;
    color: var(--student-muted);
    font-size: 11px;
    line-height: 1.45;
}

.student-compact-card-side {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.student-compact-card-chevron {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(31, 94, 255, 0.08);
    color: var(--student-primary);
    transition: transform 180ms ease, background 180ms ease;
}

.student-compact-card--open .student-compact-card-chevron {
    transform: rotate(180deg);
    background: rgba(31, 94, 255, 0.14);
}

.student-compact-card-body {
    border-top: 1px solid var(--student-border);
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    padding: 10px 12px 12px;
}

.student-compact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.student-compact-info-field {
    border: 1px solid var(--student-border);
    border-radius: 12px;
    background: #fff;
    padding: 8px 10px;
}

.student-compact-info-label {
    color: var(--student-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.student-compact-info-value {
    margin-top: 4px;
    color: var(--student-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    word-break: break-word;
}

.student-compact-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.student-compact-card-actions .student-file-link {
    margin-right: 0;
}

.student-payment-result-card {
    border-radius: 16px;
}

.student-payment-result-card--success {
    background: linear-gradient(180deg, #f8fffb 0%, #ffffff 100%);
    border-color: rgba(23, 166, 115, 0.22);
}

.student-payment-result-card--danger {
    background: linear-gradient(180deg, #fff9f9 0%, #ffffff 100%);
    border-color: rgba(217, 83, 79, 0.22);
}

/* Full-page handoff while a selected fee order is being opened or verified.
   Result Hosting [Mr. Shudhanshu Kumar Pandey] */
.student-payment-gateway-loader {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    background: #fff;
}

.student-payment-gateway-loader.is-visible {
    display: flex;
}

body.student-payment-gateway-loading {
    overflow: hidden;
}

.student-payment-gateway-loader-content {
    width: min(100%, 560px);
    text-align: center;
}

.student-payment-gateway-loader-spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 4px solid rgba(31, 94, 255, 0.14);
    border-top-color: var(--student-primary);
    border-radius: 50%;
    animation: studentSectionLoaderSpin 0.9s linear infinite;
}

.student-payment-gateway-loader-title {
    margin: 0;
    color: var(--student-text);
    font-size: 17px;
    font-weight: 800;
}

.student-payment-gateway-loader-message {
    margin: 6px 0 0;
    color: var(--student-muted);
    font-size: 12px;
    line-height: 1.55;
}

.student-gatepass-inline-card {
    padding: 2px 0 6px;
}

.student-gatepass-photo-band {
    margin-top: 8px;
}

.student-gatepass-photo-band .student-photo-pair {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.student-gatepass-photo-band .student-photo-item {
    width: 100%;
    align-items: stretch;
}

.student-gatepass-photo-band .student-photo-item span {
    text-align: center;
}

.student-gatepass-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.student-locked-input {
    background: #f8fbff;
    border-color: var(--student-border-strong);
    box-shadow: none;
    color: var(--student-text);
    cursor: default;
    font-weight: 600;
}

.student-locked-input:focus {
    border-color: var(--student-border-strong);
    box-shadow: none;
}

.student-gatepass-inline-detail-row td {
    background: #f8fbff;
    padding: 10px;
}

.student-right-align {
    text-align: right;
}

.student-center {
    text-align: center;
}

.student-nowrap {
    white-space: nowrap;
}

.student-small {
    font-size: 12px;
}

.student-tiny {
    font-size: 11px;
}

.student-shadowless {
    box-shadow: none !important;
}

.student-w-100 {
    width: 100%;
}

.student-mt-0 {
    margin-top: 0 !important;
}

.student-mb-0 {
    margin-bottom: 0 !important;
}

.student-p-0 {
    padding: 0 !important;
}

/* Compact portal surface for every injected student section.
   Result Hosting [Mr. Shudhanshu Kumar Pandey] */
.student-section-card > #studentSectionBody {
    min-width: 0;
}

.student-section-card .student-compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 8px;
}

.student-section-card .student-subtle-card,
.student-section-card .student-detail-item,
.student-section-card .student-kv-row,
.student-section-card .student-fee-card-field,
.student-section-card .student-compact-info-field {
    background: #fbfcfe !important;
    border: 1px solid #e1e8f0;
    border-radius: 4px;
    box-shadow: none;
}

.student-section-card .student-payment-result-card--success {
    background: #f5fcf8 !important;
    border-color: rgba(23, 166, 115, 0.24);
}

.student-section-card .student-payment-result-card--danger {
    background: #fff8f8 !important;
    border-color: rgba(217, 83, 79, 0.24);
}

.student-section-card .student-subtle-card[style*="margin-top"] {
    margin-top: 10px !important;
}

.student-section-card .student-subtle-card[style*="margin-bottom"] {
    margin-bottom: 10px !important;
}

.student-section-card .student-subtle-card > h5,
.student-section-card .student-detail-item > h5 {
    margin-top: 0;
}

.student-section-card .student-kv-grid,
.student-section-card .student-detail-list,
.student-section-card .student-compact-info-grid,
.student-section-card .student-fee-card-grid {
    gap: 8px;
}

.student-section-card .student-kv-row {
    padding: 7px 9px;
}

.student-section-card .student-kv-label {
    min-width: 110px;
}

.student-section-card .student-banked-table-wrap,
.student-section-card .student-attendance-calendar-wrap {
    border-color: #dfe7f0;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

.student-section-card .student-table-compact {
    background: #fff;
}

.student-section-card .student-table-compact th,
.student-section-card .student-table-compact td {
    border-color: #e3e9f0;
    padding: 7px 6px;
}

.student-section-card .student-table-compact thead th {
    background: #eef3f8;
    color: #40536a;
    border-bottom: 2px solid #d6e0eb;
}

.student-section-card .student-table-compact tbody tr:nth-child(even) td {
    background: #fbfcfd;
}

.student-section-card .student-table-compact tbody tr:hover td {
    background: #f3f7fb;
}

.student-section-card .student-compact-card-list {
    gap: 8px;
}

.student-section-card .student-compact-card,
.student-section-card .student-fee-card-collapse {
    border-color: #dfe7f0;
    border-radius: 4px;
    box-shadow: none;
}

.student-section-card .student-compact-card--open,
.student-section-card .student-fee-card-collapse--open {
    box-shadow: none;
    border-color: #b9cdeb;
}

.student-section-card .student-compact-card-summary,
.student-section-card .student-fee-card-summary {
    padding: 10px;
}

.student-section-card .student-compact-card-body,
.student-section-card .student-fee-card-body {
    background: #f8fafc !important;
    padding: 9px 10px 10px;
}

.student-section-card .student-fee-card-field,
.student-section-card .student-compact-info-field {
    padding: 7px 9px;
}

.student-section-card .student-empty-state,
.student-section-card .student-loading-surface,
.student-section-card .student-note-box,
.student-section-card .student-alert,
.student-section-card .student-file-link,
.student-section-card .student-form-inline .form-control,
.student-section-card .student-form-inline .btn,
.student-section-card .student-filter-row .form-control {
    border-radius: 4px;
    box-shadow: none;
}

.student-section-card .student-empty-state {
    background: #f8fafc;
    padding: 18px 12px;
}

.student-section-card .student-divider {
    background: #e1e8f0;
    margin: 10px 0;
}

.student-section-card .student-attendance-day-cell,
.student-section-card .student-attendance-mobile-item {
    border-radius: 4px;
    box-shadow: none;
}

.student-section-card .student-attendance-day-cell:hover,
.student-section-card .student-attendance-mobile-item:hover {
    transform: none;
    box-shadow: none;
}

.student-section-card .student-compact-card-chevron,
.student-section-card .student-fee-card-chevron {
    border-radius: 4px;
}

.student-section-card .student-pagination-actions .btn {
    border-radius: 4px;
}

body.student-device-mobile .student-section-card {
    padding: 10px;
    border-top-width: 2px;
}

body.student-device-mobile .student-section-card .student-section-head {
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 8px;
}

body.student-device-mobile .student-section-card .student-section-head > div:first-child {
    width: 100%;
    min-width: 0;
}

body.student-device-mobile .student-section-card .student-section-head h3 {
    font-size: 16px;
}

body.student-device-mobile .student-section-card .student-section-head p {
    margin-top: 4px;
    line-height: 1.45;
}

body.student-device-mobile .student-section-card .student-section-actions {
    width: 100%;
    justify-content: flex-start;
    gap: 5px;
}

body.student-device-mobile .student-section-card .student-section-actions .btn {
    min-height: 30px;
    padding: 5px 8px;
}

body.student-device-mobile .student-section-card .student-compact-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

body.student-device-mobile .student-section-card .student-kv-row {
    gap: 5px;
    padding: 7px 8px;
    flex-wrap: wrap;
}

body.student-device-mobile .student-section-card .student-kv-label {
    min-width: 104px;
    flex: 0 0 104px;
}

body.student-device-mobile .student-section-card .student-table-compact {
    display: block;
    table-layout: auto;
}

body.student-device-mobile .student-section-card .student-table-compact thead {
    display: none;
}

body.student-device-mobile .student-section-card .student-table-compact tbody,
body.student-device-mobile .student-section-card .student-table-compact tr,
body.student-device-mobile .student-section-card .student-table-compact td {
    display: block;
    width: 100%;
}

body.student-device-mobile .student-section-card .student-table-compact tr {
    background: #fff;
    border: 1px solid #dfe7f0;
    border-radius: 4px;
    box-shadow: none;
    margin-bottom: 8px;
    overflow: hidden;
}

body.student-device-mobile .student-section-card .student-table-compact td {
    border-right: 0;
    border-bottom: 1px solid #e8edf2;
    padding: 8px 9px;
}

body.student-device-mobile .student-section-card .student-table-compact td:last-child {
    border-bottom: 0;
}

body.student-device-mobile .student-section-card .student-attendance-calendar {
    width: 100%;
    min-width: 0;
}

body.student-device-mobile .student-section-card .student-fee-card-summary {
    gap: 8px;
    padding: 10px;
}

body.student-device-mobile .student-section-card .student-fee-card-body {
    padding: 8px 10px 10px;
}

body.student-device-mobile .student-section-card .student-compact-card-summary {
    padding: 9px 10px 8px;
}

body.student-device-mobile .student-section-card .student-compact-card-body {
    padding: 8px 10px 9px;
}

@media (max-width: 1199px) {
}

@media (max-width: 991px) {
    .student-sidebar {
        transform: translateX(-100%);
        transition: transform 0.24s ease;
        width: 300px;
    }

    body.student-sidebar-open .student-sidebar {
        transform: translateX(0);
    }

    .student-sidebar-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(31, 94, 255, 0.10);
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease;
        z-index: 1040;
    }

    body.student-sidebar-open .student-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .student-app-main {
        margin-left: 0;
        padding: 14px 12px 24px;
    }

    .student-topbar {
        padding: 12px;
        border-radius: 16px;
    }

    .student-topbar-title h1 {
        font-size: 16px;
    }

    .student-kv-grid,
    .student-detail-list {
        grid-template-columns: 1fr;
    }

    .student-section-head {
        flex-direction: column;
    }

    .student-section-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .student-login-shell {
        padding: 12px 0;
    }

    .student-login-hero {
        min-height: auto;
        border-radius: 20px;
        padding: 20px;
        margin-bottom: 14px;
    }

    .student-login-hero h1 {
        font-size: 30px;
    }

    .student-hero-points {
        grid-template-columns: 1fr;
    }

    .student-login-card .panel-body {
        padding: 16px;
    }

    .student-login-simple-shell {
        padding: 12px 0;
    }

    .student-login-simple-grid {
        grid-template-columns: 1fr;
    }

    .student-login-simple-side {
        border-right: 0;
        border-bottom: 1px solid var(--student-border);
        padding: 18px;
    }

    .student-login-simple-form {
        padding: 18px;
    }

    .student-section-card,
    .student-stat-card,
    .student-detail-card {
        border-radius: 5px;
    }

    .student-stat-card .student-stat-value {
        font-size: 24px;
    }

    .student-table-compact th,
    .student-table-compact td {
        padding: 8px 6px;
        font-size: 11px;
    }

    .student-topbar-meta {
        display: none;
    }
}

@media (max-width: 575px) {
    .student-login-card .panel-heading {
        padding: 14px 16px;
    }

    .student-login-card .panel-title h3 {
        font-size: 20px;
    }

    .student-login-simple-side h2 {
        font-size: 24px;
    }

    .student-login-simple-brand h1 {
        font-size: 22px;
    }

    .student-app-main {
        padding: 10px 10px 22px;
    }

    .student-topbar {
        gap: 10px;
    }

    .student-topbar-brand .student-brand-logo {
        width: 38px;
        height: 38px;
    }

    .student-section-card {
        padding: 10px;
    }

    .student-section-loader {
        min-height: 122px;
        padding: 16px 12px;
        gap: 8px 10px;
    }

    .student-section-loader-mark {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .student-section-loader-copy strong {
        font-size: 12px;
    }

    .student-section-loader-copy > span {
        font-size: 11px;
    }

    .student-teacher-header {
        flex-direction: column;
    }

    .student-photo-pair {
        gap: 6px;
    }

    .student-photo-thumb {
        width: 42px;
        height: 42px;
    }

    .student-photo-thumb--sm {
        width: 30px;
        height: 30px;
    }

    .student-photo-thumb--lg {
        width: 60px;
        height: 60px;
    }

    .student-photo-thumb--gatepass {
        height: 138px;
        min-height: 138px;
        width: 100%;
        padding: 6px;
    }

    .student-gatepass-photo-band .student-photo-pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .student-attendance-calendar {
        min-width: 0;
    }

    .student-attendance-day-cell {
        min-height: 60px;
        padding: 6px 4px;
    }

    .student-pagination {
        align-items: flex-start;
    }

    .student-pagination-actions {
        gap: 4px;
    }

    .student-gatepass-detail-grid {
        grid-template-columns: 1fr;
    }

    .student-fee-card-summary {
        padding: 12px 12px 10px;
    }

    .student-fee-card-summary-side {
        align-items: flex-end;
    }

    .student-fee-card-expand-btn {
        width: 28px;
        height: 28px;
    }

    .student-fee-card-body {
        padding: 12px;
    }

    .student-fee-card-select-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .student-fee-card-select-hint {
        text-align: left;
        max-width: none;
    }

    .student-fee-card-grid {
        grid-template-columns: 1fr;
    }

    .student-fee-payment-cta,
    .student-fee-payment-footer {
        width: 100%;
        justify-content: flex-start;
    }

    .student-compact-card-summary {
        padding: 10px 10px 8px;
        gap: 8px;
    }

    .student-compact-card-body {
        padding: 8px 10px 10px;
    }

    .student-compact-info-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .student-compact-card-actions {
        flex-direction: column;
        align-items: flex-start;
    }

}
