/* Halaman auth: terpusat, kartu sederhana. Mewarisi variabel dari style.css */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.auth-card {
    position: relative;
    background: linear-gradient(180deg, var(--surface) 0%, #0f120e 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px 32px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7),
                0 0 0 1px rgba(198, 242, 78, 0.04);
}
/* Garis aksen tipis di tepi atas kartu */
.auth-card::before {
    content: "";
    position: absolute;
    top: 0; left: 24px; right: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.7;
}
.auth-logo {
    font-weight: 800;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    text-align: center;
    margin-bottom: 6px;
}
.auth-logo span { color: var(--accent); }
.auth-sub {
    text-align: center;
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 28px;
}
.auth-field { margin-bottom: 18px; }
.auth-field label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: var(--text-faint);
    margin-bottom: 7px;
}

/* Input auth: lebih tinggi, jelas, dengan ikon kiri & focus glow lime */
.auth-field input {
    width: 100%;
    height: 46px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 14px 0 42px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 14px;
    background-repeat: no-repeat;
    background-position: 14px center;
    background-size: 18px;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.auth-field input::placeholder { color: var(--text-faint); }
.auth-field input:focus {
    outline: none;
    border-color: var(--accent);
    background-color: #1f241c;
    box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.15);
}
.ic-user  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 4-6 8-6s8 2 8 6'/%3E%3C/svg%3E"); }
.ic-email { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E"); }
.ic-lock  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }

.auth-btn {
    width: 100%;
    background: var(--accent);
    color: #0a0c0a;
    border: none;
    border-radius: 10px;
    padding: 13px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    margin-top: 8px;
    transition: transform 0.12s, box-shadow 0.12s, opacity 0.12s;
}
.auth-btn:hover {
    box-shadow: 0 8px 24px -8px rgba(198, 242, 78, 0.5);
    transform: translateY(-1px);
}
.auth-btn:active { transform: translateY(0); }
.auth-link {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-dim);
}
.auth-link a { color: var(--accent); text-decoration: none; font-weight: 600; }
.auth-link a:hover { text-decoration: underline; }
.auth-msg {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 16px;
}
.auth-msg.error { background: var(--bear-dim); color: var(--bear); }
.auth-msg.success { background: var(--bull-dim); color: var(--bull); }

.expired-icon {
    font-size: 40px;
    text-align: center;
    margin-bottom: 12px;
}
.info-box {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px;
    font-size: 13px;
    color: var(--text-dim);
    margin: 16px 0;
    line-height: 1.6;
}
