:root {
    --navy: #1b3a7a;
    --navy-dark: #0f2355;
    --orange: #e2521e;
    --orange-dk: #bf3f0e;
    --green: #2e8b45;
    --green-dk: #1f6830;
    --white: #ffffff;
    --light-bg: #f0f4ff;
    --text-dark: #0f2355;
    --text-muted: #6b7a99;
    --border: #dce4f5;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ───────── SPLIT LAYOUT ───────── */
.page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ───────── LEFT PANEL ───────── */
.left {
    background: var(--navy-dark);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* ← tambah ini */
    padding: 56px 52px;
}

/* Blob dekoratif */
.blob-orange {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(226, 82, 30, .20) 0%, transparent 65%);
    border-radius: 50%;
    top: -120px;
    right: -100px;
    pointer-events: none;
}

.blob-green {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(46, 139, 69, .16) 0%, transparent 65%);
    border-radius: 50%;
    bottom: -80px;
    left: -60px;
    pointer-events: none;
}

.dots-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

/* Garis vertikal tiga warna */
.stripe {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--orange) 0%, var(--green) 100%);
}

.left-inner {
    position: relative;
    z-index: 1;
    text-align: center; /* ← tambah ini */
}

/* Logo SVG inline */
.logo-wrap {
    width: 84px;
    height: 84px;
    background: #ffffff;
    border: none;
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px; /* ← ubah margin-bottom jadi margin: 0 auto 32px */
    overflow: hidden;
    padding: 10px;
}

.logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    display: block;
}

/* ───────── LEFT PANEL TEXT ───────── */
.org-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: #e2521e;
    line-height: 1.2;
    letter-spacing: -.4px;
    margin-bottom: 14px;
}

.org-name .highlight {
    color: #4dc76a;
}

.left-tag {
    font-size: 14px;
    font-weight: 700;
    color: #4dc76a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 0;
}

.left-divider {
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, #e2521e, #2e8b45);
    border-radius: 4px;
    margin: 0 auto 14px; /* ← ubah margin ini */
}

/* Stat cards */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    overflow: hidden;
}

.stat-cell {
    text-align: center;
    padding: 14px 4px;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.stat-cell:last-child {
    border-right: none;
}

.stat-n {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}

.stat-cell:nth-child(1) .stat-n {
    color: var(--orange);
}

.stat-cell:nth-child(3) .stat-n {
    color: #4dc76a;
}

.stat-l {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .32);
    margin-top: 5px;
}

/* ───────── RIGHT PANEL ───────── */
.right {
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 40px;
}

.form-box {
    width: 100%;
    max-width: 400px;
    animation: fadeIn .5s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kartu putih */
.card-wrap {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 8px 40px rgba(15, 35, 85, .10);
    border: 1px solid var(--border);
}

/* Header form */
.form-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 6px;
}

.form-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.form-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.title-bar {
    height: 3px;
    width: 42px;
    background: linear-gradient(to right, var(--orange), var(--green));
    border-radius: 4px;
    margin-bottom: 28px;
}

/* Alert */
.alert-err {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff3ee;
    border: 1px solid #f7c4ae;
    border-radius: 10px;
    color: #c0400d;
    font-size: 13px;
    padding: 11px 14px;
    margin-bottom: 20px;
}

/* Label */
.form-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 7px;
}

/* Input group */
.input-group-text {
    background: var(--light-bg);
    border: 1.5px solid var(--border);
    border-right: none;
    color: #9baac8;
    border-radius: 10px 0 0 10px;
    padding: 0 14px;
}

.form-control {
    background: var(--light-bg);
    border: 1.5px solid var(--border);
    border-left: none;
    border-radius: 0 10px 10px 0;
    color: var(--text-dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    padding: 12px 14px;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.form-control::placeholder {
    color: #b0bcd4;
}

.form-control:focus {
    outline: none;
    background: var(--white);
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(27, 58, 122, .10);
    color: var(--text-dark);
}

/* Sync border kiri saat focus */
.input-group:focus-within .input-group-text {
    border-color: var(--navy);
    background: var(--white);
    color: var(--navy);
}

/* Eye button */
.btn-eye {
    background: var(--light-bg);
    border: 1.5px solid var(--border);
    border-left: none;
    border-radius: 0 10px 10px 0 !important;
    color: #9baac8;
    padding: 0 14px;
    transition: color .2s, background .2s;
    cursor: pointer;
}

.btn-eye:hover {
    background: var(--white);
    color: var(--navy);
}

.input-group:focus-within .btn-eye {
    border-color: var(--navy);
}

/* Submit */
.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .4px;
    box-shadow: 0 4px 18px rgba(226, 82, 30, .30);
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 26px rgba(226, 82, 30, .44);
    color: var(--white);
}

.btn-login:active {
    transform: translateY(0);
}

/* Pill badge bawah */
.badge-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.badge-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
}

.pill-navy {
    background: rgba(27, 58, 122, .08);
    color: var(--navy);
}

.pill-orange {
    background: rgba(226, 82, 30, .09);
    color: var(--orange-dk);
}

.pill-green {
    background: rgba(46, 139, 69, .09);
    color: var(--green-dk);
}

/* Footer */
.form-footer {
    text-align: center;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .page {
        grid-template-columns: 1fr;
    }
    .left {
        display: none;
    }
    .right {
        padding: 32px 20px;
    }
}
/* Lupa Password */
.forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(27, 58, 122, .07);
    border: 1px solid rgba(27, 58, 122, .15);
    letter-spacing: .2px;
    transition: background .2s, border-color .2s;
}

.forgot-link::before {
    content: "\ed71"; /* icon ti-help-circle */
    font-family: 'tabler-icons';
    font-size: 14px;
}

.forgot-link:hover {
    background: rgba(27, 58, 122, .13);
    border-color: rgba(27, 58, 122, .28);
    color: var(--navy);
    text-decoration: none;
}