/* cxs-shop v0.32 (WS-SIGNUP-PAGE): the sign-up page as signed (PAGE_TEXTS §8, mockup 07_Storefront/mockups/sign-up.html), on the
   site's tokens (--wdf-*). Its own file so brand-pages.css stays the page lanes'; it wins over brand.css's card rules for
   form.login and form.register inside .cxs-auth only. */
.cxs-auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); border: 1px solid var(--wdf-line); border-radius: 24px; overflow: hidden; background: #fff; margin: 8px 0 40px; }
.cxs-auth *, .cxs-auth *::before { box-sizing: border-box; }

/* the side panel: navy, one block per choice */
.cxs-auth-side { position: relative; overflow: hidden; padding: 64px 56px; color: #c8cdea; background: radial-gradient(700px 400px at 100% 0%, rgba(74, 95, 209, .5), transparent 60%), linear-gradient(160deg, var(--wdf-navy) 0%, var(--wdf-navy-2) 100%); }
.cxs-auth-side::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 44px 44px; }
.cxs-why { position: relative; display: none; }
.cxs-auth[data-as="Partner"] .cxs-why[data-as="Partner"], .cxs-auth[data-as="Customer"] .cxs-why[data-as="Customer"], .cxs-auth[data-as="SAP Account"] .cxs-why[data-as="SAP Account"] { display: block; animation: cxs-fade .25s; }
@keyframes cxs-fade { from { opacity: 0; } }
.cxs-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--wdf-font); letter-spacing: .14em; text-transform: uppercase; color: #ffc65a; margin-bottom: 16px; }
.cxs-eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--wdf-orange); }
.cxs-auth-side h2 { color: #fff !important; font-size: 34px !important; line-height: 1.18 !important; font-weight: 600 !important; letter-spacing: -.01em; margin: 0 0 6px !important; }
.cxs-checks { list-style: none !important; padding: 0 !important; margin: 24px 0 0 !important; }
.cxs-checks li { display: flex; gap: 12px; margin: 0 0 14px; line-height: 1.5; list-style: none; }
.cxs-checks li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23ffc65a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.cxs-checks b, .cxs-mini b { color: #fff; font-weight: 600; }
.cxs-mini { margin-top: 36px; padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); line-height: 1.55; }

/* the form side */
.cxs-auth-main { padding: 48px 56px 56px; }
.cxs-auth-box { max-width: 520px; }
.cxs-auth h1 { font-size: 28px !important; line-height: 1.25 !important; font-weight: 600 !important; color: var(--wdf-heading); margin: 0 0 6px !important; }
.cxs-lead { color: var(--wdf-muted); margin: 0 0 24px !important; }
.cxs-small { font-size: 14px; margin: 18px 0 0 !important; }
.cxs-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--wdf-line); margin-bottom: 28px; }
.cxs-tabs a { padding: 0 0 14px; margin-bottom: -1px; border-bottom: 3px solid transparent; font: 600 17px var(--wdf-font); color: #8a8fa3 !important; text-decoration: none !important; }
.cxs-tabs[data-tab="up"] [data-t="up"], .cxs-tabs[data-tab="in"] [data-t="in"] { color: var(--wdf-heading) !important; border-bottom-color: var(--wdf-orange); }
.cxs-auth:not(.cxs-js) .cxs-tabs { display: none; } /* without script both forms show, one under the other */
.cxs-auth:not(.cxs-js) .cxs-pane + .cxs-pane { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--wdf-line); }
.cxs-js .cxs-pane { display: none; }
.cxs-js .cxs-tabs[data-tab="up"] ~ .cxs-pane[data-t="up"], .cxs-js .cxs-tabs[data-tab="in"] ~ .cxs-pane[data-t="in"] { display: block; }
.woocommerce .cxs-auth form.login, .woocommerce .cxs-auth form.register { border: 0 !important; padding: 0 !important; margin: 0 !important; border-radius: 0 !important; background: none; }
.cxs-auth .form-row { padding: 0 !important; margin: 0 0 18px !important; }
.cxs-auth .form-row label { display: block; font-size: 14.5px; font-weight: 600; color: var(--wdf-heading); margin-bottom: 7px; line-height: 1.4; }
.cxs-auth .input-text { width: 100%; height: 48px; }
.cxs-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; width: 100%; }

