* {
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: #f6f8fb;
    color: #2a2a2a;
}
a {
    color: inherit;
    text-decoration: none;
}
.site-nav {
    width: min(1180px, calc(100% - 32px));
    margin: 18px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 800;
    font-size: 22px;
}
.brand strong,
.brand small {
    display: block;
}
.brand strong {
    color: #10201d;
}
.brand small {
    color: #667085;
    margin-top: 2px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #344054;
    font-size: 14px;
}
.nav-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    font-weight: 700;
}
.nav-button,
.primary-button {
    background: #0f766e;
    color: #ffffff;
}
.nav-button {
    padding: 0 18px;
}
.primary-button,
.secondary-button {
    padding: 0 22px;
}
.secondary-button {
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #ffffff;
}
.home-page main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}
.hero {
    position: relative;
    min-height: 540px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: end;
    gap: 32px;
    padding: 64px;
    overflow: hidden;
    border-radius: 8px;
    color: #ffffff;
    isolation: isolate;
}
.hero::before,
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}
.hero::before {
    background: url("assets/hero-sman3-jakarta.png") center / cover no-repeat;
}
.hero::after {
    z-index: -1;
    background: rgba(7, 24, 30, 0.62);
}
.hero-copy {
    max-width: 680px;
}
.eyebrow,
.section-heading span {
    color: #5eead4;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 13px;
}
.hero h1 {
    margin: 12px 0 16px;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 0.96;
    letter-spacing: 0;
}
.hero p {
    max-width: 620px;
    margin: 0;
    color: #e7f5f2;
    font-size: 18px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.hero-panel {
    display: grid;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    background: rgba(8, 31, 36, 0.72);
}
.hero-panel div,
.schedule-list div {
    display: grid;
    gap: 5px;
}
.hero-panel span {
    color: #b8d8d2;
    font-size: 13px;
}
.hero-panel strong {
    color: #ffffff;
    font-size: 18px;
}
.quick-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.quick-info article {
    min-height: 180px;
    padding: 22px;
    border: 1px solid #d9e4e2;
    border-radius: 8px;
    background: #ffffff;
}
.quick-info span {
    color: #0f766e;
    font-weight: 800;
}
.quick-info h2 {
    margin: 18px 0 8px;
    font-size: 20px;
}
.quick-info p,
.timeline p,
.requirement-list,
.site-footer {
    color: #667085;
    line-height: 1.65;
}
.content-section {
    padding: 46px 0;
    border-top: 1px solid #dce6e4;
}
.section-heading h2 {
    margin: 8px 0 0;
    font-size: 34px;
    color: #10201d;
}
.timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.timeline div {
    padding: 20px;
    border-left: 4px solid #0f766e;
    background: #ffffff;
    border-radius: 0 8px 8px 0;
}
.timeline strong,
.schedule-list strong {
    color: #10201d;
}
.split-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 32px;
    align-items: start;
}
.schedule-list {
    display: grid;
    gap: 14px;
}
.schedule-list div {
    padding: 18px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #d9e4e2;
}
.schedule-list span {
    color: #0f766e;
    font-weight: 700;
}
.requirement-list {
    margin: 0;
    padding-left: 20px;
}
.requirement-list li + li {
    margin-top: 10px;
}
.site-footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 30px 0 42px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #dce6e4;
}
.site-footer p {
    margin: 0;
}
.site-footer a,
.back-link {
    color: #0f766e;
    font-weight: 700;
}
.container {
    width: min(1100px, calc(100% - 32px));
    margin: 32px auto;
    padding: 32px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(19, 48, 89, 0.08);
}
header {
    margin-bottom: 24px;
}
.form-header {
    display: grid;
    gap: 8px;
}
header h1 {
    margin: 0 0 8px;
    font-size: 28px;
}
header p {
    margin: 0;
    color: #5a5f6b;
}
form {
    display: grid;
    gap: 24px;
}
.section {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    background: #fbfcfe;
}
.section h2 {
    margin-top: 0;
    font-size: 18px;
    color: #0f172a;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.field {
    display: flex;
    flex-direction: column;
}
.field label {
    font-size: 14px;
    margin-bottom: 6px;
    color: #334155;
}
.field input,
.field select,
.field textarea {
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: #ffffff;
    font-size: 14px;
    color: #0f172a;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.12);
}
.field small {
    color: #64748b;
    margin-top: 4px;
}
button[type='submit'] {
    border: none;
    padding: 14px 22px;
    border-radius: 12px;
    background: #2563eb;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease;
}
button[type='submit']:hover {
    background: #1d4ed8;
}
.alert {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}
.alert.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.alert.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.auth-layout {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 32px 16px;
}
.auth-card {
    width: min(460px, 100%);
    padding: 32px;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(19, 48, 89, 0.08);
}
.auth-card h1 {
    margin: 18px 0 8px;
    color: #10201d;
}
.auth-card p {
    margin: 0 0 22px;
    color: #667085;
    line-height: 1.6;
}
.login-note {
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: #f0fdfa;
    color: #31524e;
    font-size: 14px;
    line-height: 1.6;
}
.login-note a {
    color: #0f766e;
    font-weight: 700;
}
.dashboard-page {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
    background: #eef4f3;
}
.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px;
    background: #ffffff;
    border-right: 1px solid #d9e4e2;
}
.sidebar .brand {
    margin-bottom: 34px;
}
.sidebar nav {
    display: grid;
    gap: 8px;
}
.sidebar nav a {
    padding: 12px 14px;
    border-radius: 8px;
    color: #475467;
    font-weight: 700;
}
.sidebar nav a.active,
.sidebar nav a:hover {
    background: #e6fffb;
    color: #0f766e;
}
.dashboard-main {
    padding: 32px;
    overflow-x: hidden;
}
.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}
.dashboard-header h1 {
    margin: 8px 0;
    color: #10201d;
    font-size: 32px;
}
.dashboard-header p {
    margin: 0;
    color: #667085;
}
.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.stat-grid,
.student-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}
.stat-grid article,
.student-summary article,
.data-panel {
    border: 1px solid #d9e4e2;
    border-radius: 8px;
    background: #ffffff;
}
.stat-grid article,
.student-summary article {
    padding: 20px;
    display: grid;
    gap: 8px;
}
.stat-grid span,
.student-summary span,
.detail-grid span {
    color: #667085;
    font-size: 13px;
}
.stat-grid strong,
.student-summary strong {
    color: #10201d;
    font-size: 28px;
}
.data-panel {
    margin-top: 22px;
    overflow: hidden;
}
.settings-form {
    padding: 22px;
}
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.settings-grid .wide-detail {
    grid-column: 1 / -1;
}
.settings-toggles {
    margin: 18px 0 20px;
    display: grid;
    gap: 10px;
    color: #344054;
}
.settings-toggles label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}
.panel-heading {
    padding: 22px;
    border-bottom: 1px solid #e6eeee;
}
.panel-heading h2 {
    margin: 0 0 6px;
    color: #10201d;
}
.panel-heading p {
    margin: 0;
    color: #667085;
}
.tab-links {
    display: flex;
    gap: 10px;
}
.tab-links a {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: #475467;
}
.tab-links a.active {
    background: #e6fffb;
    border-color: #0f766e;
    color: #0f766e;
}
.table-wrap {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}
th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid #edf2f1;
    text-align: left;
    vertical-align: top;
}
th {
    color: #475467;
    font-size: 13px;
    background: #f8fbfb;
}
td {
    color: #10201d;
}
td small {
    display: block;
    margin-top: 4px;
    color: #667085;
}
.table-input {
    width: 100%;
    min-height: 36px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
    margin-bottom: 6px;
}
.empty-state {
    text-align: center;
    color: #667085;
}
.badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}
.success-badge {
    background: #dcfce7;
    color: #166534;
}
.warning-badge {
    background: #fef3c7;
    color: #92400e;
}
.inline-form {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
}
.inline-form select {
    min-height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
}
.inline-form button {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
}
.action-links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 6px;
}
.action-links form {
    margin: 0;
}
.table-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    min-height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid #0f766e;
    background: #ffffff;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.action-links .table-action-button,
