/* ============================================
   WelcomeApp Pro - Premium Design System
   NYC Studio Quality - Airbnb/Expedia Level
   ============================================ */

/* === CSS Variables === */
:root {
  /* Primary Colors - Refined Coral */
  --primary: #e85a4f;
  --primary-dark: #c94a40;
  --primary-light: #ff7b6b;
  --primary-gradient: linear-gradient(135deg, #e85a4f 0%, #ff6b5b 50%, #ff8a7a 100%);
  --primary-glow: 0 0 40px rgba(232, 90, 79, 0.3);

  /* Accent - Premium Gold */
  --accent: #ff6b6b;
  --accent-light: #ff8a80;
  --accent-gradient: linear-gradient(135deg, #ff6b6b 0%, #ffa07a 100%);
  --gold: #d4a574;
  --gold-light: #e8c9a0;

  /* Status Colors - Refined */
  --success: #22c55e;
  --success-light: #dcfce7;
  --warning: #eab308;
  --warning-light: #fef9c3;
  --info: #0ea5e9;
  --info-light: #e0f2fe;
  --danger: #ef4444;
  --danger-light: #fee2e2;

  /* Backgrounds - Layered Depth */
  --bg-body: #f8fafc;
  --bg-sidebar: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  --bg-card: #ffffff;
  --bg-main: #f1f5f9;
  --bg-hover: rgba(232, 90, 79, 0.04);
  --bg-selected: linear-gradient(135deg, rgba(232, 90, 79, 0.08) 0%, rgba(255, 107, 91, 0.05) 100%);
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-dark: rgba(255, 255, 255, 0.9);

  /* Text - Better Contrast */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  /* Borders - Softer */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: rgba(232, 90, 79, 0.5);

  /* Premium Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-primary: 0 4px 14px rgba(232, 90, 79, 0.25);
  --shadow-primary-lg: 0 10px 40px rgba(232, 90, 79, 0.3);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 20px 40px rgba(0, 0, 0, 0.08);

  /* Spacing & Sizing */
  --sidebar-width: 280px;
  --header-height: 72px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions - Smooth */
  --transition-fast: 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-tooltip: 400;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-body);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: 1.75rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Buttons - Premium === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-primary);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-main);
  border-color: var(--border);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-hover);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background: var(--bg-hover);
  color: var(--primary);
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.25);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 15px;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-xs {
  padding: 6px 12px;
  font-size: 12px;
  border-radius: var(--radius-xs);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius);
}

.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}

/* PMS Option Buttons */
.pms-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.pms-option:hover {
  border-color: var(--primary);
  background: var(--bg-subtle);
}

.pms-option.selected {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.pms-option span:last-child {
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   AUTH PAGES (Login/Register)
   ============================================ */

.auth-layout {
  display: flex;
  min-height: 100vh;
}

.auth-visual {
  flex: 1;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.auth-visual-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
  max-width: 400px;
}

.auth-visual-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.auth-visual-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.auth-form-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
  background: var(--bg-card);
}

.auth-form {
  width: 100%;
  max-width: 400px;
  position: relative;
  padding-top: 48px;
}

.auth-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-header h1 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-secondary);
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-secondary);
}

.auth-footer a {
  color: var(--primary);
  font-weight: 500;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* ============================================
   APP LAYOUT (Dashboard) - Premium
   ============================================ */

.app-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-body);
}

/* === Sidebar - Premium === */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  transition: transform var(--transition-slow);
  box-shadow: 1px 0 0 rgba(0,0,0,0.02);
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 24px;
  position: relative;
}

.sidebar-brand::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

.nav-logo {
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-primary);
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius) + 3px);
  background: var(--primary-gradient);
  opacity: 0.15;
  z-index: -1;
}

.nav-name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.nav-name .accent {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Sidebar Navigation - Premium */
.sidebar-nav {
  flex: 1;
  padding: 20px 16px;
  overflow-y: auto;
}

.sidebar-nav::-webkit-scrollbar {
  width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-nav::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.sidebar-nav-section {
  margin-bottom: 28px;
}

.sidebar-nav-title {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  padding: 0 16px;
  margin-bottom: 12px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: all var(--transition);
  margin-bottom: 4px;
  position: relative;
}

.sidebar-nav a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: var(--primary-gradient);
  border-radius: 0 3px 3px 0;
  transition: height var(--transition);
}

.sidebar-nav a:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

.sidebar-nav a:hover::before {
  height: 20px;
}

.sidebar-nav a.active {
  background: var(--bg-selected);
  color: var(--primary);
  font-weight: 600;
}

.sidebar-nav a.active::before {
  height: 24px;
}

.sidebar-nav a .icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform var(--transition);
}

.sidebar-nav a:hover .icon {
  transform: scale(1.1);
}

