/* =========================================================
   FEEDO DELIVERY – Complete Style Sheet
   Modern Food Delivery Theme with Swiggy-style Design
   ========================================================= */

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

/* ── CSS Variables – Feedo Signature Colors ─────────────── */
:root {
  --feedo-primary:     #FF4B2B;
  --feedo-secondary:   #FF416C;
  --feedo-dark:        #2D3436;
  --feedo-light:       #FFF5F0;
  --feedo-success:     #00B894;
  --feedo-warning:     #FDCB6E;
  --feedo-danger:      #FF7675;
  --feedo-text:        #2D3436;
  --feedo-text-light:  #636E72;
  --feedo-border:      #DFE6E9;
  --feedo-bg:          #FAFAFA;
  --feedo-card:        #FFFFFF;
  --feedo-gradient:    linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
  --feedo-gradient-subtle: linear-gradient(135deg, #FFF5F0 0%, #FFE0E0 100%);
  --shadow-sm:         0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:         0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:         0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:         0 16px 48px rgba(0,0,0,0.16);
  --radius-sm:         8px;
  --radius-md:         12px;
  --radius-lg:         20px;
  --radius-xl:         28px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Poppins', system-ui, sans-serif;
  background: var(--feedo-bg);
  color: var(--feedo-text);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--feedo-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: var(--feedo-secondary);
  text-decoration: none;
}

small { font-size: 12px; color: var(--feedo-text-light); display: block; margin-top: 3px; }

/* ── Utility Classes ───────────────────────────────────── */
.hidden    { display: none !important; }
.muted     { color: var(--feedo-text-light); }
.mt-1      { margin-top: 0.75rem; }
.mt-2      { margin-top: 1.5rem; }
.mb-2      { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.text-gradient {
  background: var(--feedo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.inline-form { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }

/* ── Alerts ────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 14px;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.alert-success { background: #D4F1F4; color: #0B5E5E; border-left: 4px solid var(--feedo-success); }
.alert-error   { background: #FFE5E5; color: #C0392B; border-left: 4px solid var(--feedo-danger);  }
.alert-info    { background: #E3F2FD; color: #1565C0; border-left: 4px solid #2196F3;    }

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  gap: 8px;
  letter-spacing: 0.3px;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn:active { transform: translateY(0); }
.btn-full { width: 100%; }

.btn-primary {
  background: var(--feedo-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255,75,43,0.3);
}
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(255,75,43,0.4);
}
.btn-success {
  background: var(--feedo-success);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,184,148,0.3);
}
.btn-success:hover { background: #00A886; }
.btn-danger  {
  background: var(--feedo-danger);
  color: #fff;
}
.btn-danger:hover  { background: #FF6B6B; }
.btn-warning {
  background: var(--feedo-warning);
  color: #2D3436;
}
.btn-warning:hover { background: #FDCB6E; }
.btn-outline {
  background: transparent;
  color: var(--feedo-text);
  border: 2px solid var(--feedo-border);
}
.btn-outline:hover {
  border-color: var(--feedo-primary);
  color: var(--feedo-primary);
  background: var(--feedo-light);
}

.btn-sm { padding: 0.35rem 1rem; font-size: 12px; border-radius: var(--radius-sm); }

/* ══════════════════════════════════════════════════════════
   NAVBAR STYLES
   ══════════════════════════════════════════════════════════ */
.navbar-swiggy {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Navbar Brand - Feedo Logo */
.nav-brand-swiggy {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: linear-gradient(135deg, #FFF5F0 0%, #FFE0E0 100%);
  padding: 8px 16px;
  border-radius: 40px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.nav-brand-swiggy:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(255,75,43,0.2);
}

.nav-brand-swiggy .brand-icon {
  font-size: 28px;
  background: none;
  color: #FF4B2B;
}

.nav-brand-swiggy .brand-text {
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.nav-brand-swiggy .brand-tagline {
  font-size: 11px;
  font-weight: 700;
  color: #FF4B2B;
  background: white;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 4px;
}

.nav-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #F8F9FA;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-location:hover {
  background: #E8ECEF;
}

.nav-location i:first-child {
  color: #FF4B2B;
}

.nav-search {
  flex: 1;
  display: flex;
  align-items: center;
  background: #F8F9FA;
  border-radius: 12px;
  padding: 0.5rem 1rem;
  gap: 0.75rem;
}

.nav-search i {
  color: #999;
}

.nav-search input {
  flex: 1;
  border: none;
  background: none;
  outline: none;
  font-size: 0.9rem;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-btn-swiggy {
  position: relative;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #333;
  transition: color 0.3s;
}

.cart-btn-swiggy:hover {
  color: #FF4B2B;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #FF4B2B;
  color: white;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 20px;
  font-weight: 700;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.user-menu i {
  font-size: 1.3rem;
  color: #666;
}

.logout-link {
  color: #999;
  transition: color 0.3s;
}

.logout-link:hover {
  color: #FF4B2B;
}

/* ══════════════════════════════════════════════════════════
   CUSTOMER LAYOUT
   ══════════════════════════════════════════════════════════ */
.customer-layout-swiggy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.customer-main-swiggy {
  width: 100%;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
  border-radius: 24px;
  padding: 2rem 3rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 1rem;
  opacity: 0.9;
}

.hero-image img {
  width: 120px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

/* Section Title */
.section-title-swiggy {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.restaurant-count {
  font-size: 0.9rem;
  color: #666;
  font-weight: normal;
}

/* Category Scroll */
.category-section {
  margin-bottom: 2.5rem;
}

.category-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 0.5rem;
}

.category-scroll::-webkit-scrollbar {
  height: 4px;
}

.category-scroll::-webkit-scrollbar-track {
  background: #F0F0F0;
  border-radius: 10px;
}

.category-scroll::-webkit-scrollbar-thumb {
  background: #FF4B2B;
  border-radius: 10px;
}

.category-item {
  flex-shrink: 0;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
  transform: scale(0.95);
}

.category-item:hover {
  opacity: 1;
  transform: scale(1);
}

.category-item img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.category-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
}

/* Restaurants Grid */
.restaurants-section {
  margin-bottom: 2.5rem;
}

.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.restaurant-card-swiggy {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.restaurant-card-swiggy:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.restaurant-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.restaurant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

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

.restaurant-offer {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.restaurant-info-swiggy {
  padding: 1rem;
}

.restaurant-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.restaurant-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.restaurant-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #2E7D32;
  color: white;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.restaurant-rating i {
  font-size: 0.7rem;
}

.restaurant-cuisine {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.restaurant-location-swiggy {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.restaurant-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #F0F0F0;
}

.delivery-time, .delivery-price {
  font-size: 0.75rem;
  color: #666;
}

.view-menu-btn {
  background: none;
  border: none;
  color: #FF4B2B;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.3s;
}

.view-menu-btn:hover {
  gap: 8px;
}

/* Menu Modal */
.menu-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 24px;
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #F0F0F0;
  background: linear-gradient(135deg, #FFF5F0 0%, #FFE0E0 100%);
}

.modal-restaurant-info h2 {
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.modal-restaurant-info p {
  font-size: 0.85rem;
  color: #666;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #FF4B2B;
}

.modal-body {
  padding: 1rem;
  overflow-y: auto;
  max-height: 60vh;
}

.menu-grid-swiggy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-item-swiggy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #F0F0F0;
  transition: background 0.3s;
}

.menu-item-swiggy:hover {
  background: #FAFAFA;
}

.menu-item-info-swiggy {
  flex: 1;
}

.menu-item-name-swiggy {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.menu-item-desc {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.menu-item-price-swiggy {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FF4B2B;
}

.add-to-cart-btn {
  background: white;
  border: 1px solid #FF4B2B;
  color: #FF4B2B;
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s;
}

.add-to-cart-btn:hover {
  background: #FF4B2B;
  color: white;
}

/* Cart Sidebar */
.cart-sidebar-swiggy {
  position: fixed;
  right: 0;
  top: 0;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1500;
  display: flex;
  flex-direction: column;
}

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

.cart-header-swiggy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: var(--feedo-gradient);
  color: white;
}

.cart-header-swiggy h3 {
  margin: 0;
  font-size: 1.2rem;
}

.cart-close-swiggy {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.cart-empty-swiggy {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #999;
}

.cart-empty-swiggy i {
  font-size: 4rem;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item-swiggy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid #F0F0F0;
}

.cart-item-name-swiggy {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cart-item-price-swiggy {
  font-size: 0.85rem;
  color: #FF4B2B;
  font-weight: 600;
}

.cart-item-controls-swiggy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn-swiggy {
  width: 28px;
  height: 28px;
  border: 1px solid #FF4B2B;
  background: white;
  color: #FF4B2B;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.3s;
}

.qty-btn-swiggy:hover {
  background: #FF4B2B;
  color: white;
}

.qty-num-swiggy {
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.cart-remove-swiggy {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  transition: color 0.3s;
}

.cart-remove-swiggy:hover {
  color: #FF4B2B;
}

.cart-footer-swiggy {
  padding: 1.5rem;
  border-top: 1px solid #F0F0F0;
  background: #FAFAFA;
}

.cart-restaurant-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #F0F0F0;
  font-weight: 600;
}

.cart-summary-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.85rem;
}

.cart-total-swiggy {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  border-top: 1px solid #F0F0F0;
  margin-top: 0.5rem;
}

.total-price {
  color: #FF4B2B;
  font-size: 1.2rem;
}

.delivery-address-section {
  margin: 1rem 0;
}

.delivery-address-section label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.delivery-address-section textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  font-size: 0.85rem;
  resize: vertical;
}

.checkout-btn {
  width: 100%;
  padding: 0.9rem;
  background: var(--feedo-gradient);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.checkout-btn:hover {
  transform: translateY(-2px);
}

.clear-cart-btn {
  width: 100%;
  padding: 0.7rem;
  background: white;
  color: #666;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  margin-top: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}

.clear-cart-btn:hover {
  border-color: #FF4B2B;
  color: #FF4B2B;
}

/* Past Orders */
.past-orders-section {
  margin-top: 2.5rem;
}

.past-orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.past-order-card {
  background: white;
  border-radius: 12px;
  padding: 1rem;
  border: 1px solid #F0F0F0;
  transition: all 0.3s;
}

.past-order-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.past-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.order-id-swiggy {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
}

.past-order-restaurant {
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.past-order-items {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.separator {
  margin: 0 4px;
}

.past-order-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
  border-top: 1px solid #F0F0F0;
}

.past-order-total {
  font-weight: 700;
  color: #FF4B2B;
}

.past-order-date {
  font-size: 0.7rem;
  color: #999;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #2D3436;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  z-index: 2000;
  transition: transform 0.3s ease;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
}

.toast-notification i {
  color: #00B894;
}

/* Location Modal */
.location-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.location-modal-content {
  background: white;
  border-radius: 24px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.location-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #F0F0F0;
  background: var(--feedo-gradient);
  color: white;
}

.location-modal-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.location-modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.location-modal-body {
  padding: 1.5rem;
}

.location-modal-body p {
  margin-bottom: 1rem;
  color: #666;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
}

.location-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid #F0F0F0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s;
}

.location-option:hover {
  border-color: #FF4B2B;
  background: #FFF5F0;
}

.location-option-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.location-option-name i {
  color: #FF4B2B;
}

.location-option-area {
  font-size: 0.8rem;
  color: #666;
}

.location-option-check {
  color: #00B894;
}

/* Empty State */
.empty-state-swiggy {
  text-align: center;
  padding: 3rem;
  color: #999;
}

.empty-state-swiggy i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.empty-state-swiggy.small {
  padding: 2rem;
}

.empty-state-swiggy.small i {
  font-size: 2rem;
}

/* ══════════════════════════════════════════════════════════
   AUTH PAGES (login / register)
   ══════════════════════════════════════════════════════════ */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--feedo-gradient);
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: "🍕🍔🌮🍜";
  position: absolute;
  font-size: 200px;
  opacity: 0.05;
  bottom: -50px;
  right: -50px;
  pointer-events: none;
}

.auth-container {
  background: var(--feedo-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 450px;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.5s ease;
}

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

.auth-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-brand h1 {
  font-size: 36px;
  font-weight: 900;
  background: var(--feedo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  letter-spacing: -1px;
}

.auth-brand p {
  color: var(--feedo-text-light);
  font-size: 14px;
  margin-top: 8px;
}

.brand-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 8px;
}

.auth-form {
  margin-bottom: 1.5rem;
}

.auth-footer {
  text-align: center;
  font-size: 14px;
}

.demo-creds {
  margin-top: 1.5rem;
  border: 2px solid var(--feedo-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.demo-creds summary {
  padding: 0.75rem 1rem;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: var(--feedo-light);
  color: var(--feedo-primary);
}

.creds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.creds-table th, .creds-table td {
  padding: 0.5rem 0.75rem;
  border-top: 1px solid var(--feedo-border);
  text-align: left;
}

.creds-table th {
  background: var(--feedo-light);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   ADMIN DASHBOARD STYLES
   ══════════════════════════════════════════════════════════ */
.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--feedo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.5px;
}

.page-title small {
  font-size: 16px;
  font-weight: 400;
  background: none;
  -webkit-background-clip: unset;
  color: var(--feedo-text-light);
}

.sub-label {
  margin-top: -1rem;
  margin-bottom: 1.5rem;
  font-size: 14px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--feedo-dark);
}

.card {
  background: var(--feedo-card);
  border: 1px solid var(--feedo-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

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

.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--feedo-border);
  color: var(--feedo-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.grid-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.stats-row {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.stats-row.mini {
  margin-bottom: 0;
}

.stat-card {
  flex: 1;
  min-width: 120px;
  background: var(--feedo-gradient-subtle);
  border: 1px solid rgba(255,75,43,0.2);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  display: block;
  font-size: 36px;
  font-weight: 800;
  background: var(--feedo-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--feedo-text-light);
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Form Styles */
.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--feedo-text-light);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid var(--feedo-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--feedo-text);
  background: var(--feedo-card);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--feedo-primary);
  box-shadow: 0 0 0 3px rgba(255,75,43,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 70px;
}

/* Table Styles */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th {
  background: linear-gradient(135deg, #F8F9FA 0%, #F1F3F5 100%);
  padding: 0.8rem 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--feedo-text-light);
  border-bottom: 2px solid var(--feedo-border);
}

.data-table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--feedo-border);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: var(--feedo-light);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.badge-blue {
  background: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
  color: white;
}

.badge-red {
  background: linear-gradient(135deg, #FF4B2B 0%, #FF416C 100%);
  color: white;
}

.badge-green {
  background: linear-gradient(135deg, #00B894 0%, #55EFC4 100%);
  color: white;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}

.status-pending {
  background: #FFF3E0;
  color: #FF8C00;
  border: 1px solid #FFE0B2;
}

.status-preparing {
  background: #E3F2FD;
  color: #1976D2;
  border: 1px solid #BBDEFB;
}

.status-out_for_delivery {
  background: #FCE4EC;
  color: #D81B60;
  border: 1px solid #F8BBD0;
}

.status-delivered {
  background: #E8F5E9;
  color: #388E3C;
  border: 1px solid #C8E6C9;
}

/* Items List */
.items-list {
  list-style: none;
  padding: 0;
  font-size: 13px;
}

.items-list li::before {
  content: '🍕 ';
  color: var(--feedo-primary);
}

/* Empty States */
.empty-msg {
  text-align: center;
  color: var(--feedo-text-light);
  padding: 2rem;
  font-size: 14px;
}

/* Edit Form */
.edit-form {
  margin-top: 0.75rem;
}

.edit-form form {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.edit-form input {
  padding: 0.4rem 0.7rem;
  border: 2px solid var(--feedo-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  width: auto;
  flex: 1;
}

/* Delivery Order Cards */
.order-card {
  border: 2px solid var(--feedo-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.25rem;
  transition: all 0.3s;
}

.order-active {
  border-left: 5px solid var(--feedo-primary);
  background: linear-gradient(to right, #FFF5F0, white);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--feedo-light);
  border-bottom: 1px solid var(--feedo-border);
}

.order-id {
  font-weight: 800;
  font-size: 15px;
  color: var(--feedo-primary);
}

.order-body {
  padding: 1.25rem;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.order-info-grid strong {
  font-size: 12px;
  color: var(--feedo-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-info-grid p {
  font-size: 14px;
  font-weight: 700;
  margin: 4px 0 0 0;
  color: var(--feedo-dark);
}

.order-items {
  margin-bottom: 1rem;
  font-size: 14px;
}

.order-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 1rem;
  }

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

  .stats-row {
    flex-direction: column;
  }

  .navbar-swiggy .nav-container {
    padding: 0 1rem;
    gap: 1rem;
  }

  .nav-brand-swiggy .brand-text {
    font-size: 1.2rem;
  }

  .nav-brand-swiggy .brand-icon {
    font-size: 1.4rem;
  }

  .nav-brand-swiggy .brand-tagline {
    font-size: 0.6rem;
  }

  .nav-location span {
    display: none;
  }

  .nav-search {
    display: none;
  }

  .customer-layout-swiggy {
    padding: 1rem;
  }

  .hero-banner {
    padding: 1.5rem;
  }

  .hero-content h1 {
    font-size: 1.3rem;
  }

  .hero-image img {
    width: 80px;
  }

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

  .cart-sidebar-swiggy {
    width: 100%;
  }

  .category-item img {
    width: 60px;
    height: 60px;
  }

  .menu-modal .modal-content {
    width: 95%;
  }

  .auth-container {
    margin: 1rem;
    padding: 1.5rem;
  }

  .page-title {
    font-size: 24px;
  }

  .stat-num {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .hero-banner {
    flex-direction: column;
    text-align: center;
  }

  .restaurant-header h3 {
    font-size: 1rem;
  }

  .section-title-swiggy {
    font-size: 1.2rem;
  }

  .nav-brand-swiggy .brand-text {
    display: none;
  }

  .nav-brand-swiggy .brand-tagline {
    display: none;
  }
}
/* Admin Navbar */
.navbar-swiggy .nav-right {
  margin-left: auto;
}

.navbar-swiggy .user-menu i:first-child {
  color: #FF4B2B;
}

/* Admin Cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card-admin {
  background: white;
  padding: 1.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.stat-card-admin:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #FF4B2B;
}

.stat-label-admin {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}

/* Responsive */
@media (max-width: 768px) {
  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    white-space: nowrap;
  }
}