.inline-form .table-action-button,
button.table-action-button {
    background: #ffffff;
    color: #0f766e;
    border: 1px solid #0f766e;
    font-size: 13px;
    min-height: 34px;
    border-radius: 8px;
    padding: 0 10px;
}
.table-action-button:hover {
    background: #ecfdf9;
}
.danger-button {
    border-color: #b42318;
    color: #b42318;
}
.danger-button:hover {
    background: #fee4e2;
}
.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #e6eeee;
}
.detail-grid div {
    display: grid;
    gap: 6px;
    padding: 18px;
    background: #ffffff;
}
.detail-grid strong {
    color: #10201d;
    line-height: 1.5;
}
.wide-detail {
    grid-column: 1 / -1;
}
@media (max-width: 900px) {
    .site-nav,
    .nav-links,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }
    .nav-links {
        width: 100%;
        gap: 12px;
    }
    .hero,
    .split-section {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 640px;
        padding: 32px 22px;
    }
    .quick-info,
    .timeline,
    .stat-grid,
    .student-summary,
    .detail-grid,
    .settings-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-page {
        grid-template-columns: 1fr;
    }
    .sidebar {
        position: static;
        height: auto;
        border-right: 0;
        border-bottom: 1px solid #d9e4e2;
    }
    .dashboard-main {
        padding: 22px 16px;
    }
    .dashboard-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .dashboard-header-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .wide-detail {
        grid-column: auto;
    }
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
}