/* Sidebar Footer - Premium */
.sidebar-footer {
  padding: 20px;
  position: relative;
}

.sidebar-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 50%, transparent 100%);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--bg-main) 0%, var(--bg-body) 100%);
  border-radius: var(--radius);
  margin-bottom: 14px;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
}

.user-info:hover {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.user-avatar {
  width: 42px;
  height: 42px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-primary);
}

.user-details {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.user-email {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logout-btn:hover {
  background: #fef2f2;
  border-color: #fecaca;
  color: var(--danger);
}

/* Sidebar footer buttons */
.sidebar-footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.settings-btn {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.settings-btn:hover {
  background: var(--bg-main);
  border-color: var(--primary);
  color: var(--primary);
}

/* Settings Modal */
.settings-section {
  margin-bottom: 24px;
}

.settings-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.settings-description {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Stripe Status Banner */
.stripe-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.stripe-banner.stripe-configured {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
}

.stripe-banner.stripe-not-configured {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
}

.stripe-banner-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.stripe-banner-text {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
}

/* === Main Content - Premium === */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-body);
}

.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: var(--bg-glass-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.main-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.main-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Property Search */
.property-search-container {
  padding: 0 40px 20px;
}

.search-input-wrapper {
  position: relative;
  max-width: 400px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  opacity: 0.5;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 40px 12px 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-input::placeholder {
  color: var(--muted);
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  font-size: 1rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.search-clear:hover {
  color: var(--text-primary);
  background: var(--bg-main);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  color: var(--text-primary);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.mobile-menu-btn:hover {
  background: var(--bg-hover);
}

/* === Content Sections - Premium === */
.section-content {
  padding: 40px;
  animation: fadeIn 0.3s ease;
}

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

.section-content.hidden {
  display: none;
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}

.section-subtitle {
  color: var(--muted);
  margin-top: 4px;
  font-size: 0.95rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.product-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.product-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-main);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.product-info {
  flex: 1;
}

.product-name {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.product-category {
  font-size: 0.85rem;
  color: var(--muted);
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.product-description {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.product-actions {
  display: flex;
  gap: 8px;
}

.product-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--bg-main);
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-right: 8px;
}

/* Orders Filters */
.orders-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.orders-filters select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
}

/* Orders Summary Cards */
.orders-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.summary-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
}

.summary-icon {
  width: 50px;
  height: 50px;
  background: var(--bg-main);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.summary-label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Orders List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 16px 20px;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 16px;
  align-items: center;
  transition: all var(--transition);
}

.order-card:hover {
  border-color: var(--accent);
}

.order-number {
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
}

.order-guest {
  font-weight: 600;
  color: var(--text-primary);
}

.order-property {
  font-size: 0.85rem;
  color: var(--muted);
}

.order-items-preview {
  font-size: 0.85rem;
  color: var(--muted);
}

.order-amount {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.order-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.order-status.pending { background: #fef3c7; color: #92400e; }
.order-status.paid { background: #dbeafe; color: #1e40af; }
.order-status.confirmed { background: #d1fae5; color: #065f46; }
.order-status.delivered { background: #e0e7ff; color: #3730a3; }
.order-status.cancelled { background: #fee2e2; color: #991b1b; }

.order-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.order-actions {
  display: flex;
  gap: 8px;
}

/* Empty state for products/orders */
.empty-section {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.empty-section-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-section h3 {
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* Global Extras in Property */
.global-extra-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-main);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: all var(--transition);
}

.global-extra-item.disabled {
  opacity: 0.5;
}

.global-extra-item .extra-icon {
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.global-extra-item .extra-name {
  font-weight: 600;
  color: var(--text-primary);
}

.global-extra-item .extra-category {
  font-size: 0.8rem;
  color: var(--muted);
}

.extra-price-edit {
  display: flex;
  align-items: center;
  gap: 4px;
}

.price-override-input {
  padding: 6px 8px;
  font-size: 0.9rem;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--accent);
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Extras Section Styling */
.extras-section {
  margin-bottom: 16px;
}

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

.extras-header h3 {
  margin: 0;
  font-size: 1rem;
}

.extras-description {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

/* === Properties Grid - Premium === */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
  padding: 40px;
}

/* Property Card - Premium Design */
.property-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.property-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 2px;
  background: linear-gradient(135deg, transparent 0%, var(--border) 50%, transparent 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.property-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-8px);
  border-color: transparent;
}

.property-card:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

/* Property Image */
.property-image {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fef2f0 0%, #fde8e5 100%);
  font-size: 64px;
  overflow: hidden;
  position: relative;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

/* Property Stats */
.property-stats {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

/* Property Content */
.property-content {
  padding: 24px;
}

.property-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.property-address {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-actions {
  display: flex;
  gap: 10px;
}

.property-actions .btn {
  flex: 1;
  font-size: 13px;
  padding: 10px 16px;
}

/* Add Property Card */
.add-property-card {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 320px;
}

.add-property-card:hover {
  border-color: var(--primary);
  background: var(--bg-hover);
  transform: translateY(-4px);
}

.add-property-card .add-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: white;
  margin-bottom: 20px;
  box-shadow: var(--shadow-primary);
  transition: transform 0.3s ease;
}

.add-property-card:hover .add-icon {
  transform: scale(1.1) rotate(90deg);
}

.add-property-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.add-property-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* Cards Section */

.add-property-hint {
  font-size: 13px;
  color: var(--text-muted);
}

/* === Cards === */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-selected);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
}

.card-body {
  padding: 24px;
}

/* === Forms - Premium === */
.form-group {
  margin-bottom: 24px;
  position: relative;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.form-label .required {
  color: var(--primary);
  margin-left: 2px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all var(--transition);
  box-shadow: var(--shadow-inner);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
  border-color: var(--text-muted);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232, 90, 79, 0.1), var(--shadow-inner);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Input with icon/button */
.input-group {
  display: flex;
  gap: 12px;
}

.input-group .form-input {
  flex: 1;
}

/* Form row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Checkbox & Radio - Premium */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.form-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* === Modals - Premium === */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: var(--z-modal);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Property modal z-index */
#property-modal.active {
  z-index: 1000 !important;
}

/* Photo gallery modal must appear above property modal */
#photo-gallery-modal.active {
  z-index: 99999 !important;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  transform: translateY(30px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-body) 100%);
}

.modal-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.modal-close:hover {
  background: var(--danger-light);
  border-color: var(--danger);
  color: var(--danger);
  transform: rotate(90deg);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
}

.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 20px 28px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-body);
}

/* === Tabs - Premium === */
.tabs-nav {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: var(--bg-main);
  border-radius: var(--radius);
  margin-bottom: 28px;
  overflow-x: auto;
  border: 1px solid var(--border-light);
}

.tabs-nav::-webkit-scrollbar {
  height: 4px;
}

.tabs-nav::-webkit-scrollbar-track {
  background: transparent;
}

.tabs-nav::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.tab-btn {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.tab-btn.active {
  background: var(--bg-card);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 3px;
}

.tab-section-label {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 4px;
  white-space: nowrap;
}

.tab-divider {
  width: 100%;
  height: 0;
  flex-basis: 100%;
}

.tab-content {
  display: none;
  animation: tabFadeIn 0.3s ease;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

.tab-content.active {
  display: block;
}

/* === Alerts === */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 16px;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a;
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

/* === Loader === */
.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* === Upload Zone === */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-main);
}

.upload-zone:hover {
  border-color: var(--primary);
  background: var(--bg-hover);
}

.upload-zone.drag-over {
  border-color: var(--primary);
  background: var(--bg-selected);
}

.upload-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.upload-text {
  font-weight: 500;
  margin-bottom: 4px;
}

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

/* Media preview */
.media-preview {
  margin-top: 12px;
}

.media-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius);
  object-fit: cover;
}

/* === Stats Cards === */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Promotional Banner */
.promo-banner {
  background: var(--primary-gradient);
  border-radius: var(--radius-xl);
  padding: 32px;
  color: white;
  margin-bottom: 24px;
}

.promo-banner h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.promo-banner p {
  opacity: 0.9;
  margin-bottom: 20px;
}

/* === Utilities === */
.hidden {
  display: none !important;
}

.mt-4 {
  margin-top: 16px;
}

.mb-4 {
  margin-bottom: 16px;
}

.text-center {
  text-align: center;
}

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

/* === Responsive === */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .properties-grid {
    padding: 20px;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .auth-layout {
    flex-direction: column;
  }

  .auth-visual {
    display: none;
  }

  .auth-form-container {
    padding: 24px;
  }

  .main-header {
    padding: 16px 20px;
  }

  .property-search-container {
    padding: 0 20px 16px;
  }

  .search-input-wrapper {
    max-width: 100%;
  }

  .modal-content {
    margin: 16px;
    max-height: calc(100vh - 32px);
  }

  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* === File input hidden === */
.file-input-hidden {
  display: none;
}

/* === Progress Bar === */
.upload-progress {
  margin-top: 12px;
  height: 6px;
  background: var(--bg-main);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

/* === Media Card === */
.media-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 16px;
}

.media-card label {
  display: block;
  margin-bottom: 12px;
}

/* === Multi-Image Gallery === */
.multi-image-gallery {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 16px;
}

.multi-image-gallery .gallery-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--ink);
}

.multi-image-gallery .image-count {
  font-size: 12px;
  color: var(--muted);
  background: var(--bg-hover);
  padding: 4px 10px;
  border-radius: 20px;
}

.multi-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.multi-image-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-hover);
  border: 2px solid var(--border);
  transition: all var(--transition);
  cursor: grab;
}

.multi-image-item:hover {
  border-color: var(--primary);
  transform: scale(1.02);
}

.multi-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.multi-image-item .delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: all var(--transition);
}

.multi-image-item:hover .delete-btn {
  opacity: 1;
}

.multi-image-item .delete-btn:hover {
  background: var(--danger);
  transform: scale(1.1);
}

.multi-image-item .drag-handle {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0;
  transition: all var(--transition);
}

.multi-image-item:hover .drag-handle {
  opacity: 1;
}

.multi-image-item.dragging {
  opacity: 0.5;
  border-color: var(--primary);
}

.multi-image-add {
  aspect-ratio: 1;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-main);
  color: var(--muted);
}

