/* ==========================================================================
   HolidayRentals.club - Main Stylesheet
   Anthropic-inspired design: minimal, muted, elegant
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Backgrounds */
  --bg-primary: #FAFAF7;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1A1A;

  /* Text */
  --text-primary: #1A1A1A;
  --text-secondary: #6B6B6B;
  --text-muted: #9B9B9B;
  --text-inverse: #FFFFFF;

  /* Accent */
  --accent: #D4A574;
  --accent-hover: #C4956A;
  --accent-light: #E8DDD3;

  /* Border */
  --border: #E8E4DF;

  /* Status */
  --success: #7BAE7F;
  --success-light: #E8F5E9;
  --danger: #C97070;
  --danger-light: #FCE8E8;
  --warning: #D4A574;
  --warning-light: #FFF3E0;
  --info: #7BA3AE;
  --info-light: #E0F2F5;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;
  --radius-circle: 50%;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-2xl: 24px;
  --font-size-3xl: 30px;
  --font-size-4xl: 36px;
  --font-size-5xl: 48px;

  /* Transition */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Navbar */
  --navbar-height: 64px;
}


/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding: calc(var(--space-3xl) * 1.2) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #1a1a2e;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero-section > .container {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-section .btn-primary {
  background: #fff;
  color: #ea580c;
  border-color: #fff;
  font-weight: 600;
}

.hero-section .btn-primary:hover {
  background: #fef3c7;
  color: #c2410c;
  border-color: #fef3c7;
}

.hero-section .form-floating > .form-control {
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   Section Titles
   -------------------------------------------------------------------------- */
.section-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

/* --------------------------------------------------------------------------
   Icon Circle (How It Works)
   -------------------------------------------------------------------------- */
.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-circle);
  background-color: #F5F0EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.icon-circle i {
  font-size: 28px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-top: 0;
  color: var(--text-secondary);
}


/* --------------------------------------------------------------------------
   Layout Utilities
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: 800px;
}

.container-wide {
  max-width: 1400px;
}

.page-content {
  min-height: calc(100vh - var(--navbar-height) - 200px);
  padding: var(--space-xl) 0;
}

.section {
  padding: var(--space-3xl) 0;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.text-accent { color: var(--accent) !important; }
.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }


/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar {
  background: #ea580c;
  border-bottom: none;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.navbar.scrolled {
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.navbar-brand {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.navbar-brand:hover {
  color: var(--text-primary);
}

.navbar-brand img,
.admin-logo img {
  height: 32px;
  width: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 6px;
}

.navbar-nav .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.navbar-nav .nav-link.active {
  color: #fff;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: #fff;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 4px 0;
  border-radius: 1px;
  transition: var(--transition-base);
}


/* --------------------------------------------------------------------------
   Buttons - Pill Style
   -------------------------------------------------------------------------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  padding: 8px 24px;
  font-weight: 500;
  font-size: var(--font-size-sm);
  font-family: var(--font-family);
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
}

.btn-pill:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.2);
}

.btn-primary-pill {
  background: var(--accent);
  color: var(--text-inverse);
  border: none;
}

.btn-primary-pill:hover {
  background: var(--accent-hover);
  color: var(--text-inverse);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-pill {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-primary);
}

.btn-outline-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark-pill {
  background: var(--bg-dark);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-pill);
}

.btn-dark-pill:hover {
  background: #333333;
  color: var(--text-inverse);
  transform: translateY(-1px);
}

.btn-ghost-pill {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 16px;
}

.btn-ghost-pill:hover {
  color: var(--text-primary);
  background: var(--bg-primary);
}

/* --------------------------------------------------------------------------
   Bootstrap Primary Override - Holiday Yellow Theme
   -------------------------------------------------------------------------- */
