@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap");:root {
  /* Brand Colors - Premium Food Delivery (Red/Crimson) */
  --primary: #EA1D2C;
  --primary-hover: #C81622;
  --primary-light: rgba(234, 29, 44, 0.1);
  --success: #10B981;
  --warning: #F59E0B;
  
  /* Backgrounds */
  --bg-color: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-glass: rgba(255, 255, 255, 0.90);

  /* Text Colors */
  --text-main: #111827;
  --text-muted: #6B7280;
  --text-inverse: #FFFFFF;
  
  /* Borders */
  --border-light: #F3F4F6;
  
  /* Modern Shadows */
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --shadow-glow: 0 8px 24px rgba(234, 29, 44, 0.25);
  
  /* Radiuses */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.15s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111827;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

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

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

@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

.animate-fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.skeleton {
  background: #f6f7f8;
  background-image: linear-gradient(to right, #f6f7f8 0%, #edeef1 20%, #f6f7f8 40%, #f6f7f8 100%);
  background-repeat: no-repeat;
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear forwards;
}

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

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

.animate-slide-in-right {
  animation: slideInRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-out-right {
  animation: slideOutRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.header {
  background-color: #F8BE15;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  gap: 2rem;
}

.logo-section {
  flex-shrink: 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 55px;
  width: 55px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 2px solid #fff;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.05) rotate(-5deg);
}

.fallback-logo {
  display: flex;
  align-items: center;
  background: #F8BE15;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  justify-content: center;
  border: 2px solid #222;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: #111;
  font-weight: 900;
}

.logo-text-well { font-size: 1rem; letter-spacing: -0.5px; }
.logo-text-fed { font-size: 1.2rem; letter-spacing: -1px; }

/* Search Bar (iFood style) */
.search-section {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  padding: 0.9rem 1.5rem 0.9rem 3.2rem;
  border-radius: 8px; /* Square with rounded corners, modern */
  border: 1px solid #f0f0f0;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-size: 1rem;
  font-weight: 500;
  color: #3f3e3e;
  transition: all 0.2s ease;
}

.search-input::placeholder { color: #a6a6a6; }
.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-light);
}

/* Actions */
.actions-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Dropdown */
.user-dropdown-container {
  position: relative;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #222;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.user-profile-btn:hover {
  background: rgba(0,0,0,0.05);
}

.user-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  min-width: 200px;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
  border: 1px solid #eee;
  overflow: hidden;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1.2rem;
  color: #3f3e3e;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
  background: transparent;
  width: 100%;
  text-align: left;
}

.dropdown-item svg {
  color: #717171;
}

.dropdown-item:hover {
  background: #f7f7f7;
  color: var(--primary-hover);
}

.dropdown-item:hover svg {
  color: var(--primary-hover);
}

.partner-highlight {
  color: #b78a00;
  font-weight: 600;
}

.partner-highlight svg {
  color: #b78a00;
}

.dropdown-divider {
  height: 1px;
  background: #eee;
  margin: 0.5rem 0;
}

.logout-item {
  color: #3f3e3e;
}
.logout-item:hover {
  color: var(--primary-hover);
}

.login-btn-clean {
  color: #222;
  background-color: transparent;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login-btn-clean:hover {
  color: var(--primary-hover);
}

.cart-badge-btn.clean-cart {
  background: transparent;
  color: #111;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.2s;
}

.cart-badge-btn.clean-cart:hover {
  background: rgba(0, 0, 0, 0.05);
  transform: none;
  box-shadow: none;
}

.cart-badge-btn.clean-cart svg {
  width: 28px;
  height: 28px;
}

.cart-badge-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #ea1d2c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  transform: translate(20%, -20%);
  border: 2px solid var(--primary);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0.5rem;
  }

  .logo-section {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
  }
  
  .search-section {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    padding: 0;
    width: 100%;
  }

  .actions-section {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.3rem;
  }

  .logo-img {
    height: 38px;
    width: 38px;
  }

  .user-greeting {
    display: none; /* Hide name on mobile to save space */
  }

  .user-profile-btn {
    padding: 0.3rem;
  }
  
  .user-profile-btn svg {
    width: 22px;
    height: 22px;
  }
  
  .user-profile-btn svg:last-child {
    display: none; /* Hide chevron down on mobile */
  }

  .cart-badge-btn.clean-cart {
    padding: 0.3rem;
  }
  
  .cart-badge-btn.clean-cart svg {
    width: 24px;
    height: 24px;
  }

  .search-input {
    padding: 0.6rem 0.5rem 0.6rem 2.2rem;
    font-size: 0.85rem;
  }
  
  .search-icon {
    left: 0.6rem;
  }
  
  .search-icon svg {
    width: 15px;
    height: 15px;
  }
}
.footer {
  background-color: #F8BE15;
  color: var(--text-main);
  padding: 3rem 0 0 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 1.5rem 2rem 1.5rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p {
  color: #fff;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  transition: var(--transition);
}

.footer-section ul li a:hover {
  opacity: 0.7;
}

.footer-bottom {
  background-color: rgba(0,0,0,0.05);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
}
/* Cart Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  animation: overlayIn 0.3s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100vh;
  background: white;
  z-index: 201;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  animation: drawerSlide 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes drawerSlide {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: #fafafa;
}

.cart-header h3 {
  font-size: 1.2rem;
  color: var(--text-main);
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f0;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-muted);
}

.cart-close-btn:hover {
  background: #e0e0e0;
  color: var(--text-main);
}

/* Empty Cart */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--text-muted);
}

.cart-empty-icon {
  font-size: 3rem;
  opacity: 0.4;
}

