/* Prism Access — sign-in gate page */
:root {
	--pa-ink: #0E1B2C;
	--pa-text: #253346;
	--pa-muted: #5B6778;
	--pa-faint: #8792A2;
	--pa-line: #D5DDE7;
	--pa-field: #F6F8FB;
	--pa-accent: #1D6FC4;
	--pa-accent-dark: #15589E;
	--pa-danger: #B42318;
	--pa-good: #1F8A5B;
	--pa-panel: #F3F6F9;
	--pa-heading: #26262B;
	--pa-body: #34343A;
	--pa-speed: 45s;
}

html, body.pa-body { margin: 0; padding: 0; background: #fff; }
body.pa-body { font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--pa-ink); -webkit-font-smoothing: antialiased; }
.pa, .pa * { box-sizing: border-box; }
.pa img { max-width: 100%; height: auto; display: block; }
.pa a { color: var(--pa-accent); font-weight: 600; text-decoration: none; }
.pa a:hover { color: var(--pa-accent-dark); text-decoration: underline; }
.pa button { font: inherit; }

/* ---------- Layout (desktop) ---------- */
.pa { display: grid; grid-template-columns: minmax(0, 55fr) minmax(0, 45fr); min-height: 100vh; }
.pa-left { position: relative; background: var(--pa-panel); padding: clamp(40px, 3.6vw, 60px) clamp(28px, 2.6vw, 44px) 48px; display: flex; flex-direction: column; min-height: 100vh; }
.pa-right { display: flex; flex-direction: column; min-width: 0; padding: 36px 0 28px; }

