/* ============================
   CSS VARIABLES & RESET
============================ */
:root {
  --green-deep: #023e58;
  --green-mid: #1a7a9a;
  --green-light: #219ebc;
  --gold: #C9933A;
  --gold-light: #E8B96A;
  --cream: #FAF6EF;
  --cream-dark: #F0EAE0;
  --white: #FFFFFF;
  --text-dark: #1C1C1C;
  --text-mid: #4A4A4A;
  --text-muted: #7A7A7A;
  --border: #DDD5C8;
  --red: #C0392B;
  --shadow-sm: 0 2px 12px rgba(2,62,88,0.08);
  --shadow-md: 0 6px 30px rgba(2,62,88,0.14);
  --shadow-lg: 0 16px 60px rgba(2,62,88,0.18);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.28s cubic-bezier(0.4,0,0.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; }
a { text-decoration: none; color: inherit; }
input, textarea, select, button { font-family: inherit; outline: none; border: none; }
button { cursor: pointer; }

/* ============================
   PAGE SYSTEM
============================ */
.page { /*display: none !important; */ min-height: 100vh; flex-direction: column; }
.page.active { display: flex !important; }

/* ============================
   BETA BANNER
============================ */
.beta-banner {
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  color: var(--green-deep);
  text-align: center;
  padding: 7px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1000;
      width: 100%;
}
.beta-banner span { background: rgba(255,255,255,0.35); padding: 2px 10px; border-radius: 20px; margin-right: 6px; }
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* ============================
   STICKY HEADER WRAPPER
============================ */
.sticky-header { position: sticky; top: 0; z-index: 1001; }

/* ============================
   TOP NAV
============================ */
.topnav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 16px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.topnav .logo img { height: 34px; }
.topnav .nav-actions { display: flex; align-items: center; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 50px; font-size: 0.875rem; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
}
.btn-primary { background: var(--green-deep); color: var(--white); }
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--green-deep); border: 2px solid var(--green-deep); }
.btn-secondary:hover { background: var(--green-deep); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,147,58,0.35); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-full { width: 100%; }
.btn-icon { padding: 10px; border-radius: 50%; width: 40px; height: 40px; }

/* ============================
   AUTH PAGES (Login / Register / Forgot)
============================ */
.auth-page {
  background: var(--green-deep);
  min-height: 100vh;
  flex-direction: column;
}
.auth-page .auth-topbar {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.auth-page .auth-topbar img { height: 32px; filter: brightness(0) invert(1); }
.auth-hero {
  position: relative;
  overflow: hidden;
  padding: 40px 20px 60px;
  text-align: center;
  flex-shrink: 0;
}
.auth-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1200&q=80') center/cover no-repeat;
  opacity: 0.15;
}
.auth-hero-content { position: relative; z-index: 1; }
.auth-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}
.auth-hero p { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.auth-card {
  background: var(--white);
  border-radius: 28px 28px 0 0;
  flex: 1;
  padding: 28px 20px 40px;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.25);
  overflow-y: auto;
}
@media (min-width: 600px) {
  .auth-page { align-items: center; justify-content: center; }
  .auth-hero { display: none; }
  .auth-card {
    border-radius: 20px; flex: none; width: 100%; max-width: 440px;
    padding: 36px 36px;
    margin: 20px;
  }
}
.auth-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; color: var(--green-deep); margin-bottom: 4px;
}
.auth-card .auth-subtitle { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-mid); margin-bottom: 6px; letter-spacing: 0.03em; text-transform: uppercase; }
.form-control {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.925rem; color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus { border-color: var(--green-light); box-shadow: 0 0 0 3px rgba(33,158,188,0.12); background: var(--white); }
.form-control.error { border-color: var(--red); }
.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-left: 42px; }
.input-icon-wrap .input-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1rem; }
.input-icon-wrap .toggle-pass {
  position: absolute; right: 13px; top: 50%; transform: translateY(-50%);
  background: none; color: var(--text-muted); font-size: 1rem; cursor: pointer; padding: 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-link-row { text-align: center; margin-top: 18px; font-size: 0.875rem; color: var(--text-muted); }
.auth-link-row a { color: var(--green-mid); font-weight: 600; }
.auth-link-row a:hover { text-decoration: underline; }
.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--text-muted); font-size: 0.8rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.type-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px;
  background: var(--cream-dark); border-radius: var(--radius-sm); padding: 4px;
}
.type-toggle-btn {
  padding: 10px; border-radius: 6px; font-size: 0.875rem; font-weight: 600;
  color: var(--text-muted); background: transparent; transition: all var(--transition);
}
.type-toggle-btn.active { background: var(--white); color: var(--green-deep); box-shadow: var(--shadow-sm); }
.error-msg { color: var(--red); font-size: 0.78rem; margin-top: 4px; display: none; }
.error-msg.show { display: block; }
.success-box {
  background: rgba(33,158,188,0.1); border: 1.5px solid var(--green-light);
  border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 20px;
  color: var(--green-mid); font-size: 0.875rem; display: none;
}
.success-box.show { display: block; }

/* ============================
   MAIN APP (Post Login)
============================ */
.app-shell { display: flex; flex-direction: column; min-height: 100vh; }
.app-header {
  background: var(--white); border-bottom: 1px solid var(--border);
}
.app-header-inner {
  padding: 0 16px; height: 60px;
  display: flex; align-items: center; justify-content: space-between;
}
.app-header .logo img { height: 30px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.avatar-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-deep); color: var(--white);
  font-weight: 700; font-size: 0.875rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; border: 2px solid var(--gold);
}
.notif-btn {
  position: relative; width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream-dark); display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
}
.notif-dot {
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  border: 1.5px solid var(--white);
}

