/* ============================================================
   ZuvaRentals — style.css
   Theme: #1AAA55 green + white · Apple-style minimalist
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; border: none; outline: none; background: none; }

/* ── Tokens ── */
:root {
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --font-serif:  'DM Serif Display', Georgia, serif;

  --black:       #0a0a0a;
  --off-black:   #1c1c1e;
  --gray-900:    #2c2c2e;
  --gray-700:    #48484a;
  --gray-500:    #8e8e93;
  --gray-300:    #c7c7cc;
  --gray-200:    #e5e5ea;
  --gray-100:    #f2f2f7;
  --gray-50:     #f8f8fb;
  --white:       #ffffff;

  /* ── Brand green ── */
  --green:       #1AAA55;
  --green-dark:  #148a43;   /* hover / pressed state  */
  --green-soft:  #e8f7ee;   /* light tint backgrounds */
  --green-mid:   #c2ecd3;   /* borders on tint        */

  --orange:      #ff9500;
  --orange-soft: #fff4e0;
  --red:         #ff3b30;
  --red-soft:    #fff0ef;
  --blue:        #007aff;
  --blue-soft:   #e5f1ff;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  --shadow-lg:   0 8px 32px rgba(0,0,0,.12), 0 2px 8px rgba(0,0,0,.06);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.15);

  /* Input differentiation */
  --input-bg:      #ffffff;
  --input-border:  #d1d1d6;
  --input-focus:   #1AAA55;
  --input-shadow:  rgba(26,170,85,.15);

  --nav-h:       64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ── Base ── */
body {
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--black);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

/* ── Typography ── */
.serif     { font-family: var(--font-serif); }
.text-xs   { font-size: 11px; line-height: 1.4; }
.text-sm   { font-size: 13px; line-height: 1.5; }
.text-base { font-size: 16px; line-height: 1.6; }
.text-lg   { font-size: 19px; line-height: 1.4; }
.text-xl   { font-size: 24px; line-height: 1.3; }
.text-2xl  { font-size: 32px; line-height: 1.2; }
.text-3xl  { font-size: 44px; line-height: 1.1; }

.font-300 { font-weight: 300; }
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }

.muted  { color: var(--gray-500); }
.subtle { color: var(--gray-300); }


/* ── Layout ── */
.container    { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 680px;  margin: 0 auto; padding: 0 20px; }
.page         { padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 20px); }


/* ════════════════════════════════════════════════════════════
   BOTTOM NAVIGATION
   Bold black labels, green active state, green hover
   ════════════════════════════════════════════════════════════ */
.bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--nav-h) + var(--safe-bottom));
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid rgba(0,0,0,.08);
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
  z-index: 900;
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  color: var(--black);          /* bold black by default */
  font-size: 10px;
  font-weight: 700;             /* bold */
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: color .15s;
}

.bottom-nav a .nav-icon {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
}

.bottom-nav a:hover    { color: var(--green); }
.bottom-nav a.nav-active { color: var(--green); }
.bottom-nav a:active   { opacity: .7; }

/* Centre post button */
.nav-post-btn {
  width: 52px; height: 52px;
  background: var(--green);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--white) !important;
  margin-top: -14px;
  box-shadow: 0 4px 20px rgba(26,170,85,.4);
  transition: background .15s, transform .15s, box-shadow .15s !important;
}
.nav-post-btn:hover   { background: var(--green-dark) !important; box-shadow: 0 6px 24px rgba(26,170,85,.5) !important; }
.nav-post-btn:active  { transform: scale(.93); box-shadow: 0 2px 10px rgba(26,170,85,.3) !important; }
.nav-post-btn svg { width: 22px; height: 22px; }


/* ════════════════════════════════════════════════════════════
   BUTTONS — all green primary, secondary with green hover
   ════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-size: 15px; font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .18s, color .18s, box-shadow .18s, transform .1s;
  text-align: center;
  letter-spacing: .1px;
}
.btn:active { transform: scale(.97); }

/* Primary — solid green */
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(26,170,85,.25);
}
.btn-primary:hover {
  background: var(--green-dark);
  box-shadow: 0 4px 20px rgba(26,170,85,.35);
}
.btn-primary:active { opacity: .92; }

/* Secondary — white with black text, green hover */
.btn-secondary {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,170,85,.1);
}

.btn-full { width: 100%; }
.btn-lg   { padding: 16px 28px; font-size: 16px; }

/* Reveal contact button */
.btn-reveal {
  display: flex; align-items: center; gap: 6px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  border: none;
  margin-top: 12px;
  width: 100%;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(26,170,85,.25);
  transition: background .15s, box-shadow .15s, transform .1s;
}
.btn-reveal:hover  { background: var(--green-dark); box-shadow: 0 4px 16px rgba(26,170,85,.35); }
.btn-reveal:active { transform: scale(.98); opacity: .9; }