.btn-primary {
  --bs-btn-bg: #f5b731;
  --bs-btn-border-color: #f5b731;
  --bs-btn-color: #1a1a1a;
  --bs-btn-hover-bg: #e5a820;
  --bs-btn-hover-border-color: #e5a820;
  --bs-btn-hover-color: #1a1a1a;
  --bs-btn-active-bg: #d49a18;
  --bs-btn-active-border-color: #d49a18;
  --bs-btn-active-color: #1a1a1a;
  --bs-btn-focus-shadow-rgb: 245, 183, 49;
  --bs-btn-disabled-bg: #f5d88a;
  --bs-btn-disabled-border-color: #f5d88a;
  --bs-btn-disabled-color: #999;
}

.btn-outline-primary {
  --bs-btn-color: #e5a820;
  --bs-btn-border-color: #e5a820;
  --bs-btn-hover-bg: #f5b731;
  --bs-btn-hover-border-color: #f5b731;
  --bs-btn-hover-color: #1a1a1a;
  --bs-btn-active-bg: #d49a18;
  --bs-btn-active-border-color: #d49a18;
  --bs-btn-active-color: #1a1a1a;
  --bs-btn-focus-shadow-rgb: 245, 183, 49;
}

a.text-primary,
.text-primary {
  color: #e5a820 !important;
}

.bg-primary {
  background-color: #f5b731 !important;
}

.link-primary {
  color: #e5a820 !important;
}

.link-primary:hover {
  color: #d49a18 !important;
}

.btn-danger-pill {
  background: var(--danger);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-pill);
}

.btn-danger-pill:hover {
  background: #B85C5C;
  color: var(--text-inverse);
}

.btn-success-pill {
  background: var(--success);
  color: var(--text-inverse);
  border: none;
  border-radius: var(--radius-pill);
}

.btn-success-pill:hover {
  background: #6A9E6E;
  color: var(--text-inverse);
}

.btn-sm {
  padding: 5px 16px;
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: 12px 32px;
  font-size: var(--font-size-base);
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: var(--radius-circle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-body {
  padding: var(--space-lg);
}

.card-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}

.card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border);
  background: var(--bg-primary);
}

.card-static {
  transition: none;
}

.card-static:hover {
  box-shadow: var(--shadow-sm);
  transform: none;
}


/* --------------------------------------------------------------------------
   Property Cards
   -------------------------------------------------------------------------- */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.property-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.property-card-image {
  position: relative;
  overflow: hidden;
}

.property-card-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.property-card:hover .property-card-image img {
  transform: scale(1.03);
}

.property-card-favourite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-circle);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
  font-size: 16px;
}

.property-card-favourite:hover,
.property-card-favourite.active {
  color: var(--danger);
  background: var(--bg-card);
}

.property-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
}

.property-card-body {
  padding: var(--space-md);
}

.property-card-location {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-card-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: 12px;
}

.property-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.property-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.property-price {
  font-weight: 600;
  color: var(--text-primary);
  font-size: var(--font-size-lg);
}

.property-price .per-night {
  color: var(--text-muted);
  font-weight: 400;
  font-size: var(--font-size-sm);
}

.property-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-sm);
}

.property-rating .stars {
  color: var(--accent);
}

.property-rating .count {
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 80px 0;
  text-align: center;
  background: var(--bg-primary);
}

.hero h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.hero p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.hero-search {
  max-width: 800px;
  margin: 0 auto;
}

.search-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.search-form {
  display: flex;
  gap: var(--space-sm);
  align-items: end;
}

.search-form .form-group {
  flex: 1;
}

.search-form .form-group label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}