.multi-image-add:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-hover);
}

.multi-image-add .add-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.multi-image-add .add-text {
  font-size: 11px;
  font-weight: 500;
}

.multi-image-gallery .upload-progress {
  margin-top: 8px;
}

/* Hidden JSON input for multi-images */
.multi-image-gallery input[type="hidden"] {
  display: none;
}

/* === Photo Gallery === */
.photo-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: all var(--transition);
}

.photo-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.photo-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.photo-card-body {
  padding: 12px;
}

.photo-card select {
  width: 100%;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: inherit;
  font-size: 13px;
  cursor: pointer;
}

.photo-card select:focus {
  outline: none;
  border-color: var(--primary);
}

.photo-card.assigned {
  border-color: var(--primary);
}

.photo-card.assigned select {
  background: var(--bg-hover);
}

/* === Template Selector === */
.template-selector {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.template-option {
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
}

.template-option.selected .template-preview {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 90, 79, 0.2);
}

.template-preview {
  width: 80px;
  height: 60px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: all var(--transition);
}

.template-name {
  font-size: 12px;
  color: var(--text-secondary);
}

.template-option.selected .template-name {
  color: var(--primary);
  font-weight: 600;
}

/* === Video Language Tabs === */
.video-lang-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
}

.lang-tab {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: all var(--transition);
}

