/* ============================================
   AUTH PAGES — Login & PIN Verification
   ============================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #064E3B 0%, #0D9F6E 50%, #065F46 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.auth-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    border-radius: 50%;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,0.97);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    position: relative;
    z-index: 1;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(10px);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
}

.auth-logo-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(13,159,110,0.3);
}

.auth-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
}

.auth-logo-text span {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.7rem;
    display: block;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-title {
    text-align: center;
    margin-bottom: 6px;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 28px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-form .form-input {
    padding: 13px 14px 13px 42px;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
}

.auth-form .btn-primary {
    padding: 13px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    margin-top: 4px;
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.auth-footer a {
    font-weight: 600;
}

/* PIN Input */
.pin-container {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin: 24px 0;
}

.pin-input {
    width: 56px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-input);
    color: var(--text-primary);
    transition: all var(--transition-fast);
    -webkit-text-security: disc;
}

.pin-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,159,110,0.15);
    background: white;
}

.pin-input.filled {
    border-color: var(--primary);
    background: var(--primary-ghost);
}

/* Password toggle */
.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
}

.password-toggle:hover {
    color: var(--text-primary);
}
