/* ================================================
   Auth Pages - Glassmorphism Design
   ================================================ */

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 0% 0%, #f1f5f9 0%, #e2e8f0 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.auth-wrapper::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.auth-wrapper::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05), transparent 70%);
    bottom: -200px;
    left: -200px;
    border-radius: 50%;
}

.auth-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    animation: authFadeIn 0.5s ease;
}

.auth-card.wide {
    max-width: 640px;
}

@keyframes authFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-brand {
    text-align: center;
    margin-bottom: 32px;
}

.auth-brand .brand-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

.auth-brand h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.auth-brand p {
    color: #64748b;
    font-size: 0.85rem;
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-form .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.auth-form .form-control {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.auth-form .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: #ffffff;
    outline: none;
}

.auth-form .form-control::placeholder {
    color: #94a3b8;
}

.auth-form .btn-auth {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.auth-form .btn-auth:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
}

.auth-form .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-form .form-check-input {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    margin-top: 0;
}

.auth-form .form-check-input:checked {
    background-color: #6366f1;
    border-color: #6366f1;
}

.auth-form .form-check-label {
    font-size: 0.85rem;
    color: #64748b;
}

.auth-links {
    text-align: center;
    margin-top: 24px;
    font-size: 0.85rem;
    color: #64748b;
}

.auth-links a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: #475569;
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(148, 163, 184, 0.15);
}

/* Steps for registration */
.auth-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.auth-step {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(148, 163, 184, 0.2);
}

.auth-step.active {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    width: 48px;
}

.auth-step.completed {
    background: #10b981;
}