.cart-empty p {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-main);
}

.cart-empty-hint {
  font-size: 0.9rem;
}

/* Restaurant Name */
.cart-restaurant-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #fffbeb, #fff);
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

/* Cart Items */
.cart-list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-items {
  padding: 1rem 1.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f5f5f5;
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

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

.cart-item-info h4 {
  font-size: 0.95rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.2rem;
}

.cart-item-price {
  font-weight: 700;
  color: #16a34a;
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #f0f0f0;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text-main);
}

.qty-btn:hover {
  background: var(--primary);
}

.qty-value {
  width: 24px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.remove-item-btn {
  font-size: 0.9rem;
  padding: 0.3rem;
  opacity: 0.5;
  transition: var(--transition);
}

.remove-item-btn:hover {
  opacity: 1;
}

/* Summary */
.cart-summary {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-light);
  background: #fafafa;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.summary-row.total-row {
  border-top: 2px solid var(--border-light);
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.fee-free-text {
  color: #16a34a;
  font-weight: 600;
}

/* Actions */
.cart-actions {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.checkout-btn {
  width: 100%;
  padding: 1.2rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 1.05rem;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkout-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(234, 29, 44, 0.4);
}

.clear-cart-btn {
  width: 100%;
  padding: 0.7rem;
  background: transparent;
  color: #dc2626;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.clear-cart-btn:hover {
  background: #fef2f2;
}

/* Cart Badge in Header */
.cart-badge-btn {
  position: relative;
  background: none;
  font-size: 1.4rem;
  transition: var(--transition);
  padding: 0.4rem;
}

.cart-badge-btn:hover {
  transform: scale(1.1);
}

.cart-badge-count {
  position: absolute;
  top: -4px;
  right: -6px;
  background: #222;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--primary);
}

@media (max-width: 480px) {
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}
.home-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  animation: fadeIn 0.4s ease-out;
}

section {
  margin-bottom: 4rem;
}

section h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  position: relative;
  display: inline-block;
  letter-spacing: -0.5px;
}

/* Categories */
.categories-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.categories-list::-webkit-scrollbar {
  display: none;
}

.category-card {
  background-color: var(--bg-card);
  color: var(--text-muted);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* Quick Filters */
.filters-list {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filters-list::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  background-color: var(--bg-card);
  color: var(--text-main);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
  transition: var(--transition-fast);
}

.filter-pill:hover {
  transform: translateY(-1px);
  background-color: #f9fafb;
  border-color: #e5e7eb;
}

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

.restaurant-card {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.restaurant-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #e5e7eb;
}

.restaurant-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.05);
  margin-right: 1.2rem;
}

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

.restaurant-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.restaurant-meta {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.rating {
  color: var(--warning);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dot {
  margin: 0 0.4rem;
  font-size: 0.8rem;
  opacity: 0.3;
}

.restaurant-delivery {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.fee-free {
  color: var(--success);
  font-weight: 700;
}

/* Badge Destaque */
.featured-badge {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 99px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

/* Skeleton Loaders for Home */
.skeleton-card {
  display: flex;
  align-items: center;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-light);
}

.skeleton-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  margin-right: 1.2rem;
}

.skeleton-text {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.skeleton-text.title { width: 70%; height: 20px; }
.skeleton-text.sub { width: 40%; }
.skeleton-text.meta { width: 90%; }

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .home-container {
    padding: 1rem;
  }
  
  .restaurants-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .restaurant-card {
    padding: 0.8rem;
  }

  .restaurant-image {
    width: 70px;
    height: 70px;
    margin-right: 1rem;
  }
}
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 2rem;
  background-color: #fafafa;
}

.auth-card {
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border-light);
}

.auth-card h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-main);
  font-size: 1.8rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input, .form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(248, 190, 21, 0.2);
}

.auth-btn {
  width: 100%;
  padding: 1rem;
  background-color: #222;
  color: white;
  border-radius: var(--radius-full);
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1rem;
  transition: var(--transition);
}

.auth-btn:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.auth-link {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--text-muted);
}

.auth-link a {
  color: #222;
  font-weight: 700;
  text-decoration: underline;
}

.error-message {
  background-color: #fee2e2;
  color: #b91c1c;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .auth-container {
    padding: 1rem;
  }
  
  .auth-card {
    padding: 1.5rem;
  }
  
  .auth-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
}
.restaurant-page-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  gap: 1.5rem;
  color: var(--text-muted);
}

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

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