/* Subscribe button */
.btn-subscribe {
  display: flex; align-items: center; gap: 6px;
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 12px 20px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  border: none;
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(26,170,85,.25);
  transition: background .15s, box-shadow .15s, transform .1s;
}
.btn-subscribe:hover  { background: var(--green-dark); }
.btn-subscribe:active { transform: scale(.98); opacity: .9; }

/* Admin approve / reject */
.btn-approve, .btn-reject {
  flex: 1;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  cursor: pointer; border: none;
  transition: opacity .15s, transform .1s;
  min-width: 90px;
}
.btn-approve { background: var(--green-soft); color: #0d6b30; }
.btn-approve:hover { background: var(--green); color: var(--white); }
.btn-reject  { background: var(--red-soft);   color: #991f1f; }
.btn-reject:hover  { background: var(--red); color: var(--white); }
.btn-approve:active, .btn-reject:active { opacity: .8; transform: scale(.97); }


/* ════════════════════════════════════════════════════════════
   FORM INPUTS — clearly differentiated, white on light bg
   with green focus ring
   ════════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
  letter-spacing: .1px;
}
.form-label .required { color: var(--red); margin-left: 2px; }

.form-input {
  display: block;
  width: 100%;
  padding: 13px 16px;
  background: var(--input-bg);          /* white — stands out from gray page bg */
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--black);
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 4px var(--input-shadow), 0 1px 3px rgba(0,0,0,.06);
  outline: none;
}
.form-input::placeholder { color: var(--gray-300); }

textarea.form-input { resize: vertical; min-height: 110px; line-height: 1.6; }

.form-select {
  display: block;
  width: 100%;
  padding: 13px 40px 13px 16px;
  background: var(--input-bg) 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='%238e8e93' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--black);
  cursor: pointer;
  appearance: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  transition: border-color .15s, box-shadow .15s;
}
.form-select:focus {
  border-color: var(--input-focus);
  box-shadow: 0 0 0 4px var(--input-shadow);
  outline: none;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* Toggle switches */
.toggle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (min-width: 480px) { .toggle-grid { grid-template-columns: repeat(3, 1fr); } }

.toggle-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  user-select: none;
  transition: border-color .15s;
}
.toggle-item:hover { border-color: var(--green-mid); }

.toggle-item label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: var(--gray-700);
  cursor: pointer;
}
.toggle-item .t-icon { font-size: 15px; }

.toggle {
  position: relative;
  width: 40px; height: 24px;
  background: var(--gray-300);
  border-radius: 12px;
  transition: background .2s;
  cursor: pointer;
  flex-shrink: 0;
}
.toggle::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
input[type=checkbox]:checked + .toggle { background: var(--green); }
input[type=checkbox]:checked + .toggle::after { transform: translateX(16px); }
input[type=checkbox].toggle-cb { display: none; }

/* Image Upload */
.upload-zone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: var(--white);
}
.upload-zone:hover { border-color: var(--green); background: var(--green-soft); }
.upload-zone p { font-size: 14px; color: var(--gray-500); margin-top: 8px; }

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-100);
}
.image-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.image-remove {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px;
  background: rgba(0,0,0,.6);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  color: #fff; font-size: 12px; font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   SEARCH BAR — white, clearly input-styled
   ════════════════════════════════════════════════════════════ */
.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-full);
  padding: 0 16px;
  height: 50px;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: border-color .15s, box-shadow .15s;
}
.search-bar:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(26,170,85,.12), 0 1px 4px rgba(0,0,0,.07);
}
.search-bar input {
  flex: 1;
  font-size: 15px;
  color: var(--black);
  background: transparent;
}
.search-bar input::placeholder { color: var(--gray-300); }
.search-bar svg { color: var(--green); flex-shrink: 0; width: 18px; height: 18px; }


/* ── Filter Pills ── */
.filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.filter-scroll::-webkit-scrollbar { display: none; }

.filter-pill {
  flex-shrink: 0;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid var(--gray-200);
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
  white-space: nowrap;
}
.filter-pill:hover {
  border-color: var(--green);
  color: var(--green);
  box-shadow: 0 0 0 3px rgba(26,170,85,.08);
}
.filter-pill.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(26,170,85,.25);
}


/* ════════════════════════════════════════════════════════════
   CARDS (Feed)
   ════════════════════════════════════════════════════════════ */
