/* ── Auth Pages (login, register, forgot) ────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.auth-body {
    font-family: 'Poppins', sans-serif;
    background: #12100D;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Wrapper dua kolom */
.auth-wrap {
    display: flex;
    width: 860px;
    max-width: 96vw;
    min-height: 540px;
    background: #1A1714;
    border: 1px solid #D4A84340;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px #00000060;
}

/* Kiri: branding */
.auth-left {
    flex: 1;
    background: linear-gradient(160deg, #1A1714 0%, #2C1810 100%);
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid #D4A84325;
}

.auth-brand-cn {
    font-size: 88px;
    color: #D4A843;
    line-height: 1;
    margin-bottom: 12px;
    text-shadow: 0 0 40px #D4A84350;
}
.auth-brand-name { color: #D4A843; font-size: 20px; font-weight: 700; letter-spacing: 2px; }
.auth-brand-sub  { color: #8B7355; font-size: 11px; letter-spacing: 1.5px; margin: 6px 0 28px; }

.auth-features { display: flex; flex-direction: column; gap: 10px; }
.af-item { color: #A89060; font-size: 13px; }

/* Kanan: form */
.auth-right {
    flex: 1;
    padding: 48px 44px;
    display: flex;
    align-items: center;
}
.auth-form-wrap { width: 100%; }
.auth-form-wrap h2 { color: #FAEBD7; font-size: 23px; font-weight: 700; margin-bottom: 6px; letter-spacing: .3px; }
.auth-sub { color: #C4A97D; font-size: 13px; margin-bottom: 28px; }

/* Form elements */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; color: #C4A97D; font-size: 11px; font-weight: 600;
                    letter-spacing: 1px; text-transform: uppercase; margin-bottom: 7px; }
.hint { color: #A89060; font-weight: 400; text-transform: none; letter-spacing: 0; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 11px 14px;
    background: #12100D; border: 1px solid #D4A84335;
    border-radius: 8px; color: #F5E6C8;
    font-size: 14px; font-family: 'Poppins', sans-serif;
    transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: #D4A843; }

.input-eye { position: relative; }
.input-eye input { padding-right: 42px; }
.eye-btn {
    position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
    background: none; border: none; cursor: pointer; font-size: 16px; opacity: .6;
}

.form-row-between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.check-label { display: flex; align-items: center; gap: 8px; color: #B09878; font-size: 13px; cursor: pointer; }
.link-muted { color: #B09878; font-size: 13px; text-decoration: none; }
.link-muted:hover { color: #D4A843; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center;
       padding: 12px 20px; border-radius: 8px; font-size: 14px; font-weight: 700;
       font-family: 'Poppins', sans-serif; cursor: pointer; text-decoration: none;
       transition: all .2s; border: none; letter-spacing: .5px; }
.btn:hover { opacity: .92; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(212,168,67,.35); }
.btn-gold { background: linear-gradient(135deg, #E8B84B, #C8920F); color: #0E0C09; text-shadow: 0 1px 0 rgba(255,255,255,.15); }
.btn-outline { background: transparent; border: 1px solid #D4A84370; color: #D4A843; }
.btn-full { width: 100%; margin-top: 8px; }

/* Alert */
.alert { padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 18px; }
.alert-error   { background: #3D1515; border: 1px solid #E5393540; color: #EF9A9A; }
.alert-warning { background: #3D2800; border: 1px solid #F57F1740; color: #FFCC80; }
.alert-info    { background: #0D2137; border: 1px solid #1565C040; color: #90CAF9; }
.alert-success { background: #1B2E1B; border: 1px solid #43A04740; color: #A5D6A7; }

/* Divider & alt */
.auth-divider { text-align: center; color: #6A5A42; font-size: 12px; margin: 20px 0; position: relative; }
.auth-divider::before, .auth-divider::after {
    content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: #D4A84320;
}
.auth-divider::before { left: 0; }
.auth-divider::after  { right: 0; }
.auth-alt { text-align: center; color: #B09878; font-size: 13px; }
.auth-alt a { color: #E8B84B; font-weight: 600; text-decoration: none; }

/* Admin login (centered single box) */
body.admin-login { background: #0E0C09; }
.admin-login-wrap {
    display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px;
}
.admin-login-box {
    width: 380px; max-width: 95vw;
    background: #1A1714; border: 1px solid #D4A84340;
    border-radius: 16px; padding: 44px 36px;
    box-shadow: 0 24px 80px #00000070;
}
.admin-brand { text-align: center; margin-bottom: 32px; }
.admin-brand-cn   { font-size: 64px; color: #D4A843; line-height: 1; text-shadow: 0 0 30px #D4A84550; }
.admin-brand-name { color: #D4A843; font-size: 16px; font-weight: 700; letter-spacing: 2px; margin-top: 8px; }
.admin-brand-tag  { color: #8B7355; font-size: 10px; letter-spacing: 2px; margin-top: 4px; }

/* Responsive */
@media (max-width: 640px) {
    .auth-left { display: none; }
    .auth-right { padding: 32px 24px; }
}
