/* HostHunt app shell — shared styles for the (concept) signed-in pages.
   Coherent with the landing: coral accent, warm paper, rounded cards. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #181d27;
  --muted: #535862;
  --faint: #98948d;
  --line: #e7e2da;
  --line-soft: #efeae2;
  --paper: #fbf9f5;
  --card: #ffffff;
  --accent: #ff6b3d;
  --accent-deep: #e85626;
  --tint: #fff2ec;
  --tint-line: #ffd9c9;
  --ok: #079455;
  --ok-bg: #dbfae6;
  --info: #1570ef;
  --info-bg: #dbe9fe;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 18px 50px -26px rgba(20, 16, 12, 0.4);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(18px, 4vw, 40px);
}

/* demo ribbon */
.demo {
  background: var(--ink);
  color: #f3efe8;
  font-size: 12.5px;
  text-align: center;
  padding: 7px 14px;
}
.demo a {
  color: #ffb89e;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 184, 158, 0.4);
}

/* ---- app bar ---- */
.appbar {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}
.appbar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 70px;
}
/* HostHunt wordmark logo: lowercase "hosthunt", the o in h-o-st is a coral disc
   holding a white house. One tight lockup — the mark is built into the word. */
.brand {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.brand .ink {
  color: var(--ink);
}
.brand .coral {
  color: var(--accent-deep);
}
.brand .o {
  display: inline-block;
  width: 0.76em;
  height: 0.76em;
  margin: 0 0.015em;
  align-self: flex-end;
  transform: translateY(0.015em);
}
.brand .o svg {
  display: block;
  width: 100%;
  height: 100%;
}
.app-nav {
  display: flex;
  gap: 26px;
  margin-left: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.app-nav a:hover {
  color: var(--ink);
}
.app-nav a.active {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}
.app-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}
.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--muted);
}
.icon-btn:hover {
  color: var(--ink);
  border-color: var(--accent);
}
.avatar-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #f1ede7;
  border-radius: 999px;
  padding: 5px 14px 5px 5px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.avatar-pill img,
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: linear-gradient(135deg, #ffd9c9, var(--accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
@media (max-width: 760px) {
  .app-nav {
    display: none;
  }
}

/* ---- page scaffold ---- */
.page {
  padding: clamp(26px, 4vw, 44px) 0 80px;
}
.page-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
.page-head h1 {
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
  margin: 0;
}
.page-head .sub {
  color: var(--muted);
  margin: 4px 0 0;
  font-size: 15.5px;
}

/* profile header */
.profile {
  display: flex;
  align-items: center;
  gap: 16px;
}
.profile .avatar {
  width: 76px;
  height: 76px;
  font-size: 26px;
}
.profile h1 {
  font-size: clamp(26px, 3.5vw, 36px);
  margin: 0;
  letter-spacing: -0.02em;
}
.profile .sub {
  color: var(--muted);
  font-size: 16px;
  margin: 4px 0 0;
}

/* buttons */
.btn {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.btn-solid {
  background: var(--accent);
  color: #fff;
}
.btn-solid:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent-deep);
}
.btn-outline:hover {
  background: var(--tint);
}

/* stat cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 34px;
}
@media (max-width: 820px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }
}
.stat {
  background: var(--tint);
  border: 2px solid var(--tint-line);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}
.stat .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stat .ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
}
.stat .tag {
  border: 1.5px solid var(--accent);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 13px;
  border-radius: 999px;
  padding: 4px 12px;
  background: transparent;
  cursor: pointer;
}
.stat .label {
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}
.stat .value {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* panels */
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  margin-bottom: 24px;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.panel-head h2 {
  font-size: 21px;
  margin: 0;
  letter-spacing: -0.01em;
}
.panel-head a {
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 14.5px;
}

/* property / listing cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}
.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--tint-line);
}
.pcard .ph {
  height: 180px;
  background-size: cover;
  background-position: center;
}
.pcard .body {
  padding: 18px 20px 22px;
}
.pcard h3 {
  font-size: 20px;
  margin: 12px 0 2px;
  letter-spacing: -0.01em;
}
.pcard .loc {
  color: var(--muted);
  font-size: 14.5px;
}
.pcard .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}
.pcard .price {
  font-weight: 700;
}
.pcard .price span {
  color: var(--muted);
  font-weight: 500;
  font-size: 13px;
}
.badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 11px;
  border: 2px solid var(--ok);
  color: var(--ok);
  background: var(--ok-bg);
}
.badge.info {
  border-color: var(--info);
  color: var(--info);
  background: var(--info-bg);
}
.badge.warn {
  border-color: var(--accent-deep);
  color: var(--accent-deep);
  background: var(--tint);
}

/* list rows (guests / trips) */
.rows {
  display: flex;
  flex-direction: column;
}
.lrow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 4px;
  border-top: 1px solid var(--line-soft);
}
.lrow:first-child {
  border-top: 0;
}
.lrow .thumb {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  flex: none;
  background-color: #eee;
}
.lrow .who {
  font-weight: 600;
}
.lrow .meta {
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}
.lrow .end {
  margin-left: auto;
  text-align: right;
}
.lrow .amt {
  font-weight: 700;
}

/* forms */
.form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  max-width: 760px;
}
.form .grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 620px) {
  .form .grid2 {
    grid-template-columns: 1fr;
  }
}
.field {
  margin-bottom: 18px;
}
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
}
.field textarea {
  min-height: 110px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.chip {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.chip:hover {
  border-color: var(--accent);
}
.chip.on {
  background: var(--tint);
  border-color: var(--accent);
  color: var(--accent-deep);
  font-weight: 600;
}
.dropzone {
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
  background: var(--paper);
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.footnote {
  color: var(--faint);
  font-size: 13px;
  margin-top: 26px;
  text-align: center;
}
