/* ==========================================
   MOKOPE Room Booking App - Responsive Design System
   Mobile & Desktop Adaptive (OYO Style)
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  --primary-red: #E2231A;
  --primary-red-hover: #C51B13;
  --primary-red-light: #FEF2F2;
  --bg-dark: #0F172A;
  --bg-body: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --green-accent: #10B981;
  --green-light: #ECFDF5;
  --orange-accent: #F59E0B;
  --font-family-base: 'Inter', system-ui, -apple-system, sans-serif;
  --font-family-logo: 'Outfit', 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F1F5F9;
  color: var(--text-dark);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ------------------------------------------
   Simulation Bar
   ------------------------------------------ */
.sim-bar {
  background: #1E293B;
  color: #F8FAFC;
  padding: 8px 16px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1000;
}

.sim-bar-left, .sim-bar-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sim-btn {
  background: #334155;
  color: #F8FAFC;
  border: 1px solid #475569;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sim-btn:hover, .sim-btn.active {
  background: var(--primary-red);
  border-color: var(--primary-red);
}

.sim-text {
  font-weight: 700;
  color: #38BDF8;
}

/* ------------------------------------------
   Website Layout Container & Header
   ------------------------------------------ */
.website-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.website-header {
  background: white;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.web-logo {
  font-family: var(--font-family-logo);
  font-size: 32px;
  font-weight: 900;
  color: var(--primary-red);
  text-decoration: none;
  letter-spacing: -1.5px;
  display: flex;
  align-items: center;
}

.city-quick-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.city-quick-btn {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.city-quick-btn:hover {
  background: var(--primary-red-light);
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.web-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.web-nav-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.web-nav-link:hover, .web-nav-link.active {
  color: var(--primary-red);
  background: var(--primary-red-light);
}

.web-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-host-action {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #D97706;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
}

.btn-host-action:hover {
  background: #F59E0B;
  color: white;
}

.btn-web-secondary {
  background: var(--primary-red);
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(226,35,26,0.25);
  min-height: 40px;
}

.btn-web-secondary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-1px);
}

/* ------------------------------------------
   App Container & Screen System
   ------------------------------------------ */
.app-container {
  flex: 1;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  background: white;
  min-height: calc(100vh - 140px);
  position: relative;
  box-shadow: var(--shadow-sm);
}

.screen {
  display: none;
  width: 100%;
  min-height: 100%;
  animation: fadeIn 0.25s ease-in-out;
}

.screen.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ------------------------------------------
   OYO Grand Search Hero Section
   ------------------------------------------ */
.oyo-hero-section {
  background: linear-gradient(135deg, #E2231A 0%, #B91C1C 100%);
  color: white;
  padding: 40px 24px 50px 24px;
  text-align: center;
  position: relative;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.oyo-hero-title {
  font-family: var(--font-family-logo);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.oyo-hero-subtitle {
  font-size: 14px;
  opacity: 0.92;
  font-weight: 500;
  margin-bottom: 24px;
}

/* OYO Search Box Bar */
.oyo-search-box {
  background: white;
  border-radius: 16px;
  padding: 8px;
  display: flex;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  color: var(--text-dark);
}

.search-field-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  text-align: left;
}

.search-field-icon {
  font-size: 18px;
}

.search-field-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-field-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.search-field-input {
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  background: transparent;
  width: 100%;
  padding: 0;
  height: 24px;
}

.search-field-divider {
  width: 1px;
  height: 38px;
  background: var(--border-color);
}

.btn-gps-detect {
  background: var(--primary-red-light);
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  min-height: 36px;
}

.btn-oyo-search {
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(226,35,26,0.35);
  white-space: nowrap;
  min-height: 48px;
}

.btn-oyo-search:hover {
  background: var(--primary-red-hover);
  transform: scale(1.02);
}

/* ------------------------------------------
   View 0: Login Portal
   ------------------------------------------ */
#screen-login {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  min-height: calc(100vh - 65px);
}

#screen-login.active {
  display: flex;
}

.login-card-wrapper {
  transition: all 0.3s ease;
}

.active-role-btn {
  background: var(--primary-red);
  color: white !important;
  box-shadow: var(--shadow-sm);
}

.btn-skip-login {
  background: transparent;
  border: none;
  color: var(--primary-red);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* ------------------------------------------
   View 1: Landing Page (Role Selector)
   ------------------------------------------ */
.app-header {
  background: linear-gradient(135deg, #E2231A 0%, #B91C1C 100%);
  color: white;
  padding: 24px 24px 32px 24px;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.app-header.dark-tint {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
}

.app-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.app-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-logo-icon {
  width: 38px;
  height: 38px;
  background: white;
  color: var(--primary-red);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-logo);
  font-weight: 900;
  font-size: 20px;
}

.app-title {
  font-family: var(--font-family-logo);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.app-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  font-weight: 700;
}

.header-hero {
  margin-top: 24px;
}

.header-hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}

.header-hero p {
  font-size: 13px;
  opacity: 0.9;
  max-width: 320px;
}

.landing-bottom-drawer {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-drawer-indicator {
  width: 36px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 2px;
  margin: 0 auto 8px auto;
}

.landing-subheading {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.role-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.role-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.role-card-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.role-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.role-icon-box svg {
  width: 22px;
  height: 22px;
}

.red-tint { background: var(--primary-red-light); color: var(--primary-red); }
.orange-tint { background: #FEF3C7; color: #D97706; }

.role-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--text-dark);
}

.role-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.role-arrow {
  color: var(--text-muted);
}

.landing-features-footer {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.feature-pill-icon svg {
  width: 14px;
  height: 14px;
  color: var(--primary-red);
}

.terms-text {
  text-align: center;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ------------------------------------------
   City Story Avatars & Filters
   ------------------------------------------ */
.city-story-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 24px 16px 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.city-story-container::-webkit-scrollbar {
  display: none;
}

.city-story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.city-story-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, var(--primary-red), #F59E0B);
  transition: transform 0.2s ease;
}

.city-story-item:hover .city-story-avatar {
  transform: scale(1.08);
}

.city-story-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.city-story-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.radius-filter-container {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.radius-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.radius-slider {
  width: 100%;
  accent-color: var(--primary-red);
}

/* ------------------------------------------
   Property Room Cards & Feed
   ------------------------------------------ */
.feed-container {
  padding: 16px 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.web-room-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.web-room-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.web-room-images {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2px;
  height: 210px;
  background: #000;
  position: relative;
}

.web-room-main-img {
  position: relative;
  height: 100%;
}

.web-room-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-room-type-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.web-room-thumbs {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  height: 100%;
}

.web-room-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.web-room-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* Offers & Blogs Grids */
.offer-cards-grid {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 8px 24px 16px 24px;
  -webkit-overflow-scrolling: touch;
}

.offer-banner-card {
  min-width: 280px;
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: white;
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.blog-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: white;
  transition: all 0.2s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

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

.blog-card-tag {
  font-size: 9px;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.blog-card-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.blog-card-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ------------------------------------------
   Cards, Tables & Universal UI Elements
   ------------------------------------------ */
.section-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 0 24px 20px 24px;
  box-shadow: var(--shadow-sm);
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.section-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
}

.booking-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 14px;
  background: #F8FAFC;
}

.booking-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.status-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-badge.green { background: #DCFCE7; color: #166534; }
.status-badge.orange { background: #FEF3C7; color: #92400E; }
.status-badge.blue { background: #E0F2FE; color: #0369A1; }
.status-badge.gray { background: #F1F5F9; color: #475569; }

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-dot.green { background: #166534; }
.status-dot.orange { background: #92400E; }

.booking-main {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.booking-image {
  font-size: 26px;
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
}

.booking-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: block;
}

.booking-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.rent-info-label {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

.rent-info-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-dark);
}

/* Tables */
.transaction-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.transaction-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  min-width: 500px;
}

.transaction-table th {
  background: #F1F5F9;
  color: var(--text-muted);
  text-align: left;
  padding: 10px 14px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.transaction-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-color);
}

.badge-amount {
  font-weight: 800;
}
.badge-amount.minus { color: var(--primary-red); }
.badge-amount.orange { color: #D97706; }

/* ------------------------------------------
   Owner Dashboard & Stepper Form
   ------------------------------------------ */
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  padding: 20px 24px;
}

.stat-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.stat-icon.red { background: var(--primary-red-light); color: var(--primary-red); }
.stat-icon.orange { background: #FEF3C7; color: #D97706; }
.stat-icon.green { background: #DCFCE7; color: #166534; }

.stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.chart-container {
  position: relative;
  height: 200px;
  width: 100%;
}

.listing-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.listing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.listing-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.listing-item-img {
  font-size: 22px;
}

.listing-item-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-dark);
}

.listing-item-subtitle {
  font-size: 11.5px;
  color: var(--text-muted);
}

.btn-mini-add {
  background: var(--primary-red);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  padding-left: 10px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-red);
  color: white;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

/* Stepper Form */
.form-stepper-header {
  padding: 24px;
  border-bottom: 1px solid var(--border-color);
}

.stepper-title {
  font-size: 20px;
  font-weight: 800;
}

.stepper-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.stepper-progress {
  height: 4px;
  background: #E2E8F0;
  border-radius: 2px;
  margin-top: 16px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stepper-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--primary-red);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.stepper-step {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #CBD5E1;
  z-index: 1;
}

.stepper-step.active { background: var(--primary-red); }
.stepper-step.completed { background: var(--primary-red); }

.form-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 16px; /* Prevents auto-zoom on mobile */
  outline: none;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  border-color: var(--primary-red);
}

.chips-container {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}

.chip.active {
  background: var(--primary-red-light);
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.form-footer {
  padding: 18px 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn {
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 44px;
}

.btn-primary { background: var(--primary-red); color: white; }
.btn-primary:hover { background: var(--primary-red-hover); }
.btn-secondary { background: #F1F5F9; color: var(--text-dark); }
.btn-sm-primary { background: var(--primary-red); color: white; border: none; padding: 6px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 700; cursor: pointer; min-height: 32px; }
.btn-sm-success { background: #166534; color: white; border: none; padding: 6px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 700; cursor: pointer; min-height: 32px; }
.btn-sm-secondary { background: #F1F5F9; color: var(--text-dark); border: 1px solid var(--border-color); padding: 6px 12px; border-radius: 6px; font-size: 11.5px; font-weight: 700; cursor: pointer; min-height: 32px; }

/* ------------------------------------------
   Admin Dashboard Layout
   ------------------------------------------ */
.admin-split-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 140px);
}

.admin-sidebar {
  background: #0F172A;
  color: white;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-sidebar-logo {
  font-family: var(--font-family-logo);
  font-size: 26px;
  font-weight: 900;
  color: var(--primary-red);
}

.admin-sidebar-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94A3B8;
}

.admin-sidebar-stats-widget {
  background: #1E293B;
  padding: 14px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.widget-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
}

.widget-stat-lbl { color: #94A3B8; }
.widget-stat-val { font-weight: 800; color: #38BDF8; }

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.admin-nav-item {
  background: transparent;
  color: #94A3B8;
  border: none;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  text-align: left;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-nav-item:hover, .admin-nav-item.active {
  background: #1E293B;
  color: white;
}

.admin-main-content {
  padding: 28px;
  background: #F8FAFC;
  overflow-y: auto;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.admin-overview-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.admin-overview-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-overview-icon.red { background: var(--primary-red-light); color: var(--primary-red); }
.admin-overview-icon.green { background: #DCFCE7; color: #166534; }

.admin-overview-val { font-size: 24px; font-weight: 800; display: block; }
.admin-overview-lbl { font-size: 11.5px; color: var(--text-muted); font-weight: 600; }

.admin-rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}

.admin-room-box {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 115px;
}

.admin-room-box:hover {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-sm);
}

.admin-room-box-title {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-room-box-owner {
  font-size: 10.5px;
  color: var(--text-muted);
}

.admin-room-box-rent {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--primary-red);
}

/* ------------------------------------------
   Modals & Popups
   ------------------------------------------ */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content, .modal-card {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: modalSlide 0.25s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes modalSlide {
  from { transform: translateY(16px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 17px;
  font-weight: 800;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.slots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.slot-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
}

.slot-item.active {
  border-color: var(--primary-red);
  background: var(--primary-red-light);
}

.slot-item-date { font-size: 11px; color: var(--text-muted); }
.slot-item-time { font-size: 12.5px; font-weight: 700; }

.checkout-details-card {
  background: #F8FAFC;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: 6px;
}

.checkout-row.total {
  font-size: 14.5px;
  font-weight: 800;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
  margin-top: 10px;
}

.checkout-payment-methods {
  display: flex;
  gap: 10px;
}

.pay-method {
  flex: 1;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pay-method.active {
  border-color: var(--primary-red);
  background: var(--primary-red-light);
  color: var(--primary-red);
}

.map-selection-box {
  height: 240px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.map-selection-hint {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 10.5px;
  z-index: 500;
}

/* ------------------------------------------
   Live Support Chat Widget
   ------------------------------------------ */
.chat-widget-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.chat-trigger-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-red);
  color: white;
  border: none;
  box-shadow: 0 8px 20px rgba(226,35,26,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.chat-trigger-btn:hover {
  transform: scale(1.06);
}

.chat-window {
  position: absolute;
  bottom: 68px;
  right: 0;
  width: 340px;
  height: 440px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.chat-window.active {
  display: flex;
}

.chat-header {
  background: #F8FAFC;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.chat-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 80%;
  padding: 9px 14px;
  border-radius: 14px;
  font-size: 12.5px;
}

.chat-msg.system {
  background: #F1F5F9;
  align-self: flex-start;
}

.chat-msg.user {
  background: var(--primary-red);
  color: white;
  align-self: flex-end;
}

.chat-msg-time {
  font-size: 9px;
  opacity: 0.7;
  display: block;
  margin-top: 3px;
}

.chat-footer {
  padding: 12px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}

.chat-footer input {
  flex: 1;
  height: 38px;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}

.chat-send-btn {
  background: var(--primary-red);
  color: white;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------
   Navigation Bar (Desktop vs Mobile)
   ------------------------------------------ */
/* By default hide bottom app tabs on desktop screens (≥768px) to prevent double nav */
.app-tabs {
  display: none;
}

.website-footer {
  background: #0F172A;
  color: white;
  padding: 52px 32px 28px 32px;
  margin-top: auto;
  border-top: 1px solid #1E293B;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 36px;
}

.footer-brand-title {
  font-family: var(--font-family-logo);
  font-size: 30px;
  font-weight: 900;
  color: var(--primary-red);
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 12.5px;
  color: #94A3B8;
  line-height: 1.6;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1E293B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.social-icon svg { width: 16px; height: 16px; color: #94A3B8; }

.footer-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 12.5px;
  color: #94A3B8;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  max-width: 1240px;
  margin: 36px auto 0 auto;
  padding-top: 24px;
  border-top: 1px solid #1E293B;
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: #64748B;
}

/* ==========================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet)
   ========================================== */

@media (max-width: 991px) {
  .website-header {
    padding: 12px 20px;
  }

  .website-header .city-quick-links {
    display: none;
  }

  .oyo-search-box {
    flex-direction: column;
    gap: 8px;
    padding: 12px;
  }

  .search-field-divider {
    display: none;
  }

  .search-field-group {
    width: 100%;
    background: #F8FAFC;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 14px;
  }

  .btn-oyo-search {
    width: 100%;
  }

  .admin-split-container {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    padding: 16px;
  }

  .admin-sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
  }

  .admin-nav-item {
    white-space: nowrap;
  }
}

@media (max-width: 767px) {
  /* Show fixed bottom navigation bar on mobile phones */
  .app-tabs {
    display: flex;
    background: white;
    border-top: 1px solid var(--border-color);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    padding: 8px 0 10px 0;
    z-index: 990;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  }

  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: none;
    cursor: pointer;
  }

  .tab-item svg {
    width: 22px;
    height: 22px;
  }

  .tab-item.active {
    color: var(--primary-red);
  }

  /* Hide desktop header nav on mobile */
  .website-header .web-nav {
    display: none;
  }

  .website-header {
    padding: 10px 16px;
  }

  .web-logo {
    font-size: 26px;
  }

  .btn-host-action span {
    display: none;
  }

  .btn-host-action::after {
    content: "🏠 List";
  }

  .btn-web-secondary {
    padding: 6px 12px;
    font-size: 12px;
  }

  .oyo-hero-section {
    padding: 28px 16px 36px 16px;
  }

  .oyo-hero-title {
    font-size: 24px;
  }

  .oyo-hero-subtitle {
    font-size: 12.5px;
    margin-bottom: 18px;
  }

  .feed-container {
    padding: 12px 16px 80px 16px; /* Extra bottom padding for mobile tabs */
    grid-template-columns: 1fr;
  }

  .section-card {
    margin: 0 16px 16px 16px;
    padding: 16px;
  }

  .detail-gallery {
    height: 250px !important;
  }

  .detail-financials-card {
    grid-template-columns: 1fr 1fr;
    padding: 14px !important;
  }

  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .website-footer {
    padding: 32px 20px 80px 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Mobile Sheet Modals */
  .modal-overlay {
    padding: 0;
    align-items: flex-end;
  }

  .modal-content, .modal-card {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 85vh;
    padding: 20px;
  }

  .chat-widget-container {
    bottom: 74px;
    right: 16px;
  }

  .chat-window {
    width: 300px;
    height: 380px;
  }
}
