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

:root {
  --navy: #1B2B4B;
  --navy-light: #2A3F6B;
  --gold: #C5A572;
  --gold-light: #F5EDE0;
  --gold-dark: #A88B5E;
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --bg-elevated: #F5F5F3;
  --text: #1A1A1A;
  --text-secondary: #6B7280;
  --text-light: #9CA3AF;
  --border: #E5E7EB;
  --success: #10B981;
  --error: #EF4444;
  --warning: #F59E0B;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 100px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --transition: all 0.25s ease;
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 600; line-height: 1.3; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; outline: none; }
img { max-width: 100%; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo { height: 44px; width: auto; object-fit: contain; flex-shrink: 0; }
.nav-brand-text { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--navy); line-height: 1.2; }
.nav-brand-sub { font-size: 10px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition); position: relative; cursor: pointer;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gold); border-radius: 1px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-lang {
  background: none; border: 1px solid var(--border); border-radius: var(--radius-full);
  padding: 6px 12px; font-size: 12px; font-weight: 500; color: var(--text-secondary);
  transition: var(--transition);
}
.nav-lang:hover { border-color: var(--gold); color: var(--gold); }
.nav-menu-btn {
  display: none; background: none; border: none; font-size: 24px; color: var(--navy);
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-md); font-size: 14px;
  font-weight: 600; transition: var(--transition); border: none;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--navy-light); transform: translateY(-1px); }
.btn-outline {
  background: transparent; border: 1.5px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { opacity: 0.9; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { opacity: 0.9; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { opacity: 0.85; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* FORM */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-md);
  font-size: 14px; color: var(--text); background: #fff; transition: var(--transition);
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,165,114,0.1); }
.form-input::placeholder { color: var(--text-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }
textarea.form-input { resize: vertical; min-height: 80px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }

/* PHONE INPUT */
.phone-input-wrap { display:flex; border:1px solid var(--border); border-radius:var(--radius-md); overflow:hidden; background:var(--bg-primary); transition:border-color 0.2s,box-shadow 0.2s; }
.phone-input-wrap:focus-within { border-color:var(--gold); box-shadow:0 0 0 3px rgba(197,165,114,0.12); }
.phone-cc-select { border:none; border-right:1px solid var(--border); background:var(--bg-elevated); color:var(--text-primary); font-size:13px; padding:0 4px 0 10px; cursor:pointer; min-width:130px; max-width:160px; outline:none; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6,9 12,15 18,9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 6px center; flex-shrink:0; }
.phone-num-input { border:none !important; border-radius:0 !important; box-shadow:none !important; flex:1; background:transparent; min-width:0; }
.phone-num-input:focus { border:none !important; box-shadow:none !important; outline:none; }
[dir="rtl"] .phone-cc-select { border-right:none; border-left:1px solid var(--border); background-position:left 6px center; }

/* CHIPS */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500;
  cursor: pointer; transition: var(--transition);
  background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid transparent;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }
.chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* CARDS */
.card {
  background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* BADGE */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 600;
}
.badge-gold { background: var(--gold-light); color: var(--navy); }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-error { background: #FEE2E2; color: #991B1B; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-navy { background: rgba(27,43,75,0.1); color: var(--navy); }
.badge-secondary { background: var(--bg-elevated); color: var(--text-secondary); }

/* HERO */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0F1B33 100%);
  overflow: hidden; margin-top: 70px;
}
.hero-bg {
  position: absolute; inset: 0; opacity: 0.25; pointer-events: none;
  background: url('https://wahajhotel.com/wp-content/uploads/2025/12/%D9%84%D9%88%D8%A8%D9%89-scaled.jpg') center/cover;
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 600px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px;
  background: rgba(197,165,114,0.15); border: 1px solid rgba(197,165,114,0.3);
  border-radius: var(--radius-full); color: var(--gold); font-size: 12px;
  font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(36px, 5vw, 56px); color: #fff; margin-bottom: 16px; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; line-height: 1.7; }

/* SEARCH BOX */
.search-box {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-xl); padding: 24px;
}
.search-box .form-label {
  color: rgba(255,255,255,0.75); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.search-box .form-group { margin-bottom: 0; }
.search-box .form-input {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.2);
  color: #fff; min-height: 48px; font-size: 15px; font-weight: 500;
  -webkit-text-fill-color: #fff;
}
.search-box input[type="date"] {
  -webkit-appearance: none; appearance: none;
  color-scheme: dark;
}
.search-box input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1); opacity: 0.6; cursor: pointer;
}
.search-box .form-input::placeholder { color: rgba(255,255,255,0.4); }
.search-box .form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(197,165,114,0.2); }
.search-box .search-select { cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; }
.search-box .search-select option { background: #1a2744; color: #fff; }
.search-grid { display: grid; grid-template-columns: 1fr 1fr 0.7fr 0.7fr 0.7fr auto; gap: 12px; align-items: end; }

/* SECTIONS */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 32px; color: var(--navy); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.section-header .gold-line {
  width: 60px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 2px;
}

/* ROOMS FILTER BAR */
.rooms-filter-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.guest-filter {
  display: flex; align-items: center; gap: 8px;
}
.guest-filter-label {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--text-secondary); white-space: nowrap;
}
.guest-filter-select {
  width: auto; min-width: 120px; padding: 8px 12px; font-size: 14px;
}

/* SEARCH RESULTS BANNER */
.search-results-banner {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6e 100%);
  padding: 14px 20px; border-radius: var(--radius-lg);
  color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.search-results-info {
  display: flex; align-items: center; gap: 10px; font-size: 14px;
}
.search-results-info svg { flex-shrink: 0; }
.search-dates {
  color: var(--gold-light); font-size: 13px;
  padding-left: 10px; border-left: 1px solid rgba(255,255,255,0.2);
}

