/*
 * Halaman autentikasi sengaja dipisahkan dari halaman katalog.
 * Warna dan radius mengikuti design system publik di brand.css.
 */
.auth-page { min-height: 100vh; background: #f6f6f3; }
.auth-shell { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr); min-height: 100vh; }
.auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(32px, 6vw, 78px);
    overflow: hidden;
    color: #fff;
    background: #171717;
}
.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background: radial-gradient(circle at 80% 20%, #d97706 0, transparent 34%),
                radial-gradient(circle at 10% 90%, #d97706 0, transparent 27%);
}
.auth-visual > * { position: relative; z-index: 1; }
.auth-logo { color: #fff; font-size: 25px; font-weight: 800; letter-spacing: -.8px; text-decoration: none; }
.auth-logo span, .auth-logo small { color: #d97706; }
.auth-logo small { font-size: inherit; }
.auth-message { max-width: 520px; }
.auth-message p:first-child { margin-bottom: 16px; color: #f59e0b; font-size: 11px; font-weight: 800; letter-spacing: 1.6px; text-transform: uppercase; }
.auth-message h1 { margin: 0 0 20px; font-size: clamp(38px, 5vw, 65px); font-weight: 800; line-height: 1.04; letter-spacing: -2.3px; }
.auth-message p:last-child { max-width: 460px; margin: 0; color: #a8a29e; font-size: 14px; line-height: 1.8; }
.auth-trust { display: flex; flex-wrap: wrap; gap: 18px; color: #a8a29e; font-size: 11px; }
.auth-trust i { margin-right: 6px; color: #d97706; }
.auth-content { display: grid; place-items: center; padding: 40px 24px; }
.auth-card { width: min(100%, 500px); }
.auth-card--wide { width: min(100%, 650px); }
.auth-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 35px; color: #71717a; font-size: 12px; font-weight: 700; text-decoration: none; }
.auth-card h2 { margin: 0; color: #171717; font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.auth-intro { margin: 9px 0 28px; color: #71717a; font-size: 13px; line-height: 1.7; }
.auth-card .alert {
    margin-bottom: 20px;
    padding: 13px 15px;
    color: #171717;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-left: 4px solid #b91c1c;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(24,24,27,.06);
    font-size: 11px;
}
.auth-card .alert-success { border-left-color: #15803d; }
.auth-card .alert-info, .auth-card .alert-primary { border-left-color: #2563eb; }
.auth-form { display: grid; gap: 17px; }
.auth-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.auth-field--full { grid-column: 1 / -1; }
.auth-field label { display: block; margin-bottom: 8px; color: #3f3f46; font-size: 11px; font-weight: 800; }
.auth-field .form-control {
    min-height: 50px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    font-size: 13px;
}
.auth-field textarea.form-control { min-height: 92px; resize: vertical; }
.auth-help { display: block; margin-top: 6px; color: #71717a; font-size: 9px; line-height: 1.5; }
.auth-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.auth-field .form-control:focus { border-color: #d97706; box-shadow: 0 0 0 3px rgba(217,119,6,.12); }
.auth-submit { min-height: 50px; margin-top: 4px; color: #fff; background: #d97706; border: 0; border-radius: 10px; font-size: 13px; font-weight: 800; }
.auth-submit:hover { color: #fff; background: #a85405; }
.auth-switch { margin: 24px 0 0; color: #71717a; font-size: 12px; text-align: center; }
.auth-switch a { color: #a85405; font-weight: 800; text-decoration: none; }
.password-wrap { position: relative; }
.password-wrap .form-control { padding-right: 48px; }
.password-toggle { position: absolute; right: 8px; bottom: 7px; display: grid; width: 36px; height: 36px; place-items: center; color: #71717a; background: transparent; border: 0; }

@media (max-width: 900px) {
    .auth-shell { grid-template-columns: 1fr; }
    .auth-visual { min-height: 300px; padding: 32px 24px; }
    .auth-message h1 { font-size: 38px; letter-spacing: -1.4px; }
    .auth-trust { display: none; }
}
@media (max-width: 560px) {
    .auth-form-grid { grid-template-columns: 1fr; }
    .auth-field--full { grid-column: auto; }
    .auth-content { padding-inline: 18px; }
}
