/* ========== GLOBAL STYLES WITH NEW COLOR THEME ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2563EB;      /* Blue – primary as requested */
  --secondary-color: #0F172A;    /* Dark navy – professional */
  --accent-color: #16A34A;       /* Green – accent per request */
  --warning-color: #F59E0B;      /* Orange – rent / highlight */
  --danger-color: #EF4444;       /* Red – delete */
  --dark-color: #111827;         /* Text dark */
  --light-color: #F8FAFC;        /* Background light */
  --card-bg: #FFFFFF;            /* Card background */
  --text-light: #6B7280;         /* Text light */
  --border-color: #E5E7EB;       /* Border */
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&display=swap');

body {
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

h1 { font-size: 2.5rem; line-height: 1.2; }
h2 { font-size: 2rem; line-height: 1.3; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-light);
  margin-bottom: 15px;
}

/* ========== BUTTONS ========== */
.btn-primary, .btn-secondary, .btn-danger, .btn-accent {
  padding: 12px 28px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #1673E6;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: white;
}

.btn-secondary:hover {
  background-color: #0a0f1d;
}

.btn-accent {
  background-color: var(--accent-color);
  color: white;
}

.btn-accent:hover {
  background-color: #16a34a;
}

.btn-danger {
  background-color: var(--danger-color);
  color: white;
}

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

.btn-logout {
  background-color: var(--danger-color);
  color: white;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background-color: #dc2626;
}

/* ========== NAVIGATION ========== */
.navbar {
  background-color: var(--card-bg);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--light-color);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-toggle:hover {
  color: var(--secondary-color);
}

/* Mobile Menu */
.nav-menu.mobile-active {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--card-bg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  gap: 15px;
  border-top: 2px solid var(--primary-color);
}

.nav-menu.mobile-active li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.nav-menu.mobile-active li:last-child {
  border-bottom: none;
}

.nav-menu a {
  color: var(--dark-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu #userMenu {
  display: flex;
  align-items: center;
  gap: 15px;
}

#userNameDisplay {
  font-weight: 700;
  color: var(--dark-color);
}

