/* =============================================================================
   MyRoomiz — the stepped sign-up pages (list-service.html, contact-details.html)
   =============================================================================
   Was inline in list-service.html; shared now that the property owner's
   contact page uses the same shell. Pages set <body class="lsv-page">. */
body.lsv-page { background: var(--canvas, #f7f7f8); margin: 0; }
.lsv-top { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.lsv-top-inner { max-width: 1100px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.lsv-top .logo img { height: 30px; display: block; }
.lsv-top-actions { margin-left: auto; display: flex; gap: 10px; }
.lsv-top-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border: 1px solid var(--line);
  border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; text-decoration: none; }
.lsv-top-btn:hover { border-color: var(--ink); }

.lsv { max-width: 760px; margin: 0 auto; padding: 28px 20px 140px; }
.lsv-intro h1 { font-size: 30px; font-weight: 800; color: var(--ink); margin: 0 0 6px; letter-spacing: -0.01em; }
.lsv-intro p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.lsv-steps { list-style: none; margin: 22px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lsv-step { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff;
  border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; cursor: default; }
.lsv-step b { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: #f0f1f3; color: var(--muted); font-size: 13px; }
.lsv-step span { min-width: 0; line-height: 1.25; }
.lsv-step.is-on { border-color: var(--brand); color: var(--ink); box-shadow: 0 0 0 1px var(--brand); }
.lsv-step.is-on b { background: var(--brand); color: #fff; }
.lsv-step.is-done { color: var(--ink); cursor: pointer; }
.lsv-step.is-done b { background: #E8F7EE; color: #1E8E4F; }

.lsv-card.svc-modal { width: 100%; height: auto; overflow: visible; background: #fff; border-radius: 20px;
  box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 28px -18px rgba(16,24,40,.25); animation: none; }
.lsv-card .svc-modal-body { overflow: visible; padding: 22px 28px 8px; }
.lsv-card .svc-modal-x, .lsv-card #sfError { display: none !important; }
.lsv-card .ac-hint { display: block; margin-top: 6px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

.lsv-otp-to { font-size: 15px; color: var(--ink-2, #3b4652); line-height: 1.6; margin: 0 0 16px; }
.lsv-otp-to b { color: var(--ink); }
.lsv-otp-row { display: flex; gap: 10px; align-items: stretch; }
.lsv-otp-row input { flex: 1; min-width: 0; height: 52px; font-size: 22px; letter-spacing: .3em; text-align: center; font-weight: 700; }
.lsv-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; font-size: 14px; }
.lsv-links button { border: 0; background: none; padding: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; }
.lsv-links button:disabled { color: var(--muted); cursor: default; }
.lsv-signedin { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #E8F7EE; color: #17643a; font-size: 14.5px; line-height: 1.5; }
.lsv-signedin svg { flex: none; width: 22px; height: 22px; }
.lsv-summary { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: #f7f7f8; font-size: 14px; color: var(--ink-2, #3b4652); line-height: 1.6; }
.lsv-summary b { color: var(--ink); }

.lsv-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: #fff; border-top: 1px solid var(--line); }
.lsv-bar-inner { max-width: 760px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 12px; }
.lsv-error { flex: 1; min-width: 0; color: #b42318; font-size: 14px; font-weight: 600; line-height: 1.4; }
.lsv-bar .btn { height: 48px; padding: 0 26px; flex: none; }
.lsv-bar .lsv-back { margin-right: auto; }
.lsv-bar .lsv-back[hidden] { display: none; }

.lsv-done { text-align: center; padding: 40px 28px 34px; }
.lsv-done .lsv-tick { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px; display: grid; place-items: center; background: #E8F7EE; color: #1E8E4F; }
.lsv-done .lsv-tick svg { width: 32px; height: 32px; }
.lsv-done h2 { font-size: 26px; font-weight: 800; color: var(--ink); margin: 0 0 10px; }
.lsv-done p { max-width: 480px; margin: 0 auto; color: var(--ink-2, #3b4652); font-size: 15.5px; line-height: 1.6; }
.lsv-done .btn { margin-top: 24px; height: 50px; padding: 0 34px; width: auto; display: inline-flex; align-items: center; }
.lsv-bar .btn:disabled { opacity: .45; cursor: not-allowed; }

.lsv-busy { position: fixed; inset: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: blur(3px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 20px; }
.lsv-busy[hidden] { display: none; }
.lsv-spin { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #ffe2d4; border-top-color: var(--brand); animation: lsvSpin .8s linear infinite; }
.lsv-busy p { margin: 0; font-size: 16px; font-weight: 600; color: var(--ink); }
@keyframes lsvSpin { to { transform: rotate(360deg); } }

/* mobile-app.css turns every .auth-modal into a bottom sheet (top padding, a
   grab handle, square top corners). Here the cards are part of the page. */
.lsv-page .lsv-card.auth-modal { padding: 0 !important; border-radius: 20px !important; max-height: none !important;
  transform: none !important; margin: 0 !important; width: 100% !important; }
.lsv-page .lsv-card.auth-modal::before { display: none !important; }
.lsv-page .lsv-card.lsv-done { padding: 40px 22px 34px !important; }

@media (max-width: 640px) {
  .lsv { padding: 20px 16px 130px; }
  .lsv-intro h1 { font-size: 24px; }
  .lsv-steps { gap: 6px; }
  .lsv-step { flex-direction: column; text-align: center; gap: 6px; padding: 10px 6px; font-size: 12.5px; }
  .lsv-card .svc-modal-head { padding: 18px 18px 14px; }
  .lsv-card .svc-modal-body { padding: 18px 18px 4px; }
  .lsv-card .svc-row-2 { grid-template-columns: 1fr; }
  .lsv-bar-inner { padding: 12px 16px; flex-wrap: wrap; }
  .lsv-error { flex-basis: 100%; order: -1; }
  .lsv-bar .btn { height: 46px; padding: 0 20px; }
  .lsv-bar .lsv-next { flex: 1; }
}
