/* ─────────────────────────────────────────────────────────────────────────────
   /join — owner application form (OWNER_ONBOARDING_PLAN.md Phase 3).
   Builds on site.css tokens; RTL-first, logical properties only.
   ───────────────────────────────────────────────────────────────────────────── */
.nav-home { color: var(--text-2); font-weight: 600; font-size: .98rem; }
.nav-home:hover { color: var(--green); }

.jp { padding-block: clamp(28px, 5vw, 56px) 48px; position: relative; }
.jp::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 420px; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgba(0,213,98,.12), transparent 70%);
}
.jp-wrap { position: relative; max-width: 680px; }

.jp-intro { text-align: center; margin-bottom: 26px; }
.jp-intro .eyebrow::before { display: none; }
.jp-intro h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); }
.jp-intro p { margin-top: 10px; color: var(--sub); font-size: 1.05rem; }
.jp-flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 16px; list-style: none; color: var(--text-2); font-size: .95rem; }
.jp-flow li { display: inline-flex; align-items: center; gap: 8px; }
.jp-flow b {
  width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--green-soft); color: var(--green); font-size: .8rem; font-family: var(--font-display);
}

.jp-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(20px, 4vw, 32px);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.8);
}
.jp-card h2 { font-size: 1.45rem; }
.jp-sub { margin-top: 4px; margin-bottom: 18px; font-size: .98rem; }
.jp-center { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: 18px; }

.jp-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--border-hi); border-top-color: var(--green);
  animation: jp-spin .8s linear infinite;
}
@keyframes jp-spin { to { transform: rotate(360deg); } }

/* Tabs */
.jp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 20px; }
.jp-tabs button { padding: 10px; border-radius: 10px; font-weight: 600; color: var(--sub); transition: background .18s ease, color .18s ease; }
.jp-tabs button[aria-selected="true"] { background: var(--green); color: var(--bg); }

/* Fields */
.jp-field { display: grid; gap: 6px; margin-bottom: 16px; }
.jp-field > span { font-weight: 600; font-size: .95rem; color: var(--text); }
.jp-field em { font-style: normal; color: var(--sub); font-weight: 400; }
.jp-field small, .jp-hint { color: var(--sub); font-size: .86rem; line-height: 1.6; }
.jp-hint { display: block; margin: -4px 0 18px; }
.jp input:not([type="checkbox"]):not([type="radio"]), .jp select, .jp textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border-hi); border-radius: 12px;
  padding: 11px 14px; outline: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.jp textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.jp select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--sub) 50%), linear-gradient(135deg, var(--sub) 50%, transparent 50%); background-position: 18px 50%, 13px 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-inline-end: 14px; padding-inline-start: 34px; }
.jp input::placeholder, .jp textarea::placeholder { color: #5E687C; }
.jp input:focus, .jp select:focus, .jp textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-soft); }
.jp [aria-invalid="true"] { border-color: #FF5C5C !important; }
.jp input[dir="ltr"] { text-align: left; }

.jp-rules { margin: -4px 0 16px; font-size: .88rem; color: var(--sub); }
.jp-rules ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 2px 14px; margin-top: 4px; }
.jp-rules li::before { content: "○"; margin-inline-end: 6px; }
.jp-rules li.ok { color: var(--green); }
.jp-rules li.ok::before { content: "✓"; }

.jp-error { color: #FF7A7A; background: rgba(255,92,92,.08); border: 1px solid rgba(255,92,92,.3); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: .95rem; }
.jp-note { color: var(--green); background: var(--green-soft); border: 1px solid rgba(0,213,98,.25); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; font-size: .95rem; }
.jp-block { width: 100%; }
.jp-link { color: var(--green); font-weight: 600; font-size: .95rem; padding: 4px 0; }
.jp-link:hover { text-decoration: underline; }
#auth-form .jp-link { display: block; margin: 12px auto 0; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Account strip */
.jp-account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--border); color: var(--sub); font-size: .9rem; }
.jp-account b { color: var(--text-2); font-weight: 600; }

/* Steps indicator */
.jp-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; list-style: none; margin-bottom: 22px; }
.jp-steps li { font-size: .74rem; color: var(--sub); text-align: center; line-height: 1.4; padding-top: 10px; border-top: 3px solid var(--border-hi); }
.jp-steps li.done { border-color: var(--green-dark); color: var(--text-2); }
.jp-steps li.current { border-color: var(--green); color: var(--green); font-weight: 600; }