.back-home-btn {
  background: var(--primary);
  color: #000;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

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

/* Hero Banner */
.restaurant-hero {
  height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.back-btn {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  width: fit-content;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.hero-info {
  color: white;
  animation: fadeIn 0.5s ease-out;
}

.hero-info h1 {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
  color: white;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 1.05rem;
  opacity: 0.95;
  flex-wrap: wrap;
}

.hero-rating {
  font-weight: 800;
  color: var(--primary);
}

.hero-dot {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.hero-free {
  color: #34D399; /* Mint */
  font-weight: 700;
}

.hero-status {
  margin-top: 1rem;
  display: inline-block;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.85rem;
  backdrop-filter: blur(8px);
}

.hero-status.open {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-status.closed {
  background: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Menu Section */
.restaurant-menu-section {
  max-width: 1000px;
  margin: -60px auto 0;
  padding: 2.5rem;
  background: var(--bg-color);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.1);
}

.menu-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-main);
  position: relative;
  padding-bottom: 0.8rem;
}

.menu-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: var(--radius-full);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 1.5rem;
}

.menu-item {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: var(--transition);
}

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

.menu-item.added-animation {
  animation: pulse 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 2px var(--primary);
}

.menu-item-image {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
  margin: 1rem 0 1rem 1rem;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.menu-item-body {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  gap: 1.5rem;
}

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

.menu-item-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.menu-item-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.menu-item-price {
  font-weight: 800;
  color: var(--success);
  font-size: 1.2rem;
  margin-top: 0.5rem;
  display: block;
}

.menu-item-action {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-shrink: 0;
}

.item-qty-badge {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

/* Floating Cart Button */
.floating-cart-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 2rem);
  max-width: 400px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  z-index: 50;
  transition: var(--transition);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateX(-50%) translateY(100px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.floating-cart-btn:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.floating-cart-icon {
  font-size: 1.2rem;
}

.floating-cart-badge {
  background: var(--primary);
  color: #000;
  font-weight: 800;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
}

/* Skeleton Loaders */
.skeleton-hero {
  height: 380px;
  width: 100%;
}
.skeleton-menu-item {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  gap: 1.5rem;
  border: 1px solid var(--border-light);
}
.skeleton-menu-img {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-md);
}
.skeleton-menu-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Responsive */
@media (max-width: 768px) {
  .restaurant-hero {
    height: 280px;
  }
  .hero-info h1 {
    font-size: 2rem;
  }
  .restaurant-menu-section {
    padding: 1.5rem 1rem 6rem 1rem;
    margin-top: -30px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-item {
    flex-direction: row;
  }
  .menu-item-image {
    width: 100px;
    height: 100px;
    margin: 1rem 0 1rem 1rem;
    border-radius: var(--radius-md);
  }
  .skeleton-menu-img {
    width: 100px;
    height: 100px;
    margin: 0;
  }
  .menu-item-body {
    padding: 1rem;
    gap: 0.8rem;
  }
  .menu-item-info h3 {
    font-size: 1.1rem;
  }
  .menu-item-desc {
    font-size: 0.85rem;
  }
  .menu-item-price {
    font-size: 1.1rem;
  }
  .floating-cart-btn {
    width: calc(100% - 2rem);
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }
}
/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
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DvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
.checkout-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100vh - 80px);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

.checkout-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.checkout-card h2 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.checkout-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-weight: 500;
  border: 1px solid #fecaca;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.checkout-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.checkout-form textarea,
.checkout-form input[type="text"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
}

.checkout-form textarea {
  resize: vertical;
}

.checkout-form textarea:focus,
.checkout-form input[type="text"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* Location Button */
.checkout-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.checkout-section-header h3 {
  margin-bottom: 0;
}

.location-block-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.btn-get-location {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-md);
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.btn-get-location:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-get-location.success {
  background: #f0fdf4;
  border-color: #86efac;
  border-style: solid;
  color: #166534;
}

.btn-get-location.success .btn-get-location-icon {
  background: #dcfce7;
  color: #15803d;
}

.btn-get-location:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-get-location-icon {
  background: #e2e8f0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #475569;
  transition: all 0.2s ease;
}

.btn-get-location-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.btn-get-location-text strong {
  font-size: 1rem;
  font-weight: 600;
}

.btn-get-location-text span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.address-fields {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-main);
}

/* Payment Options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
}

.payment-option:hover {
  border-color: #ddd;
  background: #fafafa;
}

.payment-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.payment-option input[type="radio"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
}

.payment-option-content {
  display: flex;
  flex-direction: column;
}

.payment-label {
  font-weight: 700;
  font-size: 1rem;
}

.payment-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Submit Button */
.checkout-submit-btn {
  width: 100%;
  padding: 1.1rem;
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition);
  margin-top: 0.5rem;
  box-shadow: var(--shadow-glow);
}

.checkout-submit-btn:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(234, 29, 44, 0.4);
}

.checkout-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.checkout-secondary-btn {
  width: 100%;
  padding: 0.9rem;
  background: transparent;
  color: var(--text-muted);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
}

.checkout-secondary-btn:hover {
  border-color: #ccc;
  color: var(--text-main);
}

/* Summary Card */
.checkout-summary-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: sticky;
  top: 100px;
}

.checkout-summary-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.checkout-restaurant {
  padding: 0.8rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}