@media (max-width: 768px) {
  .nav-menu {
    gap: 15px;
    font-size: 0.9rem;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1673E6 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: white;
  margin-bottom: 15px;
  font-size: 3rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.3rem;
  margin-bottom: 40px;
  font-weight: 500;
}

.search-container {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.search-box {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 900px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.search-input {
  flex: 1;
  min-width: 250px;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

.filter-group {
  display: flex;
  gap: 10px;
}

.filter-select {
  padding: 14px 15px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
  color: var(--dark-color);
  font-weight: 500;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.btn-search {
  padding: 14px 35px;
  background-color: var(--warning-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  background: linear-gradient(135deg, #1673E6, var(--primary-color));
}

/* ========== CITIES SECTION ========== */
.cities-section {
  padding: 80px 20px;
  background: var(--light-color);
}

.cities-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  color: var(--dark-color);
  font-weight: 800;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.city-card {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.city-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.city-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.city-card:hover::before {
  transform: scaleX(1);
}

.city-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
  transition: all 0.3s ease;
}

.city-card:hover i {
  transform: scale(1.1);
  color: var(--accent-color);
}

.city-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  font-weight: 700;
}

.city-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ========== FEATURES SECTION ========== */
.features-section {
  padding: 100px 20px;
  background: white;
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--dark-color);
  font-weight: 800;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  border-radius: 20px;
  background: var(--light-color);
  transition: all 0.4s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  font-weight: 700;
}

.feature-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ========== STATISTICS SECTION ========== */
.stats-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.95;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== NO ROOMS & ERROR STATES ========== */
.no-rooms, .error-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 40px;
  background: var(--light-color);
  border-radius: 16px;
  border: 2px dashed var(--border-color);
}

.no-rooms i, .error-message i {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 20px;
  display: block;
}

.no-rooms h3, .error-message h3 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.no-rooms p, .error-message p {
  color: var(--text-light);
  font-size: 1.1rem;
  margin: 0;
}

.error-message {
  border-color: var(--danger-color);
  background: #FEF2F2;
}

.error-message i {
  color: var(--danger-color);
}

/* ========== FEATURED SECTION ========== */
.featured-section {
  padding: 80px 20px;
  background: var(--light-color);
}

.featured-section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--dark-color);
  font-size: 2.5rem;
  font-weight: 800;
}

.room-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.room-image {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1673E6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.room-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

.room-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.room-info {
  padding: 25px;
}

.room-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--dark-color);
  font-weight: 700;
}

.room-details {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.room-rent {
  font-size: 1.8rem;
  color: var(--warning-color);
  font-weight: 800;
  margin-bottom: 15px;
}

.room-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.facility-tag {
  background-color: var(--light-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  border: 1px solid var(--primary-color);
}

.room-actions {
  display: flex;
  gap: 12px;
}

.room-actions a {
  flex: 1;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.btn-view {
  background-color: var(--primary-color);
  color: white;
}

.btn-view:hover {
  background-color: #1673E6;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
}

.btn-whatsapp:hover {
  background-color: #20ba5c;
}

/* ========== FORMS ========== */
.form-group {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--dark-color);
  font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  color: var(--dark-color);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

/* ========== FORMS CONTAINER ========== */
.form-container {
  max-width: 500px;
  margin: 60px auto;
  padding: 45px;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.form-container h1 {
  text-align: center;
  margin-bottom: 35px;
  color: var(--dark-color);
}

.form-link {
  text-align: center;
  margin-top: 20px;
}

.form-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

.form-link a:hover {
  text-decoration: underline;
}

/* ========== TABS ========== */
.tab-btn {
  background: none;
  border: none;
  padding: 15px 25px;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-btn:hover {
  color: var(--dark-color);
}

/* ========== LISTINGS PAGE ========== */
.listings-page {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1400px;
  margin: 0 auto;
  background: var(--light-color);
}

.filter-sidebar {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content;
  position: sticky;
  top: 100px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.filter-sidebar:hover {
  border-color: var(--primary-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.filter-sidebar h3 {
  color: var(--dark-color);
  margin-bottom: 30px;
  font-size: 1.4rem;
  font-weight: 800;
  text-align: center;
  position: relative;
}

.filter-sidebar h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.filter-group {
  margin-bottom: 30px;
}

.filter-group label {
  display: block;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1rem;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 12px;
  cursor: pointer;
  width: 20px;
  height: 20px;
  accent-color: var(--primary-color);
}

.price-range-input {
  width: 100%;
  height: 8px;
  border-radius: 10px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  margin-bottom: 10px;
}

.price-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.price-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

.price-range-input::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.filter-group p {
  text-align: center;
  color: var(--text-light);
  font-weight: 600;
  margin: 0;
  font-size: 0.95rem;
}

.vertical-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vertical-options label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--light-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 0;
}

.vertical-options label:hover {
  background: white;
  border-color: var(--primary-color);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.filter-select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  background: white;
  color: var(--dark-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.reset-filters-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--danger-color), #dc2626);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.reset-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  background: linear-gradient(135deg, #dc2626, var(--danger-color));
}

.listings-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  min-height: 400px;
}

/* Enhanced room cards for listings */
.listings-container .room-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
}

.listings-container .room-card.available {
  border-left: 4px solid var(--accent-color);
}

.listings-container .room-card.occupied {
  border-left: 4px solid var(--danger-color);
  opacity: 0.8;
}

.listings-container .room-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.listings-container .room-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.listings-container .room-card:hover::before {
  transform: scaleX(1);
}

/* Verified and Featured Badges */
.verified-badge, .featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.verified-badge {
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.featured-badge {
  color: var(--warning-color);
  border: 1px solid var(--warning-color);
  top: 50px;
}

/* Room Image Container */
.room-image-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.room-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.room-card:hover .room-image {
  transform: scale(1.05);
}

.room-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

.room-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.room-price {
  font-size: 1.4rem;
  font-weight: 800;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.room-status {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.room-status.available {
  background: var(--accent-color);
}

.room-status.occupied {
  background: var(--danger-color);
}

/* Room Info Section */
.room-info {
  padding: 30px;
}

.room-header {
  margin-bottom: 20px;
}

.room-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.3;
}

.room-meta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.room-type, .room-gender {
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
}

.room-type {
  background: var(--primary-color);
  color: white;
}

.room-gender {
  background: var(--secondary-color);
  color: white;
}

.room-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-weight: 600;
}

.room-location i {
  color: var(--primary-color);
}

.room-description {
  margin-bottom: 20px;
}

.room-description p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.room-facilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

.facility-tag {
  background: var(--light-color);
  padding: 8px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 600;
  border: 1px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.facility-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.05);
}

.facility-more {
  background: var(--border-color);
  color: var(--text-light);
  font-style: italic;
}

.room-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.room-actions {
  display: flex;
  gap: 12px;
}

.btn-view, .btn-contact {
  padding: 12px 20px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-view {
  background: linear-gradient(135deg, var(--primary-color), #1673E6);
  color: white;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-view:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-contact {
  background: linear-gradient(135deg, var(--accent-color), #16a34a);
  color: white;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.3);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.4);
}

@media (max-width: 1024px) {
  .listings-page {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    position: static;
  }

  .listings-container {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* ========== ROOM DETAILS PAGE ========== */

/* ========== MOBILE-FIRST PROPERTY LISTING CARD ========== */
.room-card.modern {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  display: flex;
  flex-direction: column;
}

.room-card.modern:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.room-card.modern .card-image {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1673E6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.room-card.modern img.card-photo {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.card-placeholder {
  font-size: 2rem;
}

.card-body {
  padding: 12px 12px 10px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-card.modern .card-title {
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--dark-color);
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-clamp: 2;
}

.card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-color);
}

.card-availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(22, 163, 74, 0.08);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  display: inline-block;
}

.card-location {
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}

.card-cta {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.card-cta .btn-view-modern {
  background: var(--primary-color);
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: background 0.2s ease;
  flex: 1;
}

.card-cta .btn-view-modern:hover {
  background: #1E4ED8;
}

.card-facilities {
  display: none;
}

/* Tablet and above */
@media (min-width: 640px) {
  .room-card.modern .card-image { height: 160px; }
  .card-body { padding: 14px; }
  .room-card.modern .card-title { font-size: 1rem; }
}

/* Desktop */
@media (min-width: 1024px) {
  .room-card.modern .card-image { height: 180px; }
  .card-body { padding: 16px; }
}

/* ========== HEADER SECTION ========== */
.header-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1673E6 50%, var(--accent-color) 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  color: white;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.header-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.header-section h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
  position: relative;
  z-index: 2;
}

.header-section p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  animation: fadeInUp 1s ease-out 0.2s both;
  position: relative;
  z-index: 2;
}

.vertical-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reset-filters-btn {
  width: 100%;
  margin-top: 20px;
}

.loading-grid {
  grid-column: 1 / -1;
}

.user-menu-hidden {
  display: none !important;
}

/* ========== ROOM DETAILS PAGE UTILITY CLASSES ========== */
.back-link {
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 20px;
  display: inline-block;
}

.room-info-box {
  background: var(--light-color);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.room-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.room-rent-highlight {
  color: var(--secondary-color);
}

.section-title {
  margin-top: 30px;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  margin-bottom: 30px;
}

.inquiry-section {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.inquiry-submit-btn {
  width: 100%;
  margin-bottom: 10px;
}

.inquiry-note {
  font-size: 0.85rem;
}

.whatsapp-btn-custom {
  background-color: #25d366;
}

/* ========== ROOM DETAILS PAGE ========== */
.room-detail-container {
  padding: 40px 20px;
  background-color: var(--light-color);
  min-height: 100vh;
}

.room-detail-header {
  max-width: 1100px;
  margin: 0 auto 40px;
}

.room-detail-header a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.room-detail-header a:hover {
  gap: 12px;
}

.room-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  height: 280px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1673E6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
  box-shadow: var(--shadow);
}

.room-detail-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.room-detail-info {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.facility-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 25px 0;
}

.facility-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--light-color);
  border-radius: 8px;
  border-left: 4px solid var(--accent-color);
}

.facility-item i {
  color: var(--accent-color);
  font-size: 1.3rem;
}

.room-detail-sidebar {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.owner-info {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--border-color);
}

.owner-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #1673E6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 auto 15px;
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.3);
}

.contact-buttons {
  display: grid;
  gap: 12px;
}

.contact-buttons a,
.contact-buttons button {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .room-detail-body {
    grid-template-columns: 1fr;
  }

  .facility-list {
    grid-template-columns: 1fr;
  }

  .room-detail-sidebar {
    position: static;
  }
}

/* ========== DASHBOARD ========== */
.dashboard-container {
  padding: 40px 20px;
  max-width: 1300px;
  margin: 0 auto;
  background-color: var(--light-color);
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.dashboard-header h1 {
  color: var(--dark-color);
}

.dashboard-nav {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
  border-bottom: 3px solid var(--border-color);
}

.dashboard-nav button {
  padding: 14px 28px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-light);
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.dashboard-nav button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.dashboard-nav button:hover {
  color: var(--dark-color);
}

.dashboard-content {
  background: var(--card-bg);
  padding: 35px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  max-height: 70vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.add-room-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  max-width: 1000px;
}

.form-full-width {
  grid-column: 1 / -1;
}

.room-list {
  display: grid;
  gap: 20px;
}

.room-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  background: var(--light-color);
  transition: all 0.3s ease;
}

.room-list-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(30, 144, 255, 0.1);
}

.room-list-info h4 {
  margin-bottom: 8px;
  color: var(--dark-color);
}

.room-list-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

.room-list-actions {
  display: flex;
  gap: 12px;
}

.room-list-actions button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-edit {
  background-color: var(--primary-color);
  color: white;
}

.btn-edit:hover {
  background-color: #1673E6;
}

.btn-delete {
  background-color: var(--danger-color);
  color: white;
}

.btn-delete:hover {
  background-color: #dc2626;
}

.inquiries-list {
  display: grid;
  gap: 20px;
}

.inquiry-card {
  background: var(--light-color);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

.inquiry-card:hover {
  box-shadow: var(--shadow);
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.inquiry-header h4 {
  margin: 0;
  color: var(--dark-color);
}

.inquiry-time {
  color: var(--text-light);
  font-size: 0.85rem;
}

.inquiry-message {
  color: var(--dark-color);
  margin: 15px 0;
  padding: 15px;
  background: white;
  border-radius: 6px;
  border-left: 3px solid var(--warning-color);
}

.inquiry-contact {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.inquiry-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.inquiry-contact a:hover {
  gap: 12px;
}

/* ========== HERO SECTION ========== */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff20" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,106.7C1248,96,1344,96,1392,96L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
  background-size: cover;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  animation: fadeInUp 1s ease-out;
}

.hero p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #1673E6 50%, var(--accent-color) 100%);
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: white;
  margin-bottom: 20px;
  font-size: 2.8rem;
  font-weight: 800;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.cta-section p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.btn-large {
  padding: 18px 40px;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  transition: all 0.4s ease;
  display: inline-block;
  animation: fadeInUp 1s ease-out 0.4s both;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-large:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  color: white;
}

/* ========== FOOTER ========== */
.footer {
  background-color: var(--secondary-color);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* ========== ALERTS & MESSAGES ========== */
.alert {
  padding: 18px 24px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}

.alert-success {
  background-color: #ECFDF5;
  color: #065F46;
  border-left: 4px solid var(--accent-color);
}

.alert-error {
  background-color: #FEF2F2;
  color: #7F1D1D;
  border-left: 4px solid var(--danger-color);
}

.alert-info {
  background-color: #EFF6FF;
  color: #082F49;
  border-left: 4px solid var(--primary-color);
}

/* ========== LOADING ========== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--light-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.py-40 { padding: 40px 0; }
.hidden { display: none !important; }
.text-muted { color: var(--text-light); }
.error-text { color: var(--danger-color); font-size: 0.85rem; margin-top: 5px; font-weight: 600; }

/* ========== RESPONSIVE ========== */

/* Tablet Devices */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  
  .listings-page {
    grid-template-columns: 1fr;
  }
  
  .dashboard-nav {
    flex-wrap: wrap;
    gap: 10px;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  .navbar .container {
    padding: 10px 15px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav-menu {
    display: none;
    position: relative;
  }
  
  .nav-menu a {
    font-size: 1rem;
    padding: 10px 0;
    display: block;
  }
  
  .nav-brand {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: 60px 20px;
  }
  
  .search-box {
    flex-direction: column;
    gap: 15px;
  }
  
  .search-input {
    min-width: 100%;
    font-size: 1rem;
  }
  
  .filter-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .filter-select {
    width: 100%;
    padding: 12px;
  }
  
  .btn-search {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
  }
  
  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }
  
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .room-detail-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .dashboard-nav {
    flex-direction: column;
    gap: 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .nav-brand {
    font-size: 1.2rem;
  }
  
  .mobile-menu-toggle {
    font-size: 1.3rem;
  }
  
  .hero {
    padding: 40px 15px;
  }
  
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }
  
  .btn-primary, .btn-secondary, .btn-danger, .btn-accent {
    padding: 15px 25px;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 10px;
    min-height: 48px; /* Touch-friendly size */
  }
  
  .cities-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .nav-menu.mobile-active {
    padding: 15px;
    gap: 10px;
  }
  
  .nav-menu.mobile-active li {
    padding: 8px 0;
  }
  
  /* Form improvements for mobile */
  input, select, textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    width: 100%;
    margin-bottom: 15px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .tab-content {
    padding: 20px 15px;
  }
  
  .auth-container {
    padding: 20px 15px;
  }
  
  /* Dashboard mobile improvements */
  .dashboard-cards {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    min-width: 600px;
  }
  
  /* Modal mobile improvements */
  .modal-content {
    margin: 10px;
    max-height: 90vh;
    overflow-y: auto;
  }
}