.listing-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,.06);
  display: block;
  -webkit-tap-highlight-color: transparent;
}
.listing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.listing-card:active {
  transform: scale(.98);
  box-shadow: var(--shadow-sm);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
}
.card-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
}
.listing-card:hover .card-image-wrap img { transform: scale(1.04); }

.card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; letter-spacing: .3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.badge-sharing { background: rgba(26,170,85,.18);  color: #0a6b2e; }
.badge-solo    { background: rgba(0,122,255,.12);   color: #0055cc; }
.badge-new     { background: rgba(255,149,0,.15);   color: #995800; }

.card-share-btn {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, transform .15s;
  border: none;
  z-index: 2;
}
.card-share-btn:hover { background: var(--green-soft); }
.card-share-btn:active { transform: scale(.88); }
.card-share-btn svg { width: 16px; height: 16px; color: var(--gray-700); }

.card-body { padding: 14px 16px 16px; }

.card-price {
  font-size: 20px; font-weight: 700;
  color: var(--black); letter-spacing: -.3px;
}
.card-cycle {
  font-size: 13px; font-weight: 400;
  color: var(--gray-500); margin-left: 2px;
}
.card-location {
  font-size: 13px; color: var(--gray-500);
  margin-top: 2px;
  display: flex; align-items: center; gap: 4px;
}

.card-amenities {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
}
.amenity-chip {
  display: flex; align-items: center; gap: 4px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius-full);
  padding: 3px 9px;
  font-size: 11px; font-weight: 600;
  color: #0d6b30;
}
.amenity-chip .chip-icon { font-size: 12px; }

.card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--gray-100);
}
.card-time { font-size: 11px; color: var(--gray-500); }


/* ── Feed Grid ── */
.feed-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 16px; padding: 12px 0 20px;
}
@media (min-width: 560px)  { .feed-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .feed-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .feed-grid { grid-template-columns: repeat(4, 1fr); } }


/* ════════════════════════════════════════════════════════════
   BOTTOM SHEET
   ════════════════════════════════════════════════════════════ */
.sheet-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(3px);
  z-index: 1000; opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.sheet-overlay.open { opacity: 1; pointer-events: all; }

.bottom-sheet {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  max-height: 92dvh;
  background: var(--white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  z-index: 1001;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.32,.72,0,1);
  overscroll-behavior: contain;
  padding-bottom: calc(var(--safe-bottom) + 20px);
}
.bottom-sheet.open { transform: translateY(0); }

.sheet-handle {
  width: 40px; height: 4px;
  background: var(--green-mid);
  border-radius: 2px;
  margin: 12px auto 0;
}

.sheet-images {
  position: relative; aspect-ratio: 16/9;
  overflow: hidden; background: var(--gray-100);
}
.sheet-images img { width: 100%; height: 100%; object-fit: cover; }

.sheet-img-counter {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(0,0,0,.55); color: #fff;
  font-size: 12px; font-weight: 500;
  padding: 3px 8px; border-radius: var(--radius-full);
}
.sheet-prev, .sheet-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: none;
  transition: background .15s;
}
.sheet-prev:hover, .sheet-next:hover { background: var(--green-soft); }
.sheet-prev { left: 12px; }
.sheet-next { right: 12px; }
.sheet-prev svg, .sheet-next svg { width: 16px; height: 16px; }

.sheet-content { padding: 20px 20px 8px; }

.sheet-price-row { display: flex; align-items: baseline; justify-content: space-between; }
.sheet-price { font-size: 28px; font-weight: 700; letter-spacing: -.5px; color: var(--green); }
.sheet-cycle { font-size: 14px; font-weight: 400; color: var(--gray-500); margin-left: 3px; }

.sheet-location {
  display: flex; align-items: center; gap: 5px;
  color: var(--gray-500); font-size: 14px; margin-top: 4px;
}
.sheet-title { font-size: 20px; font-weight: 600; margin-top: 16px; letter-spacing: -.2px; }
.sheet-desc  { font-size: 15px; color: var(--gray-700); line-height: 1.65; margin-top: 8px; }

.sheet-section-title {
  font-size: 11px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: var(--green);
  margin: 20px 0 10px;
}

.sheet-amenity-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sheet-amenity-item {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: var(--green-soft);
  border: 1px solid var(--green-mid);
  border-radius: var(--radius-md);
  font-size: 13px; font-weight: 500; color: #0d6b30;
}
.sheet-amenity-item .a-icon { font-size: 16px; }
.sheet-amenity-item.inactive {
  background: var(--gray-50);
  border-color: var(--gray-100);
  color: var(--gray-500);
  opacity: .5;
  text-decoration: line-through;
}