fieldset { border: 0; min-width: 0; }
legend { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 14px; }

/* Location */
.jp-loc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.jp-loc .btn svg { width: 18px; height: 18px; }
.jp-loc-set { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--green); font-size: .95rem; }
.jp-loc-set svg { width: 18px; height: 18px; }
.jp-loc-set a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.jp-sub-field { margin-top: 6px; margin-bottom: 0; }
.jp-sub-field > span { font-weight: 500; color: var(--text-2); }

/* Courts */
.jp-courts { display: grid; gap: 10px; margin-bottom: 12px; }
.jp-court { display: grid; grid-template-columns: auto 1fr 1fr auto; align-items: end; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.jp-court.no-size { grid-template-columns: auto 1fr auto; }
.jp-court .jp-field { margin: 0; }
.jp-court .jp-field > span { font-size: .82rem; color: var(--sub); font-weight: 500; }
.jp-court-num { font-family: var(--font-display); font-weight: 700; color: var(--green); padding-bottom: 10px; white-space: nowrap; }
.jp-court-del { color: var(--sub); font-size: .88rem; padding: 10px 4px; }
.jp-court-del:hover { color: #FF7A7A; }
.jp-money { position: relative; display: block; }
.jp-money i { position: absolute; inset-inline-start: 14px; top: 50%; translate: 0 -50%; font-style: normal; color: var(--sub); font-size: .9rem; pointer-events: none; }
.jp-money input { padding-inline-start: 52px !important; }
[data-step="3"] > .btn { margin-bottom: 20px; }

.jp-checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 14px; }
.jp-checks label, .jp-radios label { display: flex; align-items: center; gap: 10px; color: var(--text-2); cursor: pointer; }
.jp-radios { display: grid; gap: 8px; }
.jp-radios-row { grid-auto-flow: column; justify-content: start; column-gap: 28px; }
.jp input[type="checkbox"], .jp input[type="radio"] { width: 18px; height: 18px; accent-color: var(--green); flex: none; }

.jp-hours { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.jp-hours-label { grid-column: 1 / -1; font-weight: 600; color: var(--green); font-size: .92rem; margin-bottom: 6px; }

/* Review */
.jp-review { display: grid; gap: 12px; }
.jp-review section { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.jp-review header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.jp-review h3 { font-size: 1.02rem; }
.jp-review dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: .95rem; }
.jp-review dt { color: var(--sub); }
.jp-review dd { color: var(--text-2); overflow-wrap: anywhere; }

.jp-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.jp-nav .btn { flex: 1; }
.jp-nav .btn-primary { flex: 2; }

/* Status */
.jp-status { text-align: center; display: grid; justify-items: center; gap: 12px; padding-block: 8px; }
.jp-status p, .jp-center p { color: var(--text-2); max-width: 460px; }
.jp-status-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; }
.jp-status-icon svg { width: 34px; height: 34px; }
.jp-status-icon.wait { background: rgba(255,184,0,.12); color: #FFB800; }
.jp-status-icon.ok { background: var(--green-soft); color: var(--green); }
.jp-status-icon.no { background: rgba(255,92,92,.1); color: #FF7A7A; }
.jp-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 4px; }
.jp-stores { justify-content: center; }

.jp-help { text-align: center; margin-top: 22px; color: var(--sub); }
.jp-help a { color: var(--wa); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.jp-help svg { width: 16px; height: 16px; }
.jp-noscript { margin-top: 16px; text-align: center; color: var(--text-2); }
.jp-noscript a { color: var(--green); }

.jp-footer { border-top: 1px solid var(--border); padding-block: 22px; background: #080B15; }
.jp-footer .container { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; color: var(--sub); font-size: .9rem; }
.jp-footer a:hover { color: var(--green); }

[hidden] { display: none !important; }

@media (max-width: 480px) {
  .jp-hours { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .jp-court { grid-template-columns: 1fr 1fr; }
  .jp-court-num { grid-column: 1; padding-bottom: 0; }
  .jp-court-del { grid-column: 2; grid-row: 1; justify-self: end; padding: 0; }
  .jp-court.no-size { grid-template-columns: 1fr 1fr; }
  .jp-court.no-size .jp-field { grid-column: 1 / -1; }
  .jp-steps li { font-size: 0; padding-top: 0; }
  .jp-nav { flex-direction: column-reverse; }
}