/* ROOM CARDS GRID */
.rooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.room-card { cursor: pointer; position: relative; }
.room-card-img { height: 220px; position: relative; overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.room-card:hover .room-card-img img { transform: scale(1.05); }
.room-card-type {
  position: absolute; top: 14px; right: 14px;
  padding: 5px 12px; background: var(--gold-light); color: var(--navy);
  font-size: 12px; font-weight: 600; border-radius: var(--radius-full);
}
.room-card-body { padding: 20px; }
.room-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.room-card-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 600; }
.room-card-price { color: var(--gold); font-weight: 700; font-size: 16px; }
.room-card-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.room-card-details {
  display: flex; gap: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 12px; color: var(--text-secondary);
}
.room-card-detail { display: flex; align-items: center; gap: 4px; }
.fully-booked-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; z-index: 2;
}
.fully-booked-badge {
  background: var(--error); color: #fff; padding: 10px 24px; border-radius: var(--radius-full);
  font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px;
}
.low-avail-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: #FF6B35; color: #fff; padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; z-index: 2;
}

/* ROOM DETAIL */
.room-hero { margin-top: 70px; }
.room-gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 4px; height: 450px; overflow: hidden; border-radius: var(--radius-lg); }
.room-gallery-main { height: 100%; }
.room-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.room-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.room-gallery-side img { width: 100%; height: 100%; object-fit: cover; }
.room-detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 40px; margin-top: 32px; }
.room-info h1 { font-size: 28px; margin-bottom: 8px; }
.room-specs {
  display: flex; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.room-spec { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-secondary); }
.room-amenities { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0; }
.room-amenity {
  display: flex; align-items: center; gap: 6px; padding: 8px 14px;
  background: var(--bg-elevated); border-radius: var(--radius-md); font-size: 13px;
}

/* BOOKING SIDEBAR */
.booking-sidebar {
  position: sticky; top: 90px; background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.booking-price { margin-bottom: 20px; }
.booking-price-amount { font-size: 28px; font-weight: 700; color: var(--navy); }
.booking-price-unit { font-size: 14px; color: var(--text-secondary); }
.booking-price-old { text-decoration: line-through; color: var(--text-light); font-size: 16px; margin-right: 8px; }
.booking-summary { padding: 16px 0; border-top: 1px solid var(--border); margin-top: 16px; }
.booking-summary-row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 14px; }
.booking-summary-total { font-weight: 700; font-size: 16px; padding-top: 12px; border-top: 1px solid var(--border); }

/* FACILITIES */
.facilities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.facility-card { text-align: center; padding: 32px 20px; }
.facility-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gold-light);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  font-size: 24px; color: var(--gold);
}
.facility-card h4 { font-size: 16px; margin-bottom: 6px; }
.facility-card p { font-size: 13px; color: var(--text-secondary); }

