/* WP Arcade Registration – extends arcade.css */

/* ── Tab switcher inside the login modal ─────────────────────────────── */
.wpa-auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--wpa-border, #2a2a3a);
    margin-bottom: 16px;
    gap: 0;
}

.wpa-auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 0;
    color: var(--wpa-muted, #888);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.15s, border-color 0.15s;
    text-align: center;
    letter-spacing: 0.02em;
}
.wpa-auth-tab:hover          { color: var(--wpa-text, #fff); }
.wpa-auth-tab.active         { color: var(--wpa-accent, #7c3aed); border-bottom-color: var(--wpa-accent, #7c3aed); }

/* ── Registration form pane ──────────────────────────────────────────── */
.wpa-reg-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 260px;
}
.wpa-reg-form .wpa-login-label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 13px;
    color: var(--wpa-muted, #888);
}
.wpa-reg-form .wpa-login-label input {
    background: var(--wpa-surface2, #1a1a2e);
    border: 1px solid var(--wpa-border, #2a2a3a);
    color: var(--wpa-text, #fff);
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.wpa-reg-form .wpa-login-label input:focus {
    outline: none;
    border-color: var(--wpa-accent, #7c3aed);
}

/* ── Password strength bar ──────────────────────────────────────────── */
.war-strength-wrap { margin-top: 4px; }
.war-strength-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--wpa-border, #2a2a3a);
    overflow: hidden;
}
.war-strength-fill {
    height: 100%;
    border-radius: 2px;
    width: 0%;
    transition: width 0.25s, background 0.25s;
}
.war-strength-fill.weak   { background: #ef4444; width: 33%; }
.war-strength-fill.medium { background: #f59e0b; width: 66%; }
.war-strength-fill.strong { background: #22c55e; width: 100%; }
.war-strength-label { font-size: 11px; color: var(--wpa-muted, #888); margin-top: 3px; }

/* ── Newsletter opt-in checkbox ──────────────────────────────────────── */
.war-optin-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--wpa-muted, #888);
    cursor: pointer;
    line-height: 1.4;
}
.war-optin-label input { margin-top: 2px; flex-shrink: 0; accent-color: var(--wpa-accent, #7c3aed); }

/* ── Error message ───────────────────────────────────────────────────── */
.wpa-reg-error {
    color: #f87171;
    font-size: 13px;
    text-align: center;
    display: none;
    padding: 6px 10px;
    background: rgba(248,113,113,0.1);
    border-radius: 6px;
}
.wpa-reg-success {
    color: #4ade80;
    font-size: 13px;
    text-align: center;
    display: none;
    padding: 6px 10px;
    background: rgba(74,222,128,0.1);
    border-radius: 6px;
}
