/**
 * Main Stylesheet for MamaTastes
 * Modern, responsive design with custom components
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* CSS Custom Properties - MamaTastes Brand Colors */
:root {
  /* Brand Colors */
  --primary-color: #ff6b35;
  --primary-dark: #e55a2b;
  --primary-light: #ff8c69;
  --secondary-color: #2c3e50;
  --accent-color: #f39c12;

  /* Status Colors */
  --success-color: #27ae60;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #3498db;

  /* Neutral Colors */
  --light-color: #f8f9fa;
  --dark-color: #2c3e50;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Typography */
  --font-family-sans-serif: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-family-heading: 'Poppins', 'Inter', sans-serif;
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --line-height-base: 1.6;
  --line-height-sm: 1.4;

  /* Spacing & Layout */
  --border-radius: 0.5rem;
  --border-radius-sm: 0.25rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;

  /* Shadows */
  --box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --box-shadow-xl: 0 1rem 2rem rgba(0, 0, 0, 0.2);

  /* Transitions */
  --transition-base: all 0.2s ease-in-out;
  --transition-fast: all 0.15s ease-in-out;
  --transition-slow: all 0.3s ease-in-out;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-700) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #e67e22 100%);
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-sans-serif);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--dark-color);
  background-color: #fff;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: 600;
  line-height: var(--line-height-sm);
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  line-height: var(--line-height-base);
}

.lead {
  font-size: var(--font-size-lg);
  font-weight: 400;
  line-height: var(--line-height-base);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(2px);
}

