/* ACU Frontend CSS — Registration form, OTP modal, checkout consent, account banners */
:root {
  --anketa-word-spacing: 0.15em;
  --anketa-label-width: 260px;
  --anketa-gap: 16px;
  --anketa-font-stack: "Noto Sans Georgian","DejaVu Sans","Segoe UI",Roboto,Arial,sans-serif;
  --phone-prefix-bg: #f2f2f2;
  --phone-border: #999;
  --phone-focus: #222;
}

/* ---- Registration form wrap ---- */
.club-anketa-form-wrap {
  max-width: 860px;
  margin: 0 auto;
  font-family: var(--anketa-font-stack);
  color: #000;
  word-spacing: var(--anketa-word-spacing);
  line-height: 1.42;
}
.club-anketa-form-wrap *:not(.boxes span) {
  word-spacing: var(--anketa-word-spacing);
  letter-spacing: normal;
}
.club-anketa-errors {
  background: #ffe6e6;
  border: 1px solid #ffb3b3;
  color: #8b0000;
  padding: 12px;
  margin: 0 0 16px;
  border-radius: 0;
  font-size: 14px;
}
.club-anketa-form { display: block; }
.club-anketa-form .row {
  display: grid;
  grid-template-columns: var(--anketa-label-width) 1fr;
  align-items: center;
  gap: 12px var(--anketa-gap);
  margin-bottom: 14px;
}
@media (max-width: 640px) {
  .club-anketa-form .row { grid-template-columns: 1fr; align-items: stretch; }
}
.club-anketa-form .label { font-weight: 600; font-size: 15px; }
.club-anketa-form .field input[type="text"],
.club-anketa-form .field input[type="email"],
.club-anketa-form .field input[type="date"],
.club-anketa-form .field input[type="tel"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #999;
  border-radius: 0;
  background: #fff;
  font: 15px/1.4 var(--anketa-font-stack);
  transition: border-color .15s, box-shadow .15s;
}
.club-anketa-form .field input:focus {
  outline: none;
  border-color: var(--phone-focus);
  box-shadow: 0 0 0 3px rgba(0,0,0,.08);
}
.club-anketa-form input[type="date"] { -webkit-appearance: auto; appearance: auto; background-color: #fff; }
.club-anketa-form input[type="date"]::-webkit-calendar-picker-indicator { opacity: 1; display: block; cursor: pointer; }

/* ---- Phone split UI +995 prefix ---- */
.phone-group { display: inline-flex; align-items: stretch; width: 100%; }
.phone-prefix {
  flex: 0 0 auto !important;
  min-width: 70px;
  text-align: center;
  background: var(--phone-prefix-bg);
  color: #000;
  border: 1px solid #999;
  border-right: none;
  border-radius: 0;
  font: 15px/1.4 var(--anketa-font-stack);
  pointer-events: none;
  user-select: none;
  padding: 11px 12px;
}
.phone-local {
  flex: 1 1 auto !important;
  min-width: 0;
  border: 1px solid #999;
  border-left: none;
  border-radius: 0;
  padding: 11px 12px;
  font: 15px/1.4 var(--anketa-font-stack);
}
.phone-local:focus { border-color: var(--phone-focus); box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.phone-group.phone-verify-group .phone-local { border-radius: 0; border-right: 1px solid #999 !important; }

/* ---- Phone verify group (Flexbox side-by-side) ---- */
.phone-verify-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  position: relative;
  box-sizing: border-box !important;
}
.phone-verify-group input[type="tel"],
.phone-verify-group input[type="text"],
.phone-verify-group .phone-local {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}
.phone-verify-group:not(.phone-group) .phone-local { border-radius: 0; }
.phone-verify-container {
  flex: 0 0 auto !important;
  position: static !important;
  transform: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2;
  width: auto !important;
  margin: 0 !important;
}
.phone-verify-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  margin: 0 !important;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 0;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, opacity 0.15s;
  white-space: nowrap !important;
  font-family: var(--anketa-font-stack);
}
.phone-verify-btn:hover { background: #333; }
.phone-verify-btn:active { transform: scale(0.97); }
.phone-verify-btn:disabled, .phone-verify-btn.loading { background: #888; cursor: not-allowed; opacity: 0.8; }
.phone-verify-btn.loading::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 6px;
  border: 2px solid #fff;
  border-radius: 0;
  border-top-color: transparent;
  animation: acu-spin 0.8s linear infinite;
}
@keyframes acu-spin { to { transform: rotate(360deg); } }
.phone-verify-btn.highlight-pulse { animation: acu-pulse 0.5s ease-in-out 3; }
@keyframes acu-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); background: #c62828; } }
.phone-verified-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2e7d32;
  background: #e8f5e9;
  border-radius: 0;
  width: 28px;
  height: 28px;
  padding: 4px;
}
.phone-verified-icon svg { width: 18px; height: 18px; }
.phone-verify-group.phone-verified .phone-local { border-color: #2e7d32; background: #f8fff8; }
.phone-verify-group.phone-unverified .phone-local { border-color: #e65100; }

/* WooCommerce phone verify group */
.wc-phone-verify-group {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  position: relative;
  box-sizing: border-box !important;
}
.wc-phone-verify-group input[type="tel"],
.wc-phone-verify-group input[type="text"] {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 120px !important;
  max-width: 100% !important;
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}
.wc-phone-verify-group .phone-verify-container {
  flex: 0 0 auto !important;
  position: static !important;
  transform: none !important;
  width: auto !important;
  margin: 0 !important;
}
.phone-verify-warning {
  color: #c62828;
  font-size: 13px;
  margin: 8px 0 12px;
  padding: 8px 12px;
  background: #ffebee;
  border-radius: 0;
  border-left: 3px solid #c62828;
}
.submit-btn.verification-blocked,
button[type="submit"].verification-blocked { opacity: 0.6; cursor: not-allowed; }
.help-text { display: block; color: #555; margin-top: 6px; font-size: 12px; }

/* ---- Anketa form rules block ---- */
.club-anketa-form .rules-wrap {
  border: 1px solid #bbb;
  padding: 12px 14px;
  margin: 24px 0;
  border-radius: 0;
  background: #fafafa;
}
.club-anketa-form .rules-title { font-weight: 700; margin-bottom: 8px; font-size: 15px; }
.club-anketa-form .rules-text ul,
.club-anketa-form .rules-text ol { margin: 8px 0 8px 20px; padding: 0; }
.club-anketa-form .rules-text li { margin-bottom: 4px; }
.club-anketa-form .submit-row { text-align: right; margin-top: 22px; }
.club-anketa-form .submit-btn {
  padding: 11px 22px;
  font-size: 16px;
  font-weight: 600;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  letter-spacing: .5px;
  word-spacing: normal;
}
.club-anketa-form .submit-btn:hover { background: #000; }
.club-anketa-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---- Inline consent controls (checkout + account) ---- */
.wcu-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 0; margin: 12px 0 18px; border: 1px solid #e5e7eb; background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.05); }
.wcu-banner--info { border-color: #bfdbfe; background: #eff6ff; }
.wcu-banner--subtle { border-color: #e5e7eb; background: #f9fafb; }
.wcu-banner__content { color: #1f2937; font-size: 14px; }
.wcu-banner__actions { display: flex; align-items: center; gap: 8px; }
.wcu-banner__dismiss { appearance: none; background: transparent; color: #6b7280; border: none; cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 6px; border-radius: 0; }
.wcu-banner__dismiss:hover { background: rgba(0,0,0,.05); color: #374151; }
.wcu-help { display: block; color: #6b7280; font-size: 12px; margin-top: 4px; }
.wcu-inline-control { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; font-weight: 600; }
.wcu-inline-control--center { justify-content: center; text-align: center; width: 100%; }
.wcu-inline-control--highlight { background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 0; padding: 12px 16px; }
.wcu-inline-control__label { font-weight: 700; }
.wcu-radio-inline { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wcu-radio-inline label { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; }
.wcu-terms-details summary { font-weight: 600; cursor: pointer; }
.wcu-terms-body { max-height: 40vh; overflow: auto; padding: 8px; border-left: 3px solid rgba(0,0,0,.04); background: #fff; }
.wcu-link { color: #2563eb; text-decoration: underline; font-weight: 500; }
.wcu-link:hover { text-decoration: none; color: #1d4ed8; }

/* ---- OTP Modal ---- */
body.club-anketa-modal-open { overflow: hidden !important; }

#acu-otp-modal {
  position: fixed !important;
  top: 0 !important; left: 0 !important;
  width: 100vw !important; height: 100vh !important;
  z-index: 2147483647 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  transform: none !important;
}
#acu-otp-modal[style*="display: none"],
#acu-otp-modal[style*="display:none"],
#acu-otp-modal.hidden { display: none !important; }

.club-anketa-modal {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100% !important; height: 100% !important;
  z-index: 2147483647 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  text-align: center !important;
  font-size: 16px !important;
  color: #222 !important;
}
.club-anketa-modal[style*="display: none"],
.club-anketa-modal[style*="display:none"],
.club-anketa-modal.hidden { display: none !important; }

#acu-otp-modal .club-anketa-modal-overlay,
.club-anketa-modal-overlay {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100vw !important; height: 100vh !important;
  background: rgba(0,0,0,0.6) !important;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  z-index: 1 !important;
  border: none !important; margin: 0 !important; padding: 0 !important;
}
.club-anketa-modal-content {
  position: relative !important;
  z-index: 2 !important;
  background: #fff !important;
  border-radius: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3) !important;
  width: 100% !important;
  max-width: 420px !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  animation: acu-modal-slide-in 0.25s ease-out !important;
  border: none !important; margin: 0 !important; padding: 0 !important;
  box-sizing: border-box !important;
  float: none !important; clear: both !important;
  display: block !important;
  text-align: left !important;
}
@keyframes acu-modal-slide-in {
  from { opacity: 0; transform: translateY(-20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.club-anketa-modal-close {
  position: absolute !important;
  top: 12px !important; right: 12px !important;
  width: 32px !important; height: 32px !important;
  border: none !important;
  background: #f5f5f5 !important;
  border-radius: 0;
  font-size: 24px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  color: #666 !important;
  transition: background 0.15s, color 0.15s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10 !important;
  margin: 0 !important; padding: 0 !important;
}
.club-anketa-modal-close:hover { background: #e0e0e0; color: #333; }
.club-anketa-modal-header {
  padding: 28px 24px 16px !important;
  text-align: center !important;
  border-bottom: 1px solid #eee !important;
  margin: 0 !important; background: transparent !important;
}
.club-anketa-modal-header h3 {
  margin: 0 0 8px !important; padding: 0 !important;
  font-size: 20px !important; font-weight: 700 !important; color: #222 !important;
  font-family: var(--anketa-font-stack); border: none !important; background: transparent !important;
}
.club-anketa-modal-header .modal-subtitle {
  margin: 0 !important; padding: 0 !important;
  font-size: 14px !important; color: #666 !important;
}
.club-anketa-modal-header .otp-phone-display { font-weight: 600; color: #333; direction: ltr; unicode-bidi: embed; }
.club-anketa-modal-body { padding: 24px !important; margin: 0 !important; border: none !important; background: transparent !important; }
.otp-input-container {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}
.otp-digit {
  width: 48px !important; height: 56px !important;
  border: 2px solid #ddd !important;
  border-radius: 0;
  text-align: center !important;
  font-size: 24px !important; font-weight: 700 !important;
  font-family: var(--anketa-font-stack);
  color: #222 !important; background: #fafafa !important;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s !important;
  caret-color: #111 !important;
  margin: 0 !important; padding: 0 !important;
}
.otp-digit:focus { outline: none; border-color: #111; background: #fff; box-shadow: 0 0 0 3px rgba(0,0,0,.08); }
.otp-digit:not(:placeholder-shown) { border-color: #111; background: #fff; }
.otp-message { text-align: center; padding: 10px 12px; border-radius: 0; font-size: 14px; min-height: 20px; margin-bottom: 12px; }
.otp-message:empty { display: none; }
.otp-message.success { background: #e8f5e9; color: #2e7d32; }
.otp-message.error { background: #ffebee; color: #c62828; }
.otp-message.info { background: #e3f2fd; color: #1565c0; }
.otp-resend-container { text-align: center; font-size: 14px; color: #666; }
.otp-countdown { display: inline-block; }
.countdown-timer { font-weight: 600; color: #111; min-width: 24px; display: inline-block; }
.otp-resend-btn { background: none; border: none; color: #1976d2; font-size: 14px; font-weight: 600; cursor: pointer; padding: 4px 8px; text-decoration: underline; transition: color 0.15s; }
.otp-resend-btn:hover { color: #0d47a1; }
.club-anketa-modal-footer { padding: 16px 24px 24px !important; text-align: center !important; margin: 0 !important; border: none !important; background: transparent !important; }
.otp-verify-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px; font-weight: 600;
  background: #111; color: #fff;
  border: none; border-radius: 0;
  cursor: pointer;
  font-family: var(--anketa-font-stack);
  transition: background 0.15s, transform 0.1s;
}
.otp-verify-btn:hover { background: #000; }
.otp-verify-btn:active { transform: scale(0.98); }
.otp-verify-btn:disabled { background: #999; cursor: not-allowed; }

@media (max-width: 640px) {
  .phone-verify-group { gap: 10px !important; }
  .phone-verify-btn { padding: 5px 10px; font-size: 12px; }
  .phone-verified-icon { width: 24px; height: 24px; }
  .phone-verified-icon svg { width: 14px; height: 14px; }
  .wc-phone-verify-group { gap: 10px !important; }
}
@media (max-width: 480px) {
  .club-anketa-modal { padding: 8px !important; }
  .club-anketa-modal-content { border-radius: 0; max-width: 100% !important; }
  .club-anketa-modal-header { padding: 20px 16px 12px !important; }
  .club-anketa-modal-header h3 { font-size: 18px !important; }
  .club-anketa-modal-body { padding: 16px !important; }
  .otp-input-container { gap: 6px !important; }
  .otp-digit { width: 42px !important; height: 50px !important; font-size: 20px !important; border-radius: 0; }
  .club-anketa-modal-footer { padding: 12px 16px 20px !important; }
}

/* ==========================================================================
   ACU Design System v2 — Minimal/Neutral palette (compact edition)
   All selectors below are NEW. Existing .club-anketa-form .row/.label/.field
   classes are kept above for WC checkout backward-compatibility.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --acu-bg:           #fff;
  --acu-surface:      #fff;
  --acu-border:       #e5e7eb;
  --acu-border-focus: #111;
  --acu-text:         #111827;
  --acu-text-muted:   #6b7280;
  --acu-text-label:   #374151;
  --acu-accent:       #111;
  --acu-accent-hover: #333;
  --acu-success:      #16a34a;
  --acu-error:        #dc2626;
  --acu-required:     #ef4444;
  --acu-radius-sm:    0;
  --acu-radius:       0;
  --acu-shadow:       0 1px 2px rgba(0,0,0,.05);
  --acu-font:         "Noto Sans Georgian","DejaVu Sans","Segoe UI",Roboto,Arial,sans-serif;
}

/* ---- Form wrap ---- */
.acu-form-wrap {
  max-width: 860px;
  margin: 0 auto;
  font-family: var(--acu-font);
}

/* ---- Section card ---- */
.acu-section {
  background: var(--acu-surface);
  border: 1px solid var(--acu-border);
  border-radius: 0;
  padding: 14px 18px;
  margin-bottom: 10px;
  box-shadow: var(--acu-shadow);
  box-sizing: border-box;
}

/* ---- Section header ---- */
.acu-section__header {
  display: flex;
  align-items: center;
  gap: 7px;
  border-bottom: 1px solid var(--acu-border);
  padding-bottom: 8px;
  margin-bottom: 12px;
}
.acu-section__icon {
  display: flex;
  align-items: center;
  color: #b0b7c3;
  flex-shrink: 0;
}
.acu-section__label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b0b7c3;
  margin: 0;
  padding: 0;
}

/* ---- Grid layouts ---- */
.acu-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}
@media (max-width: 600px) {
  .acu-grid-2 { grid-template-columns: 1fr; }
}
.acu-grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.acu-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px 14px;
  align-items: end;
}
/* Make form-row items in acu-grid-3 stretch so labels align top and inputs align bottom */
.acu-grid-3 .form-row {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
}
.acu-grid-3 .form-row > label {
  flex: 1;
  margin-bottom: 4px;
}
@media (max-width: 640px) {
  .acu-grid-3 { grid-template-columns: 1fr; }
}

/* ---- Field ---- */
.acu-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.acu-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--acu-text-label);
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 3px;
  flex-wrap: wrap;
}
.acu-required { color: var(--acu-required); font-size: 11px; font-weight: 700; }
.acu-optional { font-size: 11px; font-weight: 400; color: var(--acu-text-muted); }
.acu-field input[type="text"],
.acu-field input[type="email"],
.acu-field input[type="date"],
.acu-field input[type="tel"],
.acu-field input[type="password"] {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0;
  padding: 8px 10px;
  font-size: 13.5px;
  font-family: var(--acu-font);
  background: #fff;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
  color: var(--acu-text);
}
.acu-field input[type="text"]::placeholder,
.acu-field input[type="email"]::placeholder,
.acu-field input[type="date"]::placeholder,
.acu-field input[type="tel"]::placeholder,
.acu-field input[type="password"]::placeholder { color: #c4c9d4; }
.acu-field input[type="text"]:focus,
.acu-field input[type="email"]:focus,
.acu-field input[type="date"]:focus,
.acu-field input[type="tel"]:focus,
.acu-field input[type="password"]:focus {
  outline: none;
  border-color: var(--acu-border-focus);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
}
.acu-field input.acu-valid   { border-color: var(--acu-success); }
.acu-field input.acu-invalid { border-color: var(--acu-error); }
.acu-field-hint {
  font-size: 11px;
  color: var(--acu-text-muted);
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

/* ---- Phone field v2 — 2-row layout (input above, verify button below) ---- */
.acu-phone-field { gap: 5px !important; }

.acu-phone-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.acu-phone-label-row label { margin: 0; }

/* "Verification required" amber badge */
.acu-verify-badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0;
  padding: 2px 7px;
  white-space: nowrap;
  line-height: 1.6;
}

/* Phone wrap — single inline row: [+995][input][verify btn] */
.acu-phone-wrap.phone-verify-group {
  display: flex !important;
  flex-direction: row !important;
  gap: 6px !important;
  width: 100% !important;
  align-items: center !important;
  position: static !important;
}

/* Input row: +995 | number — takes remaining space */
.acu-phone-input-row.phone-group {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: stretch;
}
.acu-phone-input-row .phone-prefix {
  flex: 0 0 auto;
  min-width: 44px;
  text-align: center;
  border: 1px solid #d1d5db;
  border-right: none;
  border-radius: 0;
  padding: 9px 6px;
  font-size: 12px;
  background: #f9fafb;
  color: #6b7280;
  pointer-events: none;
  user-select: none;
  font-family: var(--acu-font);
  box-sizing: border-box;
}
.acu-phone-input-row .phone-local {
  flex: 1 1 auto;
  border: 1px solid #d1d5db;
  border-radius: 0;
  padding: 9px 11px;
  font-size: 13.5px;
  font-family: var(--acu-font);
  color: var(--acu-text);
  box-sizing: border-box;
  min-width: 0;
  transition: border-color .15s, box-shadow .15s;
}
.acu-phone-input-row .phone-local:focus {
  outline: none;
  border-color: var(--acu-border-focus);
  box-shadow: 0 0 0 3px rgba(0,0,0,.06);
  position: relative;
  z-index: 1;
}

/* Verify button / icon — auto width, sits inline */
.acu-phone-verify-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: static !important;
  transform: none !important;
  width: auto !important;
  flex: 0 0 auto !important;
}
.acu-phone-verify-row .phone-verify-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 9px 18px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: .02em;
  border-radius: 0;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
  flex: 0 0 auto !important;
  width: auto !important;
  font-family: var(--acu-font);
}
.acu-phone-verify-row .phone-verify-btn svg { flex-shrink: 0; }
.acu-phone-verify-row .phone-verify-btn:hover  { background: #333; }
.acu-phone-verify-row .phone-verify-btn:active { transform: scale(.98); }
.acu-phone-verify-row .phone-verify-btn:disabled,
.acu-phone-verify-row .phone-verify-btn.loading { background: #9ca3af; cursor: not-allowed; }

/* Verified state — pill with green bg and text (display controlled by JS) */
.acu-phone-verify-row .phone-verified-icon {
  align-items: center;
  gap: 6px;
  color: #15803d;
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--acu-font);
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 0;
  padding: 7px 12px;
  width: auto;
  height: auto;
  flex: 0 0 auto;
}

/* Input border color when verified / unverified */
.phone-verify-group.phone-verified   .acu-phone-input-row .phone-local { border-color: #86efac; background: #f0fdf4; }
.phone-verify-group.phone-unverified .acu-phone-input-row .phone-local { border-color: #fca5a5; }

/* ---- Consent row ---- */
.acu-consent-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  gap: 12px;
}
.acu-consent-row:last-child { border-bottom: none; }
.acu-consent-label {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  flex: 1;
  line-height: 1.4;
}

/* ---- Consent pill toggle ---- */
.acu-consent-toggle {
  display: inline-flex;
  border: 1px solid #d1d5db;
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.acu-consent-toggle input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.acu-consent-toggle label {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #9ca3af;
  transition: background .12s, color .12s;
  user-select: none;
  margin: 0;
  line-height: 1.5;
}
.acu-consent-toggle label:not(:last-child) {
  border-right: 1px solid #d1d5db;
}
.acu-consent-toggle input[type="radio"]:checked + label {
  background: #111;
  color: #fff;
}

/* ---- Rules block ---- */
.acu-rules-block {
  background: #fafafa;
  border: 1px solid var(--acu-border);
  border-radius: 0;
  padding: 12px 16px;
  max-height: 220px;
  overflow-y: auto;
}
.acu-rules-block p,
.acu-rules-block li { font-size: 13px; line-height: 1.6; color: #374151; }
.acu-rules-block strong { color: #111; }
.acu-rules-block ul,
.acu-rules-block ol { margin: 6px 0 6px 18px; padding: 0; }
.acu-rules-block li { margin-bottom: 3px; }

/* ---- Edit mode action bar ---- */
.acu-edit-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  padding: 10px 14px;
  background: #f9fafb;
  border: 1px solid var(--acu-border);
  border-radius: 0;
}
.acu-edit-actions .button,
.acu-edit-actions .button-secondary {
  font-size: 12px !important;
  padding: 5px 11px !important;
  border-radius: 0;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

/* ---- Submit row ---- */
.acu-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.acu-submit-btn {
  padding: 11px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--acu-accent);
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--acu-font);
  transition: background .15s, transform .1s;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 600px) { .acu-submit-btn { width: auto; min-width: 150px; } }
.acu-submit-btn:hover  { background: var(--acu-accent-hover); }
.acu-submit-btn:active { transform: scale(.98); }

/* ---- OTP Modal improvements ---- */
.club-anketa-modal-header {
  background: linear-gradient(180deg, #fafafa, #fff) !important;
}
.club-anketa-modal-header .otp-phone-display {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #111 !important;
  direction: ltr;
  unicode-bidi: embed;
}
.otp-digit {
  width: 48px !important;
  height: 56px !important;
  border-radius: 0;
  font-size: 22px !important;
}
.otp-message.success::before { content: "✓  "; }
.otp-message.error::before   { content: "✗  "; }
.otp-verify-btn {
  letter-spacing: .04em !important;
  border-radius: 0;
  font-size: 14px !important;
}

/* ---- WC account page input styling inside acu-section ---- */
.acu-section .input-text,
.acu-section input[type="text"].input-text,
.acu-section input[type="email"].input-text,
.acu-section input[type="tel"].input-text,
.acu-section input[type="password"].input-text {
  border: 1px solid #d1d5db !important;
  border-radius: 0;
  padding: 8px 10px !important;
  font-size: 13.5px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color .15s, box-shadow .15s !important;
  color: var(--acu-text) !important;
  background: #fff !important;
}
.acu-section .input-text::placeholder { color: #c4c9d4; }
.acu-section .input-text:focus {
  outline: none !important;
  border-color: var(--acu-border-focus) !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06) !important;
}
.acu-section .form-row { margin: 0; padding: 0; }
.acu-section .form-row > label {
  font-size: 12px;
  font-weight: 600;
  color: var(--acu-text-label);
  margin-bottom: 4px;
  display: block;
}
.acu-section .wcu-grid { gap: 10px 14px; }

/* ---- T&C section ---- */
.acu-tc-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.acu-tc-row > label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #111;
  margin: 0;
}
.acu-tc-row > label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: #111;
  margin: 0;
}
.acu-tc-row .wcu-terms-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.acu-tc-row .wcu-link {
  font-size: 12px;
  color: #374151;
  text-decoration: underline;
  font-weight: 500;
}
.acu-tc-row .button {
  font-size: 12px !important;
  padding: 4px 10px !important;
  border-radius: 0;
}
.acu-tc-row .wcu-terms-details summary { font-size: 12px; font-weight: 600; }
.acu-tc-row .wcu-terms-body { font-size: 12.5px; }

/* ---- Club card row ---- */
.acu-club-card-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.acu-club-card-row > label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #111;
  margin: 0;
}
.acu-club-card-row > label input[type="checkbox"] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  accent-color: #111;
  margin: 0;
}
.acu-club-card-row .wcu-help {
  font-size: 11px;
  color: var(--acu-text-muted);
  line-height: 1.4;
  margin: 0;
}

/* ---- Account page: save button row ---- */
.acu-save-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--acu-border);
  margin-top: 4px;
}
.acu-save-btn {
  padding: 10px 24px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .04em;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-family: var(--acu-font);
  transition: background .15s, transform .1s;
  min-width: 130px;
}
.acu-save-btn:hover  { background: #333; }
.acu-save-btn:active { transform: scale(.98); }

/* ---- Password sub-section divider ---- */
.acu-pw-divider {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--acu-border);
}
.acu-pw-divider-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #b0b7c3;
  margin: 0 0 10px;
}

/* ---- Inline club card layout (checkbox + input side-by-side) ---- */
.acu-club-card-inline {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
@media (max-width: 480px) {
  .acu-club-card-inline { grid-template-columns: 1fr; gap: 8px; }
}

/* ---- Staff login form ---- */
.acu-login-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}
.acu-login-card {
  background: var(--acu-surface);
  border: 1px solid var(--acu-border);
  border-radius: 0;
  padding: 32px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  box-sizing: border-box;
}
.acu-login-title {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--acu-text);
  font-family: var(--acu-font);
  border: none;
  padding: 0;
}
.acu-login-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--acu-error);
  border-radius: 0;
  padding: 10px 14px;
  font-size: 13.5px;
  margin-bottom: 16px;
  line-height: 1.4;
}
.acu-login-form .acu-field { margin-bottom: 14px; }
.acu-login-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.acu-login-lost-pw {
  font-size: 12.5px;
  color: var(--acu-text-muted);
  text-decoration: underline;
}
.acu-login-lost-pw:hover { color: var(--acu-text); }
@media (max-width: 480px) {
  .acu-login-card { padding: 24px 18px; }
}

/* ---- WC Registration form — section cards wrapper ---- */
.acu-reg-fields {
  margin-bottom: 4px;
}
.acu-reg-fields .acu-section {
  margin-top: 0;
}

/* WC phone verify group inside .acu-phone-field — inset verify button on right side of input */
.acu-phone-field .wc-phone-verify-group,
.acu-phone-field .phone-verify-group {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}
/* The phone input — right padding reserves space for the inset button */
.acu-phone-field .wc-phone-verify-group input[type="tel"],
.acu-phone-field .phone-verify-group input[type="tel"] {
  border: 1px solid #d1d5db !important;
  border-radius: 0;
  padding: 9px 88px 9px 11px !important;
  font-size: 13.5px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color .15s, box-shadow .15s !important;
}
.acu-phone-field .wc-phone-verify-group input[type="tel"]:focus,
.acu-phone-field .phone-verify-group input[type="tel"]:focus {
  border-color: var(--acu-border-focus) !important;
  box-shadow: 0 0 0 3px rgba(0,0,0,.06) !important;
}
/* Verify container — absolutely overlaid on the right side of the input */
.acu-phone-field .phone-verify-container {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 0 6px !important;
  width: auto !important;
  transform: none !important;
}
.acu-phone-field .phone-verify-container .phone-verify-btn {
  padding: 5px 12px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  border-radius: 0;
  background: #111;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap !important;
  font-family: var(--acu-font);
  line-height: 1.4 !important;
}
.acu-phone-field .phone-verify-container .phone-verify-btn:hover  { background: #333 !important; }
.acu-phone-field .phone-verify-container .phone-verify-btn:active { transform: scale(.98); }
.acu-phone-field .phone-verify-container .phone-verified-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #15803d;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 2px;
  width: auto;
  height: auto;
  flex: 0 0 auto;
}
.acu-phone-field .phone-verify-container .phone-verified-icon svg {
  width: 20px;
  height: 20px;
  stroke: #15803d;
}
