/* =============================================================
   IAS AutoEmail - Auth Pages Styles
   ============================================================= */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hero);
    padding: var(--sp-6);
    position: relative;
    overflow: hidden;
}
.auth-page::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    opacity: 0.35;
    pointer-events: none;
}
.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--sp-10);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.5s ease;
}
.auth-card .auth-logo {
    text-align: center;
    margin-bottom: var(--sp-8);
}
.auth-card .auth-logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.auth-card .auth-logo .logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff;
}
.auth-card h2 {
    text-align: center;
    margin-bottom: var(--sp-2);
    font-size: 1.5rem;
}
.auth-card .auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--sp-6);
}
.auth-footer {
    text-align: center;
    margin-top: var(--sp-6);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.auth-footer a {
    color: var(--primary-light);
    font-weight: 600;
}
.auth-footer a:hover { text-decoration: underline; }

/* OTP Input */
.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: var(--sp-6) 0;
}
.otp-inputs input {
    width: 50px; height: 56px;
    background: var(--bg-input);
    border: 1.5px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    font-family: var(--font-mono);
    outline: none;
    transition: var(--transition);
}
.otp-inputs input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

/* Step indicator */
.auth-steps {
    display: flex;
    justify-content: center;
    gap: var(--sp-8);
    margin-bottom: var(--sp-8);
}
.auth-step {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}
.auth-step.active {
    color: var(--primary-light);
}
.auth-step.completed {
    color: var(--success);
}
.auth-step-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid var(--border-light);
}
.auth-step.active .auth-step-num {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.auth-step.completed .auth-step-num {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
}

/* Divider with text */
.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    margin: var(--sp-5) 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}
