:root {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #1f2933;
    background: #f5f7fb;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

.site-header {
    background: linear-gradient(135deg, #131b4a, #19338f);
    color: white;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo strong {
    display: block;
    font-size: 1.25rem;
}

.logo span {
    font-size: 0.8rem;
    opacity: 0.8;
}

.nav a {
    color: #e2e8f0;
    margin-left: 18px;
    text-decoration: none;
    font-weight: 500;
}

.layout {
    padding: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin-top: 32px;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card.show:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
}

.form-panel {
    background: white;
    padding: 30px;
    border-radius: 16px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
}

.form-row {
    margin-bottom: 14px;
}

.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-row input {
    width: 100%;
    border: 1px solid #cbd5f5;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4f46e5;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-top: 10px;
}

.btn.secondary {
    background: #0f172a;
    color: #e0e7ff;
}

.alert {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fee2e2;
    border: 1px solid #f97316;
    color: #991b1b;
}

.badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e0e7ff;
    color: #3730a3;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.profile-item {
    background: #111827;
    color: white;
    border-radius: 12px;
    padding: 18px;
}

.profile-item strong {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.site-footer {
    text-align: center;
    padding: 28px 20px;
    background: #0f172a;
    color: #dbeafe;
    margin-top: 64px;
}

.toast {
    position: fixed;
    bottom: 26px;
    right: 26px;
    background: #0b0c47;
    color: #eef2ff;
    padding: 14px 20px;
    border-radius: 14px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1200;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}
.hero {
    background: radial-gradient(circle at top right, #eef2ff, #c7d2fe);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.hero h1 {
    font-size: 2.1rem;
    margin-bottom: 12px;
}

.hero-stats {
    display: flex;
    gap: 12px;
}

.stat-card {
    background: white;
    border-radius: 14px;
    padding: 14px 18px;
    min-width: 120px;
    text-align: center;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat-card strong {
    display: block;
    font-size: 1.6rem;
    margin: 4px 0;
}

.module-highlights {
    margin-top: 40px;
}

.module-highlights h2 {
    margin-bottom: 12px;
}

.feature-pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pill {
    background: #111827;
    color: #f8fafc;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.news-item {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.news-item h3 {
    margin: 8px 0;
}

.muted {
    color: #475569;
}

.feature-card {
    background: #0f172a;
    color: #e0e7ff;
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 24px;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

.feature-card li::before {
    content: '•';
    color: #38bdf8;
    margin-right: 6px;
}

.admin-panel {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(280px, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.admin-form {
    background: white;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-radius: 20px;
    padding: 32px;
}

.admin-actions {
    background: #0f172a;
    color: #e0e7ff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.admin-actions ul {
    margin-top: 12px;
    margin-bottom: 0;
    padding-left: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.success {
    padding: 12px 16px;
    border-radius: 10px;
    background: #dcfce7;
    border: 1px solid #22c55e;
    color: #166534;
    margin-bottom: 12px;
}

.profile-grid {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }

    .hero-stats {
        justify-content: space-between;
    }

    .admin-panel {
        grid-template-columns: 1fr;
    }
}
.module-hub {
    margin-top: 40px;
    padding: 40px;
    background: #0f172a;
    border-radius: 28px;
    color: #f8fafc;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.4);
}

.module-hub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.module-hub-header h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.module-hub-kpi {
    display: flex;
    gap: 18px;
}

.module-hub-kpi div {
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    text-align: center;
}

.module-hub-kpi strong {
    display: block;
    font-size: 1.8rem;
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.module-grid .card {
    background: rgba(255, 255, 255, 0.08);
    color: #e0e7ff;
    min-height: 180px;
}

.module-grid .muted {
    opacity: 0.7;
    margin-top: 12px;
}

.module-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.role-card {
    background: #1f2933;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.role-card h3 {
    margin-bottom: 10px;
}

.role-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 1.6;
}

.role-card li::before {
    content: '→';
    margin-right: 6px;
    color: #38bdf8;
}

.module-updates {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.recent-column {
    background: white;
    padding: 22px;
    border-radius: 18px;
}

.recent-column h2 {
    margin-top: 0;
}

.update-card {
    border: 1px solid #e2e8f0;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 12px;
}

.update-card h3 {
    margin: 0;
    font-size: 1rem;
}

.update-card p {
    margin: 4px 0 0;
    color: #475569;
}

@media (max-width: 768px) {
    .module-hub {
        padding: 28px;
    }

    .module-hub-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
.admin-console {
    margin-top: 40px;
    border-radius: 28px;
    padding: 40px;
    background: linear-gradient(145deg, #111827, #1e293b);
    color: #e2e8f0;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.55);
}

.admin-console-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
}

.kpi-row {
    display: flex;
    gap: 16px;
}

.kpi-row div {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
}

.admin-console-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.module-panel {
    background: rgba(255, 255, 255, 0.04);
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 25px rgba(15, 23, 42, 0.4);
}

.module-panel h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.module-form {
    background: rgba(15, 23, 42, 0.55);
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.module-form h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1rem;
}

.module-form .form-row {
    margin-bottom: 10px;
}

.module-form .form-row input,
.module-form .form-row select {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: white;
    width: 100%;
}

.records-panel {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.records-panel div {
    background: #1e293b;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.records-panel ul {
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.records-panel li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 0;
}

.records-panel li:last-child {
    border-bottom: none;
}

.reports-hero {
    margin-top: 40px;
    padding: 32px;
    background: white;
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.2);
}

.reports-hero h1 {
    margin-bottom: 10px;
}

.reports-meta {
    display: flex;
    gap: 18px;
}

.reports-meta div {
    padding: 14px 18px;
    background: #0f172a;
    border-radius: 14px;
    color: #e0e7ff;
    text-align: center;
}

.reports-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.report-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.15);
}

.report-card h2 {
    margin-top: 0;
}

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

.transcript-table {
    margin-top: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.transcript-row {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}

.transcript-row.header {
    background: #0f172a;
    color: white;
    font-weight: 600;
}

.transcript-row:last-child {
    border-bottom: none;
}

.reports-summary {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.reports-summary div {
    background: #111827;
    color: #e0f2fe;
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.reports-summary ul {
    margin: 0;
    padding-left: 18px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .admin-console {
        padding: 28px;
    }

    .admin-console-top {
        flex-direction: column;
        align-items: flex-start;
    }
}

.timetable-hero {
    margin-top: 40px;
    background: linear-gradient(135deg, #eef2ff, #c7d2fe);
    border-radius: 24px;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.15);
}

.timetable-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.timetable-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.15);
}

.timetable-card h3 {
    margin-top: 0;
}

.slot-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.slot-row:last-child {
    border-bottom: none;
}

.slot-row span {
    font-weight: 600;
}

.class-manager-hero {
    margin-top: 40px;
    padding: 28px;
    background: #f8fafc;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.class-manager-stats {
    display: flex;
    gap: 18px;
}

.class-manager-stats div {
    text-align: center;
}

.class-manager-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.class-manager-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.broadsheet {
    margin-top: 12px;
}

.broadsheet-row {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.broadsheet-row:last-child {
    border-bottom: none;
}

.class-manager-nominal {
    margin-top: 32px;
    background: #111827;
    color: #e0f2fe;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.22);
}

.nominal-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
}

.nominal-grid div {
    background: rgba(255, 255, 255, 0.08);
    padding: 14px 20px;
    border-radius: 12px;
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.nominal-row {
    display: flex;
    justify-content: space-between;
}

.broadsheet-hero {
    margin-top: 40px;
    padding: 28px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.broadsheet-stats {
    display: flex;
    gap: 18px;
}

.broadsheet-filter {
    margin-top: 28px;
    background: white;
    padding: 22px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.broadsheet-table {
    margin-top: 26px;
}

.table-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media print {
    body {
        background: white;
    }
    .site-header, .site-footer, .btn, .nav {
        display: none;
    }
    .broadsheet-row, .library-row, .billing-row {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
}

.broadsheet-row {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    display: flex;
    justify-content: space-between;
}
.class-subject-hero {
    margin-top: 40px;
    padding: 28px;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.12);
}

.class-subject-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.assignment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.assignment-row {
    background: #0f172a;
    color: #e0e7ff;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.library-hero {
    margin-top: 40px;
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #e0f2fe;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
}

.library-stats {
    display: flex;
    gap: 18px;
}

.library-stats div {
    text-align: center;
}

.library-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.library-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.15);
}

.library-card table {
    width: 100%;
    border-collapse: collapse;
}

.library-card th,
.library-card td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.library-card th {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
}

.library-card ul {
    padding-left: 18px;
    line-height: 1.7;
}

.library-actions {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.library-history {
    margin-top: 32px;
}

.library-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.library-row {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
    display: flex;
    justify-content: space-between;
}

.resource-hero {
    margin-top: 40px;
    padding: 28px;
    background: #111827;
    color: #e0f2fe;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.25);
}
.resource-list {
    margin-top: 32px;
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.resource-list ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    line-height: 1.6;
}

.resource-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 0;
}

.resource-list li:last-child {
    border-bottom: none;
}

.resource-history {
    margin-top: 28px;
}

.resource-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-row {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.15);
    display: flex;
    justify-content: space-between;
}

.invoice-hero {
    margin-top: 40px;
    padding: 28px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.15);
}

.invoice-form {
    margin-top: 24px;
    background: white;
    padding: 24px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.configuration-hero {
    margin-top: 40px;
    padding: 32px;
    background: #0f172a;
    color: #e0e7ff;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.35);
}

.configuration-stats {
    display: flex;
    gap: 14px;
}

.configuration-stats div {
    background: rgba(255, 255, 255, 0.08);
    padding: 12px 18px;
    border-radius: 12px;
    text-align: center;
}

.configuration-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.configuration-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.15);
}

.configuration-card h2 {
    margin-top: 0;
}

.config-list {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    line-height: 1.6;
}

.account-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.account-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.account-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.alerts {
    margin-top: 18px;
}

.sporthouse-hero {
    margin-top: 40px;
    padding: 28px;
    background: #111827;
    color: #e0e7ff;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.25);
}

.sporthouse-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.sporthouse-form {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.sporthouse-list {
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.sporthouse-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sporthouse-list li {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.sporthouse-list li:last-child {
    border-bottom: none;
}

.billing-hero {
    margin-top: 40px;
    padding: 28px;
    background: linear-gradient(135deg, #ecfeff, #bae6fd);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.billing-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.billing-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.billing-list {
    margin-top: 32px;
}

.billing-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.billing-row {
    background: white;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cbt-hero {
    margin-top: 40px;
    padding: 28px;
    background: linear-gradient(135deg, #fef9c3, #fde68a);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 22px 45px rgba(15, 23, 42, 0.15);
}

.cbt-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.cbt-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.cbt-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cbt-row {
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.cbt-row:last-child {
    border-bottom: none;
}

.cbt-row textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    padding: 12px;
    font-family: inherit;
    margin-top: 8px;
}

.activity-hero {
    margin-top: 40px;
    padding: 28px;
    background: #0f172a;
    color: #e0f2fe;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.3);
}

.activity-list {
    margin-top: 30px;
    display: grid;
    gap: 16px;
}

.activity-card {
    background: white;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.activity-card small {
    color: #475569;
}

.news-hero {
    margin-top: 40px;
    padding: 32px;
    background: #f8fafc;
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

.news-form {
    margin-top: 32px;
    background: white;
    padding: 24px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.15);
}

.news-form textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    padding: 12px;
    font-family: inherit;
}

.news-list {
    margin-top: 32px;
    display: grid;
    gap: 18px;
}

.news-card {
    background: white;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.12);
}

.news-card h3 {
    margin-bottom: 8px;
}
.cbt-row textarea {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    padding: 12px;
    font-family: inherit;
    margin-top: 8px;
}

.id-hero {
    margin-top: 40px;
    padding: 28px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.2);
}

.id-card {
    margin-top: 26px;
    background: white;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.18);
}

.id-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.id-badge {
    padding: 10px 18px;
    background: #0f172a;
    color: #e0f2fe;
    border-radius: 999px;
    font-weight: 600;
}

.id-body {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.id-body div {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.id-body span {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #6b7280;
}

.id-foot {
    margin-top: 18px;
    color: #475569;
    font-size: 0.9rem;
}

.student-picker {
    margin-top: 30px;
    background: white;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.student-picker label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.picker-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.picker-row select {
    flex: 1;
    min-width: 220px;
    border-radius: 12px;
    padding: 10px 14px;
    border: 1px solid #cbd5f5;
}

.student-extra {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.school-tag,
.school-contact {
    background: #0f172a;
    color: #e0f2fe;
    padding: 16px;
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.school-tag span {
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    opacity: 0.8;
}

.school-contact p {
    margin: 4px 0;
    font-size: 0.9rem;
}

.card-insights {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.card-insights ul {
    list-style: none;
    padding-left: 18px;
    line-height: 1.8;
}

.card-insights ul li::before {
    content: '•';
    color: #38bdf8;
    margin-right: 6px;
}

.id-cta {
    background: #111827;
    color: #e0f2fe;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.3);
}

.id-cta button {
    margin-top: 12px;
}

.hub-hero {
    margin-top: 40px;
    padding: 32px;
    background: linear-gradient(135deg, #eef2ff, #dbeafe);
    border-radius: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
}

.hub-hero h1 {
    margin: 0 0 12px;
    font-size: 2.3rem;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hub-section {
    margin-top: 32px;
    background: white;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.12);
}

.hub-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    padding-bottom: 16px;
}

.hub-section-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.hub-section-header p {
    margin: 4px 0 0;
    color: #475569;
}

.hub-links {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.hub-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #0f172a;
    color: #e0f2fe;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.25);
}

.hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.35);
}

.hub-card h3 {
    margin: 0;
    font-size: 1.1rem;
}

.hub-card p {
    margin: 6px 0 0;
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.95rem;
}

.hub-card span {
    font-size: 1.25rem;
    opacity: 0.6;
}

.hub-section .badge {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.link-hero {
    margin: 32px auto;
    padding: 32px;
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #1d4ed8, #0f172a);
    border-radius: 30px;
    color: white;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
}

.link-hero h1 {
    margin-top: 6px;
    font-size: 2.3rem;
}

.link-hero-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 18px;
    font-size: 1rem;
    line-height: 1.6;
}

.link-hero .btn {
    margin-top: 12px;
    background: #f9fafb;
    color: #0f172a;
    padding: 12px 22px;
}

.link-hero .muted {
    color: rgba(236, 239, 241, 0.8);
    margin-top: 12px;
}

@media (max-width: 768px) {
    .hub-hero {
        flex-direction: column;
        align-items: flex-start;
    }

    .hub-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .hub-card span {
        align-self: flex-end;
    }
}