/* BOTTOM NAV */
.bottom-nav {
  background: var(--white); border-top: 1px solid var(--border);
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 800; display: flex; padding: 6px 0 max(6px, env(safe-area-inset-bottom));
}
.bottom-nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 3px; padding: 6px 0; cursor: pointer;
  font-size: 0.65rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.03em; text-transform: uppercase; transition: color var(--transition);
  position: relative;
}
.bottom-nav-item .nav-icon { font-size: 1.3rem; transition: transform var(--transition); }
.bottom-nav-item.active { color: var(--green-deep); }
.bottom-nav-item.active .nav-icon { transform: translateY(-2px); }
.bottom-nav-item .nav-badge {
  position: absolute; top: 4px; right: calc(50% - 18px);
  background: var(--red); color: white; font-size: 0.6rem;
  width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* MAIN CONTENT AREA */
.main-content { flex: 1; padding-bottom: 80px; }

/* TABS within app */
/*.app-tab { display: none !important; }*/
/*.app-tab.active { display: block !important; }*/

/* ============================
   HOME TAB
============================ */
.home-hero {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  padding: 28px 20px 36px;
  position: relative; overflow: hidden;
}
.home-hero::before {
  content: '';
  position: absolute; top: -40px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(201,147,58,0.15);
}
.home-hero::after {
  content: '';
  position: absolute; bottom: -30px; left: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.hero-greeting { color: rgba(255,255,255,0.75); font-size: 0.875rem; margin-bottom: 4px; }
.hero-name { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.search-bar {
  background: var(--white); border-radius: 14px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; box-shadow: var(--shadow-md);
  position: relative; z-index: 1;
}
.search-bar input {
  flex: 1; border: none; background: none; font-size: 0.9rem; color: var(--text-dark);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar .search-icon { color: var(--text-muted); font-size: 1.1rem; }
.search-bar .search-btn {
  background: var(--gold); color: white; border-radius: 10px;
  padding: 8px 14px; font-size: 0.8rem; font-weight: 600;
}

/* FILTER CHIPS */
.filter-row { padding: 16px 20px 8px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; padding: 7px 16px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; border: 1.5px solid var(--border);
  background: var(--white); color: var(--text-mid); cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.chip.active { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }

/* SECTION HEADERS */
.section-header { padding: 20px 20px 12px; display: flex; align-items: center; justify-content: space-between; }
.section-title { font-family: 'Playfair Display', serif; font-size: 1.25rem; color: var(--green-deep); }
.see-all { color: var(--gold); font-size: 0.825rem; font-weight: 600; cursor: pointer; }

/* PLACE CARDS */
.cards-scroll { padding: 0 20px 4px; display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; }
.cards-scroll::-webkit-scrollbar { display: none; }
.place-card {
  flex-shrink: 0; width: 220px; border-radius: var(--radius);
  background: var(--white); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.place-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.place-card-body { padding: 14px 14px 16px; }
.place-card-name { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); margin-bottom: 4px; }
.place-card-loc { color: var(--text-muted); font-size: 0.78rem; display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.place-card-footer { display: flex; align-items: center; justify-content: space-between; }
.rating { display: flex; align-items: center; gap: 4px; font-size: 0.78rem; color: var(--gold); font-weight: 700; }
.category-tag { background: var(--cream-dark); color: var(--text-mid); font-size: 0.7rem; padding: 3px 8px; border-radius: 20px; font-weight: 600; }

/* GRID CARDS */
.cards-grid { padding: 0 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.service-card {
  background: var(--white); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card-icon { font-size: 2rem; margin-bottom: 8px; }
.service-card-name { font-weight: 700; font-size: 0.875rem; color: var(--text-dark); margin-bottom: 4px; }
.service-card-sub { color: var(--text-muted); font-size: 0.75rem; line-height: 1.4; }
.service-card-price { margin-top: 10px; font-weight: 700; color: var(--green-mid); font-size: 0.875rem; }

/* AI AGENT PROMO */
.ai-promo {
  margin: 16px 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green-deep) 0%, #01526e 100%);
  padding: 20px; position: relative; overflow: hidden; cursor: pointer;
  transition: transform var(--transition);
}
.ai-promo:hover { transform: translateY(-2px); }
.ai-promo::before {
  content: '🤖'; font-size: 6rem; position: absolute; right: -10px; bottom: -16px; opacity: 0.15;
}
.ai-promo .badge { background: var(--gold); color: white; font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; display: inline-block; margin-bottom: 8px; letter-spacing: 0.05em; }
.ai-promo h3 { color: var(--white); font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 6px; }
.ai-promo p { color: rgba(255,255,255,0.7); font-size: 0.82rem; line-height: 1.5; margin-bottom: 14px; }
.ai-promo .ai-cta { background: var(--gold); color: var(--white); padding: 10px 20px; border-radius: 50px; font-size: 0.825rem; font-weight: 700; display: inline-block; }

/* ============================
   SEARCH TAB
============================ */
.search-page-wrap { padding: 20px; }
.search-input-wrap {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}
.search-input-wrap input { flex: 1; border: none; background: none; font-size: 1rem; }
.filter-section { margin-bottom: 20px; }
.filter-label { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.select-control {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  background: var(--white); font-size: 0.9rem; color: var(--text-dark);
  appearance: none; cursor: pointer;
}
.search-result-card {
  background: var(--white); border-radius: var(--radius); margin-bottom: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer;
  display: flex; transition: transform var(--transition), box-shadow var(--transition);
}
.search-result-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.search-result-body { padding: 14px; flex: 1; }
.search-result-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.search-result-meta { color: var(--text-muted); font-size: 0.78rem; margin-bottom: 6px; }
.search-result-footer { display: flex; align-items: center; justify-content: space-between; }

/* ============================
   BOOKINGS TAB
============================ */
.bookings-wrap { padding: 20px; }
.booking-card {
  background: var(--white); border-radius: var(--radius);
  padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow-sm);
}
.booking-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 12px; }
.booking-title { font-weight: 700; font-size: 0.95rem; color: var(--text-dark); }
.booking-sub { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }
.status-badge {
  padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.status-pending { background: #FEF3C7; color: #92400E; }
.status-approved { background: #d0f0f8; color: #0a5a6e; }
.status-declined { background: #FEE2E2; color: #991B1B; }
.booking-dates { display: flex; gap: 16px; margin-bottom: 12px; }
.booking-date-item { font-size: 0.78rem; }
.booking-date-label { color: var(--text-muted); margin-bottom: 2px; }
.booking-date-val { font-weight: 700; color: var(--text-dark); }
.booking-actions { display: flex; gap: 8px; }
.booking-actions .btn-sm { border-radius: 8px; }

/* ============================
   MESSAGES TAB
============================ */
.messages-wrap { padding: 0; }
.message-thread {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background var(--transition);
}
.message-thread:hover { background: var(--cream); }
.thread-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green-mid); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem; flex-shrink: 0;
}
.thread-body { flex: 1; min-width: 0; }
.thread-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 2px; }
.thread-preview { color: var(--text-muted); font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thread-meta { text-align: right; flex-shrink: 0; }
.thread-time { color: var(--text-muted); font-size: 0.72rem; margin-bottom: 4px; }
.thread-unread { background: var(--green-mid); color: white; width: 18px; height: 18px; border-radius: 50%; font-size: 0.65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-left: auto; }

/* CHAT VIEW */
.chat-view { display: none !important; flex-direction: column; height: calc(100vh - 180px); }
.chat-view.open { display: flex !important; }
.chat-header {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px; background: var(--white);
}
.chat-back { font-size: 1.2rem; cursor: pointer; color: var(--green-deep); }
.chat-messages { flex: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg-bubble { max-width: 75%; padding: 10px 14px; border-radius: 16px; font-size: 0.875rem; line-height: 1.5; }
.msg-bubble.sent { background: var(--green-deep); color: white; align-self: flex-end; border-radius: 16px 16px 4px 16px; }
.msg-bubble.recv { background: var(--white); color: var(--text-dark); align-self: flex-start; border-radius: 16px 16px 16px 4px; box-shadow: var(--shadow-sm); }
.chat-input-row {
  padding: 12px 16px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; background: var(--white);
}
.chat-input {
  flex: 1; background: var(--cream); border: 1.5px solid var(--border);
  border-radius: 24px; padding: 10px 16px; font-size: 0.875rem;
}
.chat-send {
  width: 40px; height: 40px; border-radius: 50%; background: var(--green-deep);
  color: white; font-size: 1rem; display: flex; align-items: center; justify-content: center;
}

/* ============================
   PROFILE TAB
============================ */
.profile-wrap { padding: 0 0 20px; }
.profile-cover {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  height: 120px; position: relative;
}
.profile-avatar-wrap { padding: 0 20px; position: relative; margin-top: -40px; margin-bottom: 12px; }
.profile-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gold); color: white;
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 4px solid var(--white); box-shadow: var(--shadow-md);
}
.profile-name { padding: 0 20px; font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--green-deep); }
.profile-type { padding: 0 20px; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 16px; }
.profile-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; margin: 0 20px 20px; }
.stat-item { background: var(--white); padding: 14px; text-align: center; }
.stat-val { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--green-deep); }
.stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.profile-section { margin: 0 20px 20px; }
.profile-section-title { font-weight: 700; font-size: 0.85rem; color: var(--text-mid); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 10px; }
.menu-item {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border); cursor: pointer;
  transition: color var(--transition);
}
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { color: var(--green-mid); }
.menu-item .mi-icon { font-size: 1.2rem; width: 30px; text-align: center; }
.menu-item .mi-label { flex: 1; font-size: 0.9rem; font-weight: 500; }
.menu-item .mi-arrow { color: var(--text-muted); font-size: 0.8rem; }

/* INTEREST TAGS SECTION */
.interests-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-tag {
  display: flex; align-items: center; gap: 6px;
  background: var(--cream-dark); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 6px 14px; font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.interest-tag.selected { background: var(--green-deep); color: var(--white); border-color: var(--green-deep); }
.interest-pct { background: var(--gold); color: var(--white); border-radius: 20px; padding: 1px 7px; font-size: 0.7rem; font-weight: 700; }

/* ============================
   AI TRAVEL AGENT TAB
============================ */
.ai-tab-wrap { padding: 20px; }
.ai-header-card {
  background: linear-gradient(135deg, var(--green-deep), #01526e);
  border-radius: var(--radius); padding: 24px 20px; margin-bottom: 20px;
  text-align: center; position: relative; overflow: hidden;
}
.ai-header-card::before { content: '🌍'; font-size: 8rem; position: absolute; right: -20px; top: -20px; opacity: 0.1; }
.ai-header-card .powered-by { color: var(--gold-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.ai-header-card h2 { font-family: 'Playfair Display', serif; color: var(--white); font-size: 1.4rem; margin-bottom: 8px; }
.ai-header-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; line-height: 1.6; }
.step-indicator { display: flex; align-items: center; gap: 0; margin-bottom: 24px; }
.step-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--border); color: var(--text-muted); font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all var(--transition); flex-shrink: 0; }
.step-dot.active { background: var(--green-deep); color: var(--white); }
.step-dot.done { background: var(--gold); color: var(--white); }
.step-line { flex: 1; height: 2px; background: var(--border); transition: background var(--transition); }
.step-line.done { background: var(--gold); }
.ai-step { display: none; }
.ai-step.active { display: block; }
.ai-step-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--green-deep); margin-bottom: 16px; }
.slider-wrap { margin-bottom: 16px; }
.slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-size: 0.875rem; }
.slider-val { font-weight: 700; color: var(--green-mid); }
.slider { width: 100%; height: 6px; appearance: none; background: var(--cream-dark); border-radius: 3px; outline: none; cursor: pointer; }
.slider::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--green-deep); cursor: pointer; }
.route-card {
  background: var(--white); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.route-stop { display: flex; gap: 14px; margin-bottom: 14px; align-items: flex-start; }
.route-stop:last-child { margin-bottom: 0; }
.stop-num { width: 30px; height: 30px; border-radius: 50%; background: var(--green-deep); color: white; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.stop-body .stop-name { font-weight: 700; font-size: 0.9rem; }
.stop-body .stop-time { color: var(--text-muted); font-size: 0.78rem; }

/* ============================
   MODAL / OVERLAY
============================ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2000; display: none !important; align-items: flex-end;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex !important; }
@media (min-width: 600px) { .modal-overlay { align-items: center; justify-content: center; } }
.modal-card {
  background: var(--white); border-radius: 24px 24px 0 0;
  width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 24px 20px 40px;
  animation: slideUp 0.3s ease;
}
@media (min-width: 600px) {
  .modal-card { border-radius: 20px; max-width: 480px; padding: 32px; }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto 20px; }
.modal-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--green-deep); margin-bottom: 16px; }
@media (min-width: 600px) { .modal-handle { display: none; } }

/* ============================
   TOAST
============================ */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--green-deep); color: white; padding: 12px 24px;
  border-radius: 50px; font-size: 0.875rem; font-weight: 600;
  z-index: 3000; opacity: 0; transition: all 0.3s;
  white-space: nowrap; box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================
   DESKTOP ENHANCEMENTS
============================ */
@media (min-width: 768px) {
  .topnav { padding: 0 40px; }
  .main-content { margin: 0 auto; }
  .cards-grid { grid-template-columns: repeat(3,1fr); }
  .bottom-nav { display: none; }
  .sidebar-nav {
    position: fixed; left: 0; top: 93px; bottom: 0;
    width: 240px; background: var(--white);
    border-right: 1px solid var(--border);
    padding: 20px 0; display: flex; flex-direction: column;
    z-index: 700;
  }
  .app-content-area { margin-left: 240px; }
  .sidebar-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 24px; cursor: pointer; font-size: 0.9rem;
    color: var(--text-mid); font-weight: 500; transition: all var(--transition);
    border-radius: 0 50px 50px 0; margin-right: 16px;
  }
  .sidebar-item:hover { background: var(--cream); color: var(--green-deep); }
  .sidebar-item.active { background: rgba(2,62,88,0.08); color: var(--green-deep); font-weight: 700; }
  .sidebar-item .si-icon { font-size: 1.1rem; }
  .si-badge {
    margin-left: auto; background: var(--red); color: white;
    font-size: 0.68rem; font-weight: 700; min-width: 20px; height: 20px;
    border-radius: 10px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center;
    line-height: 1;
  }
}
@media (max-width: 767px) {
  .sidebar-nav { display: none; }
  .app-content-area { margin-left: 0; }
}