.lang-tab:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.lang-tab.active {
  background: var(--bg-card);
  color: var(--primary);
}

.lang-tab.has-video {
  color: var(--success);
}

.lang-tab.has-video::after {
  content: '•';
  margin-left: 4px;
}

/* === Settings Section specific styles === */
#settings-section .card {
  margin-bottom: 24px;
}

/* ============================================
   LANDING PAGE STYLES
   ============================================ */

.landing {
  background: var(--bg-card);
}

/* Navigation */
.landing .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 48px 100px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-hover);
  border: 1px solid rgba(232, 90, 79, 0.2);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
}

.hero-stats .stat {
  text-align: left;
}

.hero-stats .stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stats .stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 90, 79, 0.08) 0%, transparent 70%);
  animation: gradientPulse 8s ease-in-out infinite;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 113, 103, 0.06) 0%, transparent 70%);
  animation: gradientPulse 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes gradientPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Pulsing CTA button */
.btn-primary.btn-lg {
  position: relative;
  overflow: hidden;
}

.btn-primary.btn-lg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: ripple 2s ease-out infinite;
}

@keyframes ripple {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

/* Hero Visual / Phone Mockup */
.hero-visual {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.mockup-phone {
  width: 300px;
  height: 600px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 2px rgba(0,0,0,0.1), 0 0 60px rgba(232, 90, 79, 0.15);
  position: relative;
  overflow: hidden;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

/* Live notification popup */
.mockup-notification {
  position: absolute;
  top: 70px;
  left: -10px;
  right: -10px;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  z-index: 20;
  opacity: 0;
  transform: translateY(-20px) scale(0.9);
  animation: notificationPop 8s ease-in-out infinite;
}

@keyframes notificationPop {
  0%, 100% { opacity: 0; transform: translateY(-20px) scale(0.9); }
  10%, 40% { opacity: 1; transform: translateY(0) scale(1); }
  50% { opacity: 0; transform: translateY(-10px) scale(0.95); }
}

.notification-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 12px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.notification-text {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notification-time {
  font-size: 10px;
  color: #999;
  flex-shrink: 0;
}

.mockup-phone::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 20px;
  z-index: 10;
}

/* Multiple screens support */
.mockup-screen {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 32px;
  padding: 60px 16px 16px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mockup-screen.active {
  opacity: 1;
  visibility: visible;
}

/* Screen transition animations */
.mockup-screen.slide-out-left {
  animation: slideOutLeft 0.3s ease forwards;
}

.mockup-screen.slide-out-right {
  animation: slideOutRight 0.3s ease forwards;
}

.mockup-screen.slide-in-right {
  animation: slideInRight 0.3s ease forwards;
}

.mockup-screen.slide-in-left {
  animation: slideInLeft 0.3s ease forwards;
}

@keyframes slideOutLeft {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(-100%); opacity: 0; }
}

@keyframes slideOutRight {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  margin-bottom: 16px;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.mockup-header.clickable {
  cursor: pointer;
  transition: background var(--transition);
}

.mockup-header.clickable:hover {
  background: rgba(255,255,255,0.1);
}

.mockup-back {
  font-size: 20px;
  font-weight: 300;
  margin-right: 4px;
}

/* Welcome section */
.mockup-welcome {
  text-align: center;
  padding: 20px 0;
  color: white;
}

.mockup-welcome p {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mockup-guest {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

/* Cards */
.mockup-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  padding: 16px;
  border-radius: var(--radius);
  color: white;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  font-size: 14px;
}

.mockup-card:hover {
  background: var(--primary);
  transform: translateX(4px);
}

.mockup-card-icon {
  font-size: 20px;
}

.mockup-card-text {
  flex: 1;
}

.mockup-card-arrow {
  font-size: 18px;
  opacity: 0.5;
}

/* Detail screen */
.mockup-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-detail-item {
  background: rgba(255,255,255,0.06);
  padding: 14px 16px;
  border-radius: var(--radius);
}

.detail-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}

.detail-value {
  display: block;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.detail-value.highlight {
  color: var(--primary-light);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* WiFi screen */
.mockup-wifi {
  text-align: center;
  padding: 20px 0;
}

.wifi-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.wifi-details {
  background: rgba(255,255,255,0.06);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

.wifi-label {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.wifi-value {
  display: block;
  color: white;
  font-size: 16px;
  font-weight: 600;
}

.wifi-value.copyable {
  color: var(--primary-light);
  font-family: monospace;
  letter-spacing: 1px;
}

.mockup-btn {
  width: 100%;
  padding: 14px;
  background: var(--primary-gradient);
  border: none;
  border-radius: var(--radius);
  color: white;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}

.mockup-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(232, 90, 79, 0.4);
}

/* Places screen */
.mockup-places {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.place-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  padding: 14px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.place-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.place-icon {
  font-size: 24px;
}

.place-info {
  flex: 1;
}

.place-name {
  display: block;
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.place-dist {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Rules screen */
.mockup-rules {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  padding: 14px 16px;
  border-radius: var(--radius);
  color: white;
  font-size: 13px;
}

.rule-item span:first-child {
  font-size: 20px;
}

/* Screen indicators */
.mockup-indicator {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(232, 90, 79, 0.3);
  cursor: pointer;
  transition: all var(--transition);
}

.indicator-dot:hover {
  background: rgba(232, 90, 79, 0.6);
}

.indicator-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* Gallery screen */
.mockup-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100% - 60px);
}

.gallery-main {
  flex: 1;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(0,0,0,0.3);
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  font-size: 12px;
  font-weight: 500;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.gallery-thumbs::-webkit-scrollbar {
  height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 48px;
  height: 36px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb.active {
  opacity: 1;
  border-color: var(--primary);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections Common */
section {
  padding: 100px 48px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--bg-hover);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  background: var(--bg-body);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-selected);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Trust Badges / Logos Section */
.trust-badges {
  background: var(--bg-card);
  padding: 60px 48px;
  border-bottom: 1px solid var(--border);
}

.trust-badges .container {
  text-align: center;
}

.trust-badges p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.badges-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  opacity: 0.7;
  transition: all var(--transition);
}

.badge-item:hover {
  opacity: 1;
  color: var(--primary);
}

.badge-item span:first-child {
  font-size: 32px;
}

.badge-item span:last-child {
  font-size: 14px;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials {
  background: var(--bg-body);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative;
  transition: all var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--primary);
  opacity: 0.1;
  line-height: 1;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.testimonial-rating span {
  color: #ffc107;
  font-size: 18px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: 700;
}

.testimonial-info h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
}

/* Avaibook Integration Section */
.avaibook-integration {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  text-align: center;
  padding: 80px 48px;
}

.avaibook-content {
  max-width: 800px;
  margin: 0 auto;
}

.avaibook-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.integration-icon {
  font-size: 16px;
}

.avaibook-logo {
  margin-bottom: 24px;
}

.avaibook-text {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.avaibook-integration h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: white;
}

.avaibook-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  line-height: 1.6;
}

.avaibook-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.avaibook-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.avaibook-check {
  color: #00d4aa;
  font-weight: 700;
}

.avaibook-integration .btn-primary {
  background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
  color: #1a1a2e;
  font-weight: 600;
  border: none;
}

.avaibook-integration .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 212, 170, 0.3);
}

/* Why Choose Us Section */
.why-choose-us {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 16px auto 0;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.benefit-card {
  display: flex;
  gap: 20px;
  padding: 32px;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon span {
  font-size: 24px;
  filter: grayscale(1) brightness(10);
}

.benefit-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.benefit-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Day One Experience Section */
.day-one-experience {
  background: var(--bg-card);
}

.day-one-content {
  max-width: 800px;
  margin: 0 auto;
}

.day-one-text {
  text-align: center;
}

.day-one-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 16px 0;
  color: var(--text-primary);
}

.day-one-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.6;
}

.day-one-features {
  display: grid;
  gap: 20px;
  text-align: left;
}

.day-one-feature {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.day-one-bullet {
  color: var(--primary);
  font-size: 12px;
  margin-top: 4px;
}

.day-one-feature strong {
  color: var(--text-primary);
  font-weight: 600;
}

.day-one-feature span {
  color: var(--text-secondary);
}

/* Multi-property Section */
.multi-property {
  background: linear-gradient(135deg, #f0f4ff 0%, #faf8ff 100%);
}

.multi-property-content {
  max-width: 800px;
  margin: 0 auto;
}

.multi-property-text {
  text-align: center;
}

.multi-property-text h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 16px 0 24px;
  color: var(--text-primary);
}

.multi-property-text p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.multi-property-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.mp-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--bg-card);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
}

.mp-icon {
  color: var(--primary);
  font-weight: 700;
}

/* 5-Star Service Section */
.five-star-service {
  background: var(--bg-card);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.service-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--bg-body);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* How it Works Section */
.how-it-works {
  background: var(--bg-card);
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.step {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
}

/* Pricing Section */
.pricing {
  background: var(--bg-body);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

.price-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 2px solid var(--border);
  position: relative;
  transition: all var(--transition);
}

.price-card:hover {
  border-color: var(--primary);
}

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: white;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

.price-header {
  text-align: center;
  margin-bottom: 24px;
}

.price-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.price-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.price-amount {
  text-align: center;
  margin-bottom: 32px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.price-amount .currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.price-amount .amount {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.price-amount .period {
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  margin-bottom: 32px;
}

.price-features li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
}

.price-features li.disabled {
  color: var(--text-muted);
}

/* Price Calculator */
.price-calculator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.calculator-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.calculator-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.calc-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.calc-slider-container {
  margin-bottom: 40px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 600;
}

.calc-property-count {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--primary) 0%, var(--primary) 0%, #e0e0e0 0%, #e0e0e0 100%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
  border: 3px solid white;
  transition: transform 0.2s;
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.calc-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.4);
  border: 3px solid white;
}

.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.calc-result {
  margin-bottom: 32px;
  padding: 32px;
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
  border-radius: var(--radius-lg);
}

.calc-price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.calc-total {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.calc-currency {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.calc-period {
  display: block;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 4px;
}

.calc-per-prop {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.calc-per-prop span {
  color: var(--primary);
  font-weight: 600;
}

.pricing-tiers {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--border);
}

.pricing-tiers h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.tiers-table {
  width: 100%;
  border-collapse: collapse;
}

.tiers-table th,
.tiers-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.tiers-table th {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tiers-table td {
  font-size: 1rem;
}

.tiers-table td:last-child {
  font-weight: 600;
  color: var(--primary);
}

.tiers-table tbody tr:hover {
  background: var(--bg-hover);
}

.tiers-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}

/* CTA Final Section */
.cta-final {
  background: var(--primary-gradient);
  text-align: center;
  padding: 100px 48px;
}

.cta-final h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: white;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
}

.cta-final .btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.cta-final .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* Footer */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 64px 48px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .nav-logo {
  background: var(--primary-gradient);
}

.footer-brand .nav-name {
  color: white;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  max-width: 250px;
}

.footer-links h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding: 8px 0;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 14px;
}

/* Play Icon */
.play-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: 12px;
}

/* Landing Page Responsive */
@media (max-width: 1024px) {
  .hero {
    padding: 40px 24px 60px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .mockup-phone {
    width: 260px;
    height: 520px;
  }

  .mockup-screen {
    padding: 50px 14px 14px;
  }

  .mockup-welcome p {
    font-size: 20px;
  }

  .mockup-card {
    padding: 12px;
    font-size: 13px;
  }

  .mockup-header {
    padding: 12px 14px;
    font-size: 13px;
  }

  .landing .nav {
    padding: 16px 24px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    z-index: 1000;
  }

  .nav-links.active a:not(.btn) {
    padding: 12px 0;
    font-size: 16px;
  }

  .nav-links.active .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .nav-links.active .ui-lang-selector {
    justify-content: center;
    margin: 8px 0;
  }

  section {
    padding: 60px 24px;
  }

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

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  /* Avaibook section responsive */
  .avaibook-integration {
    padding: 60px 24px;
  }

  .avaibook-text {
    font-size: 2rem;
  }

  .avaibook-integration h2 {
    font-size: 1.5rem;
  }

  .avaibook-features {
    flex-direction: column;
    align-items: stretch;
  }

  .avaibook-feature {
    justify-content: center;
  }

  /* New sections responsive */
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card {
    padding: 24px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .day-one-text h2,
  .multi-property-text h2 {
    font-size: 1.75rem;
  }

  .multi-property-features {
    flex-direction: column;
    align-items: stretch;
  }

  .mp-feature {
    justify-content: center;
  }

  /* Price calculator responsive */
  .price-calculator {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .calculator-card {
    padding: 32px 24px;
  }

  .calc-total {
    font-size: 3rem;
  }

  .pricing-tiers {
    padding: 24px;
  }
}

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

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .hero-stats .stat {
    text-align: center;
  }
}

/* === UI Language Selector === */
.ui-lang-btn {
  transition: all 0.2s ease;
}

.ui-lang-btn:hover {
  opacity: 0.8;
}

.ui-lang-btn.active {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
}

/* Sidebar language selector - darker style */
.sidebar .ui-lang-btn.active {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* ============================================
   CUSTOM SECTIONS STYLES
   ============================================ */

/* Container */
#custom-sections-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Empty state */
.empty-custom-sections {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  text-align: center;
  color: var(--text-muted);
}

.empty-custom-sections .icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-custom-sections p {
  margin: 0;
  font-size: 1rem;
  color: var(--text-secondary);
}

/* Section Card */
.custom-section-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.custom-section-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

/* Card Header */
.custom-section-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
}

.custom-section-card .section-number {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}

.custom-section-card .header-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.custom-section-card .icon-input {
  width: 50px;
  height: 40px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.custom-section-card .icon-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.custom-section-card .title-input {
  flex: 1;
  height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 500;
}

.custom-section-card .title-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.custom-section-card .title-input:focus,
.custom-section-card .icon-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.25);
}

.custom-section-card .delete-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-section-card .delete-btn:hover {
  background: #ef4444;
}

/* Card Body */
.custom-section-card .card-body {
  padding: 20px;
}

/* Language tabs */
.custom-section-card .lang-tabs {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.custom-section-card .lang-tab {
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.custom-section-card .lang-tab:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.custom-section-card .lang-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.3);
}

.custom-section-card .lang-tab.has-content {
  position: relative;
}

.custom-section-card .lang-tab.has-content::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

/* Language Content */
.custom-section-card .lang-contents {
  min-height: 200px;
}

.custom-section-card .lang-content {
  display: none;
}

.custom-section-card .lang-content.active {
  display: block;
  animation: fadeIn 0.2s ease;
}

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

.custom-section-card .lang-content .form-input {
  margin-bottom: 12px;
}

.custom-section-card .content-textarea {
  width: 100%;
  min-height: 150px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  transition: all 0.2s;
}

.custom-section-card .content-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.custom-section-card .content-textarea::placeholder {
  color: var(--text-muted);
}

/* Image Section */
.custom-section-card .image-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.custom-section-card .image-section .form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.custom-section-card .image-section .form-label::before {
  content: '🖼️';
}

.custom-section-card .image-upload-container {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.custom-section-card .upload-zone {
  flex: 1;
  min-height: 80px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--bg-main);
  padding: 16px;
}

.custom-section-card .upload-zone:hover {
  border-color: var(--primary);
  background: rgba(79, 70, 229, 0.05);
}

.custom-section-card .upload-zone .upload-icon {
  font-size: 24px;
  margin-bottom: 6px;
}

.custom-section-card .upload-zone .upload-text {
  font-size: 13px;
  color: var(--text-muted);
}

.custom-section-card .url-input-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.custom-section-card .url-input-container .or-text {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.custom-section-card .image-preview {
  margin-top: 12px;
  max-width: 200px;
  max-height: 120px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--border);
}

/* Add button styling */
.add-section-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-bottom: 24px;
}

.add-section-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.add-section-btn .btn-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Info tip */
.custom-sections-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.custom-sections-tip .tip-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.custom-sections-tip .tip-text {
  font-size: 14px;
  color: #4338ca;
  line-height: 1.5;
}

.custom-sections-tip .tip-text strong {
  display: block;
  margin-bottom: 4px;
}

/* ========== EXTRAS & ORDERS STYLES ========== */

/* Stripe Section */
.stripe-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
  border: 1px solid #c7d2fe;
}

.stripe-connected,
.stripe-not-connected {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stripe-config {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stripe-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stripe-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.stripe-info {
  flex: 1;
}

.stripe-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.stripe-status {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.stripe-email,
.stripe-hint {
  font-size: 0.875rem;
  color: var(--muted);
}

.stripe-key-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stripe-key-input label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
}

.stripe-key-input .input-with-button {
  display: flex;
  gap: 8px;
}

.stripe-key-input input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-family: monospace;
  font-size: 0.9rem;
}

.stripe-key-input input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.stripe-key-input .btn-primary {
  align-self: flex-start;
}

.stripe-help {
  margin-top: 8px;
}

.stripe-help details {
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius);
  padding: 12px;
}

.stripe-help summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--primary);
}

.stripe-help ol {
  margin: 12px 0 12px 20px;
  padding: 0;
  font-size: 0.875rem;
  color: var(--text);
}

.stripe-help ol li {
  margin-bottom: 6px;
}

.stripe-help p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 8px 0 0 0;
}