/* --------------------------------------------------------------------------
   Forms & Inputs
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  padding: 10px 16px;
  font-size: var(--font-size-sm);
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-card);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control-pill {
  border-radius: var(--radius-pill);
}

textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B6B' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-text {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: 4px;
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--danger);
  margin-top: 4px;
}

.form-control.is-invalid {
  border-color: var(--danger);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 3px rgba(201, 112, 112, 0.1);
}

.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  accent-color: var(--accent);
  width: 16px;
  height: 16px;
}

.char-counter {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  text-align: right;
  margin-top: 4px;
}

.char-counter.warning {
  color: var(--warning);
}

.char-counter.danger {
  color: var(--danger);
}


/* --------------------------------------------------------------------------
   Badges & Tags
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  font-size: var(--font-size-xs);
  font-weight: 500;
  line-height: 1.4;
}

.badge-primary {
  background: var(--accent-light);
  color: var(--accent-hover);
}

.badge-success {
  background: var(--success-light);
  color: var(--success);
}

.badge-danger {
  background: var(--danger-light);
  color: var(--danger);
}

.badge-warning {
  background: var(--warning-light);
  color: #A07D50;
}

.badge-info {
  background: var(--info-light);
  color: var(--info);
}

.badge-neutral {
  background: var(--bg-primary);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.badge-status-pending {
  background: var(--warning-light);
  color: #A07D50;
}

.badge-status-confirmed {
  background: var(--success-light);
  color: var(--success);
}

.badge-status-cancelled {
  background: var(--danger-light);
  color: var(--danger);
}

.badge-status-completed {
  background: var(--info-light);
  color: var(--info);
}

.badge-status-active {
  background: var(--success-light);
  color: var(--success);
}

.badge-status-inactive {
  background: var(--bg-primary);
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   Alerts / Flash Messages
   -------------------------------------------------------------------------- */
.alert {
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  animation: slideDown 0.3s ease;
  position: relative;
}

.alert-success {
  background: var(--success-light);
  border-left: 4px solid var(--success);
  color: #2E6B31;
}

.alert-danger,
.alert-error {
  background: var(--danger-light);
  border-left: 4px solid var(--danger);
  color: #8B3E3E;
}

.alert-warning {
  background: var(--warning-light);
  border-left: 4px solid var(--warning);
  color: #7A5D35;
}

.alert-info {
  background: var(--info-light);
  border-left: 4px solid var(--info);
  color: #3E6B75;
}

.alert-dismiss {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.6;
  font-size: 16px;
  padding: 0;
  line-height: 1;
}

.alert-dismiss:hover {
  opacity: 1;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* --------------------------------------------------------------------------
   Property Detail Page
   -------------------------------------------------------------------------- */
.property-detail {
  max-width: 1200px;
  margin: 0 auto;
}

.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--space-sm);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 460px;
  margin-bottom: var(--space-xl);
}

.property-gallery .gallery-main {
  grid-row: 1 / 3;
  grid-column: 1;
}

.property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.property-gallery img:hover {
  opacity: 0.92;
}

.gallery-thumbnails {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  overflow-x: auto;
}

.gallery-thumbnails img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition-base);
  flex-shrink: 0;
}

.gallery-thumbnails img:hover,
.gallery-thumbnails img.active {
  border-color: var(--accent);
}

.property-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-xl);
  align-items: start;
}

.property-info h1 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-sm);
}

.property-location {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-highlights {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: var(--space-lg);
}

.property-highlights .highlight {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.property-description {
  margin-bottom: var(--space-xl);
  line-height: 1.8;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  padding: var(--space-sm) 0;
}

.amenity-item i {
  color: var(--accent);
  width: 20px;
}

/* Host Card */
.host-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
}

.host-card .host-info {
  flex: 1;
}

.host-card .host-name {
  font-weight: 600;
  margin-bottom: 2px;
}

.host-card .host-meta {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* Booking Sidebar */
.booking-sidebar {
  position: sticky;
  top: calc(var(--navbar-height) + var(--space-lg));
}

.booking-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: var(--space-lg);
}

.booking-card .booking-price-display {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.booking-card .booking-price-display .per-night {
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--text-muted);
}

.booking-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.booking-dates .date-input {
  padding: 10px 14px;
}

.booking-dates .date-input:first-child {
  border-right: 1.5px solid var(--border);
}

.booking-dates .date-input label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  display: block;
  margin-bottom: 2px;
}