/* ============================
   RATING STARS
============================ */
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 1px; }
.star-interactive { font-size: 1.6rem; cursor: pointer; transition: transform 0.1s; }
.star-interactive:hover { transform: scale(1.2); }

/* ============================
   MISC UTILITIES
============================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.fw-700 { font-weight: 700; }
.text-muted { color: var(--text-muted); }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.hr { border: none; border-top: 1px solid var(--border); margin: 16px 0; }
.pill { padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }
.pill-green { background: #cff0f8; color: #023e58; }
.pill-gold { background: #FEF3C7; color: #92400E; }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 3.5rem; margin-bottom: 12px; }
.empty-state h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--text-dark); margin-bottom: 6px; }
.empty-state p { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }
.loading-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--border); border-top-color: var(--green-deep);
  animation: spin 0.8s linear infinite; margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================
   IMAGE SLIDER
============================ */
.img-slider {
  position: relative; overflow: hidden;
  background: var(--cream-dark);
  border-radius: var(--radius) var(--radius) 0 0;
}
.img-slider-track {
  display: flex; transition: transform 0.42s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.img-slider-track img {
  flex-shrink: 0; width: 100%; object-fit: cover;
  display: block; pointer-events: none; user-select: none;
}
/* Prev / Next arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.88); border: none; border-radius: 50%;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; cursor: pointer; z-index: 10;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background var(--transition), opacity var(--transition);
  opacity: 0; /* hidden until hover */
}
.img-slider:hover .slider-arrow { opacity: 1; }
.slider-arrow.prev { left: 7px; }
.slider-arrow.next { right: 7px; }
.slider-arrow:hover { background: var(--white); }
/* Dot indicators */
.slider-dots {
  position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 5px; z-index: 10;
}
.slider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.55); transition: all 0.25s;
  cursor: pointer; border: none; padding: 0;
}
.slider-dot.active { background: var(--white); width: 16px; border-radius: 3px; }

/* Place card specific slider height */
.place-card .img-slider { height: 140px; }
.place-card .img-slider-track img { height: 140px; }