/* the choices as cards (prices.php) and the listing tick under the partner's */
.cxs-opts { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.cxs-auth label.cxs-opt { display: flex !important; gap: 14px; align-items: flex-start !important; position: relative; border: 1.5px solid #dde1ea; border-radius: 14px; padding: 16px 18px; margin: 0 0 12px; cursor: pointer; background: #fff; box-shadow: none; transition: .15s; font-weight: 400; }
.cxs-auth label.cxs-opt:hover { border-color: #b9c0d8; }
.cxs-auth label.cxs-opt:has(input:checked) { border-color: var(--wdf-blue); background: #f6f7fe; box-shadow: 0 0 0 4px rgba(38, 58, 150, .08); }
.cxs-auth label.cxs-opt:has(input:focus-visible) { outline: 2px solid var(--wdf-blue); outline-offset: 2px; }
.cxs-auth .cxs-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cxs-oi { flex: 0 0 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: #f1f3f8; color: #6b7086; }
.cxs-opt:has(input:checked) .cxs-oi { background: var(--wdf-blue); color: #fff; }
.cxs-opt .cxs-as { flex: 1; min-width: 0; display: block; }
.cxs-opt .cxs-as b { display: block; font-size: 16px; font-weight: 600; color: var(--wdf-heading); }
.cxs-opt .cxs-as small { display: block; font-size: 14px; color: var(--wdf-muted); line-height: 1.45; margin-top: 2px; }
.cxs-radio { flex: 0 0 22px; height: 22px; margin-top: 2px; border-radius: 50%; border: 2px solid #c6cbdb; }
.cxs-opt:has(input:checked) .cxs-radio { border: 7px solid var(--wdf-blue); }
.cxs-auth .cxs-listed { display: flex; gap: 10px; align-items: center; margin: -4px 0 14px 58px; font-size: 14.5px; color: var(--wdf-heading); }
.cxs-auth .cxs-listed input { width: 18px; height: 18px; accent-color: var(--wdf-blue); margin: 0; }
.cxs-auth:not([data-as="Partner"]) .cxs-listed, .cxs-auth .cxs-listed[hidden] { display: none; }
.cxs-claim-note { background: var(--wdf-blue-soft); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }

/* the live email check: one message under the field */
.cxs-auth .cxs-check { margin: 10px 0 0; border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.5; background: var(--wdf-blue-soft); color: var(--wdf-blue); }
.cxs-auth .cxs-check:empty { display: none; }
.cxs-auth .cxs-check--registered.cxs-check--Partner { background: #e3f4ea; color: #1f5f3d; }
.cxs-auth .cxs-check--free, .cxs-auth .cxs-check--registered.cxs-check--Customer { background: var(--wdf-orange-soft); color: var(--wdf-warning); }
.cxs-auth .cxs-check--err { background: #f8e9e7; color: var(--wdf-error); }
.cxs-auth .cxs-check a { color: inherit; font-weight: 600; text-decoration: underline; }

/* the password: Show, WooCommerce's meter drawn as a bar, the hint */
.cxs-auth .password-input { display: block; position: relative; }
.cxs-auth .show-password-input { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: auto; height: auto; padding: 6px; border: 0; background: none !important; color: var(--wdf-blue); font: 600 13px var(--wdf-font); cursor: pointer; }
.cxs-auth .show-password-input::after { content: "Show"; font: inherit; background: none; }
.cxs-auth .show-password-input::before { display: none !important; }
.cxs-auth .show-password-input.display-password::after { content: "Hide"; }
.cxs-auth .woocommerce-password-strength { display: block; margin-top: 8px; padding: 0; background: none !important; border: 0; text-align: left; font-size: 13px; font-weight: 500; color: var(--wdf-muted); }
.cxs-auth .woocommerce-password-strength::before { content: ""; display: block; height: 6px; border-radius: 3px; margin-bottom: 6px; background: linear-gradient(90deg, var(--cxs-bar, var(--wdf-error)) var(--cxs-w, 5%), #e6e9f0 0); }
.cxs-auth .woocommerce-password-strength.short { --cxs-w: 15%; }
.cxs-auth .woocommerce-password-strength.bad { --cxs-w: 35%; }
.cxs-auth .woocommerce-password-strength.good { --cxs-w: 70%; --cxs-bar: #c27e00; color: #8a5b20; }
.cxs-auth .woocommerce-password-strength.strong { --cxs-w: 100%; --cxs-bar: var(--wdf-success); color: var(--wdf-success); }
.cxs-auth .cxs-pw-help, .cxs-auth .woocommerce-password-hint { display: block; font-size: 13px; color: var(--wdf-muted); margin-top: 6px; }
.cxs-auth .cxs-pw-help[hidden] { display: none; }

/* button, Turnstile, legal line, sign-in's row */
.cxs-auth .cf-turnstile { margin: 4px 0 14px !important; text-align: left; max-width: 100%; } /* the plugin's own -15px pull left off */
.cxs-auth .cf-turnstile > div, .cxs-auth .cf-turnstile iframe { margin: 0 !important; }
.cxs-auth .cxs-auth-btn { display: flex; width: 100%; justify-content: center; align-items: center; gap: 10px; min-height: 52px; border-radius: 12px !important; font: 600 16px var(--wdf-font) !important; background: var(--wdf-orange) !important; color: var(--wdf-heading) !important; border: 0 !important; text-decoration: none !important; }
.cxs-auth .cxs-auth-btn:disabled { opacity: .55; cursor: not-allowed; }
.cxs-auth .cxs-auth-btn--line { background: var(--wdf-blue) !important; color: #fff !important; }
.cxs-auth .woocommerce-privacy-policy-text { font-size: 13.5px; color: var(--wdf-muted); line-height: 1.55; }
.cxs-auth .woocommerce-privacy-policy-text p { margin: 0 0 6px; text-align: left; }
.cxs-auth:not([data-as="Partner"]) .woocommerce-privacy-policy-text p:has(.cxs-legal-partner) { display: none; }
.cxs-remember { display: flex !important; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cxs-remember label { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 400 !important; }
.cxs-remember a { font-size: 14px; }

/* the screen after "Create account" */
.cxs-done { text-align: center; padding: 40px 0; }
.cxs-done-ok { width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e3f4ea; color: #24734a; font-size: 34px; }
.cxs-done p { color: var(--wdf-muted); margin: 0 auto 24px; max-width: 420px; }
.cxs-done .cxs-auth-btn { display: inline-flex; width: auto; padding: 0 28px; }

/* a phone: the panel under the form */
@media (max-width: 959px) {
	.cxs-auth { grid-template-columns: minmax(0, 1fr); }
	.cxs-auth-side { order: 2; padding: 40px 24px; }
	.cxs-auth-main { padding: 32px 20px 40px; }
	.cxs-auth-side h2 { font-size: 26px !important; }
}
@media (max-width: 767px) { /* the theme leaves 300 px of content: the card's frame goes, so Turnstile's 300 px box fits */
	.cxs-auth { grid-template-columns: minmax(0, 1fr); border: 0; border-radius: 0; overflow: visible; }
	.cxs-auth-main { padding: 8px 0 36px; }
	.cxs-auth-side { border-radius: 20px; padding: 36px 22px; }
	.cxs-row2 { grid-template-columns: 1fr; }
	.cxs-auth .cxs-listed { margin-left: 4px; }
	.cxs-tabs { gap: 20px; }
}
