/* ============================================================================
   Shared styles for the landlord website template.
   DO NOT EDIT. Mobile-first, plain and warm.
   ============================================================================ */

:root {
  --paper: #faf6ef;
  --card: #ffffff;
  --ink: #2c2620;
  --muted: #6f6459;
  --line: #e7ddcf;
  --accent: #b4552d;
  --accent-dark: #93421f;
  --accent-soft: #f7e8dc;
  --ok: #2e7d4f;
  --warn-bg: #fdf3e3;
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

.wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 18px 64px;
}

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 0 6px;
}

.site-header img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 14px 0 6px;
  letter-spacing: -0.01em;
}

.lede {
  color: var(--muted);
  margin: 0 0 22px;
}

/* ---------- cards & steps ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 0 0 16px;
  box-shadow: 0 1px 3px rgba(60, 45, 30, 0.06);
}

.steps {
  display: flex;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.steps li {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding-top: 10px;
  position: relative;
}

.steps li::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  border-radius: 2px;
  background: var(--line);
}

.steps li.done::before { background: var(--accent); }
.steps li.now { color: var(--ink); font-weight: 700; }
.steps li.now::before { background: var(--accent); }

.step-pane { display: none; }
.step-pane.active { display: block; }

h2 {
  font-size: 20px;
  margin: 0 0 14px;
}

/* ---------- form fields ---------- */

label.field {
  display: block;
  margin: 0 0 14px;
  font-weight: 600;
  font-size: 15px;
}

label.field .hint {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  font-size: 17px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  appearance: none;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

textarea { min-height: 96px; resize: vertical; }

.field-error {
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
  display: none;
}

.field-error.show { display: block; }

/* ---------- property picker ---------- */

.prop {
  display: block;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin: 0 0 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
}

.prop:hover { border-color: var(--accent); }

.prop input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.prop.selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.prop .addr { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.prop .meta { color: var(--muted); font-size: 15px; }
.prop .rent { font-weight: 700; color: var(--accent-dark); font-size: 18px; margin-top: 6px; }
.prop .note { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ---------- time slots ---------- */

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.slot {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 48px;
}

.slot.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* ---------- date chips ---------- */

.date-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.date-chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 12px 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  min-height: 52px;
}

.date-chip.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.link-btn {
  background: none;
  border: none;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  padding: 10px 0 0;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .date-chips { grid-template-columns: repeat(2, 1fr); }
}

.hours-note {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}

/* ---------- buttons ---------- */

.btn-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

button.btn {
  flex: 1;
  border: none;
  border-radius: 12px;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  min-height: 56px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { opacity: 0.55; cursor: default; }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--line);
  flex: 0 0 auto;
  padding: 16px 22px;
}

.btn-waitlist {
  display: block;
  text-align: center;
  margin-top: 14px;
  border: 2px solid var(--accent);
  color: var(--accent-dark);
  border-radius: 12px;
  padding: 14px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.btn-waitlist:hover { background: var(--accent); color: #fff; }

/* ---------- notices, loading, confirmation ---------- */

.notice {
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 16px;
  font-size: 16px;
}

.notice-warn {
  background: var(--warn-bg);
  border: 1px solid #ecd9b8;
}

.notice a { color: var(--accent-dark); font-weight: 700; }

.loading {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

.confirm {
  text-align: center;
  padding: 12px 0;
}

.confirm .big {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px;
}

.confirm p { color: var(--muted); }

.summary {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 18px 0;
  font-size: 16px;
}

.summary dt { font-weight: 700; }
.summary dd { margin: 0 0 10px; }
.summary dd:last-child { margin-bottom: 0; }

/* ---------- footer ---------- */

.site-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  text-align: center;
}

.site-footer a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--muted);
}

.nav-links a { color: var(--accent-dark); font-weight: 600; }

@media (min-width: 560px) {
  h1 { font-size: 34px; }
  .slot-grid { grid-template-columns: repeat(4, 1fr); }
}
