/* AddiPress Listings — branded authentication (Phase 32) */
.apl-auth{display:flex;justify-content:center;padding:30px 16px}
.apl-auth__card{width:100%;max-width:440px;background:#fff;border:1px solid var(--apl-line,#e2e8f0);border-radius:22px;overflow:hidden;box-shadow:0 20px 60px rgba(15,23,42,.10)}
.apl-auth__head{background:linear-gradient(135deg,var(--apl-primary,#4f46e5),#6366f1 55%,var(--apl-secondary,#0ea5e9));color:#fff;padding:26px 26px 0}
.apl-auth__brand{font-weight:800;font-size:20px;letter-spacing:-.02em;margin-bottom:18px}
.apl-auth__tabs{display:flex;gap:4px}
.apl-auth__tab{flex:1;background:rgba(255,255,255,.14);border:0;color:#fff;font-weight:700;font-size:14px;padding:12px;border-radius:12px 12px 0 0;cursor:pointer;opacity:.8}
.apl-auth__tab.is-active{background:#fff;color:var(--apl-ink,#0f172a);opacity:1}
.apl-auth__body{padding:24px 26px 28px}
.apl-auth__msg{margin:0 0 14px;padding:10px 14px;border-radius:10px;font-size:13.5px;font-weight:600}
.apl-auth__msg.is-err{background:#fef2f2;color:#b91c1c}
.apl-auth__msg.is-ok{background:#f0fdf4;color:#15803d}
.apl-auth__social{display:flex;flex-direction:column;gap:10px;align-items:center}
.apl-auth__gbtn{min-height:44px}
.apl-auth__fb{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;max-width:320px;background:#1877f2;color:#fff;border:0;border-radius:10px;padding:11px;font-weight:700;font-size:15px;cursor:pointer}
.apl-auth__fb span{font-weight:900;font-family:Georgia,serif}
.apl-auth__or{display:flex;align-items:center;gap:12px;color:#94a3b8;font-size:13px;margin:16px 0}
.apl-auth__or::before,.apl-auth__or::after{content:"";flex:1;height:1px;background:#e2e8f0}
.apl-auth__form{display:none;flex-direction:column;gap:14px}
.apl-auth__form.is-active{display:flex}
.apl-auth__form label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:600;color:var(--apl-ink-2,#334155)}
.apl-auth__form input[type=email],.apl-auth__form input[type=text],.apl-auth__form input[type=password]{padding:12px 14px;border:1px solid var(--apl-line,#e2e8f0);border-radius:12px;font-size:15px}
.apl-auth__form input:focus{outline:none;border-color:var(--apl-primary,#4f46e5);box-shadow:0 0 0 3px var(--apl-primary-050,#eef2ff)}
.apl-auth__row{display:flex;align-items:center;justify-content:space-between;font-size:13px}
.apl-auth__remember{flex-direction:row!important;align-items:center;gap:7px;font-weight:500}
.apl-auth__row a{color:var(--apl-primary,#4f46e5);font-weight:600}
.apl-auth__btn{display:block;text-align:center;border:0;border-radius:999px;padding:13px;font-weight:800;font-size:15px;cursor:pointer;text-decoration:none}
.apl-auth__btn--primary{background:var(--apl-primary,#4f46e5);color:#fff}
.apl-auth__btn--primary:hover{filter:brightness(1.06)}
.apl-auth__btn--ghost{background:#f1f5f9;color:#0f172a;margin-top:10px}
.apl-auth__fine{font-size:12px;color:#94a3b8;text-align:center;margin:0}
.apl-auth--in .apl-auth__body{display:flex;flex-direction:column;gap:10px}

/* Terms acceptance on register (Phase 35) */
.apl-auth__terms{flex-direction:row!important;align-items:flex-start;gap:8px;font-size:13px;font-weight:500;color:#334155}
.apl-auth__terms input{margin-top:2px}
.apl-auth__terms a{color:var(--apl-primary,#4f46e5);font-weight:600}