.sheet-details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.detail-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}
.detail-label { font-size: 11px; color: var(--gray-500); font-weight: 500; }
.detail-value { font-size: 14px; font-weight: 600; margin-top: 2px; }

/* Contact Section */
.contact-box {
  margin: 20px 0; padding: 18px;
  background: var(--green-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--green-mid);
}
.contact-box-title {
  font-size: 12px; font-weight: 700; color: var(--green);
  letter-spacing: .6px; text-transform: uppercase; margin-bottom: 12px;
}
.contact-phone-reveal {
  font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--black);
}
.contact-phone-blurred {
  font-size: 20px; font-weight: 700; letter-spacing: 1px;
  filter: blur(8px); user-select: none; pointer-events: none; color: var(--black);
}
.contact-blur-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.credits-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--orange-soft); color: var(--orange);
  border-radius: var(--radius-full);
  padding: 3px 10px; font-size: 12px; font-weight: 600;
}


/* ════════════════════════════════════════════════════════════
   AUTH PAGE
   ════════════════════════════════════════════════════════════ */
.auth-card {
  max-width: 420px;
  margin: 60px auto;
  padding: 40px 32px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background: var(--white);
}
@media (max-width: 480px) {
  .auth-card { margin: 20px 16px; padding: 28px 20px; }
}


/* ════════════════════════════════════════════════════════════
   ADMIN — KPI BENTO CARDS
   ════════════════════════════════════════════════════════════ */
.kpi-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px; margin-bottom: 28px;
}
@media (min-width: 600px) { .kpi-grid { grid-template-columns: repeat(4, 1fr); } }

.kpi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s;
}
.kpi-card:hover { box-shadow: var(--shadow-md); }
.kpi-value { font-size: 32px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.kpi-label { font-size: 12px; font-weight: 600; color: var(--gray-500); margin-top: 4px; letter-spacing: .2px; }
.kpi-sub   { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 8px; }

/* Admin listing row */
.admin-listing {
  display: flex; gap: 14px; padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  margin-bottom: 10px;
  align-items: flex-start;
  transition: box-shadow .15s;
}
.admin-listing:hover { box-shadow: var(--shadow-sm); }
.admin-listing-thumb {
  width: 80px; height: 60px;
  border-radius: var(--radius-sm);
  overflow: hidden; flex-shrink: 0; background: var(--gray-100);
}
.admin-listing-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-listing-info { flex: 1; min-width: 0; }
.admin-listing-title { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-listing-meta  { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.admin-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }


/* ════════════════════════════════════════════════════════════
   PAGE HEADER
   ════════════════════════════════════════════════════════════ */
.page-header {
  padding: 20px 0 12px;
  position: sticky; top: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.page-header-inner { display: flex; align-items: center; gap: 12px; }


/* ── Loading skeleton ── */
.skeleton {
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.skeleton-card { height: 320px; border-radius: var(--radius-xl); }


/* ── Empty state ── */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-icon  { font-size: 48px; margin-bottom: 16px; }
.empty-title { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.empty-desc  { font-size: 15px; color: var(--gray-500); line-height: 1.6; }


/* ── Status badges ── */
.status-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; letter-spacing: .3px;
}
.status-pending  { background: var(--orange-soft); color: #7a4400; }
.status-approved { background: var(--green-soft);  color: #0d6b30; }
.status-rejected { background: var(--red-soft);    color: #7a1f1f; }


/* ── Misc ── */
.divider  { height: 1px; background: var(--gray-100); margin: 16px 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
body.sheet-open { overflow: hidden; }


/* ════════════════════════════════════════════════════════════
   LANDING PAGE HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 24px calc(var(--nav-h) + 40px);
  max-width: 540px; margin: 0 auto;
}
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 10vw, 72px);
  line-height: 1.05;
  letter-spacing: -.5px;
  margin-bottom: 20px;
  color: var(--black);
}
/* "perfect" in italic green */
.hero-title em {
  font-style: italic;
  color: var(--green);
}
.hero-desc {
  font-size: 17px; color: var(--gray-500);
  line-height: 1.7; margin-bottom: 36px;
  max-width: 400px;
}


/* ════════════════════════════════════════════════════════════
   PROFILE PAGE
   ════════════════════════════════════════════════════════════ */
.profile-header {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 0 20px;
}
.avatar {
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  background: var(--green-soft);
  border: 2px solid var(--green-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; color: var(--green);
  flex-shrink: 0;
}

.subscription-card {
  background: var(--green);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(26,170,85,.3);
}
.subscription-card .sub-title  { font-size: 13px; font-weight: 600; opacity: .75; }
.subscription-card .sub-status { font-size: 22px; font-weight: 700; margin: 4px 0 12px; }