
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../vendor/fonts/inter/inter-latin-wght-normal.woff2') format('woff2-variations'),
         url('../vendor/fonts/inter/inter-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-display: swap;
    font-weight: 100 900;
    src: url('../vendor/fonts/inter/inter-latin-ext-wght-normal.woff2') format('woff2-variations'),
         url('../vendor/fonts/inter/inter-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --dk-primary: #0b4f8a;
    --dk-primary-rgb: 11, 79, 138;
    --dk-primary-dark: #083b68;
    --dk-accent: #f2a900;
    --dk-surface: #f5f7fa;
    --dk-text: #1d2733;
    --dk-muted: #5b6776;

    --bs-primary: var(--dk-primary);
    --bs-primary-rgb: var(--dk-primary-rgb);
    --bs-link-color: var(--dk-primary);
    --bs-link-color-rgb: var(--dk-primary-rgb);
    --bs-link-hover-color: var(--dk-primary-dark);
    --bs-body-color: var(--dk-text);
    --bs-secondary-color: var(--dk-muted);
    --bs-body-font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.6;
    --bs-border-radius: .5rem;
}

.btn-primary {
    --bs-btn-bg: var(--dk-primary);
    --bs-btn-border-color: var(--dk-primary);
    --bs-btn-hover-bg: var(--dk-primary-dark);
    --bs-btn-hover-border-color: var(--dk-primary-dark);
    --bs-btn-active-bg: var(--dk-primary-dark);
    --bs-btn-active-border-color: var(--dk-primary-dark);
    --bs-btn-disabled-bg: var(--dk-primary);
    --bs-btn-disabled-border-color: var(--dk-primary);
}

.btn-outline-primary {
    --bs-btn-color: var(--dk-primary);
    --bs-btn-border-color: var(--dk-primary);
    --bs-btn-hover-bg: var(--dk-primary);
    --bs-btn-hover-border-color: var(--dk-primary);
    --bs-btn-active-bg: var(--dk-primary-dark);
    --bs-btn-active-border-color: var(--dk-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -.01em;
}

:focus-visible {
    outline: 3px solid var(--dk-accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 1080;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.bg-surface { background-color: var(--dk-surface); }
.text-accent { color: var(--dk-accent); }

.container-narrow {
    max-width: 900px;
}
.container-error {
    max-width: 560px;
}

.progress-w-0 { width: 0%; }
.progress-w-5 { width: 5%; }
.progress-w-10 { width: 10%; }
.progress-w-15 { width: 15%; }
.progress-w-20 { width: 20%; }
.progress-w-25 { width: 25%; }
.progress-w-30 { width: 30%; }
.progress-w-35 { width: 35%; }
.progress-w-40 { width: 40%; }
.progress-w-45 { width: 45%; }
.progress-w-50 { width: 50%; }
.progress-w-55 { width: 55%; }
.progress-w-60 { width: 60%; }
.progress-w-65 { width: 65%; }
.progress-w-70 { width: 70%; }
.progress-w-75 { width: 75%; }
.progress-w-80 { width: 80%; }
.progress-w-85 { width: 85%; }
.progress-w-90 { width: 90%; }
.progress-w-95 { width: 95%; }
.progress-w-100 { width: 100%; }
.progress-thin { height: 4px; }
.stat-harian { max-height: 32rem; overflow-y: auto; }

.error-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 85% 10%, rgba(242, 169, 0, .14), transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(var(--dk-primary-rgb), .1), transparent 35%),
        var(--dk-surface);
}
.error-brand {
    padding: 1rem 0;
    color: var(--dk-primary);
}
.error-brand strong {
    font-size: .95rem;
}
.error-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1rem;
    padding-bottom: 2rem;
    max-width: 960px;
}
.error-card {
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 1.5rem 3rem rgba(15, 35, 60, .1);
}
@media (min-width: 768px) {
    .error-card { grid-template-columns: 2fr 3fr; }
}
.error-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .25rem;
    padding: 2.5rem 1.5rem;
    color: #fff;
    background:
        radial-gradient(circle at 80% 15%, rgba(242, 169, 0, .4), transparent 40%),
        linear-gradient(135deg, var(--dk-primary) 0%, var(--dk-primary-dark) 100%);
}
.error-visual-server {
    background:
        radial-gradient(circle at 80% 15%, rgba(255, 255, 255, .18), transparent 40%),
        linear-gradient(135deg, #8a1c2b 0%, #4a0d17 100%);
}
.error-code {
    font-size: clamp(4rem, 12vw, 6.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
}
.error-visual .bi {
    font-size: 2.25rem;
    opacity: .85;
}
.error-body {
    padding: 2rem 1.5rem;
}
@media (min-width: 768px) {
    .error-body { padding: 2.75rem 2.5rem; }
}
.error-label {
    margin-bottom: .5rem;
    color: var(--dk-muted);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.error-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    margin-bottom: .75rem;
}
.error-text {
    color: var(--dk-muted);
    margin-bottom: 0;
}
.error-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem 1rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--bs-border-color-translucent);
}
.error-links a {
    font-size: .9rem;
}
.error-foot {
    margin-top: 1rem;
    text-align: center;
}

.editor-baca {
    height: auto;
    min-height: 8rem;
    max-height: 32rem;
    overflow: auto;
    background-color: var(--bs-secondary-bg);
    line-height: 1.6;
}
.editor-baca > :last-child {
    margin-bottom: 0;
}
.editor-baca img {
    max-width: 100%;
    height: auto;
}
.editor-baca table {
    width: 100%;
    margin-bottom: 1rem;
}

.input-urutan {
    flex: 0 0 auto;
    width: 5.5rem;
}

.pemeliharaan-keluaran {
    max-height: 24rem;
    overflow: auto;
    padding: .75rem 1rem;
    border-radius: .5rem;
    background: #1d2733;
    color: #e9eef5;
    font-size: .8rem;
    white-space: pre-wrap;
    word-break: break-word;
}
