/* Halaman Login — mengikuti bahasa desain dashboard Ujian Online */

.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: linear-gradient(157deg,#7155e8 0%,#5543d0 48%,#2949ca 100%); position: relative; overflow: hidden; }
.auth-page::before, .auth-page::after { content: "✦"; position: absolute; color: rgba(255,255,255,.25); font-size: 22px; }
.auth-page::before { top: 9%; left: 8%; }
.auth-page::after { bottom: 12%; right: 9%; font-size: 15px; }

.auth-card { width: 100%; max-width: 390px; background: rgba(255,255,255,.97); border-radius: 14px; box-shadow: 0 18px 44px rgba(23,20,80,.35); padding: 30px 28px 24px; position: relative; z-index: 1; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 8px; color: #4c3fb0; font-weight: 800; font-size: 17px; letter-spacing: -.4px; margin-bottom: 4px; }
.auth-brand svg { width: 26px; height: 26px; }
.auth-sub { text-align: center; color: #798094; font-size: 11px; margin: 0 0 22px; }

.auth-error { display: flex; gap: 8px; align-items: flex-start; background: #fdecec; color: #b4232a; border: 1px solid #f5c9cb; border-radius: 8px; font-size: 11px; line-height: 1.5; padding: 10px 12px; margin-bottom: 16px; }
.auth-error svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }

.auth-field { margin-bottom: 15px; }
.auth-field label { display: block; font-size: 10px; font-weight: 600; color: #454a60; margin-bottom: 6px; letter-spacing: .02em; }
.auth-input-wrap { position: relative; display: flex; align-items: center; }
.auth-field .field-icon { position: absolute; left: 12px; width: 16px; height: 16px; color: #9aa0b2; pointer-events: none; }
.auth-field input { width: 100%; height: 42px; border: 1.5px solid #e4e6ef; border-radius: 9px; padding: 0 40px 0 38px; font: inherit; font-size: 13px; color: #20243a; background: #fbfbfd; outline: none; transition: border-color .18s, box-shadow .18s; }
.auth-field input:focus { border-color: #6846d8; box-shadow: 0 0 0 3px rgba(104,70,216,.13); background: #fff; }
.auth-toggle-pass { position: absolute; right: 8px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; color: #9aa0b2; cursor: pointer; border-radius: 6px; }
.auth-toggle-pass:hover { color: #5543d0; background: #f1eefc; }
.auth-toggle-pass svg { width: 16px; height: 16px; }

.auth-submit { width: 100%; height: 44px; margin-top: 4px; border: 0; border-radius: 9px; color: #fff; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; background: linear-gradient(110deg,#7656e6,#5543d0 55%,#3f48c4); box-shadow: 0 6px 16px rgba(85,67,208,.35); transition: filter .18s, transform .12s; }
.auth-submit:hover { filter: brightness(1.07); }
.auth-submit:active { transform: translateY(1px); }

.auth-hint { margin: 18px 0 0; text-align: center; font-size: 10px; color: #9298a8; line-height: 1.6; }
.auth-hint b { color: #5560c9; font-weight: 600; }
.auth-footer { margin-top: 20px; padding-top: 14px; border-top: 1px solid #eef0f6; text-align: center; font-size: 9px; color: #a3a8b6; }
.auth-footer .footer-cap { display: inline-block; transform: rotate(-10deg); margin-right: 3px; color: #424eb2; }

@media (max-width: 420px) { .auth-card { padding: 24px 20px 20px; } }