/* Food Navigation - Deep Olive Green Theme Redesign */
.food-navbar-redesign {
  background: #3D5A40 !important;
  backdrop-filter: blur(10px);
  border: none;
  padding: 0.75rem 0;
  min-height: 70px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.food-navbar-redesign .container-fluid {
  padding-left: 6rem;
}

/* Mobile Toggle Button */
.food-navbar-redesign .navbar-toggler {
  border: 1px solid rgba(242, 201, 76, 0.3);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.food-navbar-redesign .navbar-toggler:hover {
  border-color: rgba(242, 201, 76, 0.5);
  background-color: rgba(242, 201, 76, 0.1);
}

.food-navbar-redesign .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(242, 201, 76, 0.25);
}

.food-navbar-redesign .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28242, 201, 76, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* MamaTastes Brand Styling Redesign */
.food-brand-redesign {
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #F2C94C !important;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
}

.food-brand-redesign:hover {
  color: rgba(242, 201, 76, 0.8) !important;
  text-decoration: none;
}

.brand-text-redesign {
  color: #F2C94C !important;
  font-weight: 700;
}

.food-brand-redesign i {
  color: #F2C94C !important;
  font-size: 1.5rem;
}

/* Navbar Logo Styling */
.navbar-logo {
  height: 80px;
  width: auto;
  transition: all 0.3s ease;
  filter: brightness(1.1);
  object-fit: contain;
}

.navbar-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Admin Logo Styling */
.admin-logo {
  height: 70px;
  width: auto;
  transition: all 0.3s ease;
  object-fit: contain;
}

.admin-logo:hover {
  transform: scale(1.05);
}

/* Food Navigation Links Redesign */
.food-nav-link-redesign {
  color: #F2C94C !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1.5rem !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  margin: 0 0.25rem;
}

.food-nav-link-redesign:hover {
  color: #F2C94C !important;
  background-color: rgba(242, 201, 76, 0.1);
  transform: translateY(-2px);
}

.food-nav-center {
  gap: 1rem;
}

/* Food Search Container Redesign */
.search-container-redesign {
  min-width: 250px;
  max-width: 300px;
}

.food-search-input-redesign {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 25px 0 0 25px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #333;
}

.food-search-input-redesign::placeholder {
  color: #666;
  font-style: italic;
}

.food-search-input-redesign:focus {
  background-color: white;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  border-color: transparent;
}

.food-search-btn-redesign {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 0.5rem 1rem;
  color: #333;
  transition: all 0.3s ease;
}

.food-search-btn-redesign:hover {
  background-color: white;
  color: #F2C94C;
}

/* Food Cart Button Redesign */
.food-cart-btn-redesign {
  background-color: transparent;
  border: 2px solid rgba(242, 201, 76, 0.3);
  color: #F2C94C;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
}

.food-cart-btn-redesign:hover {
  background-color: rgba(242, 201, 76, 0.1);
  border-color: rgba(242, 201, 76, 0.5);
  color: #F2C94C;
  transform: scale(1.05);
}

.cart-badge-redesign {
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Food Auth Buttons Redesign */
.food-auth-btn-redesign {
  background-color: transparent;
  border: 1px solid rgba(242, 201, 76, 0.3);
  color: #F2C94C;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
}

.food-auth-btn-redesign:hover {
  background-color: rgba(242, 201, 76, 0.1);
  border-color: rgba(242, 201, 76, 0.5);
  color: #F2C94C;
  text-decoration: none;
  transform: translateY(-1px);
}

/* Food User Menu Redesign */
.food-user-menu-redesign {
  background-color: transparent;
  border: 1px solid rgba(242, 201, 76, 0.3);
  color: #F2C94C;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.food-user-menu-redesign:hover {
  background-color: rgba(242, 201, 76, 0.1);
  border-color: rgba(242, 201, 76, 0.5);
  color: #F2C94C;
}

/* Food Location Button Redesign */
.food-location-btn-redesign {
  background-color: transparent;
  border: 1px solid rgba(242, 201, 76, 0.3);
  color: #F2C94C;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.food-location-btn-redesign:hover {
  background-color: rgba(242, 201, 76, 0.1);
  border-color: rgba(242, 201, 76, 0.5);
  color: #F2C94C;
}

/* Food Extra Links Redesign */
.food-extra-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.food-extra-link:hover {
  color: white;
  text-decoration: none;
}

/* Mobile Navigation Redesign */
.food-mobile-search {
  padding: 0 1rem;
}

.food-search-input-mobile {
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 25px 0 0 25px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: #333;
}

.food-search-input-mobile::placeholder {
  color: #666;
}

.food-search-input-mobile:focus {
  background-color: white;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  border-color: transparent;
}

.food-search-btn-mobile {
  background-color: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 0.75rem 1rem;
  color: #4a6741;
  transition: all 0.3s ease;
}

.food-search-btn-mobile:hover {
  background-color: white;
  color: #4a6741;
}

/* Mobile Navigation Links */
.food-mobile-nav-links {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.food-mobile-nav-link {
  color: #F2C94C;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  font-weight: 500;
  border: 1px solid rgba(242, 201, 76, 0.2);
}

.food-mobile-nav-link:hover {
  background-color: rgba(242, 201, 76, 0.1);
  color: #F2C94C;
  text-decoration: none;
  border-color: rgba(242, 201, 76, 0.4);
}

/* Mobile Actions */
.food-mobile-actions {
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.food-mobile-action-item {
  width: 100%;
}

.food-mobile-action-btn {
  background-color: rgba(242, 201, 76, 0.1);
  border: 1px solid rgba(242, 201, 76, 0.3);
  color: #F2C94C;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.food-mobile-action-btn:hover {
  background-color: rgba(242, 201, 76, 0.2);
  border-color: rgba(242, 201, 76, 0.5);
  color: #F2C94C;
}

/* Mobile Auth Buttons */
.food-mobile-auth {
  display: flex;
  gap: 0.5rem;
}

.food-mobile-auth-btn {
  flex: 1;
  background-color: rgba(242, 201, 76, 0.1);
  border: 1px solid rgba(242, 201, 76, 0.3);
  color: #F2C94C;
  padding: 0.75rem 1rem;
  border-radius: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.food-mobile-auth-btn:hover {
  background-color: rgba(242, 201, 76, 0.2);
  border-color: rgba(242, 201, 76, 0.5);
  color: #F2C94C;
  text-decoration: none;
}

/* Food Navigation Right Section */
.food-nav-right-redesign {
  gap: 1rem;
}

/* Mobile Responsive for Food Navigation Redesign */
@media (max-width: 1200px) {
  .food-navbar-redesign .container-fluid {
    padding-left: 5rem;
  }
}

@media (max-width: 991.98px) {
  .food-navbar-redesign {
    border-radius: 0;
    min-height: auto;
    padding: 0.5rem 0;
  }

  .food-navbar-redesign .container-fluid {
    padding: 0 1rem;
    padding-left: 4rem;
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding-bottom: 1rem;
  }

  /* Hide desktop elements */
  .search-container-redesign,
  .food-nav-right-redesign,
  .food-desktop-extras {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .food-brand-redesign {
    font-size: 1.3rem;
  }

  .food-brand-redesign i {
    font-size: 1.1rem;
  }

  .navbar-logo {
    height: 65px;
  }

  .food-navbar-redesign {
    padding: 0.4rem 0;
  }

  .food-navbar-redesign .container-fluid {
    padding-left: 3rem;
  }

  .food-mobile-search,
  .food-mobile-nav-links,
  .food-mobile-actions {
    padding: 0 0.75rem;
  }

  .food-mobile-nav-link,
  .food-mobile-action-btn,
  .food-mobile-auth-btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .food-brand-redesign {
    font-size: 1.1rem;
  }

  .food-brand-redesign i {
    font-size: 1rem;
  }

  .navbar-logo {
    height: 55px;
  }

  .food-navbar-redesign .container-fluid {
    padding-left: 2rem;
  }

  .food-mobile-search,
  .food-mobile-nav-links,
  .food-mobile-actions {
    padding: 0 0.5rem;
  }

  .food-mobile-nav-link,
  .food-mobile-action-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .food-mobile-auth {
    flex-direction: column;
    gap: 0.5rem;
  }

  .food-mobile-auth-btn {
    padding: 0.6rem;
    font-size: 0.9rem;
  }
}

/* Force visibility for all food navigation elements */
.food-navbar-redesign .nav-link,
.food-navbar-redesign .navbar-brand,
.food-navbar-redesign .btn,
.food-navbar-redesign span,
.food-navbar-redesign a {
  color: #F2C94C !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Hurry Layout */
.navbar-hurry {
  height: 60px;
  padding: 0 50px;
  position: relative;
}

.navbar-left-section {
  flex: 1;
  gap: 2rem;
  justify-content: flex-start;
}

.navbar-center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  white-space: nowrap;
}

.navbar-right-section {
  flex: 1;
  gap: 1.5rem;
  justify-content: flex-end;
}

/* Brand Styling - Centered Logo */
.navbar-brand-center {
  font-size: 1.6rem;
  font-weight: 900;
  text-decoration: none;
  color: #333 !important;
  letter-spacing: 1px;
  white-space: nowrap;
}

.navbar-brand-center:hover {
  color: #333 !important;
  text-decoration: none;
}

.navbar-brand-center i {
  font-size: 1.8rem;
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text-hurry {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  font-weight: 900;
  text-transform: none;
}

/* Navigation Links - White Background */
.nav-link-hurry {
  color: #333 !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  background-color: rgba(0, 0, 0, 0.05);
  border: 2px solid rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.nav-link-hurry:hover {
  background-color: #28a745;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  border-color: #28a745;
}

.nav-text-hurry {
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #333 !important;
  text-shadow: none;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Location Widget - White Background */
.location-widget-hurry {
  position: relative;
}

.location-btn-hurry {
  background: rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #333;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.location-btn-hurry:hover {
  background: #17a2b8;
  border-color: #17a2b8;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.location-text-hurry {
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #333 !important;
  text-shadow: none;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Search Container - White Background */
.search-container-hurry {
  min-width: 200px;
  max-width: 250px;
}

.search-input-hurry {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-left: none;
  border-radius: 0 4px 4px 0;
  background-color: #f8f9fa;
  font-size: 0.85rem;
  padding: 8px 12px;
  color: #333;
}

.search-input-hurry:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.25);
  background-color: white;
}

.search-container-hurry .input-group-text {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: #666;
  padding: 8px 12px;
}

/* Cart Button - White Background */
.btn-cart-hurry {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-cart-hurry:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.cart-text-hurry {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: inherit !important;
  text-shadow: none;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Authentication Buttons - White Background */
.auth-buttons-hurry {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-auth-signin-hurry {
  background: transparent;
  border: 2px solid #28a745;
  color: #28a745;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-auth-signin-hurry:hover {
  background: #28a745;
  border-color: #28a745;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-auth-register-hurry {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-auth-register-hurry:hover {
  background: linear-gradient(135deg, #20c997, #17a2b8);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.auth-text-hurry {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: inherit !important;
  text-shadow: none;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Search Container - Natural Sizing */
.search-container-spread {
  width: auto;
  min-width: 200px;
  max-width: 260px;
}

.search-input-spread {
  border-radius: 0 8px 8px 0;
  border-left: none;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  padding: 10px 14px;
}

.search-input-spread:focus {
  background-color: white;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.input-group-text {
  border-radius: 8px 0 0 8px;
  background-color: #f8f9fa;
  border-right: none;
  padding: 10px 14px;
}

/* Cart Button - Natural Sizing */
.btn-cart-spread {
  background: linear-gradient(135deg, #28a745, #20c997);
  border: none;
  color: white;
  border-radius: 8px;
  padding: 10px 16px;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-weight: 500;
  min-width: auto;
}

.btn-cart-spread:hover {
  background: linear-gradient(135deg, #218838, #1ea085);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
  color: white;
}

.cart-text {
  white-space: nowrap;
  font-size: 0.9rem;
}

.cart-badge {
  font-size: 0.7rem;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Authentication Buttons - Natural Spacing */
.auth-buttons-spread {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-auth-signin-spread {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: auto;
}

.btn-auth-signin-spread:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 107, 53, 0.3);
}

.btn-auth-register-spread {
  background: linear-gradient(135deg, var(--primary-color), #ff8c42);
  border: none;
  color: white;
  border-radius: 6px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.2;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: auto;
}

.btn-auth-register-spread:hover {
  background: linear-gradient(135deg, #e55a2b, #ff7a28);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(255, 107, 53, 0.4);
  color: white;
}

.auth-text {
  white-space: nowrap;
  font-size: 0.9rem;
}

/* Location Text */
.location-text {
  flex: 1;
  line-height: 1.2;
  text-align: left;
}

.location-city {
  font-weight: 600;
  font-size: 0.85rem;
  color: #495057;
  margin: 0;
}

.location-subtitle {
  font-size: 0.7rem;
  color: #6c757d;
  margin: 0;
}

/* User Menu */
.btn-user-menu {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 8px 12px;
  transition: all 0.3s ease;
  color: #495057;
}

.btn-user-menu:hover {
  background: linear-gradient(135deg, #e9ecef, #dee2e6);
  border-color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #495057;
}

.user-avatar {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary-color), #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
}

.user-avatar-large {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
}

.user-info {
  text-align: left;
}

.user-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #495057;
  margin: 0;
  line-height: 1.2;
}

.user-role {
  font-size: 0.75rem;
  margin: 0;
  line-height: 1;
}

/* Dropdown Menu */
.user-dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  min-width: 280px;
  margin-top: 8px;
}

.dropdown-header {
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  margin: -8px 0 8px 0;
  border-radius: 12px 12px 0 0;
}

.dropdown-item-modern {
  padding: 12px 16px;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 8px;
  display: flex;
  align-items: center;
}

.dropdown-item-modern:hover {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 140, 66, 0.1));
  color: var(--primary-color);
  transform: translateX(4px);
}

.dropdown-item-modern i {
  width: 20px;
  opacity: 0.8;
}

/* Location loading animation */
.location-loading {
  animation: locationPulse 1.5s ease-in-out infinite;
}

@keyframes locationPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Hurry Style Responsive Design */
@media (max-width: 1199.98px) {
  .navbar-hurry {
    padding: 0 40px;
  }

  .navbar-left-section {
    gap: 1.5rem;
  }

  .navbar-right-section {
    gap: 1rem;
  }

  .search-container-hurry {
    min-width: 180px;
    max-width: 200px;
  }

  .nav-text-hurry,
  .auth-text-hurry,
  .cart-text-hurry,
  .location-text-hurry {
    font-size: 0.8rem;
  }
}

/* Mobile Responsiveness - Hurry Style */
@media (max-width: 991.98px) {
  .modern-navbar {
    min-height: auto;
  }

  .navbar-hurry {
    flex-direction: column;
    height: auto;
    padding: 1rem 30px;
    gap: 1rem;
  }

  .navbar-center-logo {
    position: static;
    transform: none;
    order: 1;
    margin-bottom: 1rem;
    text-align: center;
  }

  .navbar-brand-center {
    justify-content: center;
  }

  .navbar-left-section {
    order: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .navbar-right-section {
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .search-container-hurry {
    min-width: 200px;
    max-width: 300px;
  }

  .location-widget-hurry {
    width: auto;
  }
}

@media (max-width: 767.98px) {
  .navbar-hurry {
    padding: 0.75rem 20px;
  }

  .nav-text-hurry,
  .auth-text-hurry,
  .cart-text-hurry {
    display: none;
  }

  .nav-link-hurry,
  .btn-auth-signin-hurry,
  .btn-auth-register-hurry,
  .btn-cart-hurry,
  .location-btn-hurry {
    padding: 8px 12px;
    min-width: 44px;
    justify-content: center;
  }

  .navbar-left-section,
  .navbar-right-section {
    gap: 0.75rem;
  }

  .auth-buttons-hurry {
    gap: 0.75rem;
  }

  .brand-text-hurry {
    font-size: 1.5rem;
  }

  .search-container-hurry {
    min-width: 150px;
    max-width: 200px;
  }
}

/* Text Overflow Protection */
.nav-text,
.auth-text,
.cart-text,
.location-text-single {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.navbar-brand {
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: var(--transition-base);
}

.navbar-brand:hover {
  color: var(--primary-dark) !important;
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-weight: 600;
  font-size: var(--font-size-base);
  color: var(--dark-color) !important;
  padding: 0.5rem 1rem !important;
  border-radius: var(--border-radius);
  transition: var(--transition-base);
  position: relative;
}

/* Ensure navigation text is always visible */
.navbar-light .navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 600 !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: #F2C94C !important;
  font-weight: 600 !important;
}

.navbar-brand {
  color: #F2C94C !important;
  font-weight: 700 !important;
}

.navbar-dark .navbar-brand {
  color: #F2C94C !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(255, 107, 53, 0.1);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition-base);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

/* Hero Section */
.hero-section {
  background: var(--gradient-primary);
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-section .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow-lg);
}

/* Buttons */
.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  font-family: var(--font-family-sans-serif);
  transition: var(--transition-base);
  border: 2px solid transparent;
  padding: 0.625rem 1.5rem;
  font-size: var(--font-size-base);
  position: relative;
  overflow: hidden;
}

.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: var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

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

.btn-success:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

.btn-outline-success {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: transparent;
}

.btn-outline-success:hover {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-lg);
}

.btn-lg {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  border-radius: var(--border-radius-lg);
}

.btn-sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.875rem;
  border-radius: var(--border-radius-sm);
}

/* Cards */
.card {
  border: none;
  border-radius: var(--border-radius-lg);
  transition: var(--transition-base);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  background: white;
}

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

.card-header {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
  font-weight: 600;
}

.card-body {
  padding: 1.5rem;
}

.meal-card {
  overflow: hidden;
  position: relative;
}

.meal-card .card-img-top {
  transition: var(--transition-slow);
  height: 200px;
  object-fit: cover;
}

.meal-card:hover .card-img-top {
  transform: scale(1.1);
}

.meal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05));
  opacity: 0;
  transition: var(--transition-base);
  z-index: 1;
}

.meal-card:hover::before {
  opacity: 1;
}

.meal-card .card-body {
  position: relative;
  z-index: 2;
}

/* Category Filters */
.category-btn {
  margin: 0.25rem;
  border-radius: 2rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-base);
  border: 2px solid var(--gray-300);
  background: white;
  color: var(--gray-600);
  position: relative;
  overflow: hidden;
}

.category-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition-base);
  z-index: -1;
}

.category-btn:hover::before,
.category-btn.active::before {
  left: 0;
}

.category-btn:hover,
.category-btn.active {
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
}

/* Forms */
.form-control,
.form-select {
  border-radius: var(--border-radius);
  border: 2px solid var(--gray-300);
  transition: var(--transition-base);
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  background: white;
  color: var(--dark-color);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.15);
  outline: none;
}

.form-control:hover,
.form-select:hover {
  border-color: var(--primary-light);
}

.form-label {
  font-weight: 500;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-size: var(--font-size-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-text {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

.form-check-input {
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--gray-300);
  transition: var(--transition-base);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.15);
}

.input-group .form-control {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.input-group .btn {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* Alerts */
.alert {
  border-radius: var(--border-radius-lg);
  border: none;
  font-weight: 500;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.alert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: currentColor;
}

.alert-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  border-left: 4px solid var(--success-color);
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
  color: #721c24;
  border-left: 4px solid var(--danger-color);
}

.alert-warning {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  color: #856404;
  border-left: 4px solid var(--warning-color);
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
  border-left: 4px solid var(--info-color);
}

/* Modal */
.modal-content {
  border-radius: var(--border-radius-xl);
  border: none;
  box-shadow: var(--box-shadow-xl);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.modal-header {
  background: var(--gradient-primary);
  color: white;
  border-bottom: none;
  padding: 1.5rem 2rem;
}

.modal-header .modal-title {
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 1.25rem;
}

.modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.modal-header .btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 2rem;
  background: white;
}

.modal-footer {
  background: var(--gray-100);
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem 2rem;
}

.modal-backdrop {
  background-color: rgba(44, 62, 80, 0.8);
  backdrop-filter: blur(4px);
}

/* Cart */
.cart-items {
  max-height: 400px;
  overflow-y: auto;
  padding: 0.5rem;
}

.cart-items::-webkit-scrollbar {
  width: 8px;
}

.cart-items::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--border-radius);
}

.cart-items::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: var(--border-radius);
  transition: var(--transition-base);
}

.cart-items::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

.cart-item {
  padding: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition-base);
  border: 1px solid transparent;
}

.cart-item:hover {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(8px);
}

.loading-overlay .spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

/* Badges */
.badge {
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--border-radius);
}

.badge.bg-success {
  background: var(--gradient-primary) !important;
}

.badge.bg-warning {
  background: linear-gradient(135deg, var(--warning-color) 0%, #e67e22 100%) !important;
}

.badge.bg-danger {
  background: linear-gradient(135deg, var(--danger-color) 0%, #c0392b 100%) !important;
}

.badge.bg-info {
  background: linear-gradient(135deg, var(--info-color) 0%, #2980b9 100%) !important;
}

/* Utilities */
.text-success {
  color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-success {
  background: var(--gradient-primary) !important;
}

.bg-primary {
  background: var(--gradient-primary) !important;
}

.border-success {
  border-color: var(--primary-color) !important;
}

.border-primary {
  border-color: var(--primary-color) !important;
}

/* Custom Utility Classes */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: var(--box-shadow-lg);
}

.rounded-custom {
  border-radius: var(--border-radius-lg);
}

.hover-lift {
  transition: var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-xl);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in {
  animation: slideIn 0.4s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.4s ease-out;
}

.scale-in {
  animation: scaleIn 0.3s ease-out;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

.shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Staggered Animations */
.stagger-animation > * {
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-animation > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation > *:nth-child(6) { animation-delay: 0.6s; }

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: 60vh;
    text-align: center;
  }

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

  .navbar-nav {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
  }

  .modal-dialog {
    margin: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
    padding: 3rem 0;
  }

  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .navbar-brand {
    font-size: 1.5rem;
  }

  .card-body {
    padding: 1.25rem;
  }

  .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
  }

  .btn-lg {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  .modal-body {
    padding: 1.5rem;
  }

  .modal-header {
    padding: 1.25rem 1.5rem;
  }

  .modal-footer {
    padding: 1.25rem 1.5rem;
  }

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

@media (max-width: 576px) {
  .hero-section {
    min-height: 40vh;
    padding: 2rem 0;
  }

  .hero-section h1 {
    font-size: 1.75rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }

  .category-btn {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    margin: 0.125rem;
  }

  .modal-dialog {
    margin: 0.5rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-footer {
    padding: 1rem;
  }

  .card-body {
    padding: 1rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.875rem;
  }

  .btn-sm {
    font-size: 0.75rem;
    padding: 0.375rem 0.625rem;
  }

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

  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --dark-color: #f8f9fa;
    --light-color: #1a1a1a;
    --gray-100: #2d2d2d;
    --gray-200: #3d3d3d;
    --gray-300: #4d4d4d;
    --gray-400: #6d6d6d;
    --gray-500: #8d8d8d;
  }

  body {
    background-color: #121212;
    color: var(--dark-color);
  }

  .navbar {
    background-color: rgba(26, 26, 26, 0.95) !important;
    border-bottom-color: var(--gray-300);
  }

  .card {
    background-color: #1f1f1f;
    color: var(--dark-color);
    border: 1px solid var(--gray-300);
  }

  .modal-content {
    background-color: #1f1f1f;
    color: var(--dark-color);
  }

  .modal-header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  }

  .modal-body {
    background-color: #1f1f1f;
  }

  .modal-footer {
    background-color: var(--gray-100);
    border-top-color: var(--gray-300);
  }

  .form-control,
  .form-select {
    background-color: #2d2d2d;
    border-color: var(--gray-400);
    color: var(--dark-color);
  }

  .form-control:focus,
  .form-select:focus {
    background-color: #2d2d2d;
    border-color: var(--primary-color);
    color: var(--dark-color);
  }

  .alert-success {
    background: linear-gradient(135deg, #1e3a2e 0%, #2d5a3d 100%);
    color: #a3d9a5;
  }

  .alert-danger {
    background: linear-gradient(135deg, #3a1e1e 0%, #5a2d2d 100%);
    color: #f5a3a3;
  }

  .alert-warning {
    background: linear-gradient(135deg, #3a3a1e 0%, #5a5a2d 100%);
    color: #f5f5a3;
  }

  .alert-info {
    background: linear-gradient(135deg, #1e2a3a 0%, #2d3d5a 100%);
    color: #a3c5f5;
  }
}

/* Print Styles */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    color-adjust: exact !important;
  }

  .navbar,
  .modal,
  .btn,
  .loading-overlay,
  .dropdown,
  .cart-btn,
  .user-menu {
    display: none !important;
  }

  .card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .hero-section {
    background: none !important;
    color: #000 !important;
    min-height: auto;
    padding: 2rem 0;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: white;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }

  .container {
    max-width: none;
    padding: 0;
  }

  .row {
    margin: 0;
  }

  .col-md-6,
  .col-lg-4,
  .col-xl-3 {
    width: 50%;
    float: left;
  }

  .page-break {
    page-break-before: always;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .btn {
    border-width: 2px;
  }

  .card {
    border-width: 2px;
  }

  .form-control,
  .form-select {
    border-width: 2px;
  }
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
}

/* 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 Category Filter Styles */
.chef-category-btn {
  border-radius: 20px;
  padding: 6px 12px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-300);
}

.chef-category-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chef-category-btn.active {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
  background-color: var(--info-color);
  border-color: var(--info-color);
  color: white;
}

/* Enhanced Meal Card Styles */
.meal-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.meal-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.meal-card .card-img-top {
  transition: transform 0.3s ease;
  height: 200px;
  object-fit: cover;
}

.meal-card:hover .card-img-top {
  transform: scale(1.05);
}

.meal-card .badge {
  font-size: 0.7rem;
  padding: 0.4em 0.6em;
  border-radius: 8px;
  font-weight: 500;
}

/* Enhanced Chef Card Styles */
.chef-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.chef-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.chef-card .card-img-top {
  transition: transform 0.3s ease;
  height: 200px;
  object-fit: cover;
}

.chef-card:hover .card-img-top {
  transform: scale(1.05);
}

.chef-card .badge {
  font-size: 0.7rem;
  padding: 0.4em 0.6em;
  border-radius: 8px;
  font-weight: 500;
}

.chef-card .badge.bg-light {
  background-color: var(--gray-100) !important;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

/* Star Rating Styles */
.fa-star, .fa-star-half-alt {
  font-size: 0.875rem;
  color: #ffc107;
}

.fa-star.text-warning,
.fa-star-half-alt.text-warning {
  color: #ffc107 !important;
}

.far.fa-star.text-warning {
  color: #e9ecef !important;
}

/* Location Filter Styles */
.input-group .form-control {
  border-radius: 10px 0 0 10px;
  border-right: none;
}

.input-group .btn {
  border-radius: 0 10px 10px 0;
  border-left: none;
}

.input-group .input-group-text {
  background-color: #f8f9fa;
  border-color: var(--gray-300);
  border-right: none;
  color: var(--gray-600);
}

/* Loading States */
.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

.spinner-border.text-primary {
  color: var(--primary-color) !important;
}

/* Toast Notifications */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
  min-width: 300px;
  animation: slideInRight 0.3s ease-out;
}

.toast-notification .alert {
  margin-bottom: 0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced Button Styles for Cards */
.btn-group-vertical .btn {
  border-radius: 8px;
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}

.btn-group-vertical .btn:last-child {
  margin-bottom: 0;
}

.btn-outline-primary:hover,
.btn-outline-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .category-btn {
    font-size: 0.875rem;
    padding: 6px 12px;
    margin-bottom: 0.5rem;
  }

  .chef-category-btn {
    font-size: 0.75rem;
    padding: 4px 8px;
    margin-bottom: 0.25rem;
  }

  .meal-card .card-body,
  .chef-card .card-body {
    padding: 1rem;
  }

  .meal-card .card-img-top,
  .chef-card .card-img-top {
    height: 180px;
  }

  .btn-group-vertical .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
  }
}

@media (max-width: 576px) {
  .category-btn {
    font-size: 0.8rem;
    padding: 5px 10px;
    margin: 0.125rem;
  }

  .chef-category-btn {
    font-size: 0.7rem;
    padding: 3px 6px;
  }

  .meal-card .card-img-top,
  .chef-card .card-img-top {
    height: 160px;
  }

  .toast-notification {
    right: 10px;
    left: 10px;
    min-width: auto;
  }
}

/* Animation for cards appearing */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.meal-card,
.chef-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Staggered animation for multiple cards */
.meal-card:nth-child(1),
.chef-card:nth-child(1) { animation-delay: 0.1s; }
.meal-card:nth-child(2),
.chef-card:nth-child(2) { animation-delay: 0.2s; }
.meal-card:nth-child(3),
.chef-card:nth-child(3) { animation-delay: 0.3s; }
.meal-card:nth-child(4),
.chef-card:nth-child(4) { animation-delay: 0.4s; }
.meal-card:nth-child(5),
.chef-card:nth-child(5) { animation-delay: 0.5s; }
.meal-card:nth-child(6),
.chef-card:nth-child(6) { animation-delay: 0.6s; }

/* Chef Storefront Styles */
.chef-hero {
  background: linear-gradient(135deg, var(--success-color) 0%, #20c997 100%);
  position: relative;
  overflow: hidden;
}

.chef-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.chef-hero .rating-section .fas {
  color: #ffd700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.meal-card-mini {
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.meal-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.meal-card-mini .card-img-top {
  transition: transform 0.3s ease;
}

.meal-card-mini:hover .card-img-top {
  transform: scale(1.05);
}

.chef-info span {
  background: rgba(255,255,255,0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
}

.bg-gradient-success {
  background: linear-gradient(135deg, var(--success-color) 0%, #20c997 100%) !important;
}

.modal-xl .modal-dialog {
  max-width: 1200px;
}

.chef-stats-card {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: none;
  transition: transform 0.2s ease;
}

.chef-stats-card:hover {
  transform: translateY(-2px);
}

/* Rating Stars Enhancement */
.rating-stars .fas.fa-star {
  color: #ffd700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
  margin-right: 2px;
}

.rating-stars .far.fa-star {
  color: #dee2e6;
  margin-right: 2px;
}

/* Badge Enhancements */
.badge.bg-success.bg-opacity-75 {
  background-color: rgba(var(--bs-success-rgb), 0.75) !important;
  color: white;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Notification Styles */
.notification-dropdown {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border: none;
  border-radius: 12px;
}

.notification-item {
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.notification-item:hover {
  background-color: #f8f9fa;
}

.notification-item.unread {
  background-color: rgba(var(--bs-primary-rgb), 0.05);
  border-left: 3px solid var(--bs-primary);
}

.notification-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  border-radius: 50%;
}

.unread-indicator {
  width: 8px;
  height: 8px;
  margin-top: 4px;
}

.notification-item.unread .notification-icon {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
}

#notification-bell.text-warning {
  animation: bellRing 0.5s ease-in-out;
}

@keyframes bellRing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  75% { transform: rotate(10deg); }
}

/* Enhanced Registration Form Styles */
.registration-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
}

.user-type-card {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  height: 100%;
}

.user-type-card:hover {
  border-color: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.user-type-card.selected {
  border-color: var(--bs-success);
  background-color: rgba(var(--bs-success-rgb), 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(var(--bs-success-rgb), 0.2);
}

.user-type-card .card-body {
  padding: 2rem 1rem;
}

.user-type-card i {
  transition: transform 0.3s ease;
}

.user-type-card:hover i,
.user-type-card.selected i {
  transform: scale(1.1);
}

.step-content {
  animation: fadeInUp 0.5s ease;
}

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

.progress {
  height: 8px;
  border-radius: 10px;
  background-color: #f8f9fa;
}

.progress-bar {
  border-radius: 10px;
  transition: width 0.5s ease;
}

/* Form Field Enhancements */
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-success);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-success-rgb), 0.25);
}

.form-check-input:checked {
  background-color: var(--bs-success);
  border-color: var(--bs-success);
}

/* Role-based UI Elements */
[data-auth-required] {
  display: none;
}

[data-auth-hidden] {
  display: block;
}

[data-chef-only] {
  display: none;
}

[data-customer-only] {
  display: none;
}

/* Authentication States */
.auth-loading {
  opacity: 0.6;
  pointer-events: none;
}

.auth-error {
  border-color: var(--bs-danger) !important;
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-danger-rgb), 0.25) !important;
}

/* Profile Completion Indicator */
.profile-completion {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.completion-progress {
  height: 6px;
  border-radius: 3px;
  background-color: rgba(255,255,255,0.3);
  overflow: hidden;
}

.completion-progress-bar {
  height: 100%;
  background-color: white;
  border-radius: 3px;
  transition: width 0.5s ease;
}

/* Role Badges */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.role-badge.chef {
  background-color: rgba(var(--bs-success-rgb), 0.1);
  color: var(--bs-success);
  border: 1px solid rgba(var(--bs-success-rgb), 0.3);
}

.role-badge.customer {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.3);
}

/* Verification Status */
.verification-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

.verification-status.verified {
  background-color: rgba(var(--bs-success-rgb), 0.1);
  color: var(--bs-success);
}

.verification-status.pending {
  background-color: rgba(var(--bs-warning-rgb), 0.1);
  color: var(--bs-warning);
}

.verification-status.rejected {
  background-color: rgba(var(--bs-danger-rgb), 0.1);
  color: var(--bs-danger);
}

/* Onboarding Step Indicator */
.step-indicator {
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e9ecef;
  z-index: 1;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
}

.step-label {
  font-size: 0.875rem;
  color: #6c757d;
  text-align: center;
  transition: color 0.3s ease;
}

.step-item.active .step-circle {
  background-color: var(--bs-success);
  color: white;
}

.step-item.active .step-label {
  color: var(--bs-success);
  font-weight: 600;
}

.step-item.completed .step-circle {
  background-color: var(--bs-success);
  color: white;
}

.step-item.completed .step-circle::before {
  content: '✓';
}

.step-item.completed .step-label {
  color: var(--bs-success);
}

/* Verification Checklist */
.verification-checklist .list-group-item {
  border: none;
  padding: 1rem;
  background-color: #f8f9fa;
  margin-bottom: 0.5rem;
  border-radius: 8px;
}

.verification-checklist .list-group-item:last-child {
  margin-bottom: 0;
}

/* Loading States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Form Enhancements */
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-success);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-success-rgb), 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
  .step-indicator {
    margin-bottom: 2rem;
  }

  .step-circle {
    width: 30px;
    height: 30px;
    font-size: 0.875rem;
  }

  .step-label {
    font-size: 0.75rem;
  }

  .registration-form {
    padding: 1rem;
  }
}
