/* ============================================================
   StackMatch — Auth Styles (Login / Register / Reset)
   ============================================================ */

.auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
}

.auth-logo {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    margin-bottom: 8px;
}

.auth-logo span { color: var(--text); font-weight: 400; }

.auth-heading {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--text-dim);
    text-align: center;
    margin-bottom: 28px;
}

/* Tabs for candidate/employer toggle */
.auth-tabs {
    display: flex;
    background: var(--surface-2);
    border-radius: var(--radius);
    padding: 3px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dim);
    cursor: pointer;
    border-radius: 6px;
    transition: all var(--transition);
    border: none;
    background: none;
}

.auth-tab.active {
    background: var(--accent);
    color: #0a0a0a;
    font-weight: 600;
}

.auth-tab:hover:not(.active) { color: var(--text); }

.auth-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent);
    color: #0a0a0a;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 8px;
}

.auth-btn:hover { box-shadow: 0 0 20px var(--accent-glow); }
.auth-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-dim);
}

.auth-footer a {
    color: var(--accent);
    font-weight: 500;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 12px;
    color: var(--text-muted);
}

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

.auth-message {
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    margin-bottom: 16px;
    text-align: center;
}

.auth-message.error { background: var(--danger-dim); color: var(--danger); }
.auth-message.success { background: var(--success-dim); color: var(--success); }

/* Security questions section */
.auth-security {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.auth-security-title {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* Steps indicator for password reset */
.auth-steps {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.auth-step {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: var(--surface-3);
    transition: background var(--transition);
}

.auth-step.active { background: var(--accent); }
.auth-step.done { background: var(--success); }