.booking-dates .date-input input {
  border: none;
  padding: 0;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  width: 100%;
  outline: none;
  background: transparent;
}

.booking-breakdown {
  padding: var(--space-md) 0;
  border-top: 1px solid var(--border);
}

.booking-breakdown .line-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.booking-breakdown .line-item.total {
  font-weight: 600;
  color: var(--text-primary);
  padding-top: var(--space-sm);
  border-top: 1px solid var(--border);
  font-size: var(--font-size-base);
}


/* --------------------------------------------------------------------------
   Reviews
   -------------------------------------------------------------------------- */
.reviews-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.review-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--border);
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.review-author {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.review-date {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.review-stars {
  color: var(--accent);
  font-size: var(--font-size-sm);
}

.review-body {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.7;
}

/* Star Rating Input */
.star-rating-input {
  display: flex;
  gap: 4px;
  direction: rtl;
}

.star-rating-input input {
  display: none;
}

.star-rating-input label {
  cursor: pointer;
  font-size: var(--font-size-2xl);
  color: var(--border);
  transition: color var(--transition-fast);
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input:checked ~ label {
  color: var(--accent);
}

/* Testimonial Cards */
.testimonial-card {
  padding: var(--space-lg);
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: var(--space-lg);
}

.testimonial-card .quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -4px;
  font-size: var(--font-size-3xl);
  color: var(--accent);
  font-style: normal;
  line-height: 1;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-card .author-name {
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.testimonial-card .author-meta {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}


/* --------------------------------------------------------------------------
   Avatar
   -------------------------------------------------------------------------- */
.avatar {
  border-radius: var(--radius-circle);
  object-fit: cover;
  flex-shrink: 0;
}

.avatar-xs { width: 24px; height: 24px; }
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 40px; height: 40px; }
.avatar-lg { width: 56px; height: 56px; }
.avatar-xl { width: 80px; height: 80px; }

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 600;
  border-radius: var(--radius-circle);
}


/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* --------------------------------------------------------------------------
   Dashboard Stats Cards
   -------------------------------------------------------------------------- */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  transition: box-shadow var(--transition-base);
}

.stat-card:hover {
  box-shadow: var(--shadow-sm);
}

.stat-card-accent {
  border-left: 4px solid var(--accent);
}

.stat-card-success {
  border-left: 4px solid var(--success);
}

.stat-card-info {
  border-left: 4px solid var(--info);
}

.stat-card-danger {
  border-left: 4px solid var(--danger);
}

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  flex-shrink: 0;
}

.stat-card .stat-content h3 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

.stat-card .stat-content p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin: 0;
}


/* --------------------------------------------------------------------------
   Admin Sidebar
   -------------------------------------------------------------------------- */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--navbar-height));
}

.admin-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: var(--space-lg) 0;
}

.admin-sidebar .sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.admin-sidebar .sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px var(--space-lg);
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all var(--transition-base);
  border-left: 3px solid transparent;
}

.admin-sidebar .sidebar-nav li a:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.admin-sidebar .sidebar-nav li a.active {
  background: var(--bg-primary);
  color: var(--accent);
  border-left-color: var(--accent);
}

.admin-sidebar .sidebar-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: var(--space-md) var(--space-lg) var(--space-sm);
}

.admin-content {
  padding: var(--space-xl);
  background: var(--bg-primary);
}


/* --------------------------------------------------------------------------
   Messages / Inbox
   -------------------------------------------------------------------------- */
.inbox-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  min-height: 500px;
}

.inbox-list {
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

.inbox-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md);
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition-base);
}

.inbox-item:hover {
  background: var(--bg-primary);
}

.inbox-item.active {
  background: rgba(212, 165, 116, 0.06);
  border-left: 3px solid var(--accent);
}

.inbox-item.unread {
  background: rgba(212, 165, 116, 0.04);
}

.inbox-item .inbox-preview {
  flex: 1;
  min-width: 0;
}

