/* =============================================
   Auth Pages Styles
   ============================================= */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-bg);
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(108,92,231,0.15), transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,210,255,0.08), transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.auth-card {
    width: 100%;
    max-width: 500px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    animation: scaleIn 0.5s ease;
    position: relative;
    z-index: 1;
}

.auth-brand {
    text-align: center;
    margin-bottom: var(--space-md);
}

.auth-brand .auth-logo {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: var(--space-sm);
}

.auth-brand h1 {
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.auth-brand h1 span { color: var(--primary-light); }

.auth-brand .auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 2px;
}

.auth-form .form-group { margin-bottom: var(--space-md); }

.auth-form .form-label { margin-bottom: 4px; font-size: 0.8rem; }

.auth-form .form-input,
.auth-form .form-select {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
}

.auth-form .btn-primary {
    width: 100%;
    padding: 12px;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    margin-top: var(--space-xs);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--primary-light);
    font-weight: 600;
}

.auth-footer a:hover {
    color: var(--primary);
}

.password-toggle {
    position: relative;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

@media (max-width: 480px) {
    .auth-card {
        padding: var(--space-xl);
        border-radius: var(--radius-xl);
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}
