/* ============================================
   IAS AutoEmail — Auth Pages Styles
   ============================================ */

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

.auth-page::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.auth-page::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 2;
    animation: scaleIn 0.5s ease;
}

.auth-container.wide {
    max-width: 600px;
}

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

.auth-logo a {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--text-primary);
}

.auth-logo-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-10);
    box-shadow: var(--shadow-xl);
}

.auth-title {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-2);
}

.auth-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-8);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin: var(--space-6) 0;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

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

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

/* Multi-step form */
.step-indicators {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-bottom: var(--space-8);
}

.step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    transition: all var(--transition-base);
}

.step-dot.active {
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    width: 30px;
    border-radius: var(--radius-full);
}

.step-dot.completed {
    background: var(--success);
}

.form-step {
    display: none;
    animation: fadeInUp 0.3s ease;
}

.form-step.active {
    display: block;
}

/* Plan selection in signup */
.plan-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.plan-option {
    padding: var(--space-4);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-fast);
}

.plan-option:hover,
.plan-option.selected {
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.plan-option.selected {
    box-shadow: 0 0 0 1px var(--primary);
}

.plan-option-name {
    font-weight: 700;
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-1);
}

.plan-option-price {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

/* Verification code input */
.code-input-group {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin: var(--space-6) 0;
}

.code-input {
    width: 52px;
    height: 60px;
    text-align: center;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    background: var(--bg-primary);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.code-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

/* Responsive */
@media (max-width: 600px) {
    .auth-card { padding: var(--space-6); }
    .plan-options { grid-template-columns: 1fr; }
    .code-input { width: 44px; height: 52px; font-size: var(--font-size-xl); }
}