/* Service card specific slider */
.service-card { padding: 0; overflow: hidden; }
.service-card .img-slider { height: 130px; border-radius: var(--radius) var(--radius) 0 0; }
.service-card .img-slider-track img { height: 130px; }
.service-card-body { padding: 13px 14px 15px; }
.service-card-price { margin-top: 8px; font-weight: 700; color: var(--green-mid); font-size: 0.875rem; }

/* Search result slider */
.search-result-slider {
  width: 110px; flex-shrink: 0; position: relative; overflow: hidden;
}
.search-result-slider .img-slider {
  height: 100%; border-radius: 0;
}
.search-result-slider .img-slider-track img { height: 100px; }
.search-result-card { min-height: 100px; }

/* Booking modal slider */
.modal-slider { margin: -20px -20px 18px; border-radius: 0; }
@media (min-width: 600px) {
  .modal-slider { margin: -32px -32px 20px; }
}
.modal-slider .img-slider { border-radius: 20px 20px 0 0; }
.modal-slider .img-slider-track img { height: 180px; }
.modal-slider .img-slider { height: 180px; }
/* ============================
   SERVICE DETAIL PAGE
============================ */
.detail-page {
  background: var(--cream); min-height: 100vh;
  display: flex; flex-direction: column;
}
.detail-hero-slider { position: relative; }
.detail-hero-slider .img-slider { border-radius: 0; height: 260px; }
.detail-hero-slider .img-slider-track img { height: 260px; width: 100%; object-fit: cover; flex-shrink: 0; }
@media (min-width: 600px) {
  .detail-hero-slider .img-slider { height: 340px; }
  .detail-hero-slider .img-slider-track img { height: 340px; }
}
.detail-back-btn {
  position: absolute; top: 14px; left: 14px; z-index: 20;
  background: rgba(255,255,255,0.92); border: none; border-radius: 50%;
  width: 38px; height: 38px; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}