/* Extras Header */
.extras-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.extras-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.extras-description {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: 16px;
}

/* Extra Item */
.extra-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
  transition: all var(--transition);
}

.extra-item:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.extra-item.inactive {
  opacity: 0.5;
  background: var(--bg-main);
}

.extra-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.extra-info {
  flex: 1;
  min-width: 0;
}

.extra-name {
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.extra-price {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}

.extra-actions {
  display: flex;
  gap: 4px;
}

.btn-icon {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  transition: all var(--transition);
}

.btn-icon:hover {
  background: var(--bg-main);
}

.btn-icon.danger:hover {
  background: #fee2e2;
}

/* Orders Header */
.orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.orders-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

.orders-filter select {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  font-size: 0.875rem;
}

/* Billing Summary */
.billing-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.billing-card {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  border: 1px solid #7dd3fc;
}

.billing-card.billing-fee {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-color: #fcd34d;
}

.billing-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.billing-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
}

.billing-count,
.billing-hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
}

/* Order Item */
.order-item {
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 12px;
}

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

.order-number {
  font-weight: 700;
  color: var(--text);
}

.order-status {
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-paid { background: #dbeafe; color: #1e40af; }
.status-confirmed { background: #d1fae5; color: #065f46; }
.status-delivered { background: #e0e7ff; color: #3730a3; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.status-refunded { background: #f3f4f6; color: #374151; }

.order-guest {
  margin-bottom: 8px;
}

.order-guest strong {
  display: block;
  color: var(--text);
}

.order-guest span {
  font-size: 0.875rem;
  color: var(--muted);
}

.order-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.order-item-tag {
  font-size: 0.75rem;
  background: var(--bg-main);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text);
}

.order-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.order-total {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.order-date {
  font-size: 0.875rem;
  color: var(--muted);
  flex: 1;
}

/* Checkbox Label */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text);
}

.checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

/* Button Small */
.btn-sm {
  padding: 6px 12px;
  font-size: 0.875rem;
}

.btn-success {
  background: #10b981;
  color: white;
  border: none;
}

.btn-success:hover {
  background: #059669;
}

/* ============================================
   Orders & Admin Dashboard Styles
   ============================================ */

/* Section Header */
.section-header {
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

/* Stats Cards Grid */
.orders-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.stat-icon {
  font-size: 2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-main);
  border-radius: 12px;
}

.stat-info {
  flex: 1;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Orders Table */
.orders-table {
  width: 100%;
  border-collapse: collapse;
}

.orders-table th {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.orders-table td {
  padding: 16px;
  border-top: 1px solid var(--border-light);
  vertical-align: middle;
}

.orders-table tr:hover td {
  background: var(--bg-hover);
}

/* Order ID Badge */
.order-id-badge {
  font-family: monospace;
  font-size: 0.85rem;
  background: var(--bg-main);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text-secondary);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-pending {
  background: var(--warning-light);
  color: #92400e;
}

.status-paid {
  background: var(--info-light);
  color: #0369a1;
}

.status-confirmed {
  background: var(--success-light);
  color: #166534;
}

.status-delivered {
  background: #e0e7ff;
  color: #3730a3;
}

.status-cancelled {
  background: var(--danger-light);
  color: #991b1b;
}

/* Action Buttons in Table */
.table-actions {
  display: flex;
  gap: 8px;
}

.table-actions button {
  padding: 6px 10px;
  font-size: 0.85rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.table-actions button:hover {
  background: var(--bg-main);
  border-color: var(--primary);
  color: var(--primary);
}

/* Form Select */
.form-select {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 90, 79, 0.1);
}

/* Billing fee indicator */
.fee-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.fee-badge {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.fee-pending {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.fee-collected {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

/* Responsive */
@media (max-width: 768px) {
  .orders-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .orders-table th:nth-child(4),
  .orders-table td:nth-child(4),
  .orders-table th:nth-child(7),
  .orders-table td:nth-child(7) {
    display: none;
  }
}

@media (max-width: 480px) {
  .orders-stats {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 1.25rem;
  }
}