.pa-logo { width: clamp(220px, 20.5vw, 330px); }
.pa-tagline { margin: 18px 0 0; font-size: clamp(15px, 1.3vw, 21px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; color: #7D8795; }
.pa-intro { max-width: 680px; }
.pa-intro h1 { margin: clamp(36px, 3.6vw, 58px) 0 0; max-width: 520px; font-size: clamp(32px, 2.8vw, 46px); line-height: 1.1; font-weight: 500; letter-spacing: -.02em; color: var(--pa-ink); }
.pa-intro p { margin: clamp(16px, 1.7vw, 26px) 0 0; font-size: clamp(16px, 1.3vw, 21px); line-height: 1.3; color: #6B7686; }
.pa-intro p.pa-sub { margin-top: clamp(30px, 3.3vw, 54px); color: var(--pa-ink); font-weight: 500; }

.pa-feature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; gap: 4%; max-width: 780px; margin-top: clamp(32px, 3.6vw, 60px); padding: 0 2%; }
.pa-feature-img { display: flex; align-items: center; justify-content: center; height: clamp(120px, 10.5vw, 172px); }
.pa .pa-feature-img img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }

.pa-stats { list-style: none; margin: clamp(16px, 1.6vw, 26px) 0 0; padding: clamp(18px, 1.7vw, 28px) 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 780px; text-align: center; background: #FDFCF8; border: 1px solid #BEC5CF; border-radius: 2px; }
.pa-stats li { display: flex; flex-direction: column; gap: 6px; }
.pa-stats strong { font-size: clamp(28px, 2.4vw, 40px); font-weight: 800; letter-spacing: -.02em; color: #141418; line-height: 1.1; }
.pa-stats span { font-size: clamp(15px, 1.35vw, 22px); line-height: 1.05; color: #1D1D22; max-width: 205px; margin: 0 auto; }

/* ---------- Reviews carousel ---------- */
.pa-reviews { overflow: hidden; padding-left: 32px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.pa-reviews-track { display: flex; gap: 18px; width: max-content; animation: pa-scroll var(--pa-speed) linear infinite; }
.pa-reviews:hover .pa-reviews-track, .pa-reviews:focus-within .pa-reviews-track { animation-play-state: paused; }
@keyframes pa-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pa-reviews-track { animation: none; } .pa-reviews { overflow-x: auto; } }
.pa-review { margin: 0; flex: 0 0 280px; height: 132px; padding: 14px 18px; background: #F7F8FA; border: 1px solid #EDF0F4; border-radius: 6px; display: flex; flex-direction: column; gap: 8px; }
.pa-stars { color: var(--pa-accent); font-size: 14px; letter-spacing: 2px; line-height: 1; }
.pa-review blockquote { margin: 0; font-size: 13px; line-height: 1.45; color: var(--pa-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pa-review figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.pa-avatar { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--pa-accent); color: #fff; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pa-review b { font-size: 13px; color: var(--pa-ink); display: flex; align-items: center; gap: 5px; }
.pa-review small { display: block; font-size: 11px; color: #6B7686; }
.pa-check { width: 13px; height: 13px; }
.pa-check circle { fill: #1F9D55; }
.pa-check path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Form panel ---------- */
.pa-panel { flex: 1 1 auto; width: 100%; max-width: 460px; margin: 0 auto; padding: 40px 0; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.pa-panel > .pa-when, .pa-panel > div { display: flex; flex-direction: column; gap: 20px; }
.pa-head { display: flex; flex-direction: column; gap: 6px; }
.pa-head h2 { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--pa-ink); line-height: 1.15; }
.pa-head p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--pa-muted); }

/* View switching */
.pa[data-view="register"] .pa-when:not([data-when~="register"]),
.pa[data-view="signin"] .pa-when:not([data-when~="signin"]),
.pa[data-view="forgot"] .pa-when:not([data-when~="forgot"]),
.pa[data-view="sent"] .pa-when:not([data-when~="sent"]),
.pa[data-view="reset"] .pa-when:not([data-when~="reset"]),
.pa[data-view="google"] .pa-when:not([data-when~="google"]) { display: none !important; }

.pa-tabs { display: flex; gap: 4px; padding: 4px; background: #EEF2F7; border-radius: 12px; }
.pa-tabs button { flex: 1 1 0; height: 42px; border: 0; border-radius: 8px; background: transparent; color: var(--pa-muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.pa[data-view="register"] .pa-tabs [data-go="register"], .pa[data-view="signin"] .pa-tabs [data-go="signin"] { background: #fff; color: var(--pa-ink); box-shadow: 0 1px 3px rgba(14, 27, 44, .12); }

.pa .pa-google { display: flex; align-items: center; justify-content: center; gap: 12px; height: 50px; border: 1px solid var(--pa-line); border-radius: 10px; background: #fff; color: var(--pa-ink); font-size: 15px; font-weight: 600; text-decoration: none; }
.pa .pa-google:hover { background: var(--pa-field); color: var(--pa-ink); text-decoration: none; }
.pa-divider { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pa-faint); }
.pa-divider::before, .pa-divider::after { content: ""; flex: 1 1 auto; height: 1px; background: #E3E8EF; }

.pa-form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.pa-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pa-field { display: flex; flex-direction: column; gap: 6px; }
.pa-field > span:first-child { font-size: 13px; font-weight: 600; color: var(--pa-text); }
.pa-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.pa-field input { width: 100%; height: 48px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--pa-ink); background: var(--pa-field); border: 1px solid var(--pa-line); border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.pa-field input::placeholder { color: var(--pa-faint); }
.pa-field input:focus { background: #fff; border-color: var(--pa-accent); box-shadow: 0 0 0 4px rgba(29, 111, 196, .14); }
.pa-field.pa-invalid input { border-color: #E5A29B; background: #FEF3F2; }
.pa-field .pa-msg, .pa-consent .pa-msg { font-size: 12.5px; font-weight: 600; color: var(--pa-danger); }
.pa-pw { position: relative; display: block; }
.pa-pw input { padding-right: 68px; }
/* !important: inline theme/plugin CSS (e.g. Woodmart's global button styles) must not restyle this. */
.pa .pa-pw { position: relative !important; display: block !important; width: 100% !important; }
.pa .pa-pw input { margin: 0 !important; padding-right: 68px !important; }
.pa .pa-pw .pa-show {
	position: absolute !important; top: 0 !important; bottom: 0 !important; right: 6px !important; left: auto !important;
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	width: auto !important; height: 36px !important; min-height: 0 !important; min-width: 0 !important; margin: auto 0 !important; padding: 0 10px !important;
	border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; transform: none !important;
	color: var(--pa-muted) !important; font-family: inherit !important; font-size: 13px !important; font-weight: 600 !important; line-height: 1 !important;
	text-transform: none !important; letter-spacing: 0 !important; cursor: pointer;
}
.pa .pa-pw .pa-show:hover, .pa .pa-pw .pa-show:focus-visible { color: var(--pa-ink) !important; background: rgba(15, 23, 42, .05) !important; }

/* The theme's "Skip to navigation / Skip to main content" links point to parts of the
   theme layout that don't exist on this page, and the theme CSS that normally hides
   them is removed here. Hide them, and keep WordPress' screen-reader-only text hidden. */
.wd-skip-links, .skip-link, .skip-links, a[href="#menu"], a[href="#main-content"] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

/* Sales / "someone just bought" pop-ups never belong on the sign-in page. */
#salertWrapper, .sale_alert_wrapper, .notificationx-frontend, .nx-bar { display: none !important; }


.pa-consent { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--pa-field); border: 1px solid #E3E8EF; border-radius: 12px; }
.pa-consent.pa-invalid { border-color: #E5A29B; }
.pa-consent label { display: flex; gap: 12px; font-size: 13px; line-height: 1.55; color: var(--pa-text); cursor: pointer; }
.pa-consent label.pa-muted { color: var(--pa-muted); }
.pa-consent input { width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto; accent-color: var(--pa-accent); cursor: pointer; }

.pa-btn { height: 52px; border: 0; border-radius: 10px; background: var(--pa-accent); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: filter .15s; }
.pa-btn:hover { filter: brightness(.93); }
.pa-btn[disabled] { opacity: .7; cursor: progress; }
.pa-link, .pa-back { border: 0; background: none; padding: 0; color: var(--pa-accent); font-size: 13px; font-weight: 600; cursor: pointer; }
.pa-back { align-self: flex-start; color: var(--pa-muted); font-size: 14px; }
.pa-link:hover, .pa-back:hover { text-decoration: underline; }
.pa-alt { margin: 0; text-align: center; font-size: 14px; color: var(--pa-muted); }
.pa-alt .pa-link { font-size: 14px; }
.pa-error { margin: 0; font-size: 13px; font-weight: 600; color: var(--pa-danger); }
.pa-notice { margin: 0; padding: 12px 14px; border-radius: 10px; background: #FFF6E5; border: 1px solid #F3D9A4; color: #7A4B00; font-size: 14px; }
.pa-center { align-items: flex-start; }
.pa-icon { width: 56px; height: 56px; border-radius: 16px; background: #E8F1FB; display: flex; align-items: center; justify-content: center; }
.pa-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--pa-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pa-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.pa-footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; padding: 0 16px; font-size: 14px; }
.pa .pa-footer a { color: var(--pa-muted); font-weight: 500; }

/* ---------- Tablet ---------- */


/* ---------- Mobile: follows the client's mobile layout ---------- */
@media (max-width: 900px) {
	.pa { display: flex; flex-direction: column; min-height: 0; }
	.pa-left, .pa-right { display: contents; }
	.pa-brand { order: 1; padding: 28px 16px 0; text-align: center; }
	.pa-logo { width: 170px; margin: 0 auto; }
	.pa-tagline { margin-top: 8px; font-size: 11px; }
	.pa-intro { order: 2; max-width: none; padding: 0 20px; text-align: center; }
	.pa-intro h1 { margin: 26px auto 0; max-width: 360px; font-size: 26px; line-height: 1.15; }
	.pa-intro p { margin: 16px auto 0; max-width: 420px; font-size: 14px; line-height: 1.35; }
	.pa-intro p.pa-sub { margin-top: 22px; font-size: 14px; }
	.pa-feature { order: 3; margin: 18px auto 0; width: calc(100% - 40px); max-width: 420px; padding: 0; gap: 3%; }
	.pa-feature-img { height: 84px; }
	.pa-stats { order: 4; margin: 10px auto 0; width: calc(100% - 64px); max-width: 400px; padding: 10px 6px; gap: 4px; }
	.pa-stats strong { font-size: 18px; }
	.pa-stats span { font-size: 11px; line-height: 1.15; }
	.pa-reviews { order: 5; padding: 26px 0 8px 10px; }
	.pa-reviews-track { gap: 12px; }
	.pa-review { flex-basis: 214px; height: auto; padding: 10px 12px; gap: 6px; }
	.pa-review blockquote { font-size: 11px; }
	.pa-avatar { width: 24px; height: 24px; flex-basis: 24px; font-size: 9px; }
	.pa-review b { font-size: 11px; }
	.pa-review small { font-size: 9px; }
	.pa-panel { order: 6; max-width: none; padding: 28px 20px 0; justify-content: flex-start; gap: 16px; }
	.pa-head { text-align: center; }
	.pa-head h2 { font-size: 26px; }
	.pa-footer { order: 7; padding: 28px 16px; font-size: 12px; gap: 6px 18px; }
}
