/* ==========================================================================
   DineHub – Mobile-first iOS-style base
   NOTES:
   - All original selectors & hooks preserved to avoid breaking JS.
   - Larger touch targets (min-height:44px), improved focus-visible rings.
   - Better density on small screens; fluid type via clamp().
   - Safe-area support for notched devices.
   - Prefers-reduced-motion + basic dark mode.
   ========================================================================== */

/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Inter, system-ui, sans-serif;
  line-height: 1.6;
  color: #1d1d1f;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Safe areas for notched devices */
:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
  /* Apple-ish palette */
  --apple-blue: #007AFF;
  --apple-blue-600: #0056CC;
  --apple-green: #34C759;
  --apple-orange: #FF9500;
  --apple-red: #FF3B30;
  --apple-purple: #AF52DE;

  --gray-50: #F5F5F7;
  --gray-100: #F2F2F7;
  --gray-200: #E5E5EA;
  --gray-300: #D1D1D6;
  --gray-400: #C7C7CC;
  --gray-500: #AEAEB2;
  --gray-600: #8E8E93;
  --gray-700: #48484A;
  --gray-800: #1D1D1F;

  --text-primary: #1D1D1F;
  --text-secondary: #86868B;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.10);
  --shadow-lg: 0 12px 28px rgba(0,0,0,.14);
  --shadow-xl: 0 20px 44px rgba(0,0,0,.18);

  --transition-fast: .15s cubic-bezier(.2,.0,.2,1);
  --transition: .25s cubic-bezier(.2,.0,.2,1);
  --transition-slow: .45s cubic-bezier(.2,.0,.2,1);
}

/* Legacy color aliases preserved from previous file (to avoid breakage) */
:root {
  --primary-color: var(--apple-blue);
  --primary-dark: var(--apple-blue-600);
  --secondary-color: #6A5ACD;     /* kept to honor existing gradients */
  --secondary-dark: #5A4FC1;
  --accent-color: var(--apple-green);
  --accent-dark: #2E9B4C;
  --warning-color: var(--apple-orange);
  --error-color: var(--apple-red);

  --border-radius-sm: var(--radius-sm);
  --border-radius-md: var(--radius-md);
  --border-radius-lg: var(--radius-lg);
  --border-radius-xl: var(--radius-xl);

  --shadow-2xl: var(--shadow-xl);
  --transition-normal: var(--transition);
}

/* ==========================================================================
   Accessibility & motion
   ========================================================================== */

/* Enhanced Focus States for Better Accessibility */
:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,.35) !important;
  border-radius: inherit;
  position: relative;
  z-index: 10;
}

/* Specific focus styles for interactive elements */
button:focus-visible,
.nav-link:focus-visible,
.mobile-menu-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,.4), 0 2px 8px rgba(0,122,255,.2);
  transform: translateY(-1px);
  transition: all 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Enhanced focus for CTA buttons */
.primary-cta:focus-visible,
.secondary-cta:focus-visible,
.nav-cta-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255,255,255,.8), 0 0 0 6px rgba(0,122,255,.4), 0 4px 16px rgba(0,122,255,.3);
  outline: none;
}

/* Focus styles for form elements */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,.3), inset 0 0 0 2px rgba(0,122,255,.2);
  border-color: var(--apple-blue);
}

/* High contrast focus for mobile menu toggle */
.mobile-menu-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,.5);
  background: rgba(0,122,255,.1);
}

/* Focus for demo tabs */
.demo-tab:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,122,255,.4);
  background: rgba(0,122,255,.05);
}

/* Skip to main content link for screen readers */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--apple-blue);
  color: white;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.3s;
}

.skip-to-main:focus {
  top: 6px;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Enhanced keyboard navigation */
.nav-link,
.mobile-menu-link,
button,
a {
  position: relative;
}

/* Improve tab order visibility */
*:focus-visible {
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Navigation (modern-nav)
   ========================================================================== */
.modern-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.modern-nav.scrolled {
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-md);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  text-decoration: none;
}

.brand-icon { font-size: 24px; }
.brand-text {
  background: linear-gradient(135deg, var(--apple-blue), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: color var(--transition-fast);
}
.nav-link:hover { color: var(--apple-blue); }
.nav-link::after {
  content:'';
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--apple-blue);
  transition: width var(--transition);
}
.nav-link:hover::after { width: 100%; }

.nav-cta-btn {
  background: var(--apple-blue);
  color: #fff;
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,122,255,.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  min-height: 44px;
}
.nav-cta-btn:hover {
  transform: translateY(-1px);
  background: var(--apple-blue-600);
  box-shadow: 0 10px 26px rgba(0,122,255,.35);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
}
.mobile-menu-toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1001;
  opacity: 0; visibility: hidden;
  transition: var(--transition);
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed; top: 0; right: -100%; height: 100vh; width: 320px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1002;
  box-shadow: -8px 0 24px rgba(0,0,0,.15);
  transition: right var(--transition);
  display: flex; flex-direction: column;
}
.mobile-menu.open { right: 0; }

.mobile-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-menu-close {
  background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--gray-600);
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%;
}
.mobile-menu-close:hover { background: var(--gray-100); }

.mobile-menu-links {
  padding: 20px 24px; display: flex; flex-direction: column; gap: 16px;
}
.mobile-menu-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}

.mobile-menu-cta {
  background: var(--apple-blue);
  color: white;
  border: none;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  margin: 16px 24px 24px;
  min-height: 44px;
}

.mobile-menu-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
}

/* ==========================================================================
   Hero
   ========================================================================== */
.homepage-body { background: linear-gradient(135deg, var(--gray-50), #E8E8ED); min-height: 100vh; }

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-50), #E8E8ED);
}

.hero-section::before {
  content:'';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(80px + var(--safe-top)) 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: var(--text-primary); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(0,0,0,.06);
  padding: 8px 14px;
  border-radius: 999px; font-size: 14px; font-weight: 600;
}
.badge-icon { font-size: 16px; }

.hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
  margin: 16px 0 8px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--apple-blue), #40A9FF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-subtitle { font-size: clamp(17px, 2.6vw, 20px); color: var(--text-secondary); max-width: 560px; }

