/* Lahav club form. From reference/lahav-club-join-live.html, scoped under .lahav-club so the Elementor page is unaffected. */
.lahav-club {
  --page: #F8F8F8;
  --green: #29A90B;
  --green-dark: #2E5F23;
  --slate: #2A362F;
  --card: #FFFFFF;
  --ink: #0F0F0F;
  --muted: #62666D;
  --rule: #ECEEF1;
  --field: #F3F4F6;
  --field-hover: #ECEEF1;
  --danger: #C0261C;
  --danger-soft: #FCEDEB;
  --warn: #7A5200;
  --warn-soft: #FBF2DE;
  --font: "Rubik", "Arial Hebrew", Arial, sans-serif;
  --font-head: "Assistant", "Arial Hebrew", Arial, sans-serif;
  color-scheme: light;
  background: transparent; color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5;
  overflow-x: hidden;
}
/* Inside a page the wrapper is transparent (the card is the form); the plugin's own standalone pages paint the page colour. */
.lahav-club.lahav-club--page { background: var(--page); min-height: 100vh; }
.lahav-club * { box-sizing: border-box; font-size: inherit; }
.lahav-club img { max-width: 100%; }
.lahav-club [hidden] { display: none !important; }

.lahav-club .page {
  min-height: 100%;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 16px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.lahav-club .wrap { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 10px; }

.lahav-club .card {
  background: var(--card); border-radius: 20px; overflow: hidden;
  box-shadow: 0 40px 80px -28px rgba(20,25,40,.28), 0 2px 8px rgba(0,0,0,.06);
}
.lahav-club .head {
  padding: 20px 20px 18px; border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.lahav-club .head img { width: 76px; height: auto; }
.lahav-club .head h1 { margin: 0; font-family: var(--font-head); font-size: 23px; font-weight: 800; color: var(--slate); letter-spacing: -0.01em; text-wrap: balance; }

.lahav-club .body { padding: 20px 20px 22px; }

.lahav-club form { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; border: 0; }
.lahav-club .section { margin: 6px 0 -2px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.lahav-club .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lahav-club .lead { margin: 0; color: var(--muted); }

.lahav-club .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lahav-club .float { position: relative; }
.lahav-club .float input {
  width: 100%; height: 54px; border-radius: 12px; border: 2px solid transparent;
  background: var(--field); color: var(--ink);
  font: inherit; font-size: 17px; font-weight: 500;
  padding: 20px 12px 4px; margin: 0;
  outline: none; transition: border-color .18s, background-color .18s;
}
.lahav-club .float input:hover { background: var(--field-hover); }
.lahav-club .float input:focus { border-color: var(--green); background: var(--card); }
.lahav-club .float input[dir="ltr"] { text-align: right; letter-spacing: 0.02em; }
.lahav-club .float input[type="email"] { text-align: left; } /* E-mail addresses read left to right (user, 2026-11-18). */
.lahav-club .float label {
  position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: var(--muted); pointer-events: none; margin: 0;
  transition: top .18s, font-size .18s, transform .18s, color .18s;
}
.lahav-club .float input:focus + label,
.lahav-club .float input:not(:placeholder-shown) + label { top: 8px; transform: none; font-size: 12px; font-weight: 600; }
.lahav-club .float input:focus + label { color: var(--green-dark); }
.lahav-club .float input[readonly] { background: transparent; border: 2px dashed #D9DCE1; color: var(--muted); cursor: default; }
.lahav-club .float input[readonly]:focus { border-color: #D9DCE1; }

.lahav-club .hint, .lahav-club .group-label { font-size: 13px; color: var(--muted); padding-inline: 2px; }
.lahav-club .group-label { font-weight: 600; }
.lahav-club .req { color: var(--danger); font-weight: 700; margin-inline-start: 3px; }
.lahav-club .dob { display: grid; grid-template-columns: 0.9fr 1.4fr 1.1fr; gap: 8px; }
.lahav-club .float.sel select {
  width: 100%; height: 54px; border-radius: 12px; border: 2px solid transparent;
  background-color: var(--field); color: var(--ink);
  font: inherit; font-size: 16px; font-weight: 500;
  padding: 20px 10px 4px 24px; margin: 0; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2362666D' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 9px center;
  outline: none; transition: border-color .18s, background-color .18s;
}
.lahav-club .float.sel select:hover { background-color: var(--field-hover); }
.lahav-club .float.sel select:focus { border-color: var(--green); background-color: var(--card); }
.lahav-club .float.sel label { top: 8px; transform: none; font-size: 12px; font-weight: 600; inset-inline-start: 12px; }
.lahav-club .float.sel select:focus + label { color: var(--ink); }
.lahav-club .field[data-state="error"] .float.sel select { border-color: var(--danger); background-color: var(--card); }
.lahav-club .lock { display: inline-flex; align-items: center; gap: 6px; }
.lahav-club .lock svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex: 0 0 auto; }
.lahav-club .msg { display: none; font-size: 13.5px; padding: 6px 10px; border-radius: 10px; }
.lahav-club .field[data-state="error"] .float input { border-color: var(--danger); background: var(--card); }
/* Code field: label above, five boxes. One real (invisible) input lies over the boxes so the phone's SMS
   auto-fill and the numeric keyboard work; the script mirrors its digits into the boxes. */
.lahav-club label.static { font-size: 15px; font-weight: 600; color: var(--ink); margin: 0 0 2px; }
.lahav-club .code { position: relative; direction: ltr; }
.lahav-club .cells { display: flex; justify-content: center; gap: 10px; }
.lahav-club .cells i {
  width: 52px; height: 62px; border-radius: 12px; border: 2px solid #D9DCE1; background: var(--field);
  display: flex; align-items: center; justify-content: center;
  font-style: normal; font-size: 28px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums;
  transition: border-color .15s, background-color .15s;
}
.lahav-club .cells i.active { border-color: var(--green); background: var(--card); }
.lahav-club .cells i.filled { background: var(--card); }
.lahav-club .field[data-state="error"] .cells i { border-color: var(--danger); }
.lahav-club .code-input {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0;
  opacity: 0; font-size: 16px; color: transparent; caret-color: transparent; background: transparent; cursor: pointer;
}
@media (max-width: 360px) { .lahav-club .cells i { width: 46px; height: 56px; font-size: 24px; } }
.lahav-club .field[data-state="error"] .msg { display: block; color: var(--danger); background: var(--danger-soft); }
.lahav-club .field[data-state="warn"] .msg { display: block; color: var(--warn); background: var(--warn-soft); }

.lahav-club .check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; position: relative; }
.lahav-club .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lahav-club .check .box {
  flex: 0 0 22px; height: 22px; border-radius: 7px; background: var(--field); border: 2px solid #CDD1D6;
  display: grid; place-items: center; margin-top: 1px; transition: background .18s, border-color .18s;
}
.lahav-club .check .box svg { width: 14px; height: 14px; stroke: #FFFFFF; stroke-width: 3.2; fill: none; opacity: 0; }
.lahav-club .check input:checked + .box { background: var(--green); border-color: var(--green); }
.lahav-club .check input:checked + .box svg { opacity: 1; }
.lahav-club .check input:focus-visible + .box { box-shadow: 0 0 0 3px rgba(41,169,11,.3); }
.lahav-club .field[data-state="error"] .check .box { border-color: var(--danger); }
.lahav-club .verified { margin: 0; font-size: 14px; color: var(--muted); background: var(--field); border-radius: 12px; padding: 10px 14px; }
.lahav-club .verified[hidden] { display: none; }
.lahav-club .farewell h2 { outline: none; }
.lahav-club #confirmNumber { font-weight: 700; color: var(--ink); white-space: nowrap; }
.lahav-club .farewell { text-align: center; padding: 4px 0 2px; }
.lahav-club .farewell h2 { margin: 0 0 6px; font-family: var(--font-head); font-size: 17px; line-height: 1.3; font-weight: 700; color: var(--slate); text-wrap: balance; }
.lahav-club .farewell p { margin: 0 auto; max-width: 30ch; color: var(--muted); font-size: 15px; line-height: 1.5; }
.lahav-club .consent .ask { margin: 0 0 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.lahav-club .stay { display: block; text-align: center; padding: 12px; font-size: 15px; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.lahav-club .stay:hover { text-decoration: underline; }
.lahav-club .privacy.center { text-align: center; }
.lahav-club .consent { background: var(--field); border-radius: 14px; padding: 12px; }

.lahav-club .license { display: flex; flex-direction: column; gap: 12px; }
.lahav-club .privacy { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.lahav-club .privacy a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.lahav-club .privacy a:hover { color: var(--green); }

.lahav-club .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.lahav-club .summary { display: none; margin: 0; font-size: 15px; color: var(--danger); background: var(--danger-soft); padding: 10px 14px; border-radius: 12px; }
.lahav-club .summary.on { display: block; }
.lahav-club .member-note { margin: 0 0 16px; font-size: 16px; color: var(--green-dark); background: #EAF6E6; padding: 12px 14px; border-radius: 12px; }
.lahav-club .member-note[hidden] { display: none; }

.lahav-club .submit {
  width: 100%; height: 54px; border-radius: 999px; border: 0; cursor: pointer; margin-top: 2px;
  background: var(--green); color: #FFFFFF; font-family: var(--font-head); font-size: 19px; font-weight: 800;
  transition: transform .06s, background-color .18s;
}
.lahav-club .submit:hover { background: var(--green-dark); }
.lahav-club .submit.danger { background: var(--danger); }
.lahav-club .submit.danger:hover { background: #9b1c1c; }
.lahav-club .submit:active { transform: translateY(1px); }
.lahav-club .submit:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(41,169,11,.3); }
.lahav-club .submit[disabled] { opacity: .6; cursor: progress; }

.lahav-club .quick { display: flex; justify-content: center; gap: 12px; }
.lahav-club .link { background: none; border: 0; padding: 8px 10px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-decoration: underline; }
.lahav-club .link:hover { color: var(--ink); }
.lahav-club .link[disabled] { opacity: .5; cursor: default; }
.lahav-club .resend { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.lahav-club .resend #resendTimer { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }
.lahav-club .resend .link { color: var(--green-dark); font-weight: 600; padding: 0 4px; }

.lahav-club .screen { display: flex; flex-direction: column; gap: 14px; }
.lahav-club .screen-head { display: flex; align-items: center; gap: 12px; }
.lahav-club .badge { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #FFFFFF; }
.lahav-club .badge svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lahav-club .screen h2 { margin: 0; font-family: var(--font-head); font-size: 23px; line-height: 1.25; font-weight: 800; color: var(--slate); text-wrap: balance; outline: none; }
.lahav-club .screen p { margin: 0; color: var(--muted); }

@media (max-width: 420px) {
  .lahav-club .pair { grid-template-columns: 1fr; }
  .lahav-club .head { padding: 16px 16px 14px; }
  .lahav-club .head img { width: 64px; }
  .lahav-club .head h1 { font-size: 21px; }
  .lahav-club .body { padding: 16px 14px 18px; }
  .lahav-club .float input, .lahav-club .float.sel select { height: 50px; }
  .lahav-club .float input { font-size: 16px; padding-inline: 10px; }
  .lahav-club .float label { inset-inline-start: 12px; font-size: 15px; }
  .lahav-club .float.sel select { padding-inline: 8px 22px; background-position: left 7px center; }
  .lahav-club .float.sel label { inset-inline-start: 10px; }
}
@media (prefers-reduced-motion: reduce) { .lahav-club * { transition: none !important; } }