/* AUTH */
.auth-page { margin-top: 70px; min-height: calc(100vh - 70px); display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-card { width: 100%; max-width: 440px; background: var(--bg-card); border-radius: var(--radius-xl); padding: 40px; box-shadow: var(--shadow-lg); }
.auth-card h2 { text-align: center; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: var(--text-secondary); font-size: 14px; margin-bottom: 32px; }
.auth-tabs { display: flex; gap: 0; margin-bottom: 28px; background: var(--bg-elevated); border-radius: var(--radius-md); padding: 4px; }
.auth-tab {
  flex: 1; padding: 10px; text-align: center; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: var(--transition);
  color: var(--text-secondary); background: transparent;
}
.auth-tab.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.auth-divider { display: flex; align-items: center; gap: 16px; margin: 20px 0; font-size: 13px; color: var(--text-light); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ACCOUNT */
.account-page { margin-top: 70px; padding: 40px 0; min-height: calc(100vh - 70px); }
.account-grid { display: grid; grid-template-columns: 240px 1fr; gap: 32px; }
.account-sidebar { position: sticky; top: 110px; }
.account-nav-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: var(--radius-md); cursor: pointer; transition: var(--transition);
  font-size: 14px; font-weight: 500; color: var(--text-secondary);
}
.account-nav-item:hover { background: var(--bg-elevated); color: var(--text); }
.account-nav-item.active { background: var(--gold-light); color: var(--navy); font-weight: 600; }
.account-content { min-height: 500px; }

/* REWARDS */
.rewards-card {
  background: linear-gradient(135deg, var(--navy) 0%, #0F1B33 100%);
  border-radius: var(--radius-xl); padding: 32px; color: #fff; margin-bottom: 24px;
}
.rewards-tier-badge {
  display: inline-flex; padding: 6px 16px; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.tier-bronze { background: #CD7F32; color: #fff; }
.tier-silver { background: #C0C0C0; color: #333; }
.tier-gold { background: var(--gold); color: var(--navy); }
.tier-platinum { background: linear-gradient(135deg, #7C3AED, #A78BFA); color: #fff; }
.rewards-points { font-size: 36px; font-weight: 700; margin: 16px 0 4px; }
.rewards-label { font-size: 14px; color: rgba(255,255,255,0.6); }

/* BOOKING LIST */
.booking-list { display: flex; flex-direction: column; gap: 16px; }
.booking-item {
  display: flex; gap: 16px; padding: 16px; background: var(--bg-card);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
}
.booking-item-img { width: 120px; height: 90px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
.booking-item-img img { width: 100%; height: 100%; object-fit: cover; }
.booking-item-info { flex: 1; }
.booking-item-name { font-weight: 600; margin-bottom: 4px; }
.booking-item-dates { font-size: 13px; color: var(--text-secondary); }
.booking-item-price { font-size: 14px; font-weight: 600; color: var(--gold); margin-top: 4px; }
.booking-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }

/* ADMIN */
.admin-page { margin-top: 70px; padding: 40px 0; }
.admin-header { margin-bottom: 32px; }
.admin-header h1 { font-size: 28px; margin-bottom: 4px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); }
.stat-card-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 4px; }
.stat-card-value { font-size: 24px; font-weight: 700; color: var(--navy); }
.stat-card-primary { background: var(--navy); border-color: var(--navy); }
.stat-card-primary .stat-card-label, .stat-card-primary .stat-card-value { color: #fff; }
.stat-card-success { background: #ECFDF5; border-color: #6EE7B7; }
.stat-card-success .stat-card-value { color: #065F46; }
.stat-card-warning { background: #FFFBEB; border-color: #FCD34D; }
.stat-card-warning .stat-card-value { color: #92400E; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; border-bottom: 1px solid var(--border); padding-bottom: 12px; }
.admin-tab {
  padding: 8px 16px; border-radius: var(--radius-md); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: var(--transition); background: var(--bg-elevated); color: var(--text-secondary);
}
.admin-tab.active { background: var(--navy); color: #fff; }
.admin-tab:hover:not(.active) { background: var(--gold-light); color: var(--navy); }
.admin-section { display: none; }
.admin-section.active { display: block; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th {
  text-align: left; padding: 12px 16px; background: var(--bg-elevated);
  font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--text-secondary); border-bottom: 1px solid var(--border);
}
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.admin-table tr:hover td { background: var(--bg-elevated); }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.admin-action-btn {
  padding: 6px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600;
  transition: var(--transition); border: none; cursor: pointer;
}

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200;
  display: flex; align-items: flex-end; justify-content: center; padding: 0;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
@media (min-width: 600px) {
  .modal-overlay { align-items: center; padding: 24px; }
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  background: var(--bg-card); border-radius: var(--radius-xl) var(--radius-xl) 0 0; width: 100%;
  max-width: 560px; max-height: 92vh; display: flex; flex-direction: column;
  transform: translateY(40px); transition: var(--transition);
}
@media (min-width: 600px) {
  .modal { border-radius: var(--radius-xl); max-height: 85vh; }
}
.modal-overlay.active .modal { transform: translateY(0); }
.modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid var(--border);
}
.modal-header h3 { font-size: 18px; }
.modal-close { background: none; border: none; font-size: 24px; color: var(--text-secondary); cursor: pointer; padding: 4px; }
.modal-body { padding: 20px 20px; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; overscroll-behavior: contain; }
@media (min-width: 600px) {
  .modal-body { padding: 24px; }
}
.modal-footer { padding: 16px 20px; padding-bottom: max(16px, calc(16px + env(safe-area-inset-bottom))); border-top: 1px solid var(--border); }
@media (min-width: 600px) {
  .modal-footer { padding: 16px 24px; padding-bottom: 16px; }
}

/* FOOTER */
.footer {
  background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand span { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--gold); font-weight: 600; }
.footer-logo { height: 50px; width: auto; object-fit: contain; filter: brightness(0) saturate(100%) invert(72%) sepia(61%) saturate(400%) hue-rotate(5deg); }
.footer p { font-size: 14px; line-height: 1.7; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 13px; }

/* TOAST */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  padding: 14px 20px; border-radius: var(--radius-md); color: #fff;
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  transform: translateY(100px); opacity: 0; transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-success { background: var(--success); }
.toast-error { background: var(--error); }
.toast-info { background: var(--navy); }

/* LOADING */
.spinner { width: 32px; height: 32px; border: 3px solid var(--border); border-top-color: var(--gold); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.page-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh; }
.page-loading p { margin-top: 16px; color: var(--text-secondary); }

/* EMPTY STATE */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; color: var(--text-light); }
.empty-state h3 { margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .room-detail-grid { grid-template-columns: 1fr; }
  .booking-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .account-grid { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: block; }
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 28px; }
  .search-grid { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .search-grid > *:nth-child(6) { grid-column: 1 / -1; }
  .rooms-filter-bar { flex-direction: column; align-items: stretch; }
  .guest-filter { justify-content: flex-start; }
  .search-results-banner { flex-direction: column; gap: 12px; text-align: center; }
  .search-results-info { justify-content: center; flex-wrap: wrap; }
  .rooms-grid { grid-template-columns: 1fr; }
  .room-gallery { grid-template-columns: 1fr; height: auto; }
  .room-gallery-main { height: 280px; }
  .room-gallery-side { grid-template-columns: 1fr 1fr; }
  .room-gallery-side img { height: 140px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: 1fr 1fr; }
  .booking-item { flex-direction: column; }
  .booking-item-img { width: 100%; height: 160px; }
  .section { padding: 48px 0; }
  .section-header h2 { font-size: 24px; }
}

@media (max-width: 480px) {
  .nav-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .auth-card { padding: 28px 20px; }
  .admin-stats { grid-template-columns: 1fr; }
  .search-box { padding: 16px; border-radius: var(--radius-lg); }
  .search-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .search-grid > *:nth-child(5),
  .search-grid > *:nth-child(6) { grid-column: 1 / -1; }
  .search-box .form-input { min-height: 44px; font-size: 14px; padding: 10px 12px; }
}

/* Mobile nav slide-in */
.mobile-nav {
  position: fixed; top: 0; right: -300px; width: 280px; height: 100vh;
  background: #fff; z-index: 300; transition: var(--transition);
  box-shadow: -4px 0 20px rgba(0,0,0,0.1); padding: 24px;
}
.mobile-nav.open { right: 0; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.mobile-nav-logo { height: 48px; width: auto; object-fit: contain; }
.mobile-nav-close { background: none; border: none; font-size: 24px; color: var(--navy); cursor: pointer; padding: 0; line-height: 1; }
.mobile-nav-link {
  display: block; padding: 14px 0; font-size: 16px; font-weight: 500; color: var(--text);
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.mobile-nav-link:hover { color: var(--gold); }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.3); z-index: 299;
  display: none;
}
.mobile-nav-overlay.open { display: block; }

/* Utilities */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-secondary { color: var(--text-secondary); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.gap-1 { gap: 8px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden { display: none !important; }

/* Room Image Management */
.room-images-grid {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px;
}
.room-image-item {
  position: relative; width: 140px; height: 100px; border-radius: var(--radius-md);
  overflow: hidden; border: 2px solid var(--border); flex-shrink: 0;
}
.room-image-item img {
  width: 100%; height: 100%; object-fit: cover;
}
.room-image-delete {
  position: absolute; top: 4px; right: 4px; width: 24px; height: 24px;
  border-radius: 50%; background: rgba(239,68,68,0.9); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 14px; font-weight: 700; border: none;
  transition: var(--transition); line-height: 1;
}
.room-image-delete:hover { background: var(--error); transform: scale(1.1); }
.room-image-upload-btn {
  width: 140px; height: 100px; border-radius: var(--radius-md);
  border: 2px dashed var(--border); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  cursor: pointer; transition: var(--transition); background: var(--bg-elevated);
  color: var(--text-secondary); font-size: 12px; font-weight: 500;
}
.room-image-upload-btn:hover { border-color: var(--gold); color: var(--gold); }
.room-image-upload-btn .upload-icon { font-size: 24px; line-height: 1; }
.room-images-hint { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* SCROLL TO TOP */
.scroll-top-btn {
  position: fixed; bottom: 32px; right: 32px; z-index: 150;
  width: 48px; height: 48px; border-radius: 50%; border: none;
  background: var(--gold); color: var(--navy); font-size: 20px; font-weight: 700;
  box-shadow: var(--shadow-md); cursor: pointer; display: none;
  align-items: center; justify-content: center; transition: var(--transition);
}
.scroll-top-btn.visible { display: flex; }
.scroll-top-btn:hover { background: var(--gold-dark); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* PRICING CALENDAR */
.pricing-cal-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.pricing-cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}
.pricing-nav-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 6px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}
.pricing-nav-btn:hover { background: var(--gold-light); border-color: var(--gold); }
.pricing-months-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.pricing-month { width: 100%; }
.pricing-month-title {
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  color: var(--navy);
  margin-bottom: 10px;
  letter-spacing: 0.3px;
}
.pricing-day-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.pricing-day-hdr {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 4px 2px;
}
.pricing-day {
  text-align: center;
  padding: 5px 2px;
  font-size: 12px;
  border-radius: 4px;
  border: 1px solid transparent;
  position: relative;
  transition: outline 0.1s;
  min-height: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.pricing-day:hover:not([style*="cursor:default"]) { outline: 2px solid var(--gold); outline-offset: -1px; }
.pricing-today { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.pricing-day-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 700px) {
  .pricing-months-cols { grid-template-columns: 1fr; }
  .pricing-cal-nav { flex-wrap: wrap; justify-content: center; gap: 8px; }
}

/* RATE PLAN CARDS */
.rate-plans-section { margin-top: 36px; }
.rate-plans-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.01em;
}
.rate-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.rate-plan-card {
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.12s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rate-plan-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(193,155,50,0.13);
  transform: translateY(-1px);
}
.rate-plan-card--selected {
  border-color: var(--gold) !important;
  box-shadow: 0 4px 20px rgba(193,155,50,0.22) !important;
  background: linear-gradient(135deg, #FFFDF4 0%, #FFF8E6 100%) !important;
}
.rate-plan-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
}
.rate-plan-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  line-height: 1.3;
  flex: 1;
}
.rate-plan-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rp-badge-popular {
  background: var(--gold);
  color: var(--navy);
}
.rp-badge-value {
  background: #1A7A42;
  color: #fff;
}
.rate-plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.rate-plan-amount {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
}
.rate-plan-unit {
  font-size: 12px;
  color: var(--text-secondary);
}
.rate-plan-addon {
  font-size: 12px;
  color: var(--gold-dark, #8a6a10);
  font-weight: 600;
}
.rp-addon-saving { color: var(--success, #1A7A42); }
.rate-plan-features {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rate-plan-features li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}
.rp-feature-yes::before {
  content: '\2713';
  color: #1A7A42;
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 12px;
}
.rp-feature-no::before {
  content: '\2715';
  color: #C0392B;
  position: absolute;
  left: 0;
  font-weight: 700;
  font-size: 12px;
}
.rate-plan-select-btn {
  margin-top: auto;
  padding: 8px 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.rate-plan-card--selected .rate-plan-select-btn {
  background: var(--gold);
  color: var(--navy);
}
@media (max-width: 700px) {
  .rate-plans-grid { grid-template-columns: 1fr; }
  .rate-plan-amount { font-size: 20px; }
}

/* GUEST STEPPER */
.guest-stepper { display: flex; flex-direction: column; gap: 12px; }
.stepper-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; direction: ltr; }
.stepper-label { font-size: 14px; color: rgba(255,255,255,0.9); font-weight: 600; flex: 1; }
.stepper-controls { display: flex; align-items: center; gap: 16px; direction: ltr; }
.stepper-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15); color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0; -webkit-tap-highlight-color: transparent;
}
.stepper-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.stepper-btn:active:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--navy); transform: scale(0.93); }
.stepper-btn:disabled { opacity: 0.25; cursor: not-allowed; }
.stepper-value { font-size: 20px; font-weight: 700; color: #fff; min-width: 32px; text-align: center; }

/* PAYMENT OPTIONS */
.payment-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.payment-option {
  display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
  border: 2px solid var(--border); border-radius: var(--radius-md); cursor: pointer;
  transition: var(--transition);
}
.payment-option:hover { border-color: var(--gold); background: var(--bg-elevated); }
.payment-option.selected { border-color: var(--navy); background: rgba(27,43,75,0.04); }
.payment-option input[type="radio"] { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy); cursor: pointer; flex-shrink: 0; }
.payment-option-info { flex: 1; }
.payment-option-title { font-weight: 600; font-size: 14px; color: var(--text); }
.payment-option-desc { font-size: 12px; color: var(--text-secondary); margin-top: 3px; line-height: 1.4; }
.payment-option-badge { display: inline-flex; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-full); margin-top: 4px; }
.payment-badge-secure { background: #D1FAE5; color: #065F46; }
.payment-badge-free { background: var(--gold-light); color: var(--navy); }

/* CONTACT PAGE */
.contact-page { margin-top: 70px; min-height: calc(100vh - 70px); }
.contact-hero { padding: 60px 0 40px; background: linear-gradient(135deg, var(--navy) 0%, #0F1B33 100%); color: #fff; }
.contact-hero h1 { color: #fff; font-size: 36px; margin-bottom: 12px; }
.contact-hero p { color: rgba(255,255,255,0.7); font-size: 16px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 0; }
.contact-info-card {
  background: var(--bg-card); border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border);
}
.contact-info-card h3 { font-size: 20px; margin-bottom: 24px; color: var(--navy); }
.contact-info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.contact-info-icon {
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold-light);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 20px;
}
.contact-info-label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; font-weight: 600; }
.contact-info-value { font-size: 14px; color: var(--text); }
.contact-info-value a { color: var(--navy); font-weight: 600; transition: var(--transition); }
.contact-info-value a:hover { color: var(--gold); }
.social-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 8px; }
.social-link-btn {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: var(--radius-md); border: 1.5px solid var(--border);
  font-size: 13px; font-weight: 600; text-decoration: none; color: var(--text);
  transition: var(--transition); background: var(--bg-card);
}
.social-link-btn:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.social-link-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* DISCOUNT SAVINGS */
.discount-savings {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border: 1px solid #6EE7B7; border-radius: var(--radius-md);
  padding: 12px 16px; margin: 10px 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
}
.discount-savings-label { font-size: 13px; color: #065F46; font-weight: 700; }
.discount-savings-amount { font-size: 17px; font-weight: 800; color: #065F46; letter-spacing: -0.3px; }

/* FOOTER CONTACT LINKS */
.footer-contact-link {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); transition: var(--transition); text-decoration: none;
  font-size: 14px; margin-bottom: 10px;
}
.footer-contact-link:hover { color: var(--gold); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .social-links-grid { grid-template-columns: 1fr 1fr; }
}

/* POLICY PAGE */
.policy-card { padding: 24px; display: flex; flex-direction: column; gap: 0; }
.policy-icon { font-size: 28px; margin-bottom: 12px; }
.policy-title { font-size: 20px; font-weight: 700; color: var(--navy); margin: 0 0 16px; }
.policy-body { font-size: 14px; line-height: 1.8; color: var(--text-secondary); }
.policy-body p { margin: 0 0 10px; }
.policy-body p:last-child { margin-bottom: 0; }
.policy-highlight-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.policy-highlight { background: var(--bg-elevated); border-radius: var(--radius-md); padding: 14px; text-align: center; }
.policy-highlight-label { display: block; font-size: 11px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.policy-highlight-val { display: block; font-size: 18px; font-weight: 700; color: var(--navy); }

/* FAQ PAGE */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: var(--bg-card); transition: var(--transition); }
.faq-item.faq-open { border-color: var(--gold); }
.faq-question { width: 100%; background: none; border: none; padding: 18px 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; font-family: inherit; font-size: 15px; font-weight: 600; color: var(--text); }
.faq-question:hover { color: var(--navy); }
.faq-chevron { font-size: 18px; color: var(--gold); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-answer { padding: 0 20px 18px; }
.faq-answer p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin: 0; }

/* FACILITY LIGHTBOX */
.facility-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.85); z-index: 9999; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.facility-lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.facility-lightbox-close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; opacity: 0.8; }
.facility-lightbox-close:hover { opacity: 1; }

/* ROOM PLAN CHIPS (rooms list) */
.room-card-plans {
  display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; padding-top: 10px;
  border-top: 1px solid var(--border);
}
.room-plan-chip {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 8px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2px;
  border: 1px solid transparent; white-space: nowrap; cursor: default;
}
.rpc-standard  { background: #EEF2F8; color: #1B2B4B; border-color: #BDD0E8; }
.rpc-bb        { background: #FFF8E7; color: #92650A; border-color: #F5D98A; }
.rpc-nrbb      { background: #FFF0F0; color: #B91C1C; border-color: #FECACA; }
.rpc-nr        { background: #F0FDF4; color: #15803D; border-color: #86EFAC; }
.rpc-other     { background: var(--bg-elevated); color: var(--text-secondary); border-color: var(--border); }
.rpc-price     { font-weight: 500; opacity: 0.8; }
.rpc-saving    { color: var(--success); }
.room-price-from { font-size: 11px; font-weight: 400; color: var(--text-secondary); }

/* ROOM CARD QTY STEPPER */
.room-card-qty-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 20px; border-top: 1px solid var(--border);
  background: #fafbfc; gap: 10px;
}
.qty-row-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.qty-row-label--booked { color: #dc2626; font-style: italic; }
.qty-controls { display: flex; align-items: center; gap: 10px; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 600; color: var(--navy);
  transition: all 0.15s; padding: 0; line-height: 1;
}
.qty-btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.qty-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.qty-btn-sm { width: 24px; height: 24px; font-size: 13px; }
.qty-count { min-width: 20px; text-align: center; font-size: 15px; font-weight: 700; color: var(--navy); }
.room-card-selected {
  border: 2px solid var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(197,165,114,0.18), var(--shadow-md) !important;
}
.room-card-selected .room-card-qty-row { background: #fffdf5; border-top-color: rgba(197,165,114,0.3); }

/* CART BAR (fixed bottom) */
#room-cart-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--navy); color: #fff;
  padding: 14px 24px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.22);
  animation: cartBarIn 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes cartBarIn { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cart-bar-left { flex: 1; min-width: 0; }
.cart-bar-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.cart-bar-tag {
  background: rgba(197,165,114,0.25); border: 1px solid rgba(197,165,114,0.4);
  color: var(--gold); padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 600;
}
.cart-bar-meta { font-size: 12px; color: rgba(255,255,255,0.65); }
.cart-bar-btn { white-space: nowrap; flex-shrink: 0; }
.cart-bar-clear {
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 20px; cursor: pointer; padding: 4px; line-height: 1; flex-shrink: 0;
  transition: color 0.15s;
}
.cart-bar-clear:hover { color: #fff; }

/* CART CHECKOUT MODAL CONTENT */
.cc-items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 4px; }
.cc-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 8px;
  background: var(--bg-elevated); border: 1px solid var(--border);
}
.cc-item-info { flex: 1; min-width: 0; }
.cc-item-name { font-weight: 600; font-size: 14px; color: var(--text); display: block; }
.cc-item-type { font-size: 11px; color: var(--text-secondary); }
.cc-item-qty { display: flex; align-items: center; gap: 6px; }
.cc-item-qty span { font-weight: 700; color: var(--navy); min-width: 16px; text-align: center; }
.cc-item-price { font-weight: 700; color: var(--gold); font-size: 13px; white-space: nowrap; }
.cc-divider { height: 1px; background: var(--border); margin: 14px 0; }
.cc-section-title { font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); margin-bottom: 10px; }
.cc-dates-row { display: flex; gap: 12px; }
.cc-total {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--gold-light); border-radius: 8px; padding: 12px 16px;
  font-size: 15px; margin-top: 14px;
}
.cc-total strong { font-size: 17px; color: var(--navy); }
.cc-logged-in { font-size: 13px; color: var(--text-secondary); margin-top: 10px; padding: 10px 14px; background: var(--bg-elevated); border-radius: 8px; }

/* ROOM IMAGE SLIDER */
.room-slider-wrap {
  position: relative; width: 100%; margin-bottom: 0; overflow: hidden;
  border-radius: var(--radius-lg); background: var(--bg-elevated);
}
.room-slider-viewport {
  overflow: hidden; width: 100%;
}
.room-slider-track {
  display: flex; gap: 8px; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.room-slider-slide {
  flex: 0 0 calc((100% - 16px) / 3.5); min-width: 0;
  border-radius: var(--radius-md); overflow: hidden;
}
.room-slider-slide img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  transition: transform 0.3s ease;
}
.room-slider-slide:hover img { transform: scale(1.03); }
.room-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.95); border: none; cursor: pointer;
  border-radius: 50%; width: 36px; height: 36px; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2); z-index: 2;
  color: var(--navy); transition: background 0.2s, transform 0.2s;
}
.room-slider-btn:hover { background: var(--gold); color: #fff; transform: translateY(-50%) scale(1.1); }
.room-slider-prev { left: 8px; }
.room-slider-next { right: 8px; }
@media (max-width: 768px) {
  .room-slider-slide { flex: 0 0 calc((100% - 8px) / 1.5); }
  .room-slider-slide img { height: 180px; }
}

/* RTL Support */
[dir="rtl"] { font-family: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, Arial, sans-serif; }
[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-brand { flex-direction: row-reverse; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions { flex-direction: row-reverse; }
[dir="rtl"] .hero-text { text-align: right; }
[dir="rtl"] .hero p, [dir="rtl"] .hero-badge { text-align: right; }
[dir="rtl"] .search-grid { direction: rtl; }
[dir="rtl"] .stepper-row { flex-direction: row-reverse; }
[dir="rtl"] .stepper-label { text-align: right; }
[dir="rtl"] .section-header { text-align: right; }
[dir="rtl"] .section-header .gold-line { margin-right: 0; margin-left: auto; }
[dir="rtl"] .rooms-filter-bar { flex-direction: row-reverse; }
[dir="rtl"] .search-results-banner { flex-direction: row-reverse; }
[dir="rtl"] .search-results-info { flex-direction: row-reverse; }
[dir="rtl"] .search-dates { padding-left: 0; padding-right: 10px; border-left: none; border-right: 1px solid rgba(255,255,255,0.2); }
[dir="rtl"] .room-card-type { left: 14px; right: auto; }
[dir="rtl"] .room-card-head { flex-direction: row-reverse; }
[dir="rtl"] .room-card-desc, [dir="rtl"] .room-card-body h3 { text-align: right; }
[dir="rtl"] .room-card-details { flex-direction: row-reverse; }
[dir="rtl"] .room-specs { flex-direction: row-reverse; }
[dir="rtl"] .room-amenities { direction: rtl; }
[dir="rtl"] .booking-summary-row { flex-direction: row-reverse; }
[dir="rtl"] .booking-price { text-align: right; }
[dir="rtl"] .payment-options { direction: rtl; }
[dir="rtl"] .payment-option { flex-direction: row-reverse; }
[dir="rtl"] .booking-item { direction: rtl; }
[dir="rtl"] .booking-item-actions { align-items: flex-start; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .footer-brand { flex-direction: row-reverse; }
[dir="rtl"] .footer-links li { text-align: right; }
[dir="rtl"] .footer-bottom { direction: rtl; }
[dir="rtl"] .admin-tabs { flex-direction: row-reverse; }
[dir="rtl"] .admin-table { direction: rtl; }
[dir="rtl"] .admin-table th { text-align: right; }
[dir="rtl"] .admin-table td { text-align: right; }
[dir="rtl"] .admin-actions { flex-direction: row-reverse; }
[dir="rtl"] .stat-card { text-align: right; }
[dir="rtl"] .auth-card { text-align: right; }
[dir="rtl"] .auth-card h2, [dir="rtl"] .auth-card .subtitle { text-align: center; }
[dir="rtl"] .auth-tabs { direction: rtl; }
[dir="rtl"] .form-row { direction: rtl; }
[dir="rtl"] .form-label { text-align: right; }
[dir="rtl"] .account-nav-item { flex-direction: row-reverse; }
[dir="rtl"] .account-grid { direction: rtl; }
[dir="rtl"] .rewards-card { text-align: right; }
[dir="rtl"] .modal-header { flex-direction: row-reverse; }
[dir="rtl"] .modal-body { text-align: right; direction: rtl; }
[dir="rtl"] .contact-info-item { flex-direction: row-reverse; }
[dir="rtl"] .contact-info-label, [dir="rtl"] .contact-info-value { text-align: right; }
[dir="rtl"] .social-links-grid { direction: rtl; }
[dir="rtl"] .social-link-btn { flex-direction: row-reverse; }
[dir="rtl"] select.form-input { background-position: left 14px center; padding-left: 36px; padding-right: 16px; }
[dir="rtl"] .low-avail-badge { left: auto; right: 10px; }
[dir="rtl"] .fully-booked-badge { direction: rtl; }
[dir="rtl"] .toast { right: auto; left: 24px; }
[dir="rtl"] .scroll-top-btn { right: auto; left: 32px; }
[dir="rtl"] .mobile-nav { right: auto; left: -300px; }
[dir="rtl"] .mobile-nav.open { right: auto; left: 0; }
[dir="rtl"] .mobile-nav-header { flex-direction: row-reverse; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { text-align: right; }
[dir="rtl"] p, [dir="rtl"] label { text-align: right; }
[dir="rtl"] .policy-card { text-align: right; }
[dir="rtl"] .policy-highlight-row { direction: rtl; }
[dir="rtl"] .faq-question { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .faq-answer { text-align: right; }
[dir="rtl"] .discount-savings { flex-direction: row-reverse; }
[dir="rtl"] .hero-badge { text-align: right; }
[dir="rtl"] .guest-stepper { direction: rtl; }
[dir="rtl"] .room-detail-grid { direction: rtl; }
[dir="rtl"] .room-info { text-align: right; }
[dir="rtl"] .room-amenity { direction: rtl; }
[dir="rtl"] .booking-summary { direction: rtl; }
[dir="rtl"] .facilities-grid { direction: rtl; }
[dir="rtl"] .home-about-text { text-align: right; }
[dir="rtl"] .home-about-grid { direction: rtl; }
[dir="rtl"] .rooms-filter-bar { flex-direction: row-reverse; }
[dir="rtl"] .guest-filter { flex-direction: row-reverse; }
[dir="rtl"] .section-header h2, [dir="rtl"] .section-header p { text-align: center; }
[dir="rtl"] .policy-highlight-label, [dir="rtl"] .policy-highlight-val { direction: rtl; }
[dir="rtl"] .room-card-plans { flex-direction: row-reverse; }
[dir="rtl"] .rate-plans-section { direction: rtl; }
[dir="rtl"] .rate-plan-card { text-align: right; }
[dir="rtl"] .rate-plan-card-top { flex-direction: row-reverse; }
[dir="rtl"] .rate-plan-features { padding-right: 0; padding-left: 16px; }
[dir="rtl"] .rate-plan-features li::before { margin-right: 0; margin-left: 6px; }
[dir="rtl"] .contact-page { direction: rtl; }
[dir="rtl"] .contact-hero { text-align: right; }
[dir="rtl"] .contact-grid { direction: rtl; }
[dir="rtl"] .contact-info-card h3 { text-align: right; }
[dir="rtl"] .social-links-grid .social-link-btn { flex-direction: row-reverse; }
[dir="rtl"] .booking-sidebar { direction: rtl; }
[dir="rtl"] .payment-option-info { text-align: right; }
[dir="rtl"] .room-gallery { direction: ltr; }
[dir="rtl"] .booking-summary-row span:last-child { text-align: left; }

/* ===== RICH TEXT EDITOR (admin facility modal) ===== */
.rte-wrap { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.rte-toolbar {
  display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 10px;
  background: var(--bg-elevated); border-bottom: 1px solid var(--border);
}
.rte-toolbar button {
  padding: 4px 10px; font-size: 12px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; cursor: pointer; color: var(--text); transition: var(--transition);
  min-width: 32px; text-align: center; line-height: 1.4;
}
.rte-toolbar button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.rte-editor {
  min-height: 180px; padding: 14px 16px; outline: none; font-size: 14px;
  line-height: 1.7; color: var(--text); background: #fff;
}
.rte-editor:focus { box-shadow: inset 0 0 0 2px var(--gold); }
.rte-editor h2 { font-size: 20px; margin: 16px 0 8px; font-family: 'Playfair Display', serif; }
.rte-editor h3 { font-size: 17px; margin: 14px 0 6px; }
.rte-editor p { margin: 0 0 10px; }
.rte-editor ul, .rte-editor ol { padding-left: 20px; margin: 8px 0; }
.rte-editor li { margin-bottom: 4px; }

/* ===== FACILITY DETAIL PAGE ===== */
.facility-detail-slider {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  height: 380px; background: var(--bg-elevated);
}
.facility-detail-track {
  display: flex; height: 100%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.facility-detail-slide { flex: 0 0 100%; height: 100%; }
.facility-detail-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fac-slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); color: #fff; border: none; cursor: pointer;
  width: 44px; height: 44px; border-radius: 50%; font-size: 24px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; z-index: 2;
}
.fac-slider-btn:hover { background: rgba(0,0,0,0.7); }
.fac-slider-prev { left: 12px; }
.fac-slider-next { right: 12px; }
.fac-slider-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 2;
}
.fac-slider-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5);
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.fac-slider-dot.active { background: #fff; transform: scale(1.25); }

/* ===== FACILITY RICH CONTENT (public display) ===== */
.facility-rich-content { font-size: 15px; line-height: 1.8; color: var(--text-secondary); }
.facility-rich-content h2 {
  font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy);
  margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--gold-light);
}
.facility-rich-content h3 {
  font-size: 18px; color: var(--navy); margin: 22px 0 8px; font-weight: 600;
}
.facility-rich-content p { margin-bottom: 14px; }
.facility-rich-content ul, .facility-rich-content ol { padding-left: 24px; margin: 12px 0 16px; }
.facility-rich-content li { margin-bottom: 6px; }
.facility-rich-content b, .facility-rich-content strong { color: var(--navy); font-weight: 600; }
[dir="rtl"] .facility-rich-content ul, [dir="rtl"] .facility-rich-content ol { padding-left: 0; padding-right: 24px; }
[dir="rtl"] .facility-rich-content { text-align: right; }

/* ===== ROOM CARD ICONS — consistent sizing ===== */
.room-card-details {
  display: flex; flex-wrap: wrap; gap: 10px 16px; padding-top: 14px;
  border-top: 1px solid var(--border); font-size: 12px; color: var(--text-secondary);
  align-items: center;
}
.room-card-detail {
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
}
.room-card-detail svg { flex-shrink: 0; color: var(--gold); }

/* ===== ROOM SPEC ICONS — consistent sizing ===== */
.room-specs { flex-wrap: wrap; gap: 14px 24px; }
.room-spec { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-secondary); white-space: nowrap; }
.room-spec svg { flex-shrink: 0; color: var(--gold); }

/* ===== AMENITY ICONS ===== */
.room-amenity {
  display: flex; align-items: center; gap: 7px; padding: 8px 14px;
  background: var(--bg-elevated); border-radius: var(--radius-md); font-size: 13px;
}
.room-amenity svg { flex-shrink: 0; color: var(--gold); }

@media (max-width: 640px) {
  .facility-detail-slider { height: 240px; }
  .rte-editor { min-height: 120px; }
}

/* ===== AVAILABILITY CALENDAR ===== */
.avail-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  background: var(--bg-card); border-radius: var(--radius-lg); padding: 14px 16px;
  border: 1px solid var(--border); margin-bottom: 4px;
}
.avail-range-controls { display: flex; align-items: center; gap: 10px; }
.avail-range-label { font-size: 15px; font-weight: 700; color: var(--navy); min-width: 260px; text-align: center; }
.avail-nav-btn { width: 32px; height: 32px; padding: 0; font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; }

.avail-calendar-wrap { overflow-x: clip; }

.avail-sticky-header {
  position: sticky;
  top: 70px;
  z-index: 25;
  background: var(--bg-card);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.avail-row { display: flex; align-items: stretch; }
.avail-label-cell {
  flex-shrink: 0; min-width: 160px; max-width: 160px; padding: 6px 10px;
  font-size: 12px; background: var(--bg-card); border-right: 2px solid var(--border);
  display: flex; align-items: center; position: sticky; left: 0; z-index: 10;
}
.avail-dates-scroll { overflow-x: auto; flex: 1; scrollbar-width: thin; }
.avail-dates-scroll::-webkit-scrollbar { height: 4px; }
.avail-dates-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

.avail-month-row .avail-label-cell { background: var(--bg-elevated); border-bottom: 1px solid var(--border); z-index: 26; }
.avail-date-header-row .avail-label-cell { background: var(--bg-elevated); border-bottom: 2px solid var(--border); z-index: 26; }

.avail-date-col {
  min-width: 52px; max-width: 52px; text-align: center; padding: 5px 2px;
  border-right: 1px solid var(--border); border-bottom: 2px solid var(--border);
  background: var(--bg-card);
}
.avail-date-col.avail-today { background: var(--gold-light) !important; }
.avail-dow { font-size: 10px; color: var(--text-secondary); font-weight: 600; text-transform: uppercase; }
.avail-daynum { font-size: 15px; font-weight: 700; color: var(--navy); margin-top: 2px; }

.avail-room-section { margin-bottom: 2px; }
.avail-room-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 10px 14px; background: var(--navy); color: #fff;
  border-radius: var(--radius-md) var(--radius-md) 0 0; margin-top: 16px;
}
.avail-room-header .btn { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.3); color: #fff; font-size: 11px; padding: 4px 10px; }
.avail-room-name { font-size: 13px; font-weight: 700; letter-spacing: 0.3px; }

.avail-data-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--border); }
.avail-row-label {
  font-size: 12px; color: var(--text-secondary); background: var(--bg-elevated);
  display: flex; align-items: center; gap: 5px; padding: 6px 10px;
  border-right: 2px solid var(--border); position: sticky; left: 0; z-index: 5;
}
.avail-price-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }

.avail-cell {
  min-width: 52px; max-width: 52px; text-align: center; padding: 5px 2px;
  border-right: 1px solid var(--border); font-size: 12px; font-weight: 500;
  display: flex; align-items: center; justify-content: center; position: relative;
}
.avail-cell.avail-today-cell { background: var(--gold-light) !important; }
.avail-cell-readonly { color: var(--text-secondary); font-size: 12px; }
.avail-cell-price { flex-direction: column; gap: 1px; }

.avail-status-open .avail-status-text { font-size: 10px; color: #16a34a; font-weight: 700; }
.avail-status-closed { background: rgba(239,68,68,0.06) !important; }
.avail-status-closed .avail-status-text { font-size: 10px; color: #dc2626; font-weight: 700; }
.avail-toggle-btn {
  position: absolute; top: 2px; right: 2px; background: none; border: none; cursor: pointer;
  font-size: 9px; opacity: 0.4; padding: 0; line-height: 1;
}
.avail-toggle-btn:hover { opacity: 1; }

.avail-avail-val {
  cursor: pointer; font-size: 13px; font-weight: 700; color: var(--navy);
  padding: 2px 4px; border-radius: 3px; min-width: 24px; text-align: center;
}
.avail-avail-val:hover { background: var(--gold-light); }

.avail-price-val {
  cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 2px 3px; border-radius: 3px; width: 100%;
}
.avail-price-val:hover { background: var(--gold-light); }
.avail-price-val span:last-child { font-size: 11px; font-weight: 600; color: var(--text); }

.avail-inline-input {
  width: 46px; font-size: 12px; border: 1px solid var(--gold); border-radius: 3px;
  padding: 2px 3px; text-align: center; background: var(--bg-card); color: var(--text);
  outline: none;
}

.avail-header-cell { background: var(--bg-elevated); font-size: 11px; font-weight: 700; color: var(--text-secondary); }

@media (max-width: 768px) {
  .avail-label-cell { min-width: 110px; max-width: 110px; }
  .avail-range-label { min-width: 180px; font-size: 13px; }
}

/* UPGRADE ROOM CARDS */
.upgrade-room-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-md);
  cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.upgrade-room-card:not(.upgrade-room-card--current):not(.upgrade-room-card--unavailable):hover {
  border-color: var(--gold); background: var(--gold-light, #fdf8e7);
}
.upgrade-room-card--selected {
  border-color: var(--gold) !important; background: var(--gold-light, #fdf8e7) !important;
}
.upgrade-room-card--current {
  cursor: default; opacity: 0.75; border-style: dashed;
}
.upgrade-room-card--unavailable {
  cursor: not-allowed; opacity: 0.5;
}