.inbox-item .inbox-name {
  font-weight: 600;
  font-size: var(--font-size-sm);
  margin-bottom: 2px;
}

.inbox-item .inbox-snippet {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-item .inbox-time {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.conversation-panel {
  display: flex;
  flex-direction: column;
}

.conversation-header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.conversation-messages {
  flex: 1;
  padding: var(--space-lg);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.message-bubble {
  max-width: 70%;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.message-bubble.sent {
  background: var(--accent);
  color: var(--text-inverse);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.message-bubble.received {
  background: var(--bg-primary);
  color: var(--text-primary);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.message-time {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}

.message-input-area {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  gap: var(--space-sm);
}

.message-input-area .form-control {
  flex: 1;
}


/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
  margin: var(--space-xl) 0;
}

.pagination .page-item .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border: 1.5px solid transparent;
  transition: all var(--transition-base);
}

.pagination .page-item .page-link:hover {
  background: var(--bg-primary);
  border-color: var(--border);
  color: var(--text-primary);
}

.pagination .page-item.active .page-link {
  background: var(--accent);
  color: var(--text-inverse);
  border-color: var(--accent);
}

.pagination .page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}


/* --------------------------------------------------------------------------
   Tables (Admin / Dashboard)
   -------------------------------------------------------------------------- */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  padding: 12px var(--space-md);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.table td {
  padding: 12px var(--space-md);
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: rgba(250, 250, 247, 0.5);
}


/* --------------------------------------------------------------------------
   Footer — Anthropic-style: light, muted, minimal
   -------------------------------------------------------------------------- */
footer.footer {
  background: var(--bg-dark);
  border-top: none;
  padding: 4rem 0 2rem;
  color: #cccccc;
}

footer.footer .footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

footer.footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

footer.footer .footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #999999;
  max-width: 280px;
}

footer.footer .footer-brand img {
  height: 28px;
  width: auto;
}

footer.footer h6 {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer.footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

footer.footer ul li {
  margin-bottom: 0.4rem;
  list-style: none;
}

footer.footer ul li a {
  color: #999999;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}

footer.footer ul li a:hover {
  color: #ffffff;
}

footer.footer .footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid #333333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

footer.footer .footer-bottom p {
  font-size: 0.8125rem;
  color: #777777;
  margin: 0;
}

footer.footer .footer-social {
  display: flex;
  gap: 0.75rem;
}

footer.footer .footer-social a {
  color: #999999;
  font-size: 1rem;
  transition: color 0.15s ease;
}

footer.footer .footer-social a:hover {
  color: #ffffff;
}


/* --------------------------------------------------------------------------
   Auth Split Layout (Login / Register)
   -------------------------------------------------------------------------- */
.auth-split-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: stretch;
}

.auth-split-row {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 80px);
}

.auth-marketing-panel {
  width: 42%;
  background: var(--bg-dark);
  color: #ffffff;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-marketing-content {
  max-width: 380px;
  margin: 0 auto;
}

.auth-marketing-logo {
  height: 32px;
  width: auto;
  margin-bottom: 2rem;
}

.auth-marketing-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.auth-marketing-subtitle {
  font-size: 0.95rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.auth-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.auth-benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.auth-benefit-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: rgba(212, 165, 116, 0.15);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.auth-benefit strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #ffffff;
}

.auth-benefit p {
  font-size: 0.8rem;
  color: #888888;
  margin: 0;
  line-height: 1.5;
}

.auth-form-side {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-form-wrapper {
  width: 100%;
  max-width: 440px;
}

@media (max-width: 991.98px) {
  .auth-split-section {
    min-height: auto;
  }
  .auth-split-row {
    flex-direction: column;
    min-height: auto;
  }
  .auth-marketing-panel {
    display: none;
  }
  .auth-form-side {
    padding: 2rem 1rem;
  }
  .auth-form-wrapper {
    max-width: 480px;
  }
}

/* --------------------------------------------------------------------------
   Register Chooser Cards
   -------------------------------------------------------------------------- */
.register-chooser-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.register-chooser-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text-primary);
  background: var(--bg-card);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.register-chooser-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
}

.register-chooser-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.register-chooser-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.register-chooser-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.register-chooser-card div:nth-child(2) {
  flex: 1;
}

.register-chooser-arrow {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Loading / Skeleton States
   -------------------------------------------------------------------------- */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, #F0ECE8 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

.skeleton-text {
  height: 14px;
  margin-bottom: 8px;
  width: 100%;
}

.skeleton-text-short {
  width: 60%;
}

.skeleton-image {
  aspect-ratio: 4/3;
  width: 100%;
}

.skeleton-avatar {
  border-radius: var(--radius-circle);
  width: 40px;
  height: 40px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: var(--radius-circle);
  animation: spin 0.8s linear infinite;
  margin: var(--space-xl) auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


/* --------------------------------------------------------------------------
   Image Preview
   -------------------------------------------------------------------------- */
.image-preview {
  position: relative;
  display: inline-block;
}

.image-preview img {
  max-width: 200px;
  max-height: 150px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.image-preview-grid {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}


/* --------------------------------------------------------------------------
   Miscellaneous
   -------------------------------------------------------------------------- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-lg) 0;
}

.empty-state {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
}

.empty-state-icon {
  font-size: 48px;
  color: var(--border);
  margin-bottom: var(--space-md);
}

.empty-state h3 {
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.empty-state p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto var(--space-lg);
}

.tooltip-custom {
  position: relative;
}

.confirm-delete-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.15s ease;
}

.confirm-delete-dialog {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 400px;
  width: 90%;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.confirm-delete-dialog h4 {
  margin-bottom: var(--space-sm);
}

.confirm-delete-dialog p {
  margin-bottom: var(--space-lg);
}

.confirm-delete-dialog .dialog-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Dropdown Menus */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 180px;
  padding: var(--space-xs) 0;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: all var(--transition-fast);
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a,
.dropdown-menu button {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 8px var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-base);
}

.dropdown-menu a:hover,
.dropdown-menu button:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.dropdown-divider {
  border-top: 1px solid var(--border);
  margin: var(--space-xs) 0;
}


/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */

/* Tablet and below */
@media (max-width: 992px) {
  .property-detail-layout {
    grid-template-columns: 1fr;
  }

  .booking-sidebar {
    position: static;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  footer.footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer.footer .footer-brand {
    grid-column: 1 / -1;
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .property-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    max-height: none;
  }

  .property-gallery .gallery-main {
    grid-row: auto;
    grid-column: auto;
  }

  .inbox-layout {
    grid-template-columns: 1fr;
  }

  .inbox-list {
    max-height: 300px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --navbar-height: 56px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .hero {
    padding: 48px 0;
  }

  .hero h1 {
    font-size: var(--font-size-2xl);
  }

  .search-form {
    flex-direction: column;
  }

  .property-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-md);
  }

  .navbar-nav {
    display: none;
  }

  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }

  .mobile-toggle {
    display: block;
  }

  footer.footer .footer-grid {
    grid-template-columns: 1fr;
  }

  footer.footer .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dashboard-stats {
    grid-template-columns: 1fr;
  }

  .property-highlights {
    flex-wrap: wrap;
    gap: var(--space-md);
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .message-bubble {
    max-width: 85%;
  }

  h1 { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }
  h3 { font-size: var(--font-size-lg); }
}

/* Small mobile */
@media (max-width: 480px) {
  .property-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .booking-dates {
    grid-template-columns: 1fr;
  }

  .booking-dates .date-input:first-child {
    border-right: none;
    border-bottom: 1.5px solid var(--border);
  }

  .property-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
}


/* --------------------------------------------------------------------------
   Utility: Visibility & Display
   -------------------------------------------------------------------------- */
.d-none { display: none !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }

.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }

.w-100 { width: 100%; }
.overflow-hidden { overflow: hidden; }
.truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