.checkout-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1rem;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.checkout-item-left {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.checkout-item-qty {
  background: #f0f0f0;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-item-name {
  color: var(--text-main);
  font-weight: 500;
}

.checkout-item-price {
  font-weight: 600;
  color: var(--text-main);
}

.checkout-totals {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.checkout-grand-total {
  border-top: 2px solid var(--border-light);
  margin-top: 0.5rem;
  padding-top: 0.8rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.checkout-free {
  color: var(--success);
  font-weight: 700;
}

/* Success */
.success-card {
  text-align: center;
  max-width: 500px;
  margin: 3rem auto;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-order-id {
  color: var(--primary-hover);
  font-weight: 800;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

.success-text {
  color: var(--text-muted);
  margin-top: 1rem;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .checkout-container {
    padding: 1rem;
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .checkout-summary-card {
    position: static;
  }
  .checkout-card {
    padding: 1.2rem;
  }
  .checkout-section h3 {
    font-size: 1.05rem;
  }
}
.orders-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100vh - 80px);
}

.orders-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text-main);
}

.orders-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  gap: 1rem;
  color: var(--text-muted);
}

.orders-empty-card {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.orders-empty-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
}

.orders-empty-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.orders-empty-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.orders-action-btn {
  background: #222;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.orders-action-btn:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Order List */
.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
}

.order-card:hover {
  box-shadow: var(--shadow-md);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.order-card-header:hover {
  background: #fafafa;
}

.order-card-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order-restaurant-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.order-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.order-card-info h4 {
  font-size: 1.05rem;
  color: var(--text-main);
}

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

.order-id-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

.order-card-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.order-status-badge {
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid;
  white-space: nowrap;
}

.order-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  white-space: nowrap;
}

.order-expand-icon {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.order-expand-icon.expanded {
  transform: rotate(180deg);
}

/* Order Details */
.order-card-details {
  padding: 0 1.5rem 1.2rem;
  border-top: 1px solid var(--border-light);
  animation: detailsSlide 0.3s ease;
}

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

.order-items-list {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.order-detail-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.order-detail-qty {
  background: #f0f0f0;
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-detail-name {
  flex: 1;
  color: var(--text-main);
}

.order-detail-price {
  font-weight: 600;
  color: var(--text-main);
}

.order-detail-total {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 0.8rem;
  font-size: 1rem;
}

.order-detail-total strong {
  color: var(--text-main);
}

@media (max-width: 600px) {
  .orders-container {
    padding: 1rem;
  }
  .order-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .order-card-right {
    width: 100%;
    justify-content: space-between;
  }
}
.search-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  min-height: calc(100vh - 80px);
}

.search-header-section {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2rem;
}

.search-header-section h2 {
  font-size: 1.5rem;
  color: var(--text-main);
}

.search-highlight {
  color: var(--primary-hover);
}

.search-count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  gap: 1rem;
  color: var(--text-muted);
}

.search-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.search-empty-icon {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.search-empty h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.search-empty p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.search-back-btn {
  background: #222;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: var(--transition);
}

.search-back-btn:hover {
  background: #000;
  transform: translateY(-2px);
}

/* Results Grid */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.search-result-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--transition);
}

.search-result-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.search-result-image {
  height: 160px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.search-closed-badge {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  background: rgba(220, 38, 38, 0.9);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.search-result-info {
  padding: 1.2rem;
}

.search-result-info h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.search-result-meta {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.search-rating {
  color: #E6B400;
  font-weight: 600;
}

.search-dot {
  margin: 0 0.5rem;
  font-size: 0.8rem;
  opacity: 0.5;
}

.search-result-delivery {
  display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.search-free {
  color: #16a34a;
  font-weight: 600;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .search-container {
    padding: 1.5rem 1rem;
  }
  
  .search-results-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
  
  .search-header-section {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/* ===== PREMIUM PARTNER UI VARIABLES ===== */
:root {
  --partner-primary: #10B981;
  --partner-secondary: #0ea5e9;
  --partner-warning: #f59e0b;
  --partner-danger: #ef4444;
  --partner-bg: #f3f4f6;
  --partner-surface: rgba(255, 255, 255, 0.95);
  --partner-text-main: #1e293b;
  --partner-text-muted: #64748b;
  --partner-border: rgba(226, 232, 240, 0.8);
  --partner-shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --partner-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --partner-shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --partner-radius-md: 12px;
  --partner-radius-lg: 16px;
  --partner-radius-xl: 24px;
}

/* ===== BASE LAYOUT ===== */
.partner-container {
  display: flex;
  flex-direction: row;
  min-height: calc(100vh - 70px);
  background: var(--partner-bg);
  background-image: radial-gradient(at 0% 0%, hsla(253,16%,7%,0.03) 0, transparent 50%), 
                    radial-gradient(at 50% 0%, hsla(225,39%,30%,0.03) 0, transparent 50%), 
                    radial-gradient(at 100% 0%, hsla(339,49%,30%,0.03) 0, transparent 50%);
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--partner-text-main);
}

.partner-sidebar {
  width: 260px;
  background: white;
  border-right: 1px solid var(--partner-border);
  padding: 30px 0;
  display: flex;
  flex-direction: column;
  box-shadow: 1px 0 5px rgba(0,0,0,0.02);
  z-index: 10;
}

.partner-sidebar h3 {
  padding: 0 30px;
  margin-bottom: 30px;
  color: var(--partner-text-main);
  font-weight: 800;
  font-size: 1.1rem;
}

.partner-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 15px;
}

.partner-sidebar nav a {
  padding: 12px 15px;
  color: var(--partner-text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}

.partner-sidebar nav a:hover {
  background: #f1f5f9;
  color: var(--partner-text-main);
}

.partner-sidebar nav a.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--partner-primary);
  font-weight: 700;
}

.partner-content,
.partner-content-wrapper {
  flex: 1;
  padding: 40px 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADERS & HERO ===== */
.partner-header {
  background: var(--partner-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--partner-border);
  border-radius: var(--partner-radius-lg);
  padding: 20px 24px;
  margin-bottom: 24px;
  box-shadow: var(--partner-shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.partner-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--partner-primary), var(--partner-secondary));
}

.partner-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--partner-text-main);
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.partner-header p {
  color: var(--partner-text-muted);
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

/* ===== PREMIUM CARDS ===== */
.partner-card {
  background: var(--partner-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--partner-border);
  border-radius: var(--partner-radius-lg);
  padding: 32px;
  box-shadow: var(--partner-shadow-md);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

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

.partner-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--partner-text-main);
  border-bottom: 1px solid var(--partner-border);
  padding-bottom: 16px;
}

/* ===== DASHBOARD STATS GRID ===== */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02), 0 1px 2px rgba(0,0,0,0.01);
  transition: all 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  border-color: #cbd5e1;
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.stat-card h4 {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
  text-transform: none;
  letter-spacing: normal;
}

.stat-card .stat-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.stat-card.orange .stat-icon-wrapper { background: #fef3c7; color: #d97706; }
.stat-card.blue .stat-icon-wrapper { background: #e0f2fe; color: #0284c7; }
.stat-card.green .stat-icon-wrapper { background: #dcfce7; color: #16a34a; }
.stat-card.red .stat-icon-wrapper { background: #fee2e2; color: #dc2626; }

.stat-card .value {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  color: #0f172a;
}

.stat-card p {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 8px 0 0 0;
  font-weight: 500;
}

/* ===== PREMIUM FORMS ===== */
.partner-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.form-group {
  flex: 1;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--partner-text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-group input, 
.form-group select, 
.form-group textarea {
  padding: 14px 16px;
  border: 1px solid var(--partner-border);
  border-radius: var(--partner-radius-md);
  font-size: 1rem;
  background: #f8fafc;
  color: var(--partner-text-main);
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--partner-primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-group small {
  color: var(--partner-text-muted);
  font-size: 0.8rem;
}

/* ===== BUTTONS ===== */
.save-btn {
  background: linear-gradient(135deg, var(--partner-primary), #059669);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: var(--partner-radius-md);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.cancel-btn {
  background: #f1f5f9;
  color: var(--partner-text-muted);
  border: 1px solid var(--partner-border);
  padding: 14px 24px;
  border-radius: var(--partner-radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-btn:hover {
  background: #e2e8f0;
  color: var(--partner-text-main);
}

.delete-btn {
  background: #fee2e2;
  color: #ef4444;
  border: 1px solid #fecaca;
  padding: 10px 16px;
  border-radius: var(--partner-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
}

.delete-btn:hover {
  background: #ef4444;
  color: white;
}

/* ===== STORE STATUS TOGGLE ===== */
.status-toggle-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  padding: 8px 16px;
  border-radius: 99px;
  box-shadow: var(--partner-shadow-sm);
  border: 1px solid var(--partner-border);
}

.status-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
}

.status-indicator.open {
  background: var(--partner-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.status-indicator.closed {
  background: var(--partner-danger);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.status-text-group {
  display: flex;
  flex-direction: column;
}

.status-title {
  font-weight: 600;
  color: var(--partner-text-main);
  font-size: 0.85rem;
}

/* IOS Style Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .4s;
  border-radius: 34px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px; width: 18px;
  left: 3px; bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
input:checked + .slider { background-color: var(--partner-primary); }
input:checked + .slider:before { transform: translateX(20px); }

/* ===== OTHER ELEMENTS ===== */
.image-preview {
  width: 100%;
  max-width: 250px;
  border-radius: var(--partner-radius-md);
  box-shadow: var(--partner-shadow-sm);
  border: 4px solid white;
  margin-top: 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.product-item {
  background: white;
  border-radius: var(--partner-radius-md);
  border: 1px solid var(--partner-border);
  padding: 20px;
  box-shadow: var(--partner-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s;
}

.product-item:hover {
  border-color: var(--partner-primary);
  box-shadow: var(--partner-shadow-md);
}

.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.edit-btn, .delete-btn {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--partner-radius-md);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-align: center;
}

.edit-btn {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
}

.edit-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

.delete-btn {
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.delete-btn:hover {
  background-color: #fecaca;
  color: #b91c1c;
}

/* Animations */
.animate-fade-in {
  animation: partnerFadeIn 0.4s ease-out;
}

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

@media (max-width: 1024px) {
  .partner-container {
    flex-direction: column;
  }
  
  .partner-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--partner-border);
    padding: 0;
    position: sticky;
    top: 0;
  }

  .partner-sidebar h3 {
    display: none;
  }
  
  .partner-sidebar nav {
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    gap: 5px;
  }
  
  .partner-sidebar nav a {
    padding: 10px 15px;
  }
  
  .partner-content,
  .partner-content-wrapper {
    padding: 20px;
  }

  .partner-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
  }
  .form-row {
    flex-direction: column;
  }
}

/* ===== Partner Orders Management ===== */

.orders-active-badge {
  background: #dcfce7;
  color: #16a34a;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid #bbf7d0;
}

.orders-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid #ddd;
  background: white;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #666;
}

.filter-btn:hover {
  border-color: var(--partner-primary);
  color: #000;
}

.filter-btn.active {
  background: var(--partner-primary);
  border-color: var(--partner-primary);
  color: #fff;
}

.filter-count {
  background: rgba(0,0,0,0.1);
  padding: 0.1rem 0.4rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
}

.filter-btn.active .filter-count {
  background: rgba(0,0,0,0.15);
}

/* Partner Order Cards */
.partner-orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partner-order-card {
  background: white;
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #eee;
  transition: all 0.2s;
}

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

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

.partner-order-id strong {
  font-size: 1.05rem;
  color: #333;
}

.partner-order-date {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.1rem;
}

.partner-order-status {
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8rem;
  border: 1px solid;
  white-space: nowrap;
}

.partner-order-client {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: #555;
  padding: 0.5rem 0;
  border-top: 1px solid #f5f5f5;
  border-bottom: 1px solid #f5f5f5;
  margin-bottom: 0.8rem;
}

.location-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.location-btn.maps {
  background: #f8f9fa;
  color: #ea4335;
  border: 1px solid #ddd;
}

.location-btn.maps:hover {
  background: #ea4335;
  color: white;
  border-color: #ea4335;
}

.location-btn.wpp {
  background: #25d366;
  color: white;
  border: 1px solid #1da851;
}

.location-btn.wpp:hover {
  background: #1da851;
}

.partner-order-items {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.partner-order-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.partner-order-item-qty {
  background: #f0f0f0;
  padding: 0.1rem 0.4rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  color: #888;
}

.partner-order-item-price {
  margin-left: auto;
  font-weight: 600;
  color: #333;
}

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

.partner-order-total {
  font-size: 1rem;
  color: #555;
}

.partner-order-total strong {
  color: #333;
  font-size: 1.1rem;
}

.partner-order-actions {
  display: flex;
  gap: 0.5rem;
}

.partner-order-action-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.partner-order-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.partner-order-cancel-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: transparent;
  color: #dc3545;
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid #fecaca;
  cursor: pointer;
  transition: all 0.2s;
}

.partner-order-cancel-btn:hover {
  background: #fef2f2;
}

@media (max-width: 1024px) {
  .partner-order-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .partner-order-footer {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
  
  .partner-order-actions {
    width: 100%;
    justify-content: space-between;
  }
}
.leaflet-draw-section{position:relative}.leaflet-draw-toolbar{margin-top:12px}.leaflet-draw-toolbar-top{margin-top:0}.leaflet-draw-toolbar-notop a:first-child{border-top-right-radius:0}.leaflet-draw-toolbar-nobottom a:last-child{border-bottom-right-radius:0}.leaflet-draw-toolbar a{background-image:url('data:image/png;base64,iVBORw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wB+mEb+9dZr4wWA/v7+R6rV6k+azeYpx3EezeVyJ7dv335lfn7+lkajcZCZDzPzYd/3/xSnv9gFq3UuaR2LFQDA87xAKVUB8BEAZ6N9nrNEdEZr/TcArLVOPG8aJ9jj8n3/pcHBwZ1btmx5519zmPl0vV5/Ie2V7fT09Nujo6Nus9kcA4CtW7ce1lq/nUYu27a/Mzs7CyI6gMVX/u/CzJeZ+Ue2bcc9pb1aXc8lJZms18YLANE2wkOu694N4OFGo3E8DMMPAHiDiCaY+ZOb4YCsEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhEjYfwGO+b5dFNs4OgAAAABJRU5ErkJggg==');background-image:linear-gradient(transparent,transparent),url('/assets/spritesheet-DpIxuf5L.svg');background-repeat:no-repeat;background-size:300px 30px;background-clip:padding-box}.leaflet-retina .leaflet-draw-toolbar a{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAA8CAYAAAC6nMS5AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAA16SURBVHic7d1/jBxneQfw7zNzvotdn+9sVQkxoRKoammBqqpbk6uT5mLfvHPn42yn1VFRVCEhoFH5IYpoSaUCKi1NcGkcfrbCVRFKEwG2aHLn83pmLvY2CTqT1AmCOBE0EOT4B0nBPw/snb2dp3/sLr6s77i923dud/a+H8ny7tzMo8f3eud99p133gGIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiFYGaXYCRETUPMYYrWe/MAzZX2QQ27d5OpqdABFROxgZGVlz5cqVrzuOc18QBJPNzofsYvvSYrVcgTVftZ2l6npgYODXHMc5oKoHHcfZHQTB2WbnRETpGRkZWVMoFA6IyO2qutX3/R1Z64TnO8fWOwLSzti+mSKDg4M3l0qlnSJyG4CbAFw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4ny5SWDQ/Mer3HGLPoTtgYMyIiv3gOmqpmZfRuJWD7rgwax/G7UH7EzcYkSf7bGHNXX1/f6oUO9H1/Z+WcPoDysgw7bJ/DUl8Hq52LqwoVkb9T1WiRx8UoX158RlWfnJqaupxCbmRJFEWn+/r6buvu7v4ggI9g4Ynv50XknkKh8JkMjly9wqFDh77j+/6oqo4BqD1xXRaRPw6CwMZl1GXjuu6XSqXSOwH8LoD1AMaMMecA1PtF53WV4wCUC+menp699jOlpWD7rhz5fP5Kf3//UFdX132q+l4Ad3d3d7/fGPN1EZlQ1e/19PS8dPbs2fWu694kIgOqOqqqm4Dy4rKlUumOw4cPN3KVYk7WVkE1xsx5aSBLT+duhDEmQrkSnssZlIeXnxWRY6p6PI7j41nveFeq4eHh9XEc7xSRnQBej6t3kp5EuWh+OI7jh+dYsDDTfN/frKrjAKpPmv9pkiS7JicnH29mXku1devWV3d0dBxAuRNeMhF5ulgsjqRxgk7DfOfqxWr1czvbtzGt3r5zGRwc7FPV3ap6y0L7ishPAHx63bp1e/bt2xenkQ8LLEuMMZtE5JCqfhfAMwCeSZLkO2vWrDk+NjbGyZHUFjzP2yginwcAVX1fVi99Vo2OjnaeP3/+3SLydgBvBNBd56GXAHxXVR/s7e3dm9YJOg0rqQNm+y5dFtp3HmKM2QxgF8qr9b8GwA0AzgH4MYBjIjJ28eLFkFeOiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIiIhWgv8Hnffz4dmwY9cAAAAASUVORK5CYII=');background-image:linear-gradient(transparent,transparent),url('/assets/spritesheet-DpIxuf5L.svg')}
.leaflet-draw a{display:block;text-align:center;text-decoration:none}.leaflet-draw a .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.leaflet-draw-actions{display:none;list-style:none;margin:0;padding:0;position:absolute;left:26px;top:0;white-space:nowrap}.leaflet-touch .leaflet-draw-actions{left:32px}.leaflet-right .leaflet-draw-actions{right:26px;left:auto}.leaflet-touch .leaflet-right .leaflet-draw-actions{right:32px;left:auto}.leaflet-draw-actions li{display:inline-block}
.leaflet-draw-actions li:first-child a{border-left:0}.leaflet-draw-actions li:last-child a{-webkit-border-radius:0 4px 4px 0;border-radius:0 4px 4px 0}.leaflet-right .leaflet-draw-actions li:last-child a{-webkit-border-radius:0;border-radius:0}.leaflet-right .leaflet-draw-actions li:first-child a{-webkit-border-radius:4px 0 0 4px;border-radius:4px 0 0 4px}.leaflet-draw-actions a{background-color:#919187;border-left:1px solid #AAA;color:#FFF;font:11px/19px "Helvetica Neue",Arial,Helvetica,sans-serif;line-height:28px;text-decoration:none;padding-left:10px;padding-right:10px;height:28px}
.leaflet-touch .leaflet-draw-actions a{font-size:12px;line-height:30px;height:30px}.leaflet-draw-actions-bottom{margin-top:0}.leaflet-draw-actions-top{margin-top:1px}.leaflet-draw-actions-top a,.leaflet-draw-actions-bottom a{height:27px;line-height:27px}.leaflet-draw-actions a:hover{background-color:#a0a098}.leaflet-draw-actions-top.leaflet-draw-actions-bottom a{height:26px;line-height:26px}.leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:-2px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline{background-position:0 -1px}
.leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-31px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polygon{background-position:-29px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-62px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-rectangle{background-position:-60px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-92px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle{background-position:-90px -1px}
.leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-122px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker{background-position:-120px -1px}.leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-273px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circlemarker{background-position:-271px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-152px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit{background-position:-150px -1px}
.leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-182px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove{background-position:-180px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-212px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-edit.leaflet-disabled{background-position:-210px -1px}.leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-242px -2px}.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-edit-remove.leaflet-disabled{background-position:-240px -2px}
.leaflet-mouse-marker{background-color:#fff;cursor:crosshair}.leaflet-draw-tooltip{background:#363636;background:rgba(0,0,0,0.5);border:1px solid transparent;-webkit-border-radius:4px;border-radius:4px;color:#fff;font:12px/18px "Helvetica Neue",Arial,Helvetica,sans-serif;margin-left:20px;margin-top:-21px;padding:4px 8px;position:absolute;visibility:hidden;white-space:nowrap;z-index:6}.leaflet-draw-tooltip:before{border-right:6px solid black;border-right-color:rgba(0,0,0,0.5);border-top:6px solid transparent;border-bottom:6px solid transparent;content:"";position:absolute;top:7px;left:-7px}
.leaflet-error-draw-tooltip{background-color:#f2dede;border:1px solid #e6b6bd;color:#b94a48}.leaflet-error-draw-tooltip:before{border-right-color:#e6b6bd}.leaflet-draw-tooltip-single{margin-top:-12px}.leaflet-draw-tooltip-subtext{color:#f8d5e4}.leaflet-draw-guide-dash{font-size:1%;opacity:.6;position:absolute;width:5px;height:5px}.leaflet-edit-marker-selected{background-color:rgba(254,87,161,0.1);border:4px dashed rgba(254,87,161,0.6);-webkit-border-radius:4px;border-radius:4px;box-sizing:content-box}
.leaflet-edit-move{cursor:move}.leaflet-edit-resize{cursor:pointer}.leaflet-oldie .leaflet-draw-toolbar{border:1px solid #999}/* Courier Mobile First Layout */

.courier-layout {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 70px);
  background: #f3f4f6;
  padding-bottom: 70px; /* Space for bottom nav on mobile */
  font-family: 'Inter', system-ui, sans-serif;
}

/* Hide the regular sidebar on mobile */
.courier-sidebar {
  display: none;
}

.courier-content {
  flex: 1;
  padding: 1rem;
  max-width: 100%;
}

/* Bottom Navigation Bar for Mobile */
.courier-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  justify-content: space-around;
  padding: 12px 5px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
  border-top: 1px solid #f3f4f6;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 12px);
}

.courier-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 600;
  gap: 6px;
  flex: 1;
  transition: all 0.2s;
}

.courier-nav-item svg {
  width: 24px;
  height: 24px;
  transition: all 0.2s;
}

.courier-nav-item.active {
  color: #10B981;
}

.courier-nav-item.active svg {
  stroke-width: 2.5;
  transform: translateY(-2px);
}

/* Card Improvements for Mobile */
.courier-card {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  margin-bottom: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.5);
  transition: transform 0.2s;
}

.courier-header {
  background: white;
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.5);
}

.courier-header h1 {
  font-size: 1.3rem;
  margin: 0;
  font-weight: 800;
  color: #1f2937;
  letter-spacing: -0.5px;
}

.courier-action-btn {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 1.2rem;
  font-size: 1.1rem;
  font-weight: 700;
  width: 100%;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: all 0.2s;
}

.courier-action-btn:active {
  transform: scale(0.97);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.2);
}

.courier-action-btn:disabled {
  background: #cbd5e1;
  box-shadow: none;
  cursor: not-allowed;
}

.courier-radar-blip {
  width: 12px;
  height: 12px;
  background-color: #10B981;
  border-radius: 50%;
  position: relative;
}

.courier-radar-blip::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border: 2px solid #10B981;
  border-radius: 50%;
  animation: radar-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radar-ping {
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Desktop styles */
@media (min-width: 768px) {
  .courier-layout {
    flex-direction: row;
    padding-bottom: 0;
  }
  
  .courier-sidebar {
    display: flex;
    flex-direction: column;
    width: 280px;
    background: white;
    border-right: 1px solid #e5e7eb;
    padding: 2.5rem 0;
    min-height: calc(100vh - 70px);
    box-shadow: 1px 0 10px rgba(0,0,0,0.02);
  }
  
  .courier-sidebar h2 {
    padding: 0 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
  }
  
  .courier-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 1.5rem;
  }
  
  .courier-sidebar nav a {
    padding: 14px 1.2rem;
    color: #6b7280;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
  }
  
  .courier-sidebar nav a:hover {
    background: #f9fafb;
    color: #1f2937;
  }
  
  .courier-sidebar nav a.active {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
  }

  .courier-bottom-nav {
    display: none;
  }
  
  .courier-content {
    padding: 3rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ===== COURIER FORMS ===== */
.courier-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
}

.form-group input, 
.form-group select {
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
  background: #f9fafb;
  color: #1f2937;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-group input:focus, 
.form-group select:focus {
  outline: none;
  border-color: #10B981;
  background: white;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.courier-grid-2-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 640px) {
  .courier-grid-2-1 {
    grid-template-columns: 2fr 1fr;
  }
}

.courier-grid-1-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

@media (min-width: 640px) {
  .courier-grid-1-1 {
    grid-template-columns: 1fr 1fr;
  }
}


/* ===== ADMIN LAYOUT ===== */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background-color: #f4f5f7;
  font-family: "Outfit", system-ui, sans-serif;
  color: #111827;
}

/* ===== SIDEBAR ===== */
.admin-sidebar {
  width: 260px;
  background-color: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.admin-logo-container {
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.admin-logo {
  max-width: 160px;
  max-height: 50px;
  object-fit: contain;
}

.admin-nav {
  padding: 0 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #9ca3af;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-nav-item:hover {
  background-color: #1f2937;
  color: #ffffff;
  transform: translateX(4px);
}

.admin-nav-item.active {
  background-color: #F8BE15;
  color: #000000;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(248, 190, 21, 0.3);
}

.admin-sidebar-footer {
  padding: 24px;
}

/* ===== MAIN CONTENT ===== */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-header {
  background-color: transparent;
  padding: 24px 32px 10px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.admin-header h2 {
  margin: 0;
  color: #111827;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.admin-content {
  padding: 20px 32px 32px 32px;
  overflow-y: auto;
  flex: 1;
}

/* ===== CARDS ===== */
.admin-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.03);
  margin-bottom: 32px;
  border: none;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.admin-card-header h3 {
  margin: 0;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.admin-card h3 {
  margin: 0;
  color: #111827;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}

/* ===== STATS GRID ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.stat-box {
  background: #ffffff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--primary-color, #F8BE15);
  opacity: 0;
  transition: opacity 0.3s;
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0,0,0,0.06);
}

.stat-box:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Icon Colors Premium */
.icon-green { background: #e0fbf0; color: #059669; }
.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-yellow { background: #fef3c7; color: #d97706; }
.icon-purple { background: #f3e8ff; color: #9333ea; }
.icon-orange { background: #ffedd5; color: #ea580c; }

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-label {
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 8px;
}

/* ===== TABLES ===== */
.admin-table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.admin-table th {
  background-color: transparent;
  color: #9ca3af;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 20px;
  text-align: left;
  border: none;
}

.admin-table td {
  padding: 16px 20px;
  background-color: #ffffff;
  color: #111827;
  font-size: 1rem;
  font-weight: 500;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
}

.admin-table tr td:first-child {
  border-left: 1px solid #f3f4f6;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.admin-table tr td:last-child {
  border-right: 1px solid #f3f4f6;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.admin-table tr:hover td {
  background-color: #f9fafb;
}

/* ===== BADGES ===== */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.status-badge.delivered { background: #dcfce7; color: #16a34a; }
.status-badge.pending { background: #fef3c7; color: #d97706; }
.status-badge.cancelled { background: #fee2e2; color: #dc2626; }
.status-badge.processing { background: #e0f2fe; color: #0284c7; }
.status-badge.default { background: #f3f4f6; color: #4b5563; }

.role-badge {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
}
.role-ADMIN { background: #f3f4f6; color: #111827; }
.role-CLIENT { background: #e0f2fe; color: #0284c7; }
.role-RESTAURANT_OWNER { background: #fef3c7; color: #d97706; }
.role-COURIER { background: #f3e8ff; color: #9333ea; }

/* ===== BUTTONS & INPUTS ===== */
.admin-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary { 
  background-color: var(--primary-color, #F8BE15); 
  color: #000000; 
  box-shadow: 0 4px 14px rgba(248, 190, 21, 0.4);
}
.btn-primary:hover { 
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 190, 21, 0.5);
}

.btn-danger { background-color: #ef4444; color: white; }
.btn-danger:hover { background-color: #dc2626; }

.filter-select {
  padding: 10px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #111827;
  background-color: #ffffff;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  transition: all 0.3s ease;
  font-family: "Outfit", sans-serif;
}

.filter-select:hover {
  border-color: #d1d5db;
}

.filter-select:focus {
  border-color: #F8BE15;
  box-shadow: 0 0 0 4px rgba(248, 190, 21, 0.2);
}
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-card);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}

.mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-item span {
  font-size: 0.7rem;
  margin-top: 4px;
  font-weight: 600;
}

.mobile-nav-item.active {
  color: var(--primary);
}

@media (max-width: 768px) {
  .mobile-nav {
    display: flex;
  }
  
  /* Add padding to body or main to account for fixed bottom nav */
  body {
    padding-bottom: 60px;
  }
}