.detail-share-btn {
  position: absolute; top: 14px; right: 14px; z-index: 20;
  background: rgba(255,255,255,0.92); border: none; border-radius: 50%;
  width: 38px; height: 38px; font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); backdrop-filter: blur(4px);
}
.detail-body { padding: 20px; max-width: 720px; margin: 0 auto; width: 100%; }
.detail-type-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(33,158,188,0.12); color: var(--green-mid);
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px;
  border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.03em;
}
.detail-title {
  font-family: 'Playfair Display', serif; font-size: 1.6rem;
  color: var(--green-deep); line-height: 1.25; margin-bottom: 8px;
}
.detail-meta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-bottom: 16px; font-size: 0.83rem; color: var(--text-muted);
}
.detail-meta-row .rating { font-size: 0.85rem; }
.detail-divider { border: none; border-top: 1px solid var(--border); margin: 18px 0; }
.detail-section-title {
  font-weight: 700; font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 12px;
}
.detail-description { font-size: 0.9rem; line-height: 1.75; color: var(--text-mid); }
.amenities-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.amenity-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--text-mid);
}
.amenity-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(33,158,188,0.1); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.host-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow-sm);
}
.host-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-mid); color: white;
  font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.host-name { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.host-since { color: var(--text-muted); font-size: 0.78rem; }
.host-rating { color: var(--gold); font-size: 0.8rem; font-weight: 700; margin-top: 2px; }
.review-card {
  background: var(--white); border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.review-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream-dark); color: var(--text-mid);
  font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-name { font-weight: 700; font-size: 0.875rem; }
.review-date { color: var(--text-muted); font-size: 0.75rem; }
.review-stars { color: var(--gold); font-size: 0.85rem; }
.review-text { font-size: 0.85rem; color: var(--text-mid); line-height: 1.6; }
.detail-book-bar {
  position: sticky; bottom: 0; background: var(--white);
  border-top: 1px solid var(--border); padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; z-index: 100; box-shadow: 0 -4px 20px rgba(2,62,88,0.08);
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}
.detail-price { font-family: 'Playfair Display', serif; }
.detail-price .amount { font-size: 1.4rem; font-weight: 700; color: var(--green-deep); }
.detail-price .per { font-size: 0.78rem; color: var(--text-muted); }
.detail-price .old-price { font-size: 0.8rem; text-decoration: line-through; color: var(--text-muted); margin-left: 6px; }

/* ============================
   NOTIFICATIONS PANEL
============================ */
.notif-panel-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 1500; display: none !important;
  backdrop-filter: blur(3px);
}
.notif-panel-overlay.open { display: block !important; }
.notif-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(360px, 100vw);
  background: var(--white); z-index: 1600;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -8px 0 40px rgba(2,62,88,0.18);
}
.notif-panel-overlay.open .notif-panel { transform: translateX(0); }
.notif-panel-header {
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.notif-panel-title { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--green-deep); }
.notif-close { font-size: 1.3rem; cursor: pointer; color: var(--text-muted); background: none; padding: 4px; }
.notif-list { flex: 1; overflow-y: auto; }
.notif-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background var(--transition);
  position: relative;
}
.notif-item:hover { background: var(--cream); }
.notif-item.unread { background: rgba(33,158,188,0.05); }
.notif-item.unread::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--green-light); border-radius: 0 2px 2px 0;
}
.notif-icon {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
.notif-icon.type-booking  { background: rgba(33,158,188,0.12); }
.notif-icon.type-message  { background: rgba(201,147,58,0.12); }
.notif-icon.type-review   { background: rgba(45,200,120,0.12); }
.notif-icon.type-system   { background: rgba(192,57,43,0.1); }
.notif-body { flex: 1; min-width: 0; }
.notif-body strong { font-size: 0.875rem; color: var(--text-dark); display: block; margin-bottom: 2px; }
.notif-body span { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; display: block; }
.notif-time { font-size: 0.7rem; color: var(--text-muted); white-space: nowrap; margin-top: 2px; }
.notif-panel-footer { padding: 14px 20px; border-top: 1px solid var(--border); text-align: center; }

/* ============================
   HOST APP
============================ */
.host-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.host-stat-card {
  background: var(--white); border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.host-stat-card::after {
  content: ''; position: absolute; bottom: -20px; right: -20px;
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(33,158,188,0.07);
}
.host-stat-icon { font-size: 1.4rem; margin-bottom: 6px; }
.host-stat-val { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--green-deep); margin-bottom: 2px; }
.host-stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.host-stat-trend { font-size: 0.72rem; font-weight: 700; margin-top: 4px; }
.trend-up { color: #0a9e6e; }
.trend-down { color: var(--red); }
.request-card {
  background: var(--white); border-radius: var(--radius);
  padding: 16px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.request-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.request-guest-avatar {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--green-mid); color: white; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 0.95rem;
}
.request-guest-name { font-weight: 700; font-size: 0.9rem; }
.request-guest-rating { color: var(--gold); font-size: 0.78rem; }
.request-detail-row {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 8px;
  background: var(--cream); border-radius: var(--radius-sm); padding: 10px;
  margin-bottom: 12px; font-size: 0.78rem;
}
.request-detail-row .rd-label { color: var(--text-muted); margin-bottom: 2px; }
.request-detail-row .rd-val { font-weight: 700; color: var(--text-dark); }
.request-actions { display: flex; gap: 8px; }
.btn-decline { background: rgba(192,57,43,0.1); color: var(--red); border-radius: var(--radius-sm); padding: 9px 16px; font-size: 0.82rem; font-weight: 700; flex: 1; }
.btn-decline:hover { background: rgba(192,57,43,0.18); }
.btn-approve { background: var(--green-deep); color: white; border-radius: var(--radius-sm); padding: 9px 16px; font-size: 0.82rem; font-weight: 700; flex: 2; }
.btn-approve:hover { background: var(--green-mid); }
.listing-card {
  background: var(--white); border-radius: var(--radius); margin-bottom: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}
.listing-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.listing-card-img { width: 100px; flex-shrink: 0; background: var(--cream-dark); }
.listing-card-img img { width: 100px; height: 100%; object-fit: cover; display: block; }
.listing-card-body { padding: 14px; flex: 1; }
.listing-card-name { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.listing-card-type { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 6px; }
.listing-card-footer { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.listing-status { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.listing-active   { background: #D1FAE5; color: #065f46; }
.listing-draft    { background: #FEF3C7; color: #92400E; }
.listing-paused   { background: var(--cream-dark); color: var(--text-muted); }
.listing-bookings { font-size: 0.78rem; color: var(--text-muted); margin-left: auto; }

/* ADD LISTING MULTI-STEP */
.add-listing-progress {
  display: flex; padding: 0; gap: 0; margin-bottom: 24px;
}
.progress-step {
  flex: 1; height: 4px; background: var(--border);
  transition: background 0.3s; border-radius: 2px; margin: 0 2px;
}
.progress-step.done { background: var(--gold); }
.progress-step.active { background: var(--green-light); }
.add-step { display: none; }
.add-step.active { display: block; }
.add-step-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--green-deep); margin-bottom: 4px; }
.add-step-sub { color: var(--text-muted); font-size: 0.82rem; margin-bottom: 20px; }
.type-option-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.type-option {
  border: 2px solid var(--border); border-radius: var(--radius); padding: 16px 12px;
  text-align: center; cursor: pointer; transition: all var(--transition);
  background: var(--white);
}
.type-option:hover { border-color: var(--green-light); }
.type-option.selected { border-color: var(--green-deep); background: rgba(33,158,188,0.07); }
.type-option .to-icon { font-size: 1.8rem; margin-bottom: 6px; }
.type-option .to-label { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); }
.amenity-check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.amenity-check {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; font-size: 0.82rem;
  transition: all var(--transition); background: var(--white);
}
.amenity-check.checked { border-color: var(--green-light); background: rgba(33,158,188,0.06); color: var(--green-deep); }
.amenity-check input { display: none; }
.photo-upload-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 12px; }
.photo-slot {
  aspect-ratio: 1; border-radius: var(--radius-sm);
  border: 2px dashed var(--border); display: flex; flex-direction: column;
  align-items: center; justify-content: center; cursor: pointer;
  font-size: 1.4rem; color: var(--text-muted); transition: border-color var(--transition);
  background: var(--cream);
}
.photo-slot:hover { border-color: var(--green-light); }
.photo-slot.filled { border-style: solid; border-color: var(--border); overflow: hidden; padding: 0; }
.photo-slot.filled img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot span { font-size: 0.68rem; margin-top: 4px; }
.pricing-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-input-wrap { position: relative; }
.price-input-wrap .currency { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-weight: 700; }
.price-input-wrap .form-control { padding-left: 30px; }
.host-app-tab { display: none !important; }
.host-app-tab.active { display: block !important; }
.earnings-chart {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  border-radius: var(--radius); padding: 20px; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.earnings-chart::before { content: '💰'; font-size: 6rem; position: absolute; right: -10px; top: -10px; opacity: 0.1; }
.earnings-chart h3 { color: rgba(255,255,255,0.7); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.earnings-chart .amount { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: white; }
.earnings-chart .period { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 2px; }
.bar-chart { display: flex; align-items: flex-end; gap: 6px; margin-top: 16px; height: 50px; }
.bar { flex: 1; background: rgba(255,255,255,0.25); border-radius: 3px 3px 0 0; min-height: 4px; position: relative; transition: height 0.6s ease; }
.bar.highlight { background: var(--gold); }
.bar-label { position: absolute; bottom: -18px; left: 50%; transform: translateX(-50%); font-size: 0.58rem; color: rgba(255,255,255,0.5); white-space: nowrap; }
.activity-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.activity-item:last-child { border-bottom: none; }
.activity-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.activity-dot.booking { background: var(--green-light); }
.activity-dot.message { background: var(--gold); }
.activity-dot.review  { background: #22c55e; }
.activity-body { flex: 1; font-size: 0.83rem; }
.activity-body strong { color: var(--text-dark); }
.activity-body span { color: var(--text-muted); }
.activity-time { font-size: 0.72rem; color: var(--text-muted); white-space: nowrap; }

/* ============================
   TRAVEL AGENT CHAT PANEL
============================ */
.agent-panel-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 2100; display: none !important;
  backdrop-filter: blur(3px);
}
.agent-panel-overlay.open { display: flex !important; align-items: flex-end; }
@media (min-width: 600px) {
  .agent-panel-overlay { align-items: center; justify-content: center; }
}
.agent-panel {
  background: var(--white); width: 100%;
  border-radius: 24px 24px 0 0;
  display: flex; flex-direction: column;
  max-height: 90vh;
  animation: slideUp 0.32s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
@media (min-width: 600px) {
  .agent-panel { border-radius: 20px; max-width: 480px; max-height: 86vh; margin: 20px; }
}
/* Agent header */
.agent-header {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  padding: 18px 18px 16px;
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.agent-avatar-wrap { position: relative; }
.agent-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gold); border: 2.5px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.agent-online-dot {
  position: absolute; bottom: 1px; right: 1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #22c55e; border: 2px solid var(--green-deep);
}
.agent-header-info { flex: 1; }
.agent-name { color: var(--white); font-weight: 700; font-size: 0.95rem; }
.agent-role { color: rgba(255,255,255,0.7); font-size: 0.75rem; }
.agent-close { background: rgba(255,255,255,0.15); border: none; border-radius: 50%; width: 32px; height: 32px; color: white; font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
/* Context card */
.agent-context-card {
  margin: 14px 16px 0;
  border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.82rem;
  flex-shrink: 0;
}
.agent-context-card.type-payment {
  background: rgba(33,158,188,0.08);
  border: 1.5px solid rgba(33,158,188,0.3);
}
.agent-context-card.type-dispute {
  background: rgba(192,57,43,0.07);
  border: 1.5px solid rgba(192,57,43,0.25);
}
.agent-context-card.type-refund {
  background: rgba(201,147,58,0.08);
  border: 1.5px solid rgba(201,147,58,0.3);
}
.agent-context-label {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 6px; display: flex; align-items: center; gap: 6px;
}
.agent-context-label.type-payment { color: var(--green-mid); }
.agent-context-label.type-dispute { color: var(--red); }
.agent-context-label.type-refund  { color: var(--gold); }
.agent-booking-ref {
  display: flex; align-items: center; justify-content: space-between;
}
.agent-booking-ref .ref-name { font-weight: 700; color: var(--text-dark); }
.agent-booking-ref .ref-amount { font-weight: 700; font-size: 1rem; }
.agent-booking-ref .ref-amount.type-payment { color: var(--green-deep); }
.agent-booking-ref .ref-amount.type-dispute { color: var(--red); }
.agent-booking-ref .ref-amount.type-refund  { color: var(--gold); }
.agent-booking-ref .ref-dates { color: var(--text-muted); font-size: 0.75rem; margin-top: 2px; }
/* Secure badge */
.agent-secure-badge {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.68rem; color: var(--text-muted); margin-top: 6px;
}
/* Messages */
.agent-messages {
  flex: 1; overflow-y: auto; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 0;
}
.agent-msg { display: flex; gap: 8px; align-items: flex-end; }
.agent-msg.from-agent { flex-direction: row; }
.agent-msg.from-user  { flex-direction: row-reverse; }
.agent-msg-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; margin-bottom: 2px;
}
.agent-bubble {
  max-width: 78%; padding: 10px 13px; font-size: 0.855rem;
  line-height: 1.5; border-radius: 16px;
}
.agent-bubble.from-agent {
  background: var(--cream-dark); color: var(--text-dark);
  border-radius: 4px 16px 16px 16px;
}
.agent-bubble.from-user {
  background: var(--green-deep); color: white;
  border-radius: 16px 4px 16px 16px;
}
.agent-bubble .bubble-time {
  font-size: 0.65rem; margin-top: 4px;
  opacity: 0.6; text-align: right;
}
/* Typing indicator */
.agent-typing {
  display: flex; align-items: center; gap: 8px; padding: 0 2px;
}
.typing-dots { display: flex; gap: 4px; }
.typing-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }
/* Quick replies */
.agent-quick-replies {
  padding: 8px 16px; display: flex; gap: 7px;
  overflow-x: auto; scrollbar-width: none; flex-shrink: 0;
}
.agent-quick-replies::-webkit-scrollbar { display: none; }
.agent-qr-btn {
  flex-shrink: 0; padding: 7px 14px; border-radius: 50px;
  border: 1.5px solid var(--green-light); color: var(--green-mid);
  background: var(--white); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; white-space: nowrap; transition: all var(--transition);
}
.agent-qr-btn:hover { background: var(--green-deep); color: white; border-color: var(--green-deep); }
/* Input row */
.agent-input-row {
  padding: 10px 14px; border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}
.agent-input {
  flex: 1; background: var(--cream); border: 1.5px solid var(--border);
  border-radius: 24px; padding: 10px 16px; font-size: 0.875rem;
}
.agent-input:focus { border-color: var(--green-light); background: var(--white); }
.agent-send {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--green-deep); color: white;
  font-size: 1rem; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
/* Booking card: agent action area */
.booking-agent-bar {
  margin-top: 10px; padding-top: 10px;
  border-top: 1px dashed var(--border);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.btn-pay-agent {
  flex: 2; min-width: 130px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: white; border-radius: var(--radius-sm); padding: 10px 14px;
  font-size: 0.82rem; font-weight: 700; display: flex; align-items: center;
  justify-content: center; gap: 7px; cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  border: none;
}
.btn-pay-agent:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-pay-agent .pay-icon { font-size: 1rem; }
.btn-dispute {
  flex: 1; min-width: 90px;
  background: rgba(192,57,43,0.08); color: var(--red);
  border: 1.5px solid rgba(192,57,43,0.25);
  border-radius: var(--radius-sm); padding: 10px 10px;
  font-size: 0.78rem; font-weight: 700; cursor: pointer;
  transition: background var(--transition);
}
.btn-dispute:hover { background: rgba(192,57,43,0.16); }
/* Payment status pill */
.payment-status {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 700; padding: 3px 10px;
  border-radius: 20px;
}
.payment-pending { background: #FEF3C7; color: #92400E; }
.payment-paid    { background: #D1FAE5; color: #065f46; }
/* Agent thread in messages list */
.agent-thread-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-bottom: 2px solid rgba(33,158,188,0.15);
  cursor: pointer; background: rgba(33,158,188,0.04);
  transition: background var(--transition);
}
.agent-thread-item:hover { background: rgba(33,158,188,0.08); }
.agent-thread-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deep), var(--gold));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; position: relative;
}
.agent-thread-dot {
  position: absolute; bottom: 1px; right: 1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #22c55e; border: 2px solid white;
}
.agent-thread-info { flex: 1; min-width: 0; }
.agent-thread-name { font-weight: 700; font-size: 0.9rem; color: var(--green-deep); }
.agent-thread-sub  { color: var(--text-muted); font-size: 0.78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-thread-badge { background: var(--green-light); color: white; font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; white-space: nowrap; }

/* ============================
   KYC + PAYOUT PAGES (shared)
============================ */
.vendor-page {
  background: var(--cream); min-height: 100vh;
  display: flex; flex-direction: column;
}
.vendor-page-header {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0 16px; height: 56px;
  display: flex; align-items: center; gap: 14px;
  position: sticky; top: 0; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.vendor-back-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream-dark); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--green-deep); flex-shrink: 0;
  transition: background var(--transition);
}
.vendor-back-btn:hover { background: var(--border); }
.vendor-page-title {
  font-family: 'Playfair Display', serif; font-size: 1.05rem;
  color: var(--green-deep); font-weight: 700;
}
.vendor-page-body { flex: 1; overflow-y: auto; padding: 20px; max-width: 680px; margin: 0 auto; width: 100%; }

/* --- KYC STATUS BANNER (dashboard) --- */
.kyc-alert-banner {
  border-radius: var(--radius); padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 20px; cursor: pointer;
  transition: opacity var(--transition);
}
.kyc-alert-banner:hover { opacity: 0.9; }
.kyc-alert-banner.status-incomplete {
  background: linear-gradient(135deg,#fff8e6,#fff3d0);
  border: 1.5px solid var(--gold);
}
.kyc-alert-banner.status-pending {
  background: linear-gradient(135deg,rgba(33,158,188,0.08),rgba(33,158,188,0.04));
  border: 1.5px solid var(--green-light);
}
.kyc-alert-banner.status-verified {
  background: linear-gradient(135deg,#f0fdf4,#e8fdf2);
  border: 1.5px solid #22c55e;
}
.kyc-alert-icon { font-size: 1.6rem; flex-shrink: 0; margin-top: 2px; }
.kyc-alert-body { flex: 1; }
.kyc-alert-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.kyc-alert-sub { font-size: 0.8rem; line-height: 1.5; }
.kyc-alert-banner.status-incomplete .kyc-alert-title { color: #92400E; }
.kyc-alert-banner.status-incomplete .kyc-alert-sub   { color: #a05c10; }
.kyc-alert-banner.status-pending   .kyc-alert-title { color: var(--green-deep); }
.kyc-alert-banner.status-pending   .kyc-alert-sub   { color: var(--text-muted); }
.kyc-alert-banner.status-verified  .kyc-alert-title { color: #065f46; }
.kyc-alert-banner.status-verified  .kyc-alert-sub   { color: #0a7a52; }
.kyc-alert-cta {
  font-size: 0.75rem; font-weight: 700; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 20px;
}
.status-incomplete .kyc-alert-cta { background: var(--gold); color: white; }
.status-pending    .kyc-alert-cta { background: var(--green-light); color: white; }

/* --- KYC STEPPER --- */
.kyc-stepper {
  display: flex; align-items: flex-start; gap: 0;
  margin-bottom: 28px; position: relative;
}
.kyc-step-item {
  display: flex; flex-direction: column; align-items: center;
  flex: 1; position: relative;
}
.kyc-step-item:not(:last-child)::after {
  content: ''; position: absolute; top: 17px; left: 60%; right: -40%;
  height: 2px; background: var(--border); z-index: 0;
  transition: background 0.4s;
}
.kyc-step-item.done:not(:last-child)::after  { background: var(--gold); }
.kyc-step-circle {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: var(--text-muted);
  position: relative; z-index: 1; transition: all 0.35s;
  flex-shrink: 0;
}
.kyc-step-item.active .kyc-step-circle { border-color: var(--green-light); background: var(--green-light); color: white; }
.kyc-step-item.done   .kyc-step-circle { border-color: var(--gold); background: var(--gold); color: white; }
.kyc-step-label { font-size: 0.62rem; color: var(--text-muted); margin-top: 6px; text-align: center; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3; }
.kyc-step-item.active .kyc-step-label { color: var(--green-mid); }
.kyc-step-item.done   .kyc-step-label { color: var(--gold); }

/* --- KYC SECTION CARDS --- */
.kyc-section {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); margin-bottom: 16px; overflow: hidden;
}
.kyc-section-header {
  padding: 16px 18px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.kyc-section-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(33,158,188,0.1); display: flex;
  align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.kyc-section-title { font-weight: 700; font-size: 0.9rem; color: var(--green-deep); flex: 1; }
.kyc-section-status { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.ks-done    { background: #D1FAE5; color: #065f46; }
.ks-pending { background: #FEF3C7; color: #92400E; }
.ks-needed  { background: var(--cream-dark); color: var(--text-muted); }
.kyc-section-body { padding: 18px; }

/* --- DOCUMENT UPLOAD SLOT --- */
.doc-upload-slot {
  border: 2px dashed var(--border); border-radius: var(--radius-sm);
  padding: 20px; text-align: center; cursor: pointer;
  transition: all var(--transition); background: var(--cream);
  margin-bottom: 12px;
}
.doc-upload-slot:hover { border-color: var(--green-light); background: rgba(33,158,188,0.04); }
.doc-upload-slot.uploaded {
  border-style: solid; border-color: #22c55e;
  background: #f0fdf4;
}
.doc-upload-slot .doc-icon { font-size: 2rem; margin-bottom: 8px; }
.doc-upload-slot .doc-label { font-weight: 700; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 4px; }
.doc-upload-slot .doc-sub   { font-size: 0.75rem; color: var(--text-muted); }
.doc-upload-slot.uploaded .doc-label { color: #065f46; }
.doc-upload-slot.uploaded .doc-icon::after { content: ' ✅'; }
.doc-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* --- SELFIE CAPTURE AREA --- */
.selfie-area {
  border-radius: var(--radius-sm); overflow: hidden;
  background: var(--cream-dark); aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; border: 2px dashed var(--border);
  transition: all var(--transition); margin-bottom: 12px;
}
.selfie-area:hover { border-color: var(--green-light); }
.selfie-area.captured { border-style: solid; border-color: #22c55e; background: #f0fdf4; }
.selfie-area .selfie-icon { font-size: 2.5rem; }
.selfie-area .selfie-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 600; }

/* --- KYC STATUS REVIEW PAGE --- */
.kyc-review-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.kyc-review-item:last-child { border-bottom: none; }
.kyc-review-icon { font-size: 1.2rem; width: 28px; text-align: center; flex-shrink: 0; }
.kyc-review-label { flex: 1; font-size: 0.875rem; font-weight: 500; }
.kyc-review-status { font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 20px; }

/* --- KYC FINAL STATUS --- */
.kyc-status-screen { text-align: center; padding: 30px 20px; }
.kyc-status-icon-big { font-size: 4rem; margin-bottom: 16px; display: block; }
.kyc-status-title {
  font-family: 'Playfair Display', serif; font-size: 1.5rem;
  color: var(--green-deep); margin-bottom: 10px;
}
.kyc-status-desc { color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; margin-bottom: 24px; }
.kyc-timeline { text-align: left; margin: 20px 0; }
.kyc-tl-item { display: flex; gap: 12px; margin-bottom: 14px; }
.kyc-tl-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.kyc-tl-dot.done    { background: #22c55e; }
.kyc-tl-dot.active  { background: var(--gold); border: 2px solid var(--gold-light); }
.kyc-tl-dot.pending { background: var(--border); }
.kyc-tl-body .tl-label { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); }
.kyc-tl-body .tl-sub   { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }

/* ============================
   PAYOUT / BANK ACCOUNT PAGE
============================ */
.payout-summary-card {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  border-radius: var(--radius); padding: 22px 20px; margin-bottom: 20px;
  position: relative; overflow: hidden;
}
.payout-summary-card::before { content: '💸'; font-size: 7rem; position: absolute; right: -12px; bottom: -20px; opacity: 0.1; }
.payout-pending-label { color: rgba(255,255,255,0.7); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.payout-pending-amount { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: white; }
.payout-pending-sub { color: rgba(255,255,255,0.6); font-size: 0.8rem; margin-top: 4px; }
.payout-summary-row {
  display: flex; gap: 0; margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15); padding-top: 14px;
}
.payout-summary-item { flex: 1; text-align: center; }
.payout-summary-item + .payout-summary-item { border-left: 1px solid rgba(255,255,255,0.15); }
.payout-summary-item .ps-val { color: white; font-weight: 700; font-size: 1rem; }
.payout-summary-item .ps-label { color: rgba(255,255,255,0.6); font-size: 0.7rem; margin-top: 2px; }
.payout-request-btn {
  width: 100%; background: var(--gold); color: white; border: none;
  border-radius: var(--radius-sm); padding: 13px; font-size: 0.9rem;
  font-weight: 700; cursor: pointer; margin-top: 14px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--transition);
}
.payout-request-btn:hover { background: var(--gold-light); }
.payout-request-btn:disabled { background: var(--border); color: var(--text-muted); cursor: not-allowed; }

/* bank account card */
.bank-account-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 16px 18px;
  margin-bottom: 12px; display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden; cursor: default;
}
.bank-account-card.primary::before {
  content: 'PRIMARY'; position: absolute; top: 0; right: 0;
  background: var(--green-deep); color: white; font-size: 0.6rem;
  font-weight: 700; padding: 3px 10px; border-radius: 0 var(--radius) 0 var(--radius-sm);
  letter-spacing: 0.05em;
}
.bank-account-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--cream-dark); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; flex-shrink: 0;
}
.bank-account-info { flex: 1; min-width: 0; }
.bank-account-name { font-weight: 700; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 2px; }
.bank-account-num  { color: var(--text-muted); font-size: 0.8rem; font-family: monospace; letter-spacing: 0.05em; }
.bank-account-type { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.bank-account-actions { display: flex; gap: 6px; flex-shrink: 0; }
.bank-action-btn {
  width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--border);
  background: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; cursor: pointer; transition: all var(--transition);
}
.bank-action-btn:hover { background: var(--cream-dark); }
.bank-action-btn.delete:hover { background: rgba(192,57,43,0.08); border-color: var(--red); }

/* Payout history */
.payout-history-item {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 0; border-bottom: 1px solid var(--border);
}
.payout-history-item:last-child { border-bottom: none; }
.payout-history-icon {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.phi-success { background: #D1FAE5; }
.phi-pending { background: #FEF3C7; }
.phi-failed  { background: #FEE2E2; }
.payout-history-info { flex: 1; min-width: 0; }
.payout-history-title { font-weight: 700; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 1px; }
.payout-history-sub   { font-size: 0.75rem; color: var(--text-muted); }
.payout-history-right { text-align: right; flex-shrink: 0; }
.payout-history-amount { font-weight: 700; font-size: 0.9rem; }
.payout-history-amount.success { color: #065f46; }
.payout-history-amount.pending { color: var(--gold); }
.payout-history-amount.failed  { color: var(--red); }
.payout-history-date { font-size: 0.7rem; color: var(--text-muted); margin-top: 2px; }

/* Add bank account modal steps */
.add-bank-step { display: none; }
.add-bank-step.active { display: block; }
.bank-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 4px; }
.bank-method-option {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 10px; text-align: center; cursor: pointer;
  transition: all var(--transition); background: var(--white);
}
.bank-method-option:hover { border-color: var(--green-light); }
.bank-method-option.selected { border-color: var(--green-deep); background: rgba(33,158,188,0.06); }
.bank-method-option .bm-icon  { font-size: 1.6rem; margin-bottom: 6px; }
.bank-method-option .bm-label { font-size: 0.78rem; font-weight: 700; color: var(--text-dark); }
.secure-note {
  display: flex; align-items: center; gap: 8px;
  background: rgba(33,158,188,0.07); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: 0.78rem; color: var(--green-mid);
  margin-bottom: 14px;
}
/* ============================
   MANAGE LISTING PAGE
============================ */
.listing-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
.listing-stat-box { background: var(--white); border-radius: var(--radius-sm); padding: 14px; text-align: center; box-shadow: var(--shadow-sm); }
.listing-stat-box .ls-val { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--green-deep); }
.listing-stat-box .ls-label { font-size: 0.68rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin-top: 2px; }
.listing-status-toggle { display: flex; align-items: center; justify-content: space-between; background: var(--white); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.toggle-switch { position: relative; width: 48px; height: 26px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-track { position: absolute; inset: 0; background: var(--border); border-radius: 13px; cursor: pointer; transition: background 0.3s; }
.toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: white; transition: transform 0.3s; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.toggle-switch input:checked + .toggle-track { background: var(--green-light); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(22px); }
.manage-photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 4px; }
.manage-photo-slot { aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; position: relative; cursor: pointer; }
.manage-photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.manage-photo-slot .remove-photo { position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; background: rgba(192,57,43,0.85); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; border: none; cursor: pointer; }
.manage-photo-slot.add-slot { border: 2px dashed var(--border); background: var(--cream); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 1.4rem; color: var(--text-muted); }
.manage-photo-slot.add-slot span { font-size: 0.65rem; color: var(--text-muted); }
.danger-zone { background: rgba(192,57,43,0.05); border: 1.5px solid rgba(192,57,43,0.2); border-radius: var(--radius); padding: 16px 18px; }
.danger-zone-title { font-weight: 700; font-size: 0.85rem; color: var(--red); margin-bottom: 8px; }
.danger-zone-sub { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }

/* ============================
   AVAILABILITY CALENDAR
============================ */
.cal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.cal-month-label { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--green-deep); font-weight: 700; }
.cal-nav-btn { width: 34px; height: 34px; border-radius: 50%; background: var(--cream-dark); border: none; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; color: var(--green-deep); transition: background var(--transition); }
.cal-nav-btn:hover { background: var(--border); }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.cal-day-name { text-align: center; font-size: 0.68rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; padding: 6px 0; }
.cal-day { aspect-ratio: 1; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 0.82rem; cursor: pointer; font-weight: 500; transition: all var(--transition); border: 1.5px solid transparent; position: relative; }
.cal-day:hover:not(.empty):not(.past) { border-color: var(--green-light); }
.cal-day.empty { cursor: default; }
.cal-day.past { color: var(--border); cursor: default; }
.cal-day.today { font-weight: 800; color: var(--green-deep); }
.cal-day.today::after { content: ''; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--green-deep); }
.cal-day.available { background: rgba(34,197,94,0.12); color: #065f46; }
.cal-day.blocked  { background: rgba(192,57,43,0.1); color: var(--red); }
.cal-day.booked   { background: rgba(33,158,188,0.12); color: var(--green-deep); cursor: not-allowed; }
.cal-day.selected { background: var(--green-deep) !important; color: white !important; border-color: var(--green-deep); }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; }
.cal-legend-item { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--text-muted); }
.cal-legend-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.cal-action-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 16px; }
.cal-action-btn { padding: 10px 8px; border-radius: var(--radius-sm); font-size: 0.78rem; font-weight: 700; cursor: pointer; border: 1.5px solid; text-align: center; transition: all var(--transition); }
.cab-available { background: rgba(34,197,94,0.1); color: #065f46; border-color: rgba(34,197,94,0.3); }
.cab-available:hover { background: rgba(34,197,94,0.2); }
.cab-blocked { background: rgba(192,57,43,0.08); color: var(--red); border-color: rgba(192,57,43,0.25); }
.cab-blocked:hover { background: rgba(192,57,43,0.16); }
.cab-clear { background: var(--cream-dark); color: var(--text-mid); border-color: var(--border); }
.cab-clear:hover { background: var(--border); }
.number-stepper { display: flex; align-items: center; gap: 10px; }
.stepper-btn { width: 30px; height: 30px; border-radius: 50%; background: var(--cream-dark); border: 1.5px solid var(--border); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.stepper-btn:hover { background: var(--border); }
.stepper-val { font-weight: 700; font-size: 0.95rem; min-width: 24px; text-align: center; color: var(--green-deep); }

/* ============================
   SETTINGS & NOTIFICATIONS
============================ */
.settings-section { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 16px; }
.settings-section-header { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 10px; }
.settings-section-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(33,158,188,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0; }
.settings-section-title { font-weight: 700; font-size: 0.875rem; color: var(--green-deep); }
.settings-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.settings-row:last-child { border-bottom: none; }
.settings-row-icon { font-size: 1.1rem; width: 26px; text-align: center; flex-shrink: 0; }
.settings-row-body { flex: 1; min-width: 0; }
.settings-row-label { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.settings-row-sub { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }
.settings-row-action { flex-shrink: 0; }
.settings-select { border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 6px 10px; font-size: 0.8rem; color: var(--text-dark); background: var(--cream); cursor: pointer; }

/* ============================
   HELP & SUPPORT PAGE
============================ */
.help-search-bar { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 13px 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.help-search-bar input { flex: 1; border: none; background: none; font-size: 0.9rem; }
.help-quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.help-quick-card { background: var(--white); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); cursor: pointer; text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.help-quick-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.help-quick-card .hq-icon { font-size: 1.8rem; margin-bottom: 8px; }
.help-quick-card .hq-label { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); }
.help-faq-item { background: var(--white); border-radius: var(--radius-sm); margin-bottom: 8px; box-shadow: var(--shadow-sm); overflow: hidden; }
.help-faq-q { padding: 15px 18px; font-weight: 600; font-size: 0.875rem; color: var(--text-dark); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: color var(--transition); }
.help-faq-q:hover { color: var(--green-mid); }
.help-faq-arrow { font-size: 0.8rem; color: var(--text-muted); transition: transform 0.25s; flex-shrink: 0; }
.help-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s; padding: 0 18px; font-size: 0.845rem; color: var(--text-mid); line-height: 1.7; border-top: 0px solid var(--border); }
.help-faq-item.open .help-faq-arrow { transform: rotate(180deg); }
.help-faq-item.open .help-faq-a { max-height: 400px; padding: 14px 18px; border-top-width: 1px; }
.help-contact-methods { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: 16px; }
.help-contact-method { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 16px 10px; cursor: pointer; text-align: center; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.help-contact-method:hover { border-color: var(--green-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.help-contact-method .hcm-icon { font-size: 1.6rem; margin-bottom: 6px; }
.help-contact-method .hcm-label { font-size: 0.75rem; color: var(--text-mid); font-weight: 700; }
.help-contact-method .hcm-sub { font-size: 0.68rem; color: var(--text-muted); margin-top: 2px; }