.hero-stats { display: flex; align-items: center; gap: 20px; margin: 20px 0; padding: 10px 0; }
.stat-item { text-align: left; }
.stat-number { font-size: clamp(22px, 4vw, 30px); font-weight: 800; color: var(--apple-blue); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.stat-divider { width: 1px; height: 36px; background: rgba(0,0,0,.12); }

.hero-actions { display: flex; align-items: center; gap: 12px; margin: 20px 0 32px; flex-wrap: wrap; }
.primary-cta, .secondary-cta {
  border: 0; border-radius: 12px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 14px 22px; font-size: 16px; transition: var(--transition-fast);
}
.primary-cta {
  background: var(--apple-blue); color: #fff; box-shadow: 0 6px 18px rgba(0,122,255,.25);
}
.primary-cta:hover { transform: translateY(-1px); background: var(--apple-blue-600); box-shadow: 0 10px 26px rgba(0,122,255,.35); }

.secondary-cta {
  background: rgba(255,255,255,.9); color: var(--apple-blue);
  border: 1px solid rgba(0,122,255,.2); backdrop-filter: blur(8px);
}
.secondary-cta:hover { background: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }

/* Hero visual phone mock */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-mockup { position: relative; width: 280px; height: 560px; background: linear-gradient(145deg,#1D1D1F,#2C2C2E); border-radius: 40px; padding: 8px; box-shadow: var(--shadow-xl); }
.phone-screen { width: 100%; height: 100%; background: #fff; border-radius: 32px; overflow: hidden; position: relative; }
.mockup-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 8px; font-weight: 700; font-size: 14px; }
.mockup-battery { width: 24px; height: 12px; border: 1px solid var(--gray-600); border-radius: 2px; position: relative; }
.mockup-battery::after { content:''; position: absolute; right: -3px; top: 3px; width: 2px; height: 6px; background: var(--gray-600); border-radius: 0 1px 1px 0; }
.battery-level { width: 80%; height: 100%; background: var(--apple-green); border-radius: 1px; }

.mockup-content { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.mockup-restaurant { text-align: center; padding: 20px; background: linear-gradient(135deg, var(--gray-50), #E8E8ED); border-radius: 16px; }
.restaurant-image { width: 80px; height: 80px; background: linear-gradient(135deg, var(--apple-blue), #40A9FF); border-radius: 20px; margin: 0 auto 14px; }
.mockup-booking { display: flex; flex-direction: column; gap: 12px; }
.booking-date, .booking-guests { padding: 14px; background: var(--gray-100); border-radius: 12px; font-size: 15px; }

.mockup-book-btn {
  width: 100%; background: linear-gradient(135deg, var(--apple-blue), #40A9FF); color: white;
  border: 0; padding: 14px; border-radius: 12px; font-weight: 800; font-size: 16px; cursor: pointer; min-height: 44px;
}

/* Floating cards (kept) */
.floating-cards { position: absolute; inset: 0; pointer-events: none; }
.floating-card {
  position: absolute; background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.06);
  padding: 12px 16px; border-radius: 12px; display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-primary);
  box-shadow: var(--shadow-md); animation: float 3s ease-in-out infinite;
}
.card-1 { top: 20%; left: -20%; animation-delay: 0s; }
.card-2 { top: 55%; right: -25%; animation-delay: .6s; }
.card-3 { bottom: 22%; left: -15%; animation-delay: 1.2s; }
@keyframes float { 0%,100%{ transform: translateY(0)} 50%{ transform: translateY(-8px)} }

/* ==========================================================================
   Sections, features, demo, CTA
   ========================================================================== */
.section-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; margin-bottom: 10px;
}
.section-subtitle { font-size: clamp(16px, 2.6vw, 20px); color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

/* Features */
.features-section { padding: 96px 0; background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.feature-card {
  background: rgba(255,255,255,.9); border: 1px solid rgba(0,0,0,.06);
  padding: 24px; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); backdrop-filter: blur(8px);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--apple-blue), #40A9FF); color: #fff; margin-bottom: 16px; }
.feature-title { font-size: 20px; font-weight: 800; color: var(--text-primary); margin-bottom: 8px; }
.feature-description { color: var(--text-secondary); }

/* Demo */
.demo-section { padding: 96px 0; background: var(--gray-50); }
.demo-container { max-width: 1000px; margin: 0 auto; }
.demo-tabs {
  display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; background: #fff; padding: 8px; border-radius: 12px; box-shadow: var(--shadow-sm);
}
.demo-tab { background: transparent; border: 0; padding: 10px 16px; border-radius: 10px; font-weight: 700; color: var(--text-secondary); cursor: pointer; min-height: 44px; }
.demo-tab.active { background: var(--apple-blue); color: #fff; }
.demo-content { position: relative; }
.demo-panel { display: none; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.demo-panel.active { display: grid; }
.demo-device { background: #fff; border-radius: 16px; padding: 20px; box-shadow: var(--shadow-lg); }

/* CTA */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--apple-blue), #40A9FF);
  color: #fff; text-align: center;
}
.cta-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 12px; }
.cta-subtitle { font-size: clamp(16px, 2.6vw, 20px); opacity: .9; max-width: 640px; margin: 0 auto 28px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta-note { display: flex; gap: 16px; font-size: 14px; opacity: .9; flex-wrap: wrap; }

/* ==========================================================================
   Featured restaurants (cards)
   ========================================================================== */
.featured-restaurants-section { padding: 96px 0; background: #fff; }
.restaurant-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.restaurant-card {
  background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition); overflow: hidden; display: flex; flex-direction: column;
}
.restaurant-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.restaurant-card-image { height: 150px; background-size: cover; background-position: center; }
.restaurant-card-content { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.restaurant-card-title { font-size: 18px; font-weight: 800; color: var(--text-primary); }
.restaurant-card-address { color: var(--text-secondary); font-size: 14px; flex-grow: 1; }
.restaurant-card-link {
  display: inline-block; background: var(--apple-blue); color: #fff; text-align: center; padding: 12px 16px; border-radius: 12px; font-weight: 800; text-decoration: none; transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.restaurant-card-link:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,122,255,.3); }

/* Trust */
.hero-trust { text-align: center; }
.trust-text { font-size: 14px; opacity: .8; margin-bottom: 8px; display: block; }
.trust-indicators { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 14px; font-weight: 700; flex-wrap: wrap; }
.trust-item { opacity: .9; }

/* ==========================================================================
   Footer
   ========================================================================== */
.modern-footer {
  background: var(--gray-50);
  color: var(--text-secondary);
  padding: 32px 24px calc(32px + var(--safe-bottom));
  text-align: center;
  border-top: 1px solid var(--gray-200);
}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-container:first-child {
  display: grid; grid-template-columns: 1fr 2fr; gap: 48px; margin-bottom: 32px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-tagline { color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: 360px; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.footer-column h4 { font-size: 15px; font-weight: 800; margin-bottom: 12px; color: var(--text-primary); }
.footer-column a { display: block; color: var(--text-secondary); text-decoration: none; margin-bottom: 10px; transition: color var(--transition-fast); }
.footer-column a:hover { color: var(--apple-blue); }
.footer-bottom { border-top: 1px solid var(--gray-200); padding-top: 20px; }
.footer-legal { display: flex; justify-content: space-between; align-items: center; color: var(--text-secondary); font-size: 14px; flex-wrap: wrap; gap: 12px; }
.legal-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-links a { color: var(--text-secondary); text-decoration: none; }
.legal-links a:hover { color: var(--apple-blue); }

/* ==========================================================================
   Auth/Bottom Sheet Modal (auth-modal + modal-overlay)
   ========================================================================== */
:root {
  --modal-animation-duration: .35s;
  --modal-ease: cubic-bezier(.25,.46,.45,.94);
}

.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.55);
  z-index: 2000; display: none; opacity: 0; visibility: hidden;
  transition: opacity var(--modal-animation-duration) var(--modal-ease), visibility var(--modal-animation-duration) var(--modal-ease);
  backdrop-filter: blur(8px);
}

.modal-overlay.show { display: flex; opacity: 1; visibility: visible; align-items: flex-end; justify-content: center; }

.auth-modal {
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 38px rgba(0,0,0,.25);
  width: 100%; max-width: 500px;
  max-height: calc(100vh - var(--safe-top) - 20px);
  transform: translateY(100%);
  transition: transform var(--modal-animation-duration) var(--modal-ease);
  display: none; position: relative; z-index: 2001; overflow: hidden;
  margin-bottom: var(--safe-bottom);
}
.auth-modal.show { display: block; transform: translateY(0); }

.modal-header {
  padding: 20px 24px 12px;
  border-bottom: 1px solid var(--gray-200);
  display: flex; justify-content: space-between; align-items: center; position: relative;
}
.modal-header::before {
  content:''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 4px; background: var(--gray-300); border-radius: 2px;
}
.modal-header h2 { margin: 0; color: var(--text-primary); font-size: 22px; font-weight: 800; }
.modal-close {
  background: none; border: 0; font-size: 24px; color: var(--gray-600); cursor: pointer; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
}
.modal-close:hover { background: var(--gray-100); }

.modal-content { padding: 20px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--text-primary); font-size: 14px; }
.form-group input {
  width: 100%; padding: 12px 14px;
  border: 2px solid var(--gray-300); border-radius: var(--radius-md);
  font-size: 16px; transition: var(--transition-fast); background: #fff;
}
.form-group input:focus { outline: none; border-color: var(--apple-blue); box-shadow: 0 0 0 3px rgba(0,122,255,.12); }

.auth-submit-btn {
  width: 100%; padding: 14px 16px; background: var(--apple-blue); color: #fff; border: 0; border-radius: var(--radius-md);
  font-size: 16px; font-weight: 800; cursor: pointer; min-height: 44px; transition: var(--transition-fast); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.auth-submit-btn:hover:not(:disabled) { background: var(--apple-blue-600); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,122,255,.28); }
.auth-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.loading-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top: 2px solid #fff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.auth-divider { display: flex; align-items: center; margin: 20px 0; color: var(--text-secondary); font-size: 14px; }
.auth-divider::before, .auth-divider::after { content:''; flex: 1; height: 1px; background: var(--gray-300); }
.auth-divider span { padding: 0 12px; }

.auth-switch { text-align: center; color: var(--text-secondary); font-size: 14px; }
.switch-btn { background: none; border: 0; color: var(--apple-blue); font-weight: 800; cursor: pointer; text-decoration: underline; margin-left: 4px; }
.switch-btn:hover { color: var(--apple-blue-600); }

/* ==========================================================================
   Demo content / dashboard preview bits (preserved selectors)
   ========================================================================== */
.demo-app { padding: 20px; background: #fff; border-radius: var(--radius-md); min-height: 350px; }
.demo-header h3 { color: var(--text-primary); margin-bottom: 12px; font-size: 18px; font-weight: 800; }
.demo-restaurant-info { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.restaurant-avatar { width: 48px; height: 48px; background: linear-gradient(135deg, var(--apple-blue), #40A9FF); border-radius: 50%; }
.restaurant-name { font-weight: 800; color: var(--text-primary); }
.restaurant-rating { font-size: 14px; color: var(--text-secondary); }

.datetime-picker, .party-selector {
  padding: 12px 14px; border: 2px solid var(--gray-300); border-radius: var(--radius-md); background: #fff; cursor: pointer;
}

.demo-book-button {
  width: 100%; padding: 14px; background: var(--apple-blue); color: #fff; border: 0; border-radius: var(--radius-md); font-weight: 800; min-height: 44px; position: relative; overflow: hidden; transition: var(--transition-fast);
}
.demo-book-button:hover { background: var(--apple-blue-600); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }

  .hero-container { padding: calc(72px + var(--safe-top)) 20px 56px; }
  .hero-title { font-size: clamp(32px, 7vw, 40px); }
  .section-title { font-size: clamp(24px, 5vw, 36px); }

  .features-grid { grid-template-columns: 1fr; gap: 18px; }
  .demo-panel { grid-template-columns: 1fr; gap: 24px; }
  .cta-title { font-size: clamp(24px, 5vw, 36px); }

  .footer-container:first-child { grid-template-columns: 1fr; gap: 24px; }
  .footer-links { grid-template-columns: 1fr; gap: 20px; }
  .footer-legal { flex-direction: column; gap: 10px; text-align: center; }

  .modal-content { max-height: calc(100vh - 180px); overflow-y: auto; }
  .form-group input { font-size: 16px; padding: 14px; } /* prevent iOS zoom */
}

@media (max-width: 480px) {
  .auth-modal { border-radius: 20px 20px 0 0; max-height: calc(100vh - var(--safe-top) - 16px); }
  .modal-header { padding: 16px 16px 10px; }
  .modal-content { padding: 16px; }
  .form-group { margin-bottom: 14px; }
  .primary-cta, .secondary-cta { padding: 12px 16px; }
}

/* Landscape small height devices */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .modal-overlay { align-items: center; padding: 10px; }
  .auth-modal { border-radius: 16px; max-height: calc(100vh - 20px); margin-bottom: 0; transform: translateY(10px) scale(.98); }
  .auth-modal.show { transform: translateY(0) scale(1); }
  .modal-header::before { display: none; }
  .modal-content { max-height: calc(100vh - 120px); }
}

/* ==========================================================================
   Dark mode (soft)
   ========================================================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #F5F5F7;
    --text-secondary: #C7C7CC;
    --gray-50: #0c0c0d;
    --gray-100: #151517;
    --gray-200: #1f1f22;
    --gray-300: #2b2b2f;
    --gray-400: #3a3a40;
    --gray-500: #4c4c54;
    --gray-600: #6b6b75;
    --gray-700: #8e8e9a;
    --gray-800: #e5e5ea;
  }

  body { background: #0c0c0d; color: var(--text-primary); }
  .modern-nav { background: rgba(20,20,22,.7); border-bottom-color: rgba(255,255,255,.08); }
  .modern-nav.scrolled { background: rgba(20,20,22,.85); }
  .nav-link { color: var(--text-secondary); }
  .mobile-menu { background: rgba(30,30,32,.98); }
  .mobile-menu-link { color: var(--text-primary); border-bottom-color: rgba(255,255,255,.06); }

  .hero-section, .homepage-body { background: linear-gradient(135deg, #0f1113, #1a1c20); }
  .hero-badge { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--text-primary); }

  .feature-card,
  .demo-device,
  .restaurant-card,
  .demo-app,
  .filtered-reservations,
  .legend-item,
  .card {
    background: #17181b;
    border-color: rgba(255,255,255,.08);
    box-shadow: none;
  }

  .section-title, .restaurant-card-title { color: var(--text-primary); }
  .section-subtitle, .restaurant-card-address { color: var(--text-secondary); }

  .modern-footer { background: #121316; color: var(--text-secondary); border-top-color: rgba(255,255,255,.08); }
  .footer-column a:hover { color: #7bb1ff; }

  .auth-modal { background: #17181b; }
  .form-group input { background: #121316; color: var(--text-primary); border-color: #2b2b2f; }
  .form-group input:focus { box-shadow: 0 0 0 3px rgba(0,122,255,.28); }

  .demo-tabs { background: #151517; }
  .demo-tab.active { background: var(--apple-blue); }
}

/* ==========================================================================
   KEEP: legacy classes referenced by JS (no deletions, only styling)
   ========================================================================== */

/* From original file – kept names with refined values */
.hero-trust .trust-text,
.feature-highlight .highlight-badge,
.highlight-badge.new { 
  /* retained for compatibility - inherits styles from parent elements */
  display: inherit;
}

.reservations-list,
.reservation-item,
.reservation-item.confirmed,
.reservation-item.pending,
.reservation-info,
.customer-name,
.reservation-details,
.reservation-status,
.reservation-actions,
.action-btn,
.action-btn.confirm,
.action-btn.decline {
  /* These appear on demo previews and some pages; values already defined above. */
  /* Inherit styles from existing definitions while preserving selectors for JS */
  display: inherit;
}

/* Featured Restaurants Section */
.featured-restaurants-section {
  padding: 120px 0;
  background: white;
}

.restaurant-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.restaurant-card {
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.restaurant-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.restaurant-card-image {
  height: 150px;
  background-size: cover;
  background-position: center;
}

.restaurant-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.restaurant-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.restaurant-card-address {
  color: var(--gray-600);
  font-size: 14px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.restaurant-card-link {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
  padding: 12px 24px;
  border-radius: var(--border-radius-lg);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.restaurant-card-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.hero-trust {
  text-align: center;
}

.trust-text {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 12px;
  display: block;
}

.trust-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}

.trust-item {
  opacity: 0.9;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  position: relative;
  z-index: 2;
}

.phone-screen {
  width: 280px;
  height: 560px;
  background: #1f2937;
  border-radius: 32px;
  padding: 8px;
  box-shadow: var(--shadow-2xl);
  position: relative;
  overflow: hidden;
}

.phone-screen::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #374151;
  border-radius: 2px;
}

.mockup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.mockup-battery {
  width: 24px;
  height: 12px;
  border: 1px solid #6b7280;
  border-radius: 2px;
  position: relative;
}

.mockup-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 6px;
  background: #6b7280;
  border-radius: 0 1px 1px 0;
}

.battery-level {
  width: 80%;
  height: 100%;
  background: #10b981;
  border-radius: 1px;
}

.mockup-content {
  background: white;
  margin: 8px;
  border-radius: 24px;
  padding: 24px;
  height: calc(100% - 16px);
}

.mockup-restaurant {
  text-align: center;
  margin-bottom: 32px;
}

.restaurant-image {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border-radius: 16px;
  margin: 0 auto 16px;
}

.mockup-restaurant h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.mockup-restaurant p {
  color: var(--gray-600);
  font-size: 14px;
}

.mockup-booking {
  background: var(--gray-50);
  border-radius: 16px;
  padding: 20px;
}

.booking-date {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 600;
  color: var(--gray-800);
}

.booking-guests {
  color: var(--gray-600);
  margin-bottom: 20px;
  font-size: 14px;
}

.mockup-book-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.floating-cards {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 14px;
}

.floating-card.card-1 {
  top: 20%;
  left: -20%;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.floating-card.card-2 {
  top: 60%;
  right: -20%;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.floating-card.card-3 {
  bottom: 20%;
  left: -10%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.card-icon {
  font-size: 18px;
}

/* Section Styles */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 20px;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Features Section */
.features-section {
  padding: 120px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
}

.feature-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: white;
}

.feature-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-highlight {
  position: absolute;
  top: 16px;
  right: 16px;
}

.highlight-badge {
  background: linear-gradient(135deg, var(--accent-color), #059669);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.highlight-badge.new {
  background: linear-gradient(135deg, var(--warning-color), #d97706);
}

/* Demo Section */
.demo-section {
  padding: 120px 0;
  background: var(--gray-50);
}

.demo-container {
  max-width: 1000px;
  margin: 0 auto;
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  background: white;
  padding: 8px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}

.demo-tab {
  background: none;
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-tab.active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.demo-content {
  position: relative;
}

.demo-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.demo-panel.active {
  display: grid;
}

.demo-device {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.demo-device.desktop {
  padding: 16px 16px 32px;
}

.demo-device.desktop::before {
  content: '';
  display: block;
  height: 8px;
  background: var(--gray-200);
  border-radius: 4px 4px 0 0;
  margin: -16px -16px 16px;
  position: relative;
}

.demo-device.desktop::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #28ca42;
}

.demo-screen {
  background: var(--gray-100);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  min-height: 400px;
}

.demo-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--gray-700);
}

.feature-check {
  width: 24px;
  height: 24px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-subtitle {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cta-note {
  display: flex;
  gap: 32px;
  font-size: 14px;
  opacity: 0.8;
}

/* Footer */
.modern-footer {
  background: var(--gray-50);
  color: var(--gray-500);
  padding: 32px 24px;
  text-align: center;
  border-top: 1px solid var(--gray-200);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-container:first-child {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-tagline {
  color: var(--gray-400);
  font-size: 16px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: white;
}

.footer-column a {
  display: block;
  color: var(--gray-400);
  text-decoration: none;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 32px;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--gray-400);
  font-size: 14px;
}

.legal-links {
  display: flex;
  gap: 24px;
}

.legal-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: white;
}

/* Enhanced Bottom-Up Modal System */
:root {
  --modal-safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --modal-safe-area-top: env(safe-area-inset-top, 0px);
  --modal-animation-duration: 0.4s;
  --modal-animation-easing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--modal-animation-duration) var(--modal-animation-easing);
  backdrop-filter: blur(8px);
  padding: 0;
  overflow: hidden;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
  visibility: visible;
  align-items: flex-end;
  justify-content: center;
}

.auth-modal {
  background: white;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  max-height: calc(100vh - var(--modal-safe-area-top) - 20px);
  transform: translateY(100%);
  transition: transform var(--modal-animation-duration) var(--modal-animation-easing);
  opacity: 1;
  display: none;
  position: relative;
  z-index: 2001;
  overflow: hidden;
  margin-bottom: var(--modal-safe-area-bottom);
}

.auth-modal.show {
  display: block;
  transform: translateY(0);
}

/* Desktop Modal Behavior */
@media (min-width: 769px) {
  .modal-overlay.active {
    align-items: center;
    justify-content: center;
  }
  
  .auth-modal {
    border-radius: 24px;
    max-width: 420px;
    max-height: 90vh;
    margin-bottom: 0;
    transform: translateY(20px) scale(0.95);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  }
  
  .auth-modal.active {
    transform: translateY(0) scale(1);
  }
}

/* Mobile Modal Enhancements */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 0;
  }
  
  .modal-overlay.active {
    align-items: flex-end;
    justify-content: center;
  }
  
  .auth-modal {
    width: 100%;
    max-width: 100%;
    border-radius: 24px 24px 0 0;
    margin-bottom: var(--modal-safe-area-bottom);
    max-height: calc(100vh - var(--modal-safe-area-top) - 20px);
  }
  
  /* Handle notch devices */
  .auth-modal {
    padding-bottom: var(--modal-safe-area-bottom);
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .auth-modal {
    border-radius: 20px 20px 0 0;
    max-height: calc(100vh - var(--modal-safe-area-top) - 16px);
  }
}

/* Landscape Mobile Orientation */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .modal-overlay.active {
    align-items: center;
    justify-content: center;
    padding: 10px;
  }
  
  .auth-modal {
    border-radius: 16px;
    max-height: calc(100vh - 20px);
    margin-bottom: 0;
    transform: translateY(10px) scale(0.98);
  }
  
  .auth-modal.active {
    transform: translateY(0) scale(1);
  }
}

/* Very Small Screens */
@media (max-height: 600px) {
  .auth-modal {
    max-height: calc(100vh - 10px);
  }
  
  .modal-header {
    padding: 16px 20px 8px;
  }
  
  .modal-content {
    padding: 16px 20px 20px;
  }
}

.modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: 24px;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--gray-400);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-100);
  color: var(--gray-600);
}

.modal-content {
  padding: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 14px;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  font-size: 16px;
  transition: all var(--transition-fast);
  background: white;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-submit-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--gray-500);
  font-size: 14px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-300);
}

.auth-divider span {
  padding: 0 16px;
}

.auth-switch {
  text-align: center;
  color: var(--gray-600);
  font-size: 14px;
}

.switch-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 4px;
}

.switch-btn:hover {
  color: var(--primary-dark);
}

/* Mobile responsive for auth modals */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 24px 60px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 40px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .demo-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .cta-title {
    font-size: 36px;
  }
  
  .cta-note {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-container:first-child {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-legal {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  /* Enhanced Mobile Modal Styles */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  
  .auth-modal {
    max-width: 100%;
    width: 100%;
    margin: 0;
    border-radius: 24px 24px 0 0;
    max-height: calc(100vh - var(--modal-safe-area-top) - 20px);
    margin-bottom: var(--modal-safe-area-bottom);
  }
  
  .modal-header {
    padding: 20px 20px 16px;
    position: relative;
  }
  
  .modal-header::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: var(--gray-300);
    border-radius: 2px;
  }
  
  .modal-content {
    padding: 20px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
  }
  
  .form-group input {
    font-size: 16px; /* Prevents zoom on iOS */
    padding: 14px 16px;
  }
  
  .auth-submit-btn {
    padding: 16px 20px;
    font-size: 16px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .auth-modal {
    border-radius: 20px 20px 0 0;
  }
  
  .modal-header {
    padding: 16px 16px 12px;
  }
  
  .modal-content {
    padding: 16px;
  }
  
  .form-group {
    margin-bottom: 16px;
  }
  
  .form-group input {
    padding: 12px 14px;
  }
  
  .auth-submit-btn {
    padding: 14px 18px;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
  .modal-overlay {
    align-items: center;
    padding: 10px;
  }
  
  .auth-modal {
    border-radius: 16px;
    max-height: calc(100vh - 20px);
    margin-bottom: 0;
  }
  
  .modal-header::before {
    display: none;
  }
  
  .modal-content {
    max-height: calc(100vh - 120px);
  }
}

/* Demo content styles */
.demo-app {
  padding: 20px;
  background: white;
  border-radius: var(--border-radius-md);
  min-height: 350px;
}

.demo-header h3 {
  color: var(--gray-800);
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
}

.demo-restaurant-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.restaurant-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
}

.restaurant-name {
  font-weight: 600;
  color: var(--gray-800);
}

.restaurant-rating {
  font-size: 14px;
  color: var(--gray-600);
}

.demo-form .form-group {
  margin-bottom: 16px;
}

.demo-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 14px;
}

.datetime-picker,
.party-selector {
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  background: white;
  cursor: pointer;
}

.party-btn {
  background: none;
  border: none;
  font-size: 16px;
  color: var(--gray-700);
  cursor: pointer;
}

.demo-book-button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: shine 2s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Dashboard demo styles */
.dashboard-demo {
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--border-radius-md);
  min-height: 350px;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.dashboard-header h3 {
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.dashboard-stats {
  display: flex;
  gap: 16px;
}

.stat {
  text-align: center;
}

.stat-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reservations-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reservation-item {
  background: white;
  padding: 16px;
  border-radius: var(--border-radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid var(--gray-300);
}

.reservation-item.confirmed {
  border-left-color: var(--accent-color);
}

.reservation-item.pending {
  border-left-color: var(--warning-color);
}

.reservation-info {
  flex: 1;
}

.customer-name {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.reservation-details {
  font-size: 14px;
  color: var(--gray-600);
}

.reservation-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  background: var(--accent-color);
  color: white;
}

.reservation-actions {
  display: flex;
  gap: 8px;
}

.action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.action-btn.confirm {
  background: var(--accent-color);
  color: white;
}

.action-btn.decline {
  background: var(--error-color);
  color: white;
}

/* Analytics demo styles */
.analytics-demo {
  padding: 20px;
  background: white;
  border-radius: var(--border-radius-md);
  min-height: 350px;
}

.analytics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.analytics-header h3 {
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.time-selector {
  padding: 6px 12px;
  background: var(--gray-100);
  border-radius: 6px;
  font-size: 14px;
  color: var(--gray-700);
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.analytics-card {
  background: var(--gray-50);
  padding: 16px;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.card-title {
  font-size: 12px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.card-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.card-change {
  font-size: 12px;
  font-weight: 600;
}

.card-change.positive {
  color: var(--accent-color);
}

.card-change.negative {
  color: var(--error-color);
}

.chart-placeholder {
  height: 120px;
  background: var(--gray-50);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 16px;
}

.chart-bars {
  display: flex;
  align-items: end;
  gap: 8px;
  height: 100%;
}

.bar {
  width: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px 2px 0 0;
  min-height: 20%;
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 10px;
}

/* Header styles */
header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header h1 {
  color: #2c3e50;
  font-size: 2.5em;
  margin-bottom: 10px;
}

header p {
  color: #7f8c8d;
  font-size: 1.2em;
}

/* Auth section styles */
.auth-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.login-form, .register-form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-form h2, .register-form h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  text-align: center;
}

.login-form label, .register-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
}

.login-form input, .register-form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.login-form input:focus, .register-form input:focus {
  outline: none;
  border-color: #3498db;
}

.login-form button, .register-form button {
  width: 100%;
  padding: 12px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-form button:hover, .register-form button:hover {
  background: #2980b9;
}

/* Quick actions styles */
.quick-actions {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
}

.quick-actions h3 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.action-button {
  display: inline-block;
  margin: 10px;
  padding: 15px 30px;
  background: #27ae60;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: background-color 0.3s;
}

.action-button:hover {
  background: #229954;
}

/* Form styles for other pages */
form {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 500px;
  margin: 0 auto;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #555;
}

form input, form select {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

form button {
  width: 100%;
  padding: 12px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}

form button:hover {
  background: #2980b9;
}

/* Responsive design */
@media (max-width: 768px) {
  .auth-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .container {
    padding: 10px;
  }
  
  header h1 {
    font-size: 2em;
  }
  
  .action-button {
    display: block;
    margin: 10px 0;
  }
}

/* Dashboard specific styles */
.dashboard-header {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-bottom: 30px;
  padding: 20px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logout-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.logout-btn:hover {
  background: #c0392b;
}

.dashboard-main {
  display: grid;
  gap: 30px;
}

/* Restaurant Profile Section */
.restaurant-profile {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-form {
  display: grid;
  gap: 15px;
}

.profile-form textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

/* Logo Upload Section */
.logo-section {
  margin: 25px 0;
  padding: 20px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
}

.logo-upload-container {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.logo-preview {
  width: 120px;
  height: 120px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  overflow: hidden;
  position: relative;
}

.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-placeholder {
  text-align: center;
  color: #999;
}

.logo-placeholder p {
  margin: 8px 0 0 0;
  font-size: 12px;
}

.logo-upload-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.upload-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.upload-btn:hover {
  background: #2980b9;
}

.remove-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.remove-btn:hover {
  background: #c0392b;
}

/* Brand Colors Section */
.brand-colors-section {
  margin: 25px 0;
  padding: 20px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
}

.brand-colors-section h3 {
  margin: 0 0 20px 0;
  color: #2c3e50;
  font-size: 18px;
}

.color-inputs {
  display: grid;
  gap: 15px;
  margin-bottom: 20px;
}

.color-input-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.color-input-group label {
  min-width: 120px;
  font-weight: 600;
  color: #2c3e50;
}

.color-picker-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.color-picker-container input[type="color"] {
  width: 50px;
  height: 40px;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
}

.color-picker-container input[type="text"] {
  width: 100px;
  padding: 8px 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-family: monospace;
  font-size: 14px;
}

.color-preview {
  padding: 20px;
  background: white;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.color-preview h4 {
  margin: 0 0 15px 0;
  color: #2c3e50;
}

.preview-elements {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.preview-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.preview-btn.primary {
  background: var(--primary-color, #27ae60);
  color: white;
}

.preview-btn.secondary {
  background: var(--secondary-color, #2c3e50);
  color: white;
}

.preview-text.accent {
  color: var(--accent-color, #3498db);
  font-weight: 600;
  font-size: 16px;
}

.save-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.save-btn:hover {
  background: #229954;
}

/* QR Code Section */
.qr-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.links-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.reservation-link {
  display: grid;
  gap: 10px;
}

.link-display {
  display: flex;
  gap: 10px;
}

.link-display input {
  flex: 1;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: #f8f9fa;
}

.copy-btn, .download-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.copy-btn:hover, .download-btn:hover {
  background: #2980b9;
}

.qr-code-container {
  text-align: center;
}

.qr-code-container h3 {
  margin-bottom: 15px;
  color: #2c3e50;
}

#qr-code {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.qr-placeholder {
  width: 200px;
  min-height: 200px;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f8f9fa;
}

.qr-instructions {
  width: 100%;
}

.qr-instructions h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 14px;
}

.qr-instructions p {
  color: #666;
  margin: 8px 0;
  font-size: 12px;
}

.qr-link-display {
  margin: 10px 0;
}

.qr-link-display input {
  width: 100%;
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 10px;
  background: white;
  cursor: pointer;
}

.qr-generator-link {
  display: inline-block;
  background: #3498db;
  color: white;
  padding: 6px 12px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 11px;
  margin-top: 8px;
  transition: background-color 0.3s;
}

.qr-generator-link:hover {
  background: #2980b9;
}

/* Reservations Section */
.reservations-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.reservations-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.refresh-btn {
  background: #f39c12;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.refresh-btn:hover {
  background: #e67e22;
}

#status-filter {
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}

.reservations-list {
  display: grid;
  gap: 15px;
}

.reservation-card {
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s ease;
}

.reservation-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.reservation-card.pending {
  border-left: 4px solid #f39c12;
}

.reservation-card.confirmed {
  border-left: 4px solid #27ae60;
}

.reservation-card.cancelled {
  border-left: 4px solid #e74c3c;
}

.reservation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.reservation-header h3 {
  margin: 0;
  color: #2c3e50;
}

.status-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

.status-badge.pending {
  background: #f39c12;
  color: white;
}

.status-badge.confirmed {
  background: #27ae60;
  color: white;
}

.status-badge.cancelled {
  background: #e74c3c;
  color: white;
}

.reservation-details {
  margin-bottom: 15px;
}

.reservation-details p {
  margin: 5px 0;
  color: #555;
}

.reservation-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.confirm-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.confirm-btn:hover:not(:disabled) {
  background: #229954;
}

.cancel-btn {
  background: #f39c12;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.cancel-btn:hover:not(:disabled) {
  background: #e67e22;
}

.delete-btn {
  background: #e74c3c;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.delete-btn:hover {
  background: #c0392b;
}

.confirm-btn:disabled,
.cancel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.loading, .no-reservations {
  text-align: center;
  padding: 40px;
  color: #7f8c8d;
  font-style: italic;
}

/* General page styles */
h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
}

h2 {
  color: #2c3e50;
  margin-bottom: 20px;
}

p {
  margin-bottom: 15px;
}

button {
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-1px);
}

/* Enhanced Reservation Page Styles */
body {
  background: #f8f9fa;
  min-height: 100vh;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* Beautiful Header Section */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #764ba2, #f093fb, #f5576c);
  background-size: 300% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

header h1 {
  color: #2c3e50;
  font-size: 2.8em;
  margin-bottom: 10px;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Restaurant Info Card */
.restaurant-info {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.restaurant-info h2 {
  color: #2c3e50;
  margin-bottom: 12px;
  font-size: 1.8em;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.restaurant-info p {
  margin: 6px 0;
  color: #555;
  font-size: 0.95em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.restaurant-info p:hover {
  color: #667eea;
}

.restaurant-info p strong {
  font-size: 1.1em;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Enhanced Form Styling */
main {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  opacity: 0.6;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #2c3e50;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}

.form-group label::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-1px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.6;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  appearance: none;
}

/* Input Icons */
.form-group.has-icon {
  position: relative;
}

.form-group.has-icon::before {
  content: attr(data-icon);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #667eea;
  z-index: 1;
  margin-top: 20px;
}

.form-group.has-icon input {
  padding-left: 50px;
}

/* Enhanced Submit Button */
#submit-btn {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

#submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

#submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

#submit-btn:hover:not(:disabled)::before {
  left: 100%;
}

#submit-btn:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

#submit-btn:disabled {
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 15px rgba(149, 165, 166, 0.2);
}

#submit-btn:disabled::before {
  display: none;
}

/* Loading state animation */
#submit-btn.loading {
  pointer-events: none;
}

#submit-btn.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Enhanced Success Message */
.success-message {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  animation: successSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #27ae60, #2ecc71, #58d68d);
  background-size: 300% 100%;
  animation: successGradient 2s ease-in-out infinite;
}

@keyframes successSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes successGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.success-message h3 {
  color: #27ae60;
  margin-bottom: 25px;
  font-size: 2.2em;
  font-weight: 700;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.success-message h3::before {
  content: '🎉';
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(-50%); }
  40% { transform: translateY(-70%); }
  60% { transform: translateY(-60%); }
}

.success-message p {
  color: #555;
  margin-bottom: 20px;
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.modern-secondary-btn {
  background-color: transparent;
  color: var(--primary-color, #667eea);
  border: 2px solid var(--primary-color, #667eea);
  padding: 14px 28px;
  border-radius: var(--border-radius-lg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.modern-secondary-btn:hover {
  background-color: var(--primary-color, #667eea);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.secondary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.secondary-btn:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(52, 152, 219, 0.4);
}

.secondary-btn:hover::before {
  left: 100%;
}

.reservation-footer {
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  color: #7f8c8d;
  font-size: 0.9em;
}

.reservation-footer strong {
  color: #2c3e50;
}

/* Loading animation */
#submit-loading {
  display: inline-block;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Logo loading spinner */
.logo-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 10px;
}

.loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.logo-loading p {
  margin: 0;
  color: #666;
  font-size: 12px;
  text-align: center;
}

/* Enhanced Operating Hours Section */
.operating-hours-info {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.operating-hours-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  opacity: 0.8;
}

.operating-hours-info h3 {
  color: #2c3e50;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.operating-hours-info ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.operating-hours-info li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.operating-hours-info li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.operating-hours-info li:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(3px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.12);
}

.operating-hours-info li:hover::before {
  opacity: 1;
}

.operating-hours-info li strong {
  color: #2c3e50;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.operating-hours-info li strong::before {
  content: '📅';
  font-size: 16px;
}

.operating-hours-info li span {
  color: #555;
  font-weight: 500;
  font-family: 'Courier New', monospace;
  background: rgba(102, 126, 234, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.operating-hours-info li span.closed {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

/* Operating Hours Section - Dark Theme (for dashboard) */
.operating-hours-section {
  background: #2c3e50;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  color: white;
}

.section-header-dark {
  padding: 30px 30px 20px 30px;
  border-bottom: 1px solid #34495e;
}

.section-header-dark h2 {
  color: white;
  font-size: 28px;
  margin: 0 0 10px 0;
  font-weight: 300;
}

.section-description-dark {
  color: #bdc3c7;
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
}

.hours-table-container {
  padding: 20px 30px 30px 30px;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.hours-table thead th {
  text-align: left;
  padding: 15px 20px;
  color: #bdc3c7;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #34495e;
}

.hours-table tbody tr {
  border-bottom: 1px solid #34495e;
  transition: background-color 0.2s;
}

.hours-table tbody tr:hover {
  background-color: #34495e;
}

.hours-table tbody tr[style*="display: none"] {
  display: none !important;
}

.hours-table tbody td {
  padding: 20px;
  vertical-align: middle;
}

.day-cell {
  color: white;
  font-weight: 500;
  font-size: 16px;
}

.time-cell {
  color: #bdc3c7;
  font-size: 16px;
}

.time-display {
  font-family: 'Courier New', monospace;
}

.time-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.time-inputs input[type="time"] {
  padding: 8px 12px;
  border: 1px solid #34495e;
  border-radius: 4px;
  background: #34495e;
  color: white;
  font-size: 14px;
  width: 120px;
}

.time-inputs input[type="time"]:focus {
  outline: none;
  border-color: #3498db;
}

.time-inputs span {
  color: #bdc3c7;
  font-weight: 500;
  margin: 0 5px;
}

.closed-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #bdc3c7;
  cursor: pointer;
  margin-left: 15px;
}

.closed-toggle input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.actions-cell {
  text-align: right;
  width: 120px;
}

.actions-column {
  width: 120px;
  text-align: right;
}

.icon-btn {
  background: none;
  border: none;
  color: #bdc3c7;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  margin-left: 5px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background-color: #34495e;
  color: white;
}

.edit-btn:hover {
  color: #3498db;
}

.copy-btn:hover {
  color: #f39c12;
}

.delete-btn:hover {
  color: #e74c3c;
}

.add-hours-btn {
  background: none;
  border: 1px solid #34495e;
  color: #bdc3c7;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  transition: all 0.2s;
}

.add-hours-btn:hover {
  border-color: #3498db;
  color: #3498db;
}

.add-hours-btn svg {
  width: 16px;
  height: 16px;
}

/* Special Hours Section */
.special-hours-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid #34495e;
}

.special-hours-section h3 {
  color: white;
  font-size: 24px;
  margin: 0 0 20px 0;
  font-weight: 300;
}

.special-hours-table-container {
  /* Same styling as regular hours table */
  display: inherit;
}

.special-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.special-hours-table thead th {
  text-align: left;
  padding: 15px 20px;
  color: #bdc3c7;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #34495e;
}

.special-hours-table tbody tr {
  border-bottom: 1px solid #34495e;
  transition: background-color 0.2s;
}

.special-hours-table tbody tr:hover {
  background-color: #34495e;
}

.special-hours-table tbody td {
  padding: 20px;
  vertical-align: middle;
  color: #bdc3c7;
}

.add-special-hours-btn {
  background: none;
  border: 1px solid #34495e;
  color: #bdc3c7;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  transition: all 0.2s;
}

.add-special-hours-btn:hover {
  border-color: #3498db;
  color: #3498db;
}

.add-special-hours-btn svg {
  width: 16px;
  height: 16px;
}

/* Integrations Section */
.integrations-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.integration-item {
  margin-bottom: 40px;
  padding: 25px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.integration-item:hover {
  border-color: #3498db;
}

.integration-item:last-child {
  margin-bottom: 0;
}

.integration-item h3 {
  color: #2c3e50;
  margin: 0 0 15px 0;
  font-size: 20px;
  font-weight: 600;
}

.integration-description {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.widget-code-container {
  position: relative;
  margin-bottom: 15px;
}

.widget-code-container textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  background: #f8f9fa;
  resize: vertical;
  min-height: 120px;
}

.widget-code-container textarea:focus {
  outline: none;
  border-color: #3498db;
}

.widget-code-container .copy-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 8px 12px;
  font-size: 12px;
}

.integration-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.preview-btn, .guide-btn, .refresh-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.preview-btn:hover, .guide-btn:hover, .refresh-btn:hover {
  background: #2980b9;
}

.guide-btn {
  background: #9b59b6;
}

.guide-btn:hover {
  background: #8e44ad;
}

.refresh-btn {
  background: #f39c12;
}

.refresh-btn:hover {
  background: #e67e22;
}

/* Widget Options Styling */
.widget-options {
  margin: 20px 0;
}

.widget-option-tabs {
  display: flex;
  border-bottom: 2px solid #f0f0f0;
  margin-bottom: 20px;
  gap: 5px;
}

.widget-tab {
  background: none;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  border-radius: 4px 4px 0 0;
}

.widget-tab:hover {
  background: #f8f9fa;
  color: #333;
}

.widget-tab.active {
  color: #3498db;
  border-bottom-color: #3498db;
  background: #f8f9fa;
}

.widget-option-content {
  position: relative;
}

.widget-option {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.widget-option.active {
  display: block;
}

.widget-option h4 {
  color: #2c3e50;
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.widget-option p {
  color: #666;
  margin: 0 0 15px 0;
  font-size: 14px;
  line-height: 1.5;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Integration Guides Section */
.integration-guides-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 30px;
}

.guide-content {
  margin-top: 20px;
}

.guide-content h3 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 22px;
}

.guide-steps {
  display: grid;
  gap: 25px;
}

.step {
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.step h4 {
  color: #2c3e50;
  margin: 0 0 10px 0;
  font-size: 16px;
  font-weight: 600;
}

.step p {
  color: #555;
  margin: 0 0 10px 0;
  line-height: 1.6;
}

.code-example {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 15px;
  border-radius: 6px;
  margin-top: 10px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  overflow-x: auto;
}

.code-example code {
  color: #ecf0f1;
  background: none;
  padding: 0;
}

/* QR Code in Integrations */
.integrations-section .qr-code-container {
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
}

.integrations-section #qr-code {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  min-height: 200px;
  align-items: center;
}

/* Table Management Section */
.table-management-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.section-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-label {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}

.section-description {
  margin-bottom: 20px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #3498db;
}

.section-description p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

.table-form {
  display: grid;
  gap: 25px;
}

.capacity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.capacity-item {
  display: grid;
  gap: 8px;
}

.capacity-item label {
  font-weight: 600;
  color: #2c3e50;
}

.capacity-item input {
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

.table-distribution {
  border-top: 2px solid #f0f0f0;
  padding-top: 20px;
}

.table-distribution h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.table-sizes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.table-size-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 6px;
}

.table-size-item label {
  flex: 1;
  font-weight: 500;
  color: #555;
}

.table-size-item input {
  width: 80px;
  padding: 8px;
  border: 2px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

/* Reservation Settings Section */
.reservation-settings-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.settings-form {
  display: grid;
  gap: 25px;
}

.setting-item {
  padding: 20px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.setting-item:hover {
  border-color: #3498db;
}

.setting-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.setting-header h3 {
  color: #2c3e50;
  margin: 0;
  font-size: 18px;
}

.setting-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Toggle Switch Styles */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #27ae60;
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.booking-limits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.booking-limits label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #2c3e50;
}

.booking-limits input {
  width: 100%;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

/* Enhanced Reservation Actions */
.reservation-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

.reschedule-btn {
  background: #9b59b6;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.reschedule-btn:hover {
  background: #8e44ad;
}

.decline-btn {
  background: #e67e22;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.decline-btn:hover {
  background: #d35400;
}

/* Auto-approve indicator */
.auto-approve-indicator {
  display: inline-block;
  padding: 4px 8px;
  background: #27ae60;
  color: white;
  border-radius: 12px;
  font-size: 11px;
  font-weight: bold;
  margin-left: 10px;
}

.auto-approve-indicator.disabled {
  background: #95a5a6;
}

/* Capacity warning */
.capacity-warning {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 12px;
  border-radius: 6px;
  margin: 10px 0;
  font-size: 14px;
}

.capacity-warning.error {
  background: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Beautiful Notification System */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.notification {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid;
  position: relative;
  overflow: hidden;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification.hide {
  transform: translateX(100%);
  opacity: 0;
}

.notification-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.notification-message {
  font-size: 13px;
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
}

.notification-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
  flex-shrink: 0;
  opacity: 0.6;
}

.notification-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  opacity: 1;
}

/* Notification Types */
.notification.error {
  border-left-color: #e74c3c;
}

.notification.error .notification-icon {
  color: #e74c3c;
}

.notification.error .notification-title {
  color: #c0392b;
}

.notification.error .notification-message {
  color: #e74c3c;
}

.notification.success {
  border-left-color: #27ae60;
}

.notification.success .notification-icon {
  color: #27ae60;
}

.notification.success .notification-title {
  color: #229954;
}

.notification.success .notification-message {
  color: #27ae60;
}

.notification.warning {
  border-left-color: #f39c12;
}

.notification.warning .notification-icon {
  color: #f39c12;
}

.notification.warning .notification-title {
  color: #e67e22;
}

.notification.warning .notification-message {
  color: #f39c12;
}

.notification.info {
  border-left-color: #3498db;
}

.notification.info .notification-icon {
  color: #3498db;
}

.notification.info .notification-title {
  color: #2980b9;
}

.notification.info .notification-message {
  color: #3498db;
}

/* Progress bar for auto-dismiss */
.notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: currentColor;
  opacity: 0.3;
  transform-origin: left;
  animation: notificationProgress 5s linear forwards;
}

@keyframes notificationProgress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

/* Mobile responsive for notifications */
@media (max-width: 768px) {
  .notification-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .notification {
    padding: 14px 16px;
  }
  
  .notification-title {
    font-size: 13px;
  }
  
  .notification-message {
    font-size: 12px;
  }
}

/* Mobile-First Dashboard Design */

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  color: #2c3e50;
  padding: 15px 20px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-bottom: 1px solid #e9ecef;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-title {
  font-size: 1.2em;
  font-weight: 600;
  margin: 0;
}

.mobile-menu-toggle {
  background: none;
  border: none;
  color: #2c3e50;
  font-size: 1.5em;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.mobile-menu-toggle:hover {
  background: rgba(44, 62, 80, 0.1);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  transition: left 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-items {
  padding: 20px 0;
}

.mobile-menu-item {
  display: block;
  padding: 15px 20px;
  color: #2c3e50;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s;
  cursor: pointer;
}

.mobile-menu-item:hover {
  background: #f8f9fa;
}

.mobile-menu-item.active {
  background: #e3f2fd;
  color: #1976d2;
  border-left: 4px solid #1976d2;
}

/* Mobile Dashboard Layout */
.mobile-dashboard {
  display: none;
  padding-top: 60px; /* Account for fixed mobile nav */
  min-height: 100vh;
  width: 100vw;
  overflow-x: hidden;
}

.mobile-dashboard-content {
  padding: 10px;
  max-width: 100vw;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile Dashboard Cards */
.mobile-overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-bottom: 25px;
}

.mobile-overview-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-overview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.mobile-overview-card-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.mobile-overview-card-number {
  font-size: 1.8em;
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 5px;
}

.mobile-overview-card-label {
  font-size: 0.9em;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Section Cards */
.mobile-section {
  background: white;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

.mobile-section-header {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 20px;
  border-bottom: 1px solid #dee2e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.mobile-section-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-section-toggle {
  background: none;
  border: none;
  color: #6c757d;
  font-size: 1.2em;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.mobile-section-content {
  padding: 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mobile-section-content.open {
  max-height: 1000px;
  padding: 20px;
}

/* Mobile Reservation Cards */
.mobile-reservation-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  border-left: 4px solid #ddd;
  position: relative;
  overflow: hidden;
}

.mobile-reservation-card.pending {
  border-left-color: #f39c12;
}

.mobile-reservation-card.confirmed {
  border-left-color: #27ae60;
}

.mobile-reservation-card.cancelled {
  border-left-color: #e74c3c;
}

.mobile-reservation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.mobile-reservation-name {
  font-size: 1.2em;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.mobile-reservation-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: bold;
  text-transform: uppercase;
}

.mobile-reservation-status.pending {
  background: #f39c12;
  color: white;
}

.mobile-reservation-status.confirmed {
  background: #27ae60;
  color: white;
}

.mobile-reservation-status.cancelled {
  background: #e74c3c;
  color: white;
}

.mobile-reservation-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.mobile-reservation-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-reservation-detail-label {
  font-size: 0.8em;
  color: #7f8c8d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-reservation-detail-value {
  font-size: 0.95em;
  color: #2c3e50;
  font-weight: 500;
}

.mobile-reservation-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-action-btn {
  flex: 1;
  min-width: 80px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-action-btn.confirm {
  background: #27ae60;
  color: white;
}

.mobile-action-btn.confirm:hover:not(:disabled) {
  background: #229954;
}

.mobile-action-btn.decline {
  background: #e67e22;
  color: white;
}

.mobile-action-btn.decline:hover:not(:disabled) {
  background: #d35400;
}

.mobile-action-btn.cancel {
  background: #f39c12;
  color: white;
}

.mobile-action-btn.cancel:hover:not(:disabled) {
  background: #e67e22;
}

.mobile-action-btn.delete {
  background: #e74c3c;
  color: white;
}

.mobile-action-btn.delete:hover {
  background: #c0392b;
}

.mobile-action-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Mobile Calendar */
.mobile-calendar {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.mobile-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mobile-calendar-nav {
  background: #3498db;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-calendar-nav:hover {
  background: #2980b9;
  transform: scale(1.1);
}

.mobile-calendar-title {
  font-size: 1.2em;
  font-weight: 600;
  color: #2c3e50;
  margin: 0;
}

.mobile-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
}

.mobile-calendar-day-header {
  background: #34495e;
  color: white;
  padding: 8px 4px;
  text-align: center;
  font-weight: 600;
  font-size: 11px;
  border-radius: 4px;
  text-transform: uppercase;
}

.mobile-calendar-day {
  background: white;
  min-height: 45px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.mobile-calendar-day:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-color: #3498db;
}

.mobile-calendar-day.today {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  font-weight: bold;
}

.mobile-calendar-day.has-reservations {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
}

.mobile-calendar-day.many-reservations {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.mobile-calendar-day-number {
  font-size: 14px;
  font-weight: 600;
}

.mobile-calendar-day-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: bold;
}

/* Floating Action Button */
.mobile-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  transition: all 0.3s ease;
  z-index: 999;
}

.mobile-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.mobile-fab:active {
  transform: scale(0.95);
}

/* Mobile Forms */
.mobile-form {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.mobile-form-group {
  margin-bottom: 20px;
}

.mobile-form-label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  font-size: 14px;
}

.mobile-form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 16px; /* Prevents zoom on iOS */
  transition: border-color 0.3s;
  background: white;
}

.mobile-form-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.mobile-form-select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  background: white;
  cursor: pointer;
}

.mobile-form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  min-height: 100px;
  resize: vertical;
  font-family: inherit;
}

.mobile-form-button {
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-form-button:hover {
  background: linear-gradient(135deg, #5a6fd8, #6a4190);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.mobile-form-button:active {
  transform: translateY(0);
}

/* Mobile Responsive Breakpoints */
@media (max-width: 768px) {
  /* Hide desktop dashboard, show mobile */
  .dashboard-main {
    display: none !important;
  }
  
  .mobile-nav {
    display: block !important;
  }
  
  .mobile-dashboard {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1;
  }
  
  /* Container adjustments */
  .container {
    padding: 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
    margin: 0 !important;
  }
  
  /* Header mobile styling */
  .dashboard-header {
    display: none !important; /* Hide desktop header on mobile */
  }
  
  /* Mobile-specific overrides */
  .reservations-section,
  .calendar-section,
  .collapsible-sections {
    display: none !important; /* Hide desktop sections on mobile */
  }
  
  /* Form adjustments */
  .form-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .form-group label {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 10px;
  }
  
  /* Touch-friendly improvements */
  .mobile-action-btn {
    min-height: 44px; /* Minimum touch target size */
  }
  
  .mobile-calendar-day {
    min-height: 44px;
  }
  
  .mobile-menu-item {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  /* Notification adjustments */
  .notification-container {
    top: 80px; /* Account for mobile nav */
    left: 10px;
    right: 10px;
    max-width: none;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .container {
    padding: 10px;
  }
  
  header {
    padding: 25px 15px;
    border-radius: 15px;
  }
  
  header h1 {
    font-size: 1.9em;
  }
  
  .restaurant-info,
  .operating-hours-info,
  main {
    padding: 20px 15px;
    border-radius: 15px;
  }
  
  .restaurant-info h2 {
    font-size: 1.6em;
  }
  
  .operating-hours-info h3 {
    font-size: 1.3em;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
  }
  
  #submit-btn {
    padding: 14px 18px;
    font-size: 15px;
  }
  
  .success-message {
    padding: 30px 20px;
  }
  
  .success-message h3 {
    font-size: 1.6em;
  }
  
  .success-message h3::before {
    left: -30px;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .container {
    padding: 5px;
    max-width: 100vw;
  }
  
  .mobile-dashboard {
    padding-top: 50px;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
  }
  
  .mobile-dashboard-content {
    padding: 5px;
    width: 100vw;
    max-width: 100vw;
  }
  
  .mobile-nav {
    padding: 10px 15px;
  }
  
  .mobile-overview-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
  }
  
  .mobile-overview-card {
    padding: 15px;
  }
  
  .mobile-section {
    margin-bottom: 15px;
  }
  
  .mobile-section-header {
    padding: 15px;
  }
  
  .mobile-section-content {
    padding: 15px;
  }
  
  .mobile-calendar {
    padding: 15px;
  }
  
  .mobile-form {
    padding: 15px;
  }
  
  header,
  .restaurant-info,
  .operating-hours-info,
  main {
    margin-bottom: 15px;
  }
  
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .operating-hours-info li {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Profile Settings Section */
.profile-settings-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.profile-settings-form {
  display: grid;
  gap: 25px;
}

.profile-settings-form .setting-item {
  padding: 20px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  transition: border-color 0.3s;
}

.profile-settings-form .setting-item:hover {
  border-color: #3498db;
}

.profile-settings-form .setting-header {
  margin-bottom: 10px;
}

.profile-settings-form .setting-header h3 {
  color: #2c3e50;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.profile-settings-form .setting-description {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 15px 0;
}

.email-change-form,
.password-change-form {
  display: grid;
  gap: 15px;
}

.email-change-form label,
.password-change-form label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
}

.email-change-form input,
.password-change-form input {
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.email-change-form input:focus,
.password-change-form input:focus {
  outline: none;
  border-color: #3498db;
}

.email-change-form input[readonly] {
  background: #f8f9fa;
  color: #666;
}

.change-btn {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s;
  justify-self: start;
}

.change-btn:hover {
  background: #2980b9;
}

/* Verification Modal Styles */
.verification-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease-out;
}

.verification-modal {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease-out;
}

.verification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 20px 30px;
  border-bottom: 2px solid #f0f0f0;
}

.verification-header h3 {
  color: #2c3e50;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.close-btn:hover {
  background: #f0f0f0;
  color: #666;
}

.verification-content {
  padding: 30px;
}

.verification-content p {
  color: #666;
  line-height: 1.6;
  margin: 0 0 25px 0;
}

.code-input-container {
  margin-bottom: 25px;
}

.code-input-container label {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.code-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 24px;
  font-family: 'Courier New', monospace;
  text-align: center;
  letter-spacing: 8px;
  transition: all 0.3s;
  background: #f8f9fa;
}

.code-input:focus {
  outline: none;
  border-color: #3498db;
  background: white;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.verification-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.verify-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  flex: 1;
  min-width: 120px;
}

.verify-btn:hover {
  background: #229954;
  transform: translateY(-1px);
}

.resend-btn {
  background: #f39c12;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  flex: 1;
  min-width: 120px;
}

.resend-btn:hover {
  background: #e67e22;
  transform: translateY(-1px);
}

.cancel-btn {
  background: #95a5a6;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  flex: 1;
  min-width: 120px;
}

.cancel-btn:hover {
  background: #7f8c8d;
  transform: translateY(-1px);
}

.verification-status {
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.verification-status.loading {
  background: #e3f2fd;
  color: #1976d2;
  border: 1px solid #bbdefb;
}

.verification-status.error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.verification-status.success {
  background: #e8f5e8;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

/* Verification Modal Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile responsive for verification modal */
@media (max-width: 768px) {
  .verification-modal {
    width: 95%;
    margin: 20px;
  }
  
  .verification-header {
    padding: 20px 20px 15px 20px;
  }
  
  .verification-header h3 {
    font-size: 18px;
  }
  
  .verification-content {
    padding: 20px;
  }
  
  .code-input {
    font-size: 20px;
    letter-spacing: 6px;
    padding: 12px;
  }
  
  .verification-actions {
    flex-direction: column;
  }
  
  .verify-btn,
  .resend-btn,
  .cancel-btn {
    flex: none;
    width: 100%;
  }
}

/* Loading states for buttons */
.verify-btn:disabled,
.resend-btn:disabled,
.change-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.verify-btn:disabled:hover,
.resend-btn:disabled:hover,
.change-btn:disabled:hover {
  transform: none;
}

/* Enhanced form validation styles */
.form-error {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

.input-error {
  border-color: #e74c3c !important;
  background-color: #fdf2f2;
}

.input-success {
  border-color: #27ae60 !important;
  background-color: #f2fdf2;
}

/* Security notice styling */
.security-notice {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 6px;
  padding: 15px;
  margin: 20px 0;
  color: #856404;
  font-size: 14px;
  line-height: 1.5;
}

.security-notice strong {
  color: #533f03;
}

/* Profile settings responsive */
@media (max-width: 768px) {
  .profile-settings-form .setting-item {
    padding: 15px;
  }
  
  .email-change-form,
  .password-change-form {
    gap: 12px;
  }
  
  .change-btn {
    width: 100%;
    justify-self: stretch;
  }
}

/* Modern Dashboard Styles */
.dashboard-body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Dashboard Navigation */
.dashboard-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all var(--transition-normal);
}

.dashboard-nav .nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.dashboard-nav .nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dashboard-nav .nav-subtitle {
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 16px;
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.user-email {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.user-role {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--gray-600);
}

.nav-btn:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--error-color);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
}

/* Modern Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 360px;
  height: 100vh;
  background: white;
  z-index: 1002;
  transition: right var(--transition-normal);
  box-shadow: var(--shadow-2xl);
  overflow-y: auto;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 24px 24px;
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.menu-header-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.menu-subtitle {
  font-size: 12px;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-menu-content {
  padding: 24px 0;
}

.menu-section {
  margin-bottom: 32px;
}

.menu-section-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 24px 12px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
  background: var(--gray-50);
  color: var(--primary-color);
}

.mobile-menu-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
}

.menu-item-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
}

.menu-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.menu-item-title {
  font-size: 16px;
  font-weight: 500;
}

.menu-item-subtitle {
  font-size: 12px;
  color: var(--gray-500);
}

.menu-item-badge {
  background: var(--error-color);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.logout-item {
  color: var(--error-color) !important;
  cursor: pointer;
}

.logout-item:hover {
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Dashboard Main Content */
.dashboard-main {
  padding-top: 80px;
  min-height: 100vh;
}

.dashboard-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 24px;
}

.dashboard-section {
  display: none;
}

.dashboard-section.active {
  display: block;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.stat-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card.primary::before {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card.warning::before {
  background: linear-gradient(90deg, var(--warning-color), #f97316);
}

.stat-card.success::before {
  background: linear-gradient(90deg, var(--accent-color), #059669);
}

.stat-card.info::before {
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.stat-card.warning .stat-icon {
  background: linear-gradient(135deg, var(--warning-color), #f97316);
}

.stat-card.success .stat-icon {
  background: linear-gradient(135deg, var(--accent-color), #059669);
}

.stat-card.info .stat-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 12px;
}

.stat-trend.positive {
  color: var(--accent-color);
}

.stat-trend.negative {
  color: var(--error-color);
}

.stat-action {
  margin-top: 12px;
}

.action-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.stat-progress {
  margin-top: 12px;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), #059669);
  border-radius: 3px;
  transition: width var(--transition-normal);
}

.progress-text {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

/* Section Headers */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.refresh-btn {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--gray-600);
}

.refresh-btn:hover {
  background: var(--gray-50);
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  background: white;
  font-size: 14px;
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Quick Actions */
.quick-actions-section {
  margin-bottom: 40px;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.quick-action-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.quick-action-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.action-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.action-content {
  flex: 1;
}

.action-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.action-subtitle {
  font-size: 12px;
  color: var(--gray-500);
}

/* Reservations Container */
.reservations-container {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-text {
  color: var(--gray-500);
  font-size: 14px;
}

/* Calendar Section */
.calendar-section {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar-nav-btn {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.calendar-nav-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.calendar-title {
  flex: 1;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.calendar-container {
  margin-top: 24px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--gray-100);
  border-radius: var(--border-radius-md);
  padding: 16px;
}

.calendar-day-header {
  background: var(--gray-800);
  color: white;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-calendar-day {
  background: white;
  min-height: 60px;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.mobile-calendar-day:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.mobile-calendar-day.today {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
}

.mobile-calendar-day.has-reservations {
  background: linear-gradient(135deg, var(--warning-color), #f97316);
  color: white;
}

.mobile-calendar-day.many-reservations {
  background: linear-gradient(135deg, var(--error-color), #dc2626);
  color: white;
}

.mobile-calendar-day-number {
  font-size: 16px;
  font-weight: 600;
}

.mobile-calendar-day-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--gray-800);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot.no-reservations {
  background: var(--gray-200);
}

.legend-dot.has-reservations {
  background: linear-gradient(135deg, var(--warning-color), #f97316);
}

.legend-dot.many-reservations {
  background: linear-gradient(135deg, var(--error-color), #dc2626);
}

/* Form Sections */
.form-section {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.form-card {
  padding: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 14px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  font-size: 16px;
  transition: all var(--transition-fast);
  background: white;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.save-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.save-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Settings Cards */
.settings-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
}

.setting-card {
  background: var(--gray-50);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
}

.setting-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.setting-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 8px 0;
}

.setting-info p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.5;
}

.setting-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 20px 0;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
  flex-shrink: 0;
}

.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: var(--gray-300);
  transition: 0.4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* Integration Cards */
.integration-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
}

.integration-card {
  background: var(--gray-50);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  border: 1px solid var(--gray-200);
}

.integration-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.integration-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.integration-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 4px 0;
}

.integration-info p {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
}

.link-input-group {
  display: flex;
  gap: 12px;
}

.link-input-group .form-input {
  flex: 1;
}

.copy-btn {
  width: 44px;
  height: 44px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  flex-shrink: 0;
}

.copy-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.copy-btn-full {
  width: 100%;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--transition-normal);
  font-weight: 500;
  margin-top: 12px;
}

.copy-btn-full:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  z-index: 999;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-xl);
}

.fab:active {
  transform: scale(0.95);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: white;
  border-radius: var(--border-radius-xl);
  box-shadow: var(--shadow-2xl);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-content {
  padding: 32px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-reservations {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Toast Notifications */
.toast {
  position: fixed;
  top: 100px;
  right: 24px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  transform: translateX(100%);
  opacity: 0;
  transition: all var(--transition-normal);
  border-left: 4px solid var(--accent-color);
  min-width: 300px;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.error {
  border-left-color: var(--error-color);
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon.success {
  background: var(--accent-color);
  color: white;
}

.toast-icon.error {
  background: var(--error-color);
  color: white;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.toast-message {
  font-size: 14px;
  color: var(--gray-600);
}

/* Mobile Responsive Dashboard */
@media (max-width: 768px) {
  .dashboard-nav .nav-container {
    padding: 0 16px;
    height: 70px;
  }
  
  .nav-user-info {
    display: none;
  }
  
  .dashboard-main {
    padding-top: 70px;
  }
  
  .dashboard-container {
    padding: 20px 16px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
  }
  
  .stat-card {
    padding: 20px;
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .stat-icon {
    width: 48px;
    height: 48px;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .quick-action-card {
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .action-icon {
    width: 40px;
    height: 40px;
  }
  
  .section-header h2 {
    font-size: 20px;
  }
  
  .calendar-grid {
    padding: 12px;
  }
  
  .mobile-calendar-day {
    min-height: 50px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .mobile-menu {
    width: 100%;
    right: -100%;
  }
  
  .fab {
    bottom: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
  }
  
  .toast {
    right: 16px;
    left: 16px;
    min-width: auto;
  }
}

/* Enhanced Calendar Styles */
.calendar-section {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-200);
  margin-bottom: 32px;
}

/* Calendar Preview Tooltip Styles */
.reservation-preview-tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 16px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  max-width: 300px;
  z-index: 10000;
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: tooltipFadeIn 0.2s ease-out;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.preview-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.preview-header strong {
  color: #fff;
  font-size: 15px;
}

.preview-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  font-size: 13px;
}

.preview-time {
  background: var(--primary-color);
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 11px;
  min-width: 50px;
  text-align: center;
}

.preview-name {
  font-weight: 500;
  flex: 1;
}

.preview-guests {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.preview-more {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-style: italic;
}

/* Enhanced Calendar Day States */
.calendar-day.past-date {
  background: #f8f9fa;
  color: #adb5bd;
  cursor: default;
}

.calendar-day.past-date:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.calendar-day.moderate-reservations {
  background: linear-gradient(135deg, #fd7e14, #e8590c);
  color: white;
}

.mobile-calendar-day.past-date {
  background: #f8f9fa;
  color: #adb5bd;
  cursor: default;
}

.mobile-calendar-day.past-date:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.mobile-calendar-day.moderate-reservations {
  background: linear-gradient(135deg, #fd7e14, #e8590c);
  color: white;
}

/* Touch-friendly calendar interactions */
.mobile-calendar-day.touch-active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* Calendar refresh indicator */
.calendar-last-refresh {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 11px;
  color: var(--gray-500);
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
}

/* Enhanced calendar legend */
.calendar-legend .legend-item {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}

.calendar-legend .legend-item:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Calendar keyboard navigation indicators */
.calendar-grid:focus-within .calendar-day {
  outline: 2px solid transparent;
}

.calendar-day:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  z-index: 1;
}

/* Real-time update animations */
@keyframes calendarUpdate {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.calendar-day.updated {
  animation: calendarUpdate 0.3s ease-out;
}

.mobile-calendar-day.updated {
  animation: calendarUpdate 0.3s ease-out;
}

/* Calendar loading states */
.calendar-loading {
  position: relative;
  overflow: hidden;
}

.calendar-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: calendarShimmer 1.5s infinite;
}

@keyframes calendarShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Enhanced mobile calendar styles */
@media (max-width: 768px) {
  .reservation-preview-tooltip {
    position: fixed;
    left: 16px !important;
    right: 16px !important;
    transform: none !important;
    max-width: none;
    bottom: 100px;
    top: auto;
  }
  
  .preview-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 0;
  }
  
  .preview-time {
    align-self: flex-start;
  }
}

/* Enhanced Modal Reservation Card Styles */
.modal-reservation-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gray-300);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.modal-reservation-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.modal-reservation-card.pending {
  border-left-color: #f39c12;
  background: linear-gradient(135deg, rgba(243, 156, 18, 0.05), rgba(243, 156, 18, 0.02));
}

.modal-reservation-card.confirmed {
  border-left-color: #27ae60;
  background: linear-gradient(135deg, rgba(39, 174, 96, 0.05), rgba(39, 174, 96, 0.02));
}

.modal-reservation-card.cancelled {
  border-left-color: #e74c3c;
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.05), rgba(231, 76, 60, 0.02));
}

.modal-reservation-card.declined {
  border-left-color: #e67e22;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.05), rgba(230, 126, 34, 0.02));
}

.modal-reservation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 16px;
}

.reservation-main-info {
  flex: 1;
}

.reservation-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 8px 0;
  line-height: 1.2;
}

.reservation-time-guests {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.reservation-time,
.reservation-guests {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--gray-600);
  font-weight: 500;
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: 20px;
}

.modal-reservation-details {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  min-width: 80px;
  flex-shrink: 0;
}

.detail-value {
  font-size: 14px;
  color: var(--gray-800);
  flex: 1;
  word-break: break-word;
}

.modal-reservation-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--gray-200);
}

.action-btn {
  padding: 8px 16px;
  border: none;
  border-radius: var(--border-radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 80px;
  justify-content: center;
}

.action-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.confirm-btn {
  background: #27ae60;
  color: white;
}

.confirm-btn:hover {
  background: #229954;
}

.decline-btn {
  background: #e67e22;
  color: white;
}

.decline-btn:hover {
  background: #d35400;
}

.cancel-btn {
  background: #f39c12;
  color: white;
}

.cancel-btn:hover {
  background: #e67e22;
}

.reschedule-btn {
  background: #3498db;
  color: white;
}

.reschedule-btn:hover {
  background: #2980b9;
}

/* No Reservations State */
.no-reservations {
  text-align: center;
  padding: 60px 40px;
  color: var(--gray-600);
}

.no-reservations-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.7;
}

.no-reservations h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0 0 12px 0;
}

.no-reservations p {
  font-size: 16px;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

.primary-cta {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: var(--border-radius-lg);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.primary-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mobile responsive for modal cards */
@media (max-width: 768px) {
  .modal-reservation-card {
    padding: 20px;
    margin-bottom: 12px;
  }
  
  .modal-reservation-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .reservation-name {
    font-size: 18px;
  }
  
  .reservation-time-guests {
    gap: 12px;
  }
  
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 6px 0;
  }
  
  .detail-label {
    min-width: auto;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .detail-value {
    font-size: 14px;
    padding-left: 0;
  }
  
  .modal-reservation-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .action-btn {
    width: 100%;
    min-width: auto;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .no-reservations {
    padding: 40px 20px;
  }
  
  .no-reservations-icon {
    font-size: 36px;
  }
  
  .no-reservations h3 {
    font-size: 20px;
  }
  
  .no-reservations p {
    font-size: 14px;
  }
  
  .primary-cta {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }
}

.calendar-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.calendar-nav-btn {
  background: #3498db;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.calendar-nav-btn:hover {
  background: #2980b9;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.calendar-title {
  color: #2c3e50;
  font-size: 1.3em;
  font-weight: 600;
  margin: 0;
  flex: 1;
  text-align: center;
}

.calendar-container {
  margin: 25px 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
}

.calendar-day-header {
  background: #34495e;
  color: white;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calendar-day {
  background: white;
  min-height: 60px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.calendar-day:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: #3498db;
}

.calendar-day.empty {
  background: transparent;
  cursor: default;
}

.calendar-day.empty:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.calendar-day.today {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
}

.calendar-day.today:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
}

.calendar-day.no-reservations {
  background: #ecf0f1;
  color: #7f8c8d;
}

.calendar-day.few-reservations {
  background: linear-gradient(135deg, #f39c12, #e67e22);
  color: white;
}

.calendar-day.many-reservations {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.day-number {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.reservation-badge {
  background: rgba(255, 255, 255, 0.9);
  color: #2c3e50;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  position: absolute;
  top: 4px;
  right: 4px;
}

.calendar-day.today .reservation-badge {
  background: rgba(255, 255, 255, 0.95);
}

.calendar-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #555;
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.legend-dot.no-reservations {
  background: #ecf0f1;
}

.legend-dot.few-reservations {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.legend-dot.many-reservations {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

/* Calendar Modal Styles */
.calendar-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.calendar-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.calendar-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 2px solid #f0f0f0;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.calendar-modal-header h3 {
  margin: 0;
  font-size: 1.4em;
  font-weight: 600;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.calendar-modal-content {
  padding: 30px;
  max-height: 60vh;
  overflow-y: auto;
}

.modal-reservations {
  display: grid;
  gap: 15px;
}

.modal-reservation-card {
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
}

.modal-reservation-card:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.modal-reservation-card.pending {
  border-left: 4px solid #f39c12;
}

.modal-reservation-card.confirmed {
  border-left: 4px solid #27ae60;
}

.modal-reservation-card.cancelled {
  border-left: 4px solid #e74c3c;
}

.modal-reservation-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.modal-reservation-header h4 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.2em;
}

.modal-reservation-details {
  margin-bottom: 15px;
}

.modal-reservation-details p {
  margin: 8px 0;
  color: #555;
  font-size: 14px;
}

.modal-reservation-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Collapsible Sections */
.collapsible-sections {
  display: grid;
  gap: 20px;
}

.collapsible-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: all 0.3s ease;
}

.section-toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-bottom: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.section-toggle-header:hover {
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
}

.section-toggle-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.3em;
  font-weight: 600;
}

.toggle-icon {
  transition: transform 0.3s ease;
  color: #6c757d;
}

.section-content {
  padding: 25px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.section-content.collapsed {
  max-height: 0;
  padding: 0 25px;
  opacity: 0;
}

/* Enhanced Mobile Styles */
@media (max-width: 768px) {
  .dashboard-main {
    gap: 20px;
  }
  
  .calendar-section,
  .reservations-section {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
  }
  
  .section-header-mobile h2 {
    font-size: 1.2em;
  }
  
  .calendar-controls {
    gap: 10px;
  }
  
  .calendar-nav-btn {
    width: 35px;
    height: 35px;
  }
  
  .calendar-title {
    font-size: 1.1em;
  }
  
  .calendar-grid {
    gap: 1px;
    padding: 8px;
  }
  
  .calendar-day {
    min-height: 50px;
  }
  
  .calendar-day-header {
    padding: 8px 4px;
    font-size: 11px;
  }
  
  .day-number {
    font-size: 14px;
  }
  
  .reservation-badge {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: 2px;
    right: 2px;
  }
  
  .calendar-legend {
    gap: 15px;
    font-size: 13px;
  }
  
  .legend-dot {
    width: 14px;
    height: 14px;
  }
  
  .calendar-modal {
    margin: 10px;
    max-height: 90vh;
  }
  
  .calendar-modal-header {
    padding: 20px;
  }
  
  .calendar-modal-header h3 {
    font-size: 1.2em;
  }
  
  .calendar-modal-content {
    padding: 20px;
  }
  
  .modal-reservation-card {
    padding: 15px;
  }
  
  .modal-reservation-actions {
    flex-direction: column;
  }
  
  .collapsible-section {
    border-radius: 8px;
  }
  
  .section-toggle-header {
    padding: 15px 20px;
  }
  
  .section-toggle-header h2 {
    font-size: 1.1em;
  }
  
  .section-content {
    padding: 20px;
  }
  
  .reservations-controls {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }
  
  .mobile-select {
    width: 100%;
  }
}

/* Touch-friendly improvements */
@media (max-width: 768px) {
  .calendar-day {
    min-height: 55px;
  }
  
  .mobile-btn {
    min-height: 44px;
    padding: 12px 16px;
  }
  
  .calendar-nav-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .modal-close-btn {
    min-width: 44px;
    min-height: 44px;
  }
  
  .section-toggle-header {
    min-height: 60px;
  }
}

/* Smooth animations for mobile */
@media (max-width: 768px) {
  .calendar-day:active {
    transform: scale(0.95);
  }
  
  .mobile-btn:active {
    transform: scale(0.95);
  }
  
  .calendar-nav-btn:active {
    transform: scale(0.9);
  }
  
  .section-toggle-header:active {
    background: linear-gradient(135deg, #dee2e6, #ced4da);
  }
}

/* ============================================================================
   NEW AUTHENTICATION MODALS - MOBILE-FIRST DESIGN
   ============================================================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex !important;
  opacity: 1;
}

.auth-modal {
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 400px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: all 0.3s ease;
  display: none;
  position: relative;
  z-index: 10001;
}

.auth-modal.active {
  display: block !important;
  transform: scale(1) translateY(0);
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
  padding: 12px;
  background: var(--gray-50);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
}

.strength-bar {
  width: 100%;
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.strength-fill {
  height: 100%;
  border-radius: 3px;
  transition: all 0.3s ease;
  width: 0%;
}

.strength-fill.weak {
  background: #ef4444;
  width: 25%;
}

.strength-fill.fair {
  background: #f59e0b;
  width: 50%;
}

.strength-fill.good {
  background: #3b82f6;
  width: 75%;
}

.strength-fill.strong {
  background: #10b981;
  width: 100%;
}

.strength-text {
  font-size: 12px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.strength-label {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.strength-label.weak {
  color: #ef4444;
}

.strength-label.fair {
  color: #f59e0b;
}

.strength-label.good {
  color: #3b82f6;
}

.strength-label.strong {
  color: #10b981;
}

.strength-requirements {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 4px;
}

.strength-requirements ul {
  margin: 0;
  padding-left: 16px;
  list-style: none;
}

.strength-requirements li {
  position: relative;
  margin-bottom: 2px;
}

.strength-requirements li::before {
  content: '○';
  position: absolute;
  left: -12px;
  color: var(--gray-400);
  font-size: 10px;
}

.strength-requirements li.met::before {
  content: '●';
  color: var(--accent-color);
}

.modal-header {
  padding: 2rem 2rem 1rem 2rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6b7280;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal-content {
  padding: 2rem;
}

.modal-description {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #374151;
  font-size: 0.875rem;
}

.form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: white;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group input::placeholder {
  color: #9ca3af;
}

.auth-submit-btn {
  width: 100%;
  padding: 0.875rem 1rem;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.auth-submit-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-links {
  display: flex;
  justify-content: space-between;
  margin: 1rem 0;
  gap: 1rem;
}

.link-btn {
  background: none;
  border: none;
  color: #6366f1;
  font-size: 0.875rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.link-btn:hover {
  color: #4f46e5;
}

.auth-divider {
  display: flex;
  align-items: center;
  margin: 1.5rem 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

.auth-divider span {
  padding: 0 1rem;
}

.google-signin-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: #374151;
  margin-bottom: 1rem;
}

.google-signin-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-switch {
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}

.switch-btn {
  background: none;
  border: none;
  color: #6366f1;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  margin-left: 0.25rem;
}

.switch-btn:hover {
  color: #4f46e5;
}

.verification-help {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #0369a1;
}

/* Notification System */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 10001;
  max-width: 400px;
  border-left: 4px solid;
}

.notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-error {
  border-left-color: #ef4444;
}

.notification-success {
  border-left-color: #10b981;
}

.notification-info {
  border-left-color: #3b82f6;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.notification-icon {
  font-size: 1.25rem;
}

.notification-message {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.125rem;
  cursor: pointer;
  opacity: 0.6;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.notification-close:hover {
  opacity: 1;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 0.5rem;
    align-items: flex-start;
    padding-top: 2rem;
  }
  
  .auth-modal {
    max-width: 100%;
    margin: 0;
    border-radius: 12px;
    max-height: calc(100vh - 4rem);
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  
  .modal-content {
    padding: 1.5rem;
  }
  
  .form-group input {
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .auth-submit-btn {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
    transform: translateY(-100%);
  }
  
  .notification.show {
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 0;
    align-items: stretch;
  }
  
  .auth-modal {
    border-radius: 0;
    height: 100vh;
    max-height: 100vh;
  }
  
  .modal-header h2 {
    font-size: 1.25rem;
  }
  
  .auth-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .link-btn {
    text-align: center;
    padding: 0.5rem;
  }
}

/* Focus styles for accessibility */
.auth-modal input:focus,
.auth-modal button:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* Loading states */
.auth-modal .loading {
  pointer-events: none;
  opacity: 0.7;
}

/* Error states */
.form-group.error input {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group .error-message {
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* Success states */
.form-group.success input {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* ============================================================================
   LEGACY AUTHENTICATION MODALS (KEEP FOR COMPATIBILITY)
   ============================================================================ */

/* Notification Panel */
.notification-panel {
  position: fixed;
  top: 80px;
  right: 20px;
  width: 380px;
  max-height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1500;
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.notification-panel.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.notification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-200);
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.notification-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.notification-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark-all-read-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mark-all-read-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.notification-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.notification-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.notification-content {
  max-height: 420px;
  overflow-y: auto;
}

.notifications-list {
  padding: 0;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-100);
  transition: all var(--transition-fast);
  cursor: pointer;
  position: relative;
}

.notification-item:hover {
  background: var(--gray-50);
}

.notification-item:last-child {
  border-bottom: none;
}

.notification-item.unread {
  background: rgba(102, 126, 234, 0.05);
  border-left: 4px solid var(--primary-color);
}

.notification-item.unread::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 8px;
  width: 8px;
  height: 8px;
  background: var(--primary-color);
  border-radius: 50%;
}

.notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-icon.new-reservation {
  background: linear-gradient(135deg, var(--accent-color), #059669);
  color: white;
}

.notification-icon.status-change {
  background: linear-gradient(135deg, var(--warning-color), #f97316);
  color: white;
}

.notification-icon.reminder {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: white;
}

.notification-icon.system {
  background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
  color: white;
}

.notification-body {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.notification-message {
  font-size: 13px;
  color: var(--gray-600);
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.notification-time {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notification-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.notification-action-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.notification-action-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.notification-action-btn.secondary {
  background: var(--gray-500);
}

.notification-action-btn.secondary:hover {
  background: var(--gray-600);
}

.no-notifications {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  text-align: center;
}

.no-notifications-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.6;
}

.no-notifications h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-700);
  margin: 0 0 8px 0;
}

.no-notifications p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
  max-width: 280px;
}

/* Notification Panel Mobile Responsive */
@media (max-width: 768px) {
  .notification-panel {
    top: 70px;
    right: 10px;
    left: 10px;
    width: auto;
    max-height: 60vh;
  }
  
  .notification-header {
    padding: 16px 20px;
  }
  
  .notification-header h3 {
    font-size: 16px;
  }
  
  .notification-item {
    padding: 14px 20px;
    gap: 12px;
  }
  
  .notification-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .notification-title {
    font-size: 13px;
  }
  
  .notification-message {
    font-size: 12px;
  }
  
  .notification-actions {
    flex-direction: column;
    gap: 6px;
  }
  
  .notification-action-btn {
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .no-notifications {
    padding: 40px 20px;
  }
  
  .no-notifications-icon {
    font-size: 36px;
  }
  
  .no-notifications h3 {
    font-size: 16px;
  }
  
  .no-notifications p {
    font-size: 13px;
  }
}

/* Notification Panel Animation */
@keyframes notificationSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes notificationSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

.notification-panel.opening {
  animation: notificationSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.notification-panel.closing {
  animation: notificationSlideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Notification Badge Pulse Animation */
@keyframes badgePulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.notification-badge.pulse {
  animation: badgePulse 2s infinite;
}

/* Notification Item Entrance Animation */
@keyframes notificationItemSlide {
  from {
    transform: translateX(20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.notification-item.new-item {
  animation: notificationItemSlide 0.3s ease-out;
}

/* Custom Scrollbar for Notification Panel */
.notification-content::-webkit-scrollbar {
  width: 6px;
}

.notification-content::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: 3px;
}

.notification-content::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 3px;
}

.notification-content::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Notification Menu Dropdown */
.notification-menu {
  position: relative;
}

.notification-menu-btn {
  background: none;
  border: none;
  color: var(--gray-400);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-menu-btn:hover {
  background: var(--gray-100);
  color: var(--gray-600);
}

.notification-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 160px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-fast);
}

.notification-menu-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-menu-dropdown button {
  width: 100%;
  background: none;
  border: none;
  padding: 12px 16px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-700);
}

.notification-menu-dropdown button:hover {
  background: var(--gray-50);
  color: var(--gray-900);
}

.notification-menu-dropdown button:first-child {
  border-radius: var(--border-radius-md) var(--border-radius-md) 0 0;
}

.notification-menu-dropdown button:last-child {
  border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
}

/* Delete All Notifications Button */
.delete-all-notifications-btn {
  background: var(--error-color);
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.delete-all-notifications-btn:hover {
  background: #dc2626;
  transform: translateY(-1px);
}

/* Notification Date Groups */
.notification-date-group {
  margin-bottom: 16px;
}

.notification-date-header {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 24px 4px;
  margin: 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Priority-based notification styling */
.notification-item.priority-high {
  border-left-color: var(--error-color);
}

.notification-item.priority-medium {
  border-left-color: var(--warning-color);
}

.notification-item.priority-low {
  border-left-color: var(--gray-400);
}

/* Notification button active state */
.nav-btn.active {
  background: white;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.nav-btn.has-notifications {
  animation: notificationPulse 2s infinite;
}

@keyframes notificationPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* ============================================================================
   ENHANCED MOBILE MENU STYLES
   ============================================================================ */

/* Mobile User Info Section */
.mobile-user-info {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 8px;
}

.mobile-user-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-user-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-user-email {
  font-size: 14px;
  font-weight: 600;
  color: white;
}

.mobile-user-role {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-user-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 2s infinite;
}

.status-indicator.online {
  background: #10b981;
}

.status-indicator.offline {
  background: #6b7280;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Menu Stats Grid */
.menu-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin: 0 24px 16px;
}

.menu-stat-item {
  text-align: center;
  padding: 12px 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-stat-number {
  font-size: 20px;
  font-weight: 700;
  color: white;
  line-height: 1;
  margin-bottom: 4px;
}

.menu-stat-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Menu Section Titles */
.menu-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 24px 12px;
  margin-top: 24px;
}

.menu-section-title:first-child {
  margin-top: 0;
}

.section-help-icon {
  font-size: 14px;
  opacity: 0.7;
  cursor: help;
}

/* Enhanced Menu Items */
.mobile-menu-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
  border-radius: 0;
}

.mobile-menu-item:hover,
.mobile-menu-item.active {
  background: var(--gray-50);
  color: var(--primary-color);
}

.mobile-menu-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary-color);
}

.menu-item-icon {
  font-size: 20px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.menu-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.menu-item-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.menu-item-subtitle {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.3;
}

.menu-item-description {
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.4;
  margin-top: 2px;
}

.menu-item-badge {
  background: var(--error-color);
  color: white;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.menu-item-status {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
}

.status-dot.complete {
  background: var(--accent-color);
}

.status-dot.incomplete {
  background: var(--warning-color);
}

.menu-item-arrow {
  font-size: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.mobile-menu-item:hover .menu-item-arrow {
  color: var(--primary-color);
  transform: translateX(2px);
}

/* Help Items */
.menu-help-items {
  padding: 0 24px;
}

.menu-help-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 13px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-100);
}

.menu-help-item:last-child {
  border-bottom: none;
}

.help-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================================================
   ENHANCED SETTINGS STYLES
   ============================================================================ */

/* Settings Overview */
.settings-overview {
  margin-bottom: 32px;
}

.settings-overview-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: var(--border-radius-lg);
  margin-bottom: 24px;
}

.overview-icon {
  font-size: 32px;
  flex-shrink: 0;
  opacity: 0.9;
}

.overview-content h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.overview-content p {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.9;
  margin: 0;
}

/* Enhanced Setting Cards */
.setting-card {
  background: white;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
  margin-bottom: 24px;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.setting-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.setting-card.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.setting-header {
  padding: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.setting-info {
  flex: 1;
}

.setting-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.setting-title-row h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.setting-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.setting-badge.recommended {
  background: var(--accent-color);
  color: white;
}

.setting-badge.optional {
  background: var(--gray-200);
  color: var(--gray-600);
}

.setting-description {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.setting-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-700);
}

.detail-icon {
  font-size: 14px;
  flex-shrink: 0;
}

.setting-help {
  font-size: 16px;
  color: var(--gray-400);
  cursor: help;
  transition: color var(--transition-fast);
}

.setting-help:hover {
  color: var(--primary-color);
}

.setting-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.setting-status.enabled {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
}

.setting-content {
  padding: 24px;
}

.setting-impact {
  padding: 16px 24px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.impact-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--warning-color);
}

.impact-icon {
  font-size: 16px;
  flex-shrink: 0;
}

/* Form Enhancements */
.label-text {
  font-weight: 600;
  color: var(--gray-700);
}

.label-unit {
  font-weight: 400;
  color: var(--gray-500);
  font-size: 12px;
}

.input-help {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 4px;
  line-height: 1.4;
}

/* Setting Preview */
.setting-preview {
  margin-top: 20px;
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-200);
}

.preview-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.preview-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
}

/* Notification Options */
.notification-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notification-option {
  padding: 16px;
  background: var(--gray-50);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}

.notification-option:hover {
  background: var(--gray-100);
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.checkbox-custom {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-300);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: 600;
}

.checkbox-content {
  flex: 1;
}

.checkbox-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.checkbox-description {
  font-size: 12px;
  color: var(--gray-600);
  line-height: 1.4;
}

/* Special Options */
.special-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.special-option {
  padding: 12px;
  background: white;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}

.special-option:hover {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Settings Summary */
.settings-summary {
  margin-top: 32px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--gray-200);
}

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.summary-header h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0;
}

.summary-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--accent-color);
  font-weight: 500;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-label {
  font-size: 12px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.summary-value {
  font-size: 14px;
  color: var(--gray-800);
  font-weight: 600;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
  .mobile-user-info {
    padding: 16px 20px;
  }
  
  .mobile-user-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .menu-stats-grid {
    margin: 0 20px 16px;
    padding: 12px 16px;
  }
  
  .menu-stat-item {
    padding: 8px 6px;
  }
  
  .menu-stat-number {
    font-size: 18px;
  }
  
  .mobile-menu-item {
    padding: 14px 20px;
    gap: 12px;
  }
  
  .menu-item-title {
    font-size: 14px;
  }
  
  .menu-item-subtitle {
    font-size: 11px;
  }
  
  .menu-item-description {
    font-size: 10px;
  }
  
  .settings-overview-card {
    padding: 20px;
    gap: 16px;
  }
  
  .overview-icon {
    font-size: 28px;
  }
  
  .overview-content h3 {
    font-size: 18px;
  }
  
  .setting-header {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .setting-content {
    padding: 20px;
  }
  
  .setting-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .notification-options {
    gap: 12px;
  }
  
  .notification-option {
    padding: 12px;
  }
  
  .special-options {
    gap: 8px;
  }
  
  .special-option {
    padding: 10px;
  }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
  .mobile-menu-item {
    min-height: 60px;
    display: flex;
    align-items: center;
  }
  
  .checkbox-label {
    min-height: 44px;
    align-items: center;
  }
  
  .toggle-switch {
    min-width: 60px;
    min-height: 34px;
  }
  
  .setting-help {
    font-size: 18px;
    padding: 4px;
  }
}

/* Animation enhancements */
.setting-card {
  animation: slideInUp 0.3s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-stat-item {
  animation: fadeInScale 0.4s ease-out;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hover effects */
.notification-option:hover .checkbox-custom {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.special-option:hover .checkbox-custom {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.setting-help:hover {
  transform: scale(1.1);
}

/* Focus states for accessibility */
.checkbox-label:focus-within .checkbox-custom {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.mobile-menu-item:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: -2px;
}

/* Loading states */
.setting-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.setting-card.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================================
   QR CODE STYLES
   ============================================================================ */

/* QR Code Container */
.qr-code-container {
  background: var(--gray-50);
  border: 2px dashed var(--gray-300);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  text-align: center;
  margin: 16px 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--transition-normal);
}

.qr-code-container:hover {
  border-color: var(--primary-color);
  background: rgba(102, 126, 234, 0.05);
}

/* QR Code Placeholder */
.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--gray-500);
  text-align: center;
}

.qr-placeholder-icon {
  font-size: 48px;
  opacity: 0.7;
  margin-bottom: 8px;
}

.qr-placeholder p {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-600);
  margin: 0;
}

.qr-placeholder small {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
}

/* QR Code Canvas */
#desktop-qr-canvas,
#mobile-qr-canvas {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  background: white;
  padding: 16px;
}

/* QR Code Loading State */
.qr-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--primary-color);
}

.qr-loading .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.qr-loading p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

/* QR Code Error State */
.qr-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--error-color);
}

.qr-error-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.qr-error p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.qr-error small {
  font-size: 12px;
  opacity: 0.8;
  margin: 0;
}

/* QR Code Actions */
.qr-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.generate-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.generate-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.download-btn:hover:not(:disabled) {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.download-btn:disabled {
  background: var(--gray-400);
  cursor: not-allowed;
  transform: none;
  opacity: 0.6;
}

/* Mobile QR Code Styles */
@media (max-width: 768px) {
  .qr-code-container {
    padding: 20px;
    min-height: 200px;
  }
  
  .qr-placeholder-icon {
    font-size: 40px;
  }
  
  .qr-placeholder p {
    font-size: 14px;
  }
  
  .qr-placeholder small {
    font-size: 12px;
  }
  
  .qr-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .generate-btn,
  .download-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  
  #desktop-qr-canvas,
  #mobile-qr-canvas {
    max-width: 100%;
    height: auto;
    padding: 12px;
  }
}

/* QR Code Animation */
@keyframes qrGenerate {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

#desktop-qr-canvas,
#mobile-qr-canvas {
  animation: qrGenerate 0.5s ease-out;
}

/* QR Code Success State */
.qr-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--accent-color);
}

.qr-success-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.qr-success p {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

/* QR Code Integration Card Enhancements */
.integration-card .qr-code-container {
  margin: 0;
  background: white;
  border: 1px solid var(--gray-200);
}

.integration-card .qr-actions {
  margin-top: 12px;
}

.integration-card .generate-btn,
.integration-card .download-btn {
  font-size: 12px;
  padding: 10px 16px;
}

/* QR Code Hover Effects */
.qr-code-container:hover #desktop-qr-canvas,
.qr-code-container:hover #mobile-qr-canvas {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* QR Code Focus States */
.generate-btn:focus,
.download-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* QR Code Responsive Improvements */
@media (max-width: 480px) {
  .qr-code-container {
    padding: 16px;
    min-height: 180px;
  }
  
  .qr-placeholder-icon {
    font-size: 36px;
  }
  
  .generate-btn,
  .download-btn {
    font-size: 12px;
    padding: 12px 16px;
  }
}

/* ============================================================================
   ENHANCED MOBILE HOURS MANAGEMENT STYLES
   ============================================================================ */

/* Mobile Hours Day Cards */
.mobile-hours-day-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.mobile-hours-day-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.mobile-hours-day-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.mobile-hours-day-info {
  flex: 1;
}

.mobile-hours-day-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 8px 0;
}

.mobile-hours-day-status {
  font-size: 14px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
}

.mobile-hours-day-status.open {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
}

.mobile-hours-day-status.closed {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
}

.mobile-hours-day-actions {
  display: flex;
  align-items: center;
}

.mobile-hours-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--gray-600);
}

.mobile-hours-toggle input[type="checkbox"] {
  display: none;
}

.mobile-hours-toggle-slider {
  position: relative;
  width: 50px;
  height: 28px;
  background: var(--gray-300);
  border-radius: 14px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.mobile-hours-toggle-slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.mobile-hours-toggle input[type="checkbox"]:checked + .mobile-hours-toggle-slider {
  background: var(--error-color);
}

.mobile-hours-toggle input[type="checkbox"]:checked + .mobile-hours-toggle-slider::before {
  transform: translateX(22px);
}

.mobile-hours-toggle-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-hours-day-times {
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  transition: all var(--transition-normal);
}

.mobile-hours-day-times.disabled {
  opacity: 0.5;
  pointer-events: none;
  background: var(--gray-50);
}

.mobile-hours-time-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-hours-time-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-hours-time-input {
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  background: white;
  transition: all var(--transition-fast);
  font-family: 'Courier New', monospace;
}

.mobile-hours-time-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mobile-hours-time-input:disabled {
  background: var(--gray-100);
  color: var(--gray-500);
  cursor: not-allowed;
}

.mobile-hours-day-footer {
  padding: 16px 20px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  display: flex;
  justify-content: flex-end;
}

.mobile-hours-copy-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-hours-copy-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Mobile Hours Bulk Actions */
.mobile-hours-bulk-actions {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-top: 24px;
  box-shadow: var(--shadow-sm);
}

.mobile-hours-bulk-actions h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 0 0 16px 0;
}

.mobile-hours-bulk-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

.mobile-hours-bulk-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  padding: 12px 16px;
  border-radius: var(--border-radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-hours-bulk-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Mobile Hours Responsive */
@media (max-width: 768px) {
  .mobile-hours-day-header {
    padding: 16px;
  }
  
  .mobile-hours-day-name {
    font-size: 16px;
  }
  
  .mobile-hours-day-times {
    padding: 16px;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .mobile-hours-day-footer {
    padding: 12px 16px;
  }
  
  .mobile-hours-bulk-actions {
    padding: 20px;
  }
  
  .mobile-hours-bulk-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .mobile-hours-bulk-btn {
    padding: 14px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .mobile-hours-day-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .mobile-hours-day-actions {
    align-self: flex-end;
  }
  
  .mobile-hours-time-input {
    font-size: 14px;
    padding: 10px 12px;
  }
  
  .mobile-hours-copy-btn {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* Mobile Hours Animation */
@keyframes mobileHoursSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-hours-day-card {
  animation: mobileHoursSlideIn 0.3s ease-out;
}

.mobile-hours-day-card:nth-child(1) { animation-delay: 0.1s; }
.mobile-hours-day-card:nth-child(2) { animation-delay: 0.2s; }
.mobile-hours-day-card:nth-child(3) { animation-delay: 0.3s; }
.mobile-hours-day-card:nth-child(4) { animation-delay: 0.4s; }
.mobile-hours-day-card:nth-child(5) { animation-delay: 0.5s; }
.mobile-hours-day-card:nth-child(6) { animation-delay: 0.6s; }
.mobile-hours-day-card:nth-child(7) { animation-delay: 0.7s; }

/* Mobile Hours Touch Interactions */
.mobile-hours-toggle-slider:active {
  transform: scale(0.95);
}

.mobile-hours-time-input:focus {
  transform: translateY(-1px);
}

.mobile-hours-copy-btn:active {
  transform: scale(0.95);
}

.mobile-hours-bulk-btn:active {
  transform: scale(0.95);
}

/* Mobile Hours Success States */
.mobile-hours-day-card.saved {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.mobile-hours-day-card.saved .mobile-hours-day-header {
  background: rgba(16, 185, 129, 0.05);
}

/* Mobile Hours Error States */
.mobile-hours-day-card.error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.mobile-hours-day-card.error .mobile-hours-day-header {
  background: rgba(239, 68, 68, 0.05);
}

.mobile-hours-time-input.error {
  border-color: var(--error-color);
  background: rgba(239, 68, 68, 0.05);
}

/* Mobile Hours Loading States */
.mobile-hours-day-card.loading {
  opacity: 0.7;
  pointer-events: none;
}

.mobile-hours-day-card.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Hours Accessibility */
.mobile-hours-toggle:focus-within .mobile-hours-toggle-slider {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.mobile-hours-time-input:focus {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.mobile-hours-copy-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.mobile-hours-bulk-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ============================================================================
   NEW RESERVATION PAGE STYLES
   ============================================================================ */

.reservation-section {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 24px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 16px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.option-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  background-color: white;
  color: var(--gray-700);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-circle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: scale(1.05);
}

.option-circle.selected {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.option-circle.unavailable {
  background-color: var(--gray-100);
  color: var(--gray-400);
  cursor: not-allowed;
  border-color: var(--gray-200);
}

.option-circle.unavailable:hover {
    transform: none;
}

#calendar-container {
  max-width: 400px;
  margin: 0 auto;
}

#calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

#calendar-header h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gray-800);
}

#prev-month-btn, #next-month-btn {
  background: none;
  border: 1px solid var(--gray-300);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

#prev-month-btn:hover, #next-month-btn:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
}

#calendar-grid {
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    max-width: 100%;
}

#calendar-grid .option-circle {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
}

.confirmation-summary {
  background-color: var(--gray-50);
  border-radius: var(--border-radius-md);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-200);
}

.confirmation-summary p {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 12px;
}

.confirmation-summary p:last-child {
  margin-bottom: 0;
}

.confirmation-summary strong {
  color: var(--gray-800);
  font-weight: 600;
}

.info-message {
    text-align: center;
    margin-top: 16px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.disclaimer-text {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 8px;
    text-align: center;
}

.modern-textarea {
    height: 100px;
    resize: none;
}

.modern-submit-btn {
    background: var(--primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    color: white;
}

.restaurant-logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gradient, linear-gradient(135deg, #667eea 0%, #764ba2 100%));
    box-shadow: var(--shadow-md);
}

.restaurant-logo-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  height: 60px; /* Increased height */
  align-items: center;
}

.progress-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--gray-200);
  z-index: 1;
  transform: translateY(-50%);
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 0;
  height: 2px;
  background-color: var(--primary-color);
  z-index: 1;
  width: 0;
  transition: width 0.3s ease;
}

.progress-step {
  text-align: center;
  color: var(--gray-400);
  font-weight: 500;
  font-size: 0.8rem;
  position: relative;
  width: 25%;
  z-index: 2;
}

.progress-step::before {
  content: '';
  display: block;
  width: 30px; /* Increased size */
  height: 30px; /* Increased size */
  border-radius: 50%;
  background-color: white;
  border: 2px solid var(--gray-300);
  transition: all 0.3s ease;
  margin: 0 auto 8px;
}

.progress-step.active::before {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  transform: scale(1.1);
}

.progress-step.completed::before {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  content: '✓';
  color: white;
  font-size: 14px; /* Adjusted font size */
  line-height: 30px; /* Adjusted line height */
  font-weight: bold;
}

.progress-step.active {
  color: var(--primary-color);
  font-weight: 600;
}

.progress-step.completed {
  color: var(--gray-700);
}

.back-btn {
    background: none;
    border: none;
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
    align-self: flex-start;
}

.back-btn:hover {
    color: var(--primary-color);
}

#data-processing-disclaimer {
    font-size: 0.8rem;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto 16px;
    color: var(--gray-500);
}

#data-processing-disclaimer a {
    color: var(--gray-600);
    text-decoration: underline;
}

#data-processing-disclaimer a:hover {
    color: var(--primary-color);
}

.managed-by {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
}

.managed-by a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.managed-by a:hover {
  text-decoration: underline;
}

.success-icon-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}

.success-icon {
  width: 100%;
  height: 100%;
}

.success-icon-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4bb71b;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-icon-checkmark {
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #4bb71b;
  fill: none;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

/* ============================================================================
   ENHANCED RESTAURANT HEADER STYLES
   ============================================================================ */

.modern-header {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 24px;
}

#restaurant-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.restaurant-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

.restaurant-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}

.detail-icon {
  width: 18px;
  height: 18px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: invert(40%) sepia(10%) saturate(500%) hue-rotate(180deg) brightness(90%) contrast(90%);
}

.email-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.phone-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z"/></svg>');
}

.address-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

/* ============================================================================
   OPERATING HOURS DISPLAY STYLES
   ============================================================================ */

.operating-hours-section {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-lg);
  padding: 24px;
  margin-top: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.operating-hours-section:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.operating-hours-section h3 {
  color: var(--gray-800);
  font-size: 1.4em;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.operating-hours-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 2px;
}

.hours-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(102, 126, 234, 0.1);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.hours-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.hours-item:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.hours-item:hover::before {
  opacity: 1;
}

.day-name {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.day-name::before {
  content: '📅';
  font-size: 16px;
}

.hours-text {
  font-weight: 500;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 20px;
  transition: all var(--transition-normal);
}

.hours-item.open .hours-text {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-color);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.hours-item.open-now .hours-text {
  background: linear-gradient(135deg, var(--accent-color), #059669);
  color: white;
  font-weight: 600;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.hours-item.closed .hours-text {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.hours-item.not-set .hours-text {
  background: rgba(156, 163, 175, 0.1);
  color: var(--gray-500);
  border: 1px solid rgba(156, 163, 175, 0.2);
  font-style: italic;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.9;
  }
}

/* Mobile responsive for operating hours */
@media (max-width: 768px) {
  .operating-hours-section {
    padding: 20px;
    margin-top: 16px;
  }
  
  .operating-hours-section h3 {
    font-size: 1.2em;
    margin-bottom: 16px;
  }
  
  .hours-list {
    gap: 10px;
  }
  
  .hours-item {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .day-name {
    font-size: 14px;
  }
  
  .hours-text {
    font-size: 13px;
    align-self: flex-end;
  }
  
  .hours-item:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 480px) {
  .operating-hours-section {
    padding: 16px;
  }
  
  .operating-hours-section h3 {
    font-size: 1.1em;
  }
  
  .hours-item {
    padding: 12px 14px;
  }
  
  .day-name {
    font-size: 13px;
  }
  
  .hours-text {
    font-size: 12px;
    padding: 4px 10px;
  }
}

/* Dark theme support for operating hours */
@media (prefers-color-scheme: dark) {
  .operating-hours-section {
    background: rgba(44, 62, 80, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .operating-hours-section h3 {
    color: white;
  }
  
  .hours-item {
    background: rgba(52, 73, 94, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .hours-item:hover {
    background: rgba(52, 73, 94, 0.95);
  }
  
  .day-name {
    color: #ecf0f1;
  }
  
  .hours-item.open .hours-text {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
  }
  
  .hours-item.closed .hours-text {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
  }
  
  .hours-item.not-set .hours-text {
    background: rgba(156, 163, 175, 0.2);
    color: #9ca3af;
  }
}

/* Animation for hours loading */
@keyframes hoursSlideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hours-item {
  animation: hoursSlideIn 0.3s ease-out;
}

.hours-item:nth-child(1) { animation-delay: 0.1s; }
.hours-item:nth-child(2) { animation-delay: 0.2s; }
.hours-item:nth-child(3) { animation-delay: 0.3s; }
.hours-item:nth-child(4) { animation-delay: 0.4s; }
.hours-item:nth-child(5) { animation-delay: 0.5s; }
.hours-item:nth-child(6) { animation-delay: 0.6s; }
.hours-item:nth-child(7) { animation-delay: 0.7s; }

/* Loading state for operating hours */
.operating-hours-section.loading {
  opacity: 0.7;
}

.operating-hours-section.loading .hours-item {
  background: var(--gray-200);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.operating-hours-section.loading .hours-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

/* ============================================================================
   PHONE INPUT STYLES
   ============================================================================ */

/* Phone Input Container */
.phone-input-container {
  display: flex;
  gap: 0;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  background: white;
}

.phone-input-container:focus-within {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.country-code-select {
  background: #f8f9fa;
  border: none;
  padding: 12px 8px 12px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  outline: none;
  min-width: 100px;
  border-right: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.country-code-select:focus {
  background: #f1f5f9;
  color: var(--primary-color);
}

.phone-number-input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 16px;
  outline: none;
  background: white;
  color: var(--gray-800);
  transition: all 0.2s ease;
}

.phone-number-input::placeholder {
  color: var(--gray-400);
  font-style: italic;
}

.phone-number-input:focus {
  background: #fefefe;
}

.phone-help-text {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-help-text::before {
  content: '📱';
  font-size: 14px;
}

/* Phone Input Error States */
.phone-input-container.error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.phone-input-container.error .country-code-select {
  background: rgba(239, 68, 68, 0.05);
  border-right-color: var(--error-color);
}

.phone-input-container.error .phone-number-input {
  background: rgba(239, 68, 68, 0.05);
}

/* Phone Input Success States */
.phone-input-container.success {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.phone-input-container.success .country-code-select {
  background: rgba(16, 185, 129, 0.05);
  border-right-color: var(--accent-color);
}

.phone-input-container.success .phone-number-input {
  background: rgba(16, 185, 129, 0.05);
}

/* Mobile Responsive Phone Input */
@media (max-width: 768px) {
  .phone-input-container {
    border-radius: 10px;
  }
  
  .country-code-select {
    padding: 14px 6px 14px 10px;
    font-size: 13px;
    min-width: 90px;
  }
  
  .phone-number-input {
    padding: 14px 12px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .phone-help-text {
    font-size: 11px;
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .phone-input-container {
    flex-direction: column;
    gap: 0;
  }
  
  .country-code-select {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    min-width: auto;
  }
  
  .phone-number-input {
    border-radius: 0;
  }
}

/* Phone Input Animation */
@keyframes phoneInputFocus {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.01);
  }
}

.phone-input-container:focus-within {
  animation: phoneInputFocus 0.2s ease-out;
}

/* Country Code Dropdown Enhancement */
.country-code-select option {
  padding: 8px 12px;
  font-size: 14px;
}

/* Phone Input Loading State */
.phone-input-container.loading {
  opacity: 0.7;
  pointer-events: none;
}

.phone-input-container.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-300);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

/* Phone Input Validation Icons */
.phone-input-container.success::after {
  content: '✓';
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 16px;
  transform: translateY(-50%);
}

.phone-input-container.error::after {
  content: '✗';
  position: absolute;
  top: 50%;
  right: 12px;
  color: var(--error-color);
  font-weight: 600;
  font-size: 16px;
  transform: translateY(-50%);
}

/* Phone Input Focus Ring */
.phone-input-container:focus-within {
  position: relative;
}

.phone-input-container:focus-within::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 14px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  z-index: -1;
  opacity: 0.1;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .phone-input-container {
    border-color: #374151;
    background: #1f2937;
  }
  
  .country-code-select {
    background: #374151;
    color: #f9fafb;
    border-right-color: #4b5563;
  }
  
  .phone-number-input {
    background: #1f2937;
    color: #f9fafb;
  }
  
  .phone-number-input::placeholder {
    color: #9ca3af;
  }
  
  .phone-help-text {
    color: #9ca3af;
  }
}

/* Accessibility Improvements */
.country-code-select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.phone-number-input:focus {
  outline: none; /* Handled by container focus */
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .phone-input-container {
    border-width: 3px;
  }
  
  .country-code-select,
  .phone-number-input {
    border: 1px solid;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .phone-input-container,
  .country-code-select,
  .phone-number-input {
    transition: none;
  }
  
  .phone-input-container:focus-within {
    animation: none;
  }
}

/* ============================================================================
   PRICING SECTION STYLES
   ============================================================================ */

.pricing-section {
  padding: 120px 0;
  background: var(--gray-50);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-200);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.pricing-card.popular {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.pricing-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.popular-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 8px 40px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transform: rotate(45deg);
  box-shadow: var(--shadow-md);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.plan-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

.period {
  font-size: 18px;
  color: var(--gray-600);
  font-weight: 500;
}

.plan-yearly {
  font-size: 14px;
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 8px;
}

.plan-description {
  font-size: 16px;
  color: var(--gray-600);
  margin: 0;
}

.pricing-features {
  margin-bottom: 32px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item svg {
  color: var(--accent-color);
  flex-shrink: 0;
}

.feature-item span {
  font-size: 15px;
  color: var(--gray-700);
  font-weight: 500;
}

.pricing-cta {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: var(--border-radius-lg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-cta:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.popular .pricing-cta {
  background: linear-gradient(135deg, var(--accent-color), #059669);
}

.pricing-card.popular .pricing-cta:hover {
  background: linear-gradient(135deg, #059669, #047857);
}

/* ============================================================================
   TESTIMONIALS SECTION STYLES
   ============================================================================ */

.testimonials-section {
  padding: 120px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-normal);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 24px;
  font-size: 80px;
  color: var(--primary-color);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.testimonial-content {
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-700);
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.author-title {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
}

/* ============================================================================
   MULTI-STEP SIGNUP MODAL STYLES
   ============================================================================ */

.signup-modal {
  max-width: 500px;
  width: 90%;
}

.signup-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.progress-step.active {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
}

.progress-step.completed {
  background: var(--accent-color);
  color: white;
}

.progress-line {
  width: 40px;
  height: 2px;
  background: var(--gray-200);
  transition: all var(--transition-normal);
}

.progress-line.completed {
  background: var(--accent-color);
}

.signup-step {
  display: none;
  animation: fadeInSlide 0.3s ease-out;
}

.signup-step.active {
  display: block;
}

@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.signup-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 20px;
  text-align: center;
}

.verification-input {
  text-align: center;
  font-family: 'Courier New', monospace;
  font-size: 24px;
  letter-spacing: 8px;
  font-weight: 600;
}

.resend-btn {
  background: var(--warning-color);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  margin-top: 12px;
  width: 100%;
}

.resend-btn:hover {
  background: #e67e22;
  transform: translateY(-1px);
}

.google-signin-btn {
  width: 100%;
  background: white;
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.google-signin-btn:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
  transform: translateY(-1px);
}

.hero-trial-info {
  margin-top: 32px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-trial-info p {
  margin: 8px 0;
  font-size: 14px;
  opacity: 0.9;
}

.hero-trial-info p:first-child {
  margin-top: 0;
}

.hero-trial-info p:last-child {
  margin-bottom: 0;
}

/* Success Toast */
.success-toast {
  position: fixed;
  top: 100px;
  right: 24px;
  background: white;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 3000;
  transform: translateX(100%);
  opacity: 0;
  transition: all var(--transition-normal);
  border-left: 4px solid var(--accent-color);
  min-width: 320px;
}

.success-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.toast-message {
  font-size: 14px;
  color: var(--gray-600);
  margin: 0;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.loading-content {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-2xl);
  max-width: 300px;
}

.loading-spinner.large {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-200);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  font-size: 16px;
  color: var(--gray-700);
  font-weight: 500;
}

/* Mobile Responsive for New Components */
@media (max-width: 768px) {
  .pricing-section {
    padding: 80px 0;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
  
  .pricing-card {
    padding: 32px 24px;
  }
  
  .pricing-card.popular {
    transform: none;
  }
  
  .plan-name {
    font-size: 20px;
  }
  
  .price {
    font-size: 40px;
  }
  
  .testimonials-section {
    padding: 80px 0;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 16px;
  }
  
  .testimonial-card {
    padding: 24px;
  }
  
  .signup-modal {
    width: 95%;
    margin: 16px;
  }
  
  .signup-progress {
    gap: 6px;
  }
  
  .progress-step {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  
  .progress-line {
    width: 30px;
  }
  
  .verification-input {
    font-size: 20px;
    letter-spacing: 6px;
  }
  
  .success-toast {
    right: 16px;
    left: 16px;
    min-width: auto;
  }
  
  .loading-content {
    margin: 20px;
    padding: 32px 24px;
  }
  
  .hero-trial-info {
    margin-top: 24px;
    padding: 16px;
  }
  
  .hero-trial-info p {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 24px 20px;
  }
  
  .price {
    font-size: 36px;
  }
  
  .testimonial-card {
    padding: 20px;
  }
  
  .testimonial-card::before {
    font-size: 60px;
    top: -5px;
    left: 16px;
  }
  
  .author-avatar {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
  
  .signup-step h3 {
    font-size: 18px;
  }
  
  .verification-input {
    font-size: 18px;
    letter-spacing: 4px;
  }
}

/* ==========================================================================
   Enhanced UI/UX Animations and Micro-interactions
   ========================================================================== */

/* Keyframe Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
  40%, 43% { transform: translateY(-10px); }
  70% { transform: translateY(-5px); }
  90% { transform: translateY(-2px); }
}

/* Hero Section Enhanced Animations */
.animate-fade-in {
  animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0.2, 1) 0.2s both;
}

.animate-slide-up {
  animation: slideUp 1s cubic-bezier(0.2, 0, 0.2, 1) 0.4s both;
}

.animate-slide-up-delay {
  animation: slideUp 1s cubic-bezier(0.2, 0, 0.2, 1) 0.6s both;
}

.animate-fade-in-delay {
  animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0.2, 1) 0.8s both;
}

.animate-slide-up-stagger {
  animation: slideUp 1s cubic-bezier(0.2, 0, 0.2, 1) 1s both;
}

.animate-fade-in-late {
  animation: fadeIn 0.8s cubic-bezier(0.2, 0, 0.2, 1) 1.2s both;
}

/* Enhanced CTA Button */
.cta-enhanced {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.cta-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s;
}

.cta-enhanced:hover::before {
  left: 100%;
}

.cta-enhanced:hover .cta-arrow {
  transform: translateX(4px);
}

.cta-arrow {
  transition: transform 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.cta-enhanced:active {
  transform: translateY(1px) scale(0.98);
}

/* Enhanced Trial Info */
.hero-trial-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.trial-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 122, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.trial-feature:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 122, 255, 0.2);
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.1);
}

.trial-icon {
  font-size: 16px;
  animation: bounce 2s infinite;
  animation-delay: calc(var(--delay, 0) * 0.2s);
}

.trial-feature:nth-child(1) .trial-icon { --delay: 0; }
.trial-feature:nth-child(2) .trial-icon { --delay: 1; }
.trial-feature:nth-child(3) .trial-icon { --delay: 2; }

/* Enhanced Feature Cards */
.feature-hover-effect {
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(0, 122, 255, 0.08);
}

.feature-hover-effect::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.03) 0%, rgba(106, 90, 205, 0.02) 100%);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  border-radius: inherit;
}

.feature-hover-effect:hover::before {
  opacity: 1;
}

.feature-hover-effect:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 122, 255, 0.15);
  border-color: rgba(0, 122, 255, 0.2);
}

.feature-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin-bottom: 24px;
}

.feature-icon {
  font-size: 32px;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.feature-glow {
  position: absolute;
  inset: -8px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(106, 90, 205, 0.1));
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  filter: blur(8px);
}

.feature-hover-effect:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-hover-effect:hover .feature-glow {
  opacity: 1;
  transform: scale(1);
}

.feature-highlight {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 122, 255, 0.1);
}

.highlight-item {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(0, 122, 255, 0.05);
  padding: 6px 12px;
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.highlight-item:hover {
  background: rgba(0, 122, 255, 0.1);
  color: var(--apple-blue);
  transform: scale(1.05);
}

/* Animated Stats */
.stat-number {
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.stat-number:hover {
  transform: scale(1.1);
  color: var(--apple-blue);
}

/* Enhanced Phone Mockup */
.phone-mockup {
  position: relative;
  transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.phone-mockup:hover {
  transform: rotate(-2deg) scale(1.05);
}

.floating-cards {
  position: relative;
}

.floating-card {
  transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.floating-card:hover {
  transform: translateY(-8px) scale(1.1) rotate(5deg);
  box-shadow: 0 16px 32px rgba(0, 122, 255, 0.2);
}

/* Enhanced Form Elements */
input:focus, textarea:focus, select:focus {
  transform: scale(1.02);
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15), 0 4px 16px rgba(0, 122, 255, 0.1);
}

/* Loading States */
.loading-shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Scroll-triggered Animations */
@media (prefers-reduced-motion: no-preference) {
  [data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.2, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
  }
  
  [data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Demo Section Interactions */
.demo-tab {
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.demo-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--apple-blue), var(--secondary-color));
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  border-radius: 2px;
}

.demo-tab:hover::after,
.demo-tab.active::after {
  width: 100%;
}

.demo-book-button {
  position: relative;
  overflow: hidden;
}

.button-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 1s;
}

.demo-book-button:hover .button-shine {
  left: 100%;
}

/* Enhanced Mobile Responsive Design & Touch Interactions */
@media (max-width: 768px) {
  /* Hero Section Mobile Optimizations */
  .hero-container {
    padding: 0 20px;
    text-align: center;
  }
  
  .hero-content {
    padding: 80px 0 40px;
  }
  
  .hero-badge {
    font-size: 14px;
    padding: 8px 16px;
    margin-bottom: 24px;
  }
  
  .hero-title {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.2;
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 100%;
  }
  
  /* Mobile-friendly stats */
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    margin: 32px 0;
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
  }
  
  .stat-divider {
    display: none;
  }
  
  .stat-item {
    padding: 16px;
    background: rgba(0, 122, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
  }
  
  .stat-item:active {
    transform: scale(0.98);
    background: rgba(0, 122, 255, 0.1);
  }
  
  /* Enhanced mobile buttons with larger touch targets */
  .hero-actions {
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  
  .primary-cta, .secondary-cta {
    width: 100%;
    min-height: 56px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    padding: 16px 24px;
    transition: all 0.2s ease;
  }
  
  .primary-cta:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
  }
  
  .secondary-cta:active {
    transform: scale(0.98);
    background: rgba(0, 0, 0, 0.1);
  }
  
  /* Mobile-optimized trial info */
  .hero-trial-info {
    margin-top: 40px;
    gap: 16px;
  }
  
  .trial-feature {
    padding: 16px;
    border-radius: 16px;
    transition: all 0.2s ease;
  }
  
  .trial-feature:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 1);
  }
  
  .trial-feature:hover {
    transform: none;
  }
  
  /* Feature cards mobile optimization */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  
  .feature-card {
    padding: 32px 24px;
    text-align: center;
    border-radius: 20px;
  }
  
  .feature-hover-effect:hover {
    transform: translateY(-4px) scale(1.01);
  }
  
  .feature-hover-effect:active {
    transform: scale(0.98);
  }
  
  .feature-icon-wrapper {
    margin-bottom: 20px;
  }
  
  .highlight-item {
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 20px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
  }
  
  .highlight-item:active {
    transform: scale(0.98);
  }
  
  /* Navigation mobile improvements */
  .nav-container {
    padding: 0 20px;
    height: 64px;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    min-height: 44px;
    min-width: 44px;
    border-radius: 12px;
    transition: all 0.2s ease;
  }
  
  .mobile-menu-toggle:active {
    transform: scale(0.95);
    background: rgba(0, 0, 0, 0.05);
  }
  
  .mobile-menu {
    width: min(320px, 85vw);
  }
  
  .mobile-menu-link {
    padding: 16px 0;
    font-size: 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
  }
  
  .mobile-menu-link:active {
    background: rgba(0, 122, 255, 0.05);
    transform: translateX(4px);
  }
  
  .mobile-menu-cta {
    min-height: 56px;
    font-size: 16px;
    border-radius: 16px;
    margin: 20px;
    transition: all 0.2s ease;
  }
  
  .mobile-menu-cta:active {
    transform: scale(0.98);
  }
  
  /* Demo section mobile */
  .demo-container {
    padding: 0 20px;
  }
  
  .demo-tabs {
    gap: 8px;
  }
  
  .demo-tab {
    flex: 1;
    min-height: 48px;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
  }
  
  .demo-tab:active {
    transform: scale(0.98);
  }
  
  .demo-device {
    max-width: 100%;
  }
  
  /* Form enhancements for mobile */
  input, textarea, select, button {
    font-size: 16px; /* Prevents iOS zoom on focus */
    min-height: 44px;
  }
  
  .form-group input, 
  .form-group textarea, 
  .form-group select {
    padding: 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    transform: none;
    box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
  }
  
  /* Modal improvements for mobile */
  .auth-modal {
    width: calc(100vw - 32px);
    max-width: 400px;
    margin: 16px;
    border-radius: 20px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }
  
  .modal-header {
    padding: 24px 24px 16px;
  }
  
  .modal-content {
    padding: 16px 24px 32px;
  }
  
  .auth-submit-btn {
    min-height: 56px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 16px;
    transition: all 0.2s ease;
  }
  
  .auth-submit-btn:active {
    transform: scale(0.98);
  }
  
  /* Phone mockup mobile adjustments */
  .hero-visual {
    margin-top: 40px;
    padding: 0 20px;
  }
  
  .phone-mockup {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .phone-mockup:hover {
    transform: none;
  }
  
  .floating-cards {
    display: none; /* Hide on mobile for cleaner look */
  }
  
  /* Toast notifications mobile */
  .notification {
    bottom: 20px;
    left: 16px;
    right: 16px;
    width: auto;
    border-radius: 16px;
    padding: 16px;
  }
  
  /* Footer mobile */
  .footer-links {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  
  .footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  /* Safe area support for notched devices */
  .modern-nav {
    padding-top: env(safe-area-inset-top);
  }
  
  .mobile-menu {
    padding-top: env(safe-area-inset-top);
  }
  
  .hero-section {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Tablet-specific optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .hero-actions {
    flex-direction: row;
    gap: 16px;
  }
  
  .primary-cta, .secondary-cta {
    min-height: 48px;
    font-size: 15px;
  }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .brand-icon {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  .feature-icon {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ==========================================================================
   Enhanced Forms and Modal Dialogs
   ========================================================================== */

/* Enhanced Modal Styles */
.enhanced-modal {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 122, 255, 0.1);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12), 
              0 16px 32px rgba(0, 122, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.enhanced-modal.show {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid rgba(0, 122, 255, 0.08);
}

.modal-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(106, 90, 205, 0.08));
  border-radius: 12px;
  color: var(--apple-blue);
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 4px 0 0;
  font-weight: 400;
}

.enhanced-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0.2, 1);
}

.enhanced-close:hover {
  background: rgba(255, 59, 48, 0.1);
  color: var(--apple-red);
  transform: scale(1.05);
}

/* Enhanced Form Groups */
.enhanced-form-group {
  margin-bottom: 24px;
}

.enhanced-label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 14px;
}

.label-required {
  color: var(--apple-red);
  font-size: 14px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.enhanced-input {
  width: 100%;
  padding: 16px 20px;
  padding-right: 52px;
  border: 2px solid rgba(0, 122, 255, 0.12);
  border-radius: 12px;
  font-size: 16px;
  font-weight: 400;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  color: var(--text-primary);
}

.enhanced-input:focus {
  outline: none;
  border-color: var(--apple-blue);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.08), 
              0 4px 16px rgba(0, 122, 255, 0.12);
  transform: translateY(-1px);
}

.enhanced-input:valid {
  border-color: var(--apple-green);
}

.enhanced-input:invalid:not(:placeholder-shown) {
  border-color: var(--apple-red);
}

.input-icon {
  position: absolute;
  right: 16px;
  color: var(--text-secondary);
  pointer-events: none;
  transition: color 0.2s ease;
}

.enhanced-input:focus + .input-icon {
  color: var(--apple-blue);
}

.password-toggle {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.password-toggle:hover {
  color: var(--apple-blue);
  background: rgba(0, 122, 255, 0.1);
}

.field-help {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.field-error {
  font-size: 12px;
  color: var(--apple-red);
  margin-top: 6px;
  display: none;
}

.field-error.show {
  display: block;
  animation: slideDown 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

/* Enhanced Submit Button */
.enhanced-submit-btn {
  position: relative;
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--apple-blue), var(--apple-blue-600));
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  margin: 32px 0 24px;
}

.enhanced-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.enhanced-submit-btn:hover::before {
  left: 100%;
}

.enhanced-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
}

.enhanced-submit-btn:active {
  transform: translateY(0);
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.2s ease;
}

.btn-arrow {
  transition: transform 0.2s ease;
}

.enhanced-submit-btn:hover .btn-arrow {
  transform: translateX(4px);
}

.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loading-spinner svg {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Divider */
.auth-divider {
  position: relative;
  text-align: center;
  margin: 32px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.auth-divider span {
  background: rgba(255, 255, 255, 0.98);
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.divider-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 122, 255, 0.2), transparent);
}

/* Enhanced Switch Button */
.enhanced-switch-btn {
  background: none;
  border: none;
  color: var(--apple-blue);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: inherit;
}

.enhanced-switch-btn:hover {
  background: rgba(0, 122, 255, 0.1);
  transform: translateX(2px);
}

/* Form Validation States */
.input-wrapper.error .enhanced-input {
  border-color: var(--apple-red);
  background: rgba(255, 59, 48, 0.02);
}

.input-wrapper.success .enhanced-input {
  border-color: var(--apple-green);
  background: rgba(52, 199, 89, 0.02);
}

.input-wrapper.error .input-icon {
  color: var(--apple-red);
}

.input-wrapper.success .input-icon {
  color: var(--apple-green);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .enhanced-modal {
    background: rgba(28, 28, 30, 0.98);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .modal-icon {
    background: rgba(0, 122, 255, 0.15);
  }
  
  .enhanced-input {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
  }
  
  .enhanced-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
  }
  
  .enhanced-input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--apple-blue);
  }
  
  .enhanced-close {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
  }
  
  .trial-feature {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .feature-hover-effect {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .highlight-item {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
  }
}

/* ==========================================================================
   Enhanced Demo Section
   ========================================================================== */

.enhanced-demo {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  padding: 80px 0;
}

.demo-content {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.1);
}

.demo-tabs {
  display: flex;
  background: rgba(0, 122, 255, 0.05);
  border-radius: 16px;
  padding: 4px;
  margin-bottom: 40px;
  gap: 4px;
}

.demo-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: transparent;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.demo-tab.active {
  background: white;
  color: var(--apple-blue);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.15);
}

.tab-icon {
  font-size: 20px;
  transition: transform 0.2s ease;
}

.demo-tab:hover .tab-icon {
  transform: scale(1.1);
}

.demo-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Enhanced Phone Frame */
.demo-phone-frame {
  background: #1a1a1a;
  border-radius: 36px;
  padding: 8px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  max-width: 320px;
  margin: 0 auto;
}

.phone-header {
  background: #000;
  border-radius: 28px 28px 0 0;
  padding: 12px 24px 8px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.phone-indicators {
  display: flex;
  align-items: center;
  gap: 8px;
}

.signal-bars {
  display: flex;
  gap: 2px;
  align-items: end;
}

.signal-bars span {
  width: 3px;
  background: white;
  border-radius: 1px;
}

.signal-bars span:nth-child(1) { height: 4px; }
.signal-bars span:nth-child(2) { height: 6px; }
.signal-bars span:nth-child(3) { height: 8px; }
.signal-bars span:nth-child(4) { height: 10px; }

.battery-icon {
  width: 24px;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  position: relative;
}

.battery-icon::after {
  content: '';
  position: absolute;
  right: -2px;
  top: 3px;
  width: 1px;
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0 1px 1px 0;
}

.battery-level {
  height: 100%;
  width: 85%;
  background: #34c759;
  border-radius: 1px;
}

.demo-app {
  background: white;
  border-radius: 0 0 28px 28px;
  padding: 20px;
  min-height: 500px;
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 122, 255, 0.1);
  margin-bottom: 24px;
}

.back-btn {
  width: 32px;
  height: 32px;
  background: rgba(0, 122, 255, 0.1);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apple-blue);
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: rgba(0, 122, 255, 0.2);
  transform: translateX(-2px);
}

.demo-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Restaurant Info */
.demo-restaurant-info {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  padding: 16px;
  background: rgba(0, 122, 255, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(0, 122, 255, 0.08);
}

.restaurant-avatar {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.restaurant-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-details {
  flex: 1;
}

.restaurant-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.restaurant-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.stars {
  color: #ff9500;
  font-size: 14px;
}

.rating-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
}

.restaurant-location {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Form Sections */
.form-section {
  margin-bottom: 24px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 14px;
}

.label-icon {
  font-size: 16px;
}

.datetime-picker {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(0, 122, 255, 0.05);
  border: 2px solid rgba(0, 122, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
}

.datetime-picker:hover {
  background: rgba(0, 122, 255, 0.08);
  border-color: rgba(0, 122, 255, 0.2);
}

.picker-arrow {
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: bold;
}

.party-selector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 122, 255, 0.05);
  border: 2px solid rgba(0, 122, 255, 0.1);
  border-radius: 12px;
  padding: 8px;
}

.party-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: white;
  color: var(--apple-blue);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 122, 255, 0.1);
}

.party-btn:hover {
  background: var(--apple-blue);
  color: white;
  transform: scale(1.05);
}

.party-count {
  font-weight: 600;
  color: var(--text-primary);
}

.special-requests {
  width: 100%;
  padding: 16px;
  border: 2px solid rgba(0, 122, 255, 0.1);
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(0, 122, 255, 0.02);
  resize: vertical;
  transition: all 0.3s ease;
}

.special-requests:focus {
  outline: none;
  border-color: var(--apple-blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.availability-indicator {
  margin: 24px 0;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
}

.availability-status.available {
  background: rgba(52, 199, 89, 0.1);
  color: var(--apple-green);
  border: 1px solid rgba(52, 199, 89, 0.2);
}

.status-icon {
  font-size: 16px;
}

.demo-book-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--apple-blue), var(--apple-blue-600));
  border: none;
  border-radius: 16px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(0, 122, 255, 0.3);
}

.demo-book-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
}

.btn-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-price {
  font-size: 12px;
  opacity: 0.9;
  font-weight: 500;
}

/* Demo Features */
.demo-features {
  padding: 0 20px;
}

.features-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-align: center;
}

.feature-grid {
  display: grid;
  gap: 20px;
}

.demo-feature {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(0, 122, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.demo-feature:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.12);
}

.feature-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.feature-content {
  flex: 1;
}

.feature-title {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  margin-bottom: 4px;
}

.feature-desc {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Dashboard Preview */
.dashboard-preview {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.08);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 32px;
}

.dashboard-title h3 {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
}

.dashboard-date {
  font-size: 14px;
  color: var(--text-secondary);
}

.dashboard-stats {
  display: flex;
  gap: 16px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: rgba(0, 122, 255, 0.05);
  border-radius: 12px;
  min-width: 80px;
}

.stat-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--apple-blue);
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.reservation-timeline h4 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: rgba(0, 122, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(0, 122, 255, 0.08);
  transition: all 0.2s ease;
}

.timeline-item.active {
  background: rgba(0, 122, 255, 0.08);
  border-color: rgba(0, 122, 255, 0.2);
}

.timeline-time {
  font-weight: 600;
  color: var(--apple-blue);
  min-width: 70px;
  font-size: 14px;
}

.timeline-booking {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
}

.booking-details {
  font-size: 13px;
  color: var(--text-secondary);
}

.booking-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn.confirm {
  background: var(--apple-green);
  color: white;
}

.action-btn.modify {
  background: rgba(0, 122, 255, 0.1);
  color: var(--apple-blue);
}

.booking-status {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-status.confirmed {
  background: rgba(52, 199, 89, 0.1);
  color: var(--apple-green);
}

/* Interactive Demo Elements */
.interactive-demo {
  cursor: pointer;
  transition: all 0.2s ease;
}

.interactive-demo:hover {
  transform: scale(1.02);
}

.interactive-demo:active {
  transform: scale(0.98);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .demo-panel {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .demo-phone-frame {
    max-width: 280px;
  }
  
  .dashboard-header {
    flex-direction: column;
    gap: 20px;
  }
  
  .dashboard-stats {
    justify-content: space-between;
  }
  
  .timeline-item {
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }
  
  .timeline-time {
    min-width: auto;
  }
}
