* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

.banner {
    background: linear-gradient(135deg, #162463, #1e3a8a);
    color: #ffffff;
    text-align: center;
    padding: 48px 20px;
}

.banner h1 {
    font-size: 2rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.banner p {
    font-size: 1rem;
    opacity: 0.92;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
    background-color: #ffffff;
}

.navbar a {
    text-decoration: none;
    color: #111827;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar a:hover {
    background-color: #f3f4f6;
}

.navbar a.active {
    background-color: #1d4ed8;
    color: #ffffff;
}

.container {
    max-width: 1000px;
    margin: 28px auto;
    padding: 0 20px;
}

.card {
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #ffffff;
}

.card h2 {
    margin-bottom: 10px;
    color: #162463;
}

.sub-navbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.sub-tab {
    text-decoration: none;
    color: #162463;
    background-color: #f3f4f6;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.sub-tab:hover {
    background-color: #e5e7eb;
}

.sub-tab.active {
    background-color: #162463;
    color: #ffffff;
    border-color: #162463;
}

.daftar-item {
    list-style: none;
    margin-top: 14px;
}

.daftar-item li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    gap: 12px;
}

.daftar-item li a {
    text-decoration: none;
    background-color: #1d4ed8;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.form-cek-nilai {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
    margin-top: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1 1 180px;
}

.input-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #162463;
}

.input-group input {
    padding: 9px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.95rem;
}

.btn-cek {
    background-color: #162463;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.btn-cek:hover {
    background-color: #1d4ed8;
}

.hasil-nilai {
    margin-top: 18px;
}

.info-err {
    color: #b91c1c;
    font-weight: 500;
}

.tabel-nilai {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.tabel-nilai th,
.tabel-nilai td {
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    text-align: left;
}

.tabel-nilai th {
    background-color: #f8fafc;
    width: 45%;
    color: #162463;
}