/* Customer Portal Styles */

/* ----------------- Hero & Fulfillment Switcher ----------------- */
.customer-hero {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid #fed7aa;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ea580c;
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}

.customer-hero h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #7c2d12;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.customer-hero p {
  color: #9a3412;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* Fulfillment Mode Toggle */
.fulfillment-toggle-wrapper {
  background: white;
  border-radius: var(--radius-md);
  padding: 6px;
  display: inline-flex;
  gap: 6px;
  box-shadow: var(--shadow-md);
  border: 1px solid #fed7aa;
}

.fulfill-btn {
  border: none;
  background: transparent;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  transition: all 0.2s;
}

.fulfill-btn span.tag {
  font-size: 0.7rem;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--text-main);
}

.fulfill-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(252, 128, 25, 0.35);
}

.fulfill-btn.active span.tag {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

.fulfillment-toggle-wrapper.full-width {
  width: 100%;
  display: flex;
  box-sizing: border-box;
}

.fulfillment-toggle-wrapper.compact {
  padding: 3px;
  gap: 4px;
}

.fulfillment-toggle-wrapper.compact .fulfill-btn {
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* ----------------- Filter Bar ----------------- */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-pill {
  border: 1px solid var(--border-color);
  background: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

.filter-pill:hover, .filter-pill.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.search-box {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 6px 12px;
  width: 260px;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 0.85rem;
  margin-left: 6px;
}

/* ----------------- Kitchens Grid ----------------- */
.kitchens-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.kitchen-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.kitchen-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.kitchen-img-container {
  height: 180px;
  position: relative;
  background: #f1f5f9;
}

.kitchen-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kitchen-portions-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #fed7aa;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.kitchen-distance-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: white;
  color: var(--dark);
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.kitchen-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.kitchen-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.4rem;
}

.kitchen-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--dark);
}

.kitchen-rating {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.kitchen-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kitchen-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--border-color);
  padding-top: 0.75rem;
  margin-top: auto;
}

.kitchen-address-preview {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ----------------- Kitchen Menu Modal / View ----------------- */
.menu-modal-content {
  max-width: 800px;
}

.menu-kitchen-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.menu-items-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-item-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
}

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

.menu-item-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.menu-item-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.menu-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 450px;
}

.menu-item-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 120px;
}

.menu-item-img {
  width: 100px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.add-btn {
  background: white;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  width: 100%;
}

.add-btn:hover {
  background: var(--primary);
  color: white;
}

.qty-stepper {
  display: flex;
  align-items: center;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(252, 128, 25, 0.3);
}

.qty-btn {
  border: none;
  background: transparent;
  color: white;
  padding: 6px 10px;
  cursor: pointer;
  font-weight: 800;
}

.qty-val {
  padding: 0 8px;
  font-size: 0.9rem;
}

/* ----------------- Floating Cart & Drawer ----------------- */
.cart-floating-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: white;
  border-radius: 14px;
  padding: 12px 24px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 1500;
  min-width: 320px;
  max-width: 480px;
  cursor: pointer;
  animation: bounceIn 0.3s ease;
}

.cart-floating-bar.active {
  display: flex;
}

@keyframes bounceIn {
  0% { transform: translate(-50%, 20px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

.cart-floating-text {
  font-size: 0.95rem;
  font-weight: 700;
}

.cart-floating-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

.cart-view-btn {
  background: var(--primary);
  color: white;
  border: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 8px;
}

/* Cart Checkout Modal */
.cart-checkout-container {
  max-width: 550px;
}

.cart-items-review {
  margin: 1rem 0;
  max-height: 200px;
  overflow-y: auto;
}

.cart-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.9rem;
}

.billing-breakdown {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid var(--border-color);
}

.bill-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.bill-row.total {
  border-top: 1px solid #cbd5e1;
  padding-top: 8px;
  margin-top: 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
}

.fulfillment-notice {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 10px;
  font-size: 0.82rem;
  color: #1e40af;
  margin-bottom: 1rem;
}

/* ----------------- Live Order Tracking Screen ----------------- */
.tracker-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.tracker-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

/* Stepper */
.order-stepper {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 2rem 0;
}

.order-stepper::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

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

.step-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 6px;
  transition: all 0.3s;
}

.step-item.active .step-icon {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: 0 0 0 4px rgba(252, 128, 25, 0.2);
}

.step-item.completed .step-icon {
  border-color: var(--secondary);
  background: var(--secondary);
  color: white;
}

.step-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.step-item.active .step-label {
  color: var(--primary);
}

/* Security Code Card */
.security-code-banner {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  border-radius: var(--radius-md);
  padding: 1.2rem;
  text-align: center;
  margin: 1.5rem 0;
}

.code-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.code-digits {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 6px;
  color: #b45309;
  margin: 6px 0;
  font-family: monospace;
}

.code-hint {
  font-size: 0.78rem;
  color: #78350f;
}

/* Map */
.tracking-map-container {
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-top: 1rem;
  position: relative;
}

#customer-live-map {
  width: 100%;
  height: 100%;
}

/* =========================================================
   MANDATORY FULFILLMENT PREFERENCE SELECTION & MODAL STYLES
   ========================================================= */

.fulfillment-status-badge {
  margin-top: 12px;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fulfillment-status-badge.badge-unselected {
  background: #fff1f2;
  color: #be123c;
  border: 1px dashed #f43f5e;
  box-shadow: 0 2px 8px rgba(244, 63, 94, 0.15);
  animation: gentle-pulse 2s infinite ease-in-out;
}

.fulfillment-status-badge.badge-pickup {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.12);
}

.fulfillment-status-badge.badge-delivery {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.3);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 5px rgba(244, 63, 94, 0.08);
  }
}

/* Menu Modal Inline Fulfillment Bar */
.menu-fulfillment-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 10px 0 16px 0;
  flex-wrap: wrap;
  gap: 10px;
}

.menu-fulfillment-label {
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-fulfillment-label strong.status-warning {
  color: #e11d48;
  background: #ffe4e6;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
}

.menu-fulfillment-label strong.status-ready {
  color: #047857;
  background: #d1fae5;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
}

/* Choice Modal */
.fulfillment-choice-card {
  max-width: 520px;
  width: 95%;
  padding: 1.85rem;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: choice-modal-pop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes choice-modal-pop {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.choice-modal-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.choice-modal-icon {
  font-size: 2.2rem;
  margin-bottom: 0.3rem;
  letter-spacing: 2px;
}

.choice-modal-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 0.4rem 0;
}

.choice-modal-sub {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 auto;
  max-width: 420px;
}

.fulfillment-choice-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.choice-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  box-sizing: border-box;
}

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

.choice-option-btn.choice-delivery {
  border-color: #e2e8f0;
}

.choice-option-btn.choice-delivery:hover {
  border-color: #3b82f6;
  background: #f8faff;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.16);
}

.choice-option-btn.choice-pickup {
  border-color: #e2e8f0;
}

.choice-option-btn.choice-pickup:hover {
  border-color: #10b981;
  background: #f6fdf9;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.16);
}

.choice-option-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-delivery .choice-option-icon {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.choice-pickup .choice-option-icon {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
}

.choice-option-body {
  flex: 1;
}

.choice-option-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.choice-option-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e293b;
}

.choice-badge {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 12px;
}

.choice-badge.badge-delivery {
  background: #dbeafe;
  color: #1d4ed8;
}

.choice-badge.badge-pickup {
  background: #d1fae5;
  color: #047857;
}

.choice-option-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.choice-option-fee {
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.choice-option-action {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.choice-delivery .choice-option-action {
  color: #1d4ed8;
  background: #eff6ff;
}

.choice-delivery:hover .choice-option-action {
  background: #2563eb;
  color: white;
}

.choice-pickup .choice-option-action {
  color: #047857;
  background: #ecfdf5;
}

.choice-pickup:hover .choice-option-action {
  background: #059669;
  color: white;
}

.choice-modal-footer {
  text-align: center;
  margin-top: 16px;
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
}

/* Order Cancellation Buttons & Notice Strips */
.btn-cancel-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff1f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-order:hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

.cancel-notice-strip {
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 600;
  margin: 10px 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: fadeIn 0.2s ease;
}

.cancel-notice-strip.strip-cancellable {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.cancel-notice-strip.strip-locked {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.cancel-notice-strip.strip-cancelled {
  background: #fef2f2;
  border: 1px solid #fecdd3;
  color: #991b1b;
}

.btn-history-cancel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff1f2;
  color: #dc2626;
  border: 1px solid #fecdd3;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 6px;
}

.btn-history-cancel:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #991b1b;
}

/* =========================================================
   KITCHEN & FOOD RATING SYSTEM STYLES
   ========================================================= */

.rating-modal-card {
  max-width: 500px;
  width: 95%;
  padding: 1.75rem;
  border-radius: 18px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modal-pop 0.22s ease-out;
}

.rating-modal-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.rating-modal-avatar {
  font-size: 2.4rem;
  margin-bottom: 0.25rem;
}

.rating-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 4px 0;
}

.rating-modal-sub {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
}

.rating-stars-container {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: center;
  margin-bottom: 1.25rem;
}

.rating-stars-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 2.2rem;
  line-height: 1;
  user-select: none;
  cursor: pointer;
}

.rating-star {
  color: #cbd5e1;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

.rating-star:hover {
  transform: scale(1.22);
}

.rating-star.active {
  color: #f59e0b;
  text-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.rating-sentiment-display {
  font-size: 0.86rem;
  font-weight: 700;
  color: #854d0e;
  margin-top: 8px;
  min-height: 20px;
}

.compliments-section {
  margin-bottom: 1rem;
}

.compliments-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  display: block;
  margin-bottom: 8px;
}

.compliments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compliment-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compliment-pill:hover {
  border-color: #f59e0b;
  color: #b45309;
}

.compliment-pill.active {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #b45309;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

/* Delivered Rating Prompt Card in Live Tracker */
.delivered-rating-card {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-radius: 14px;
  padding: 16px;
  margin: 1rem 0;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating-prompt-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.btn-rate-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f59e0b;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25);
}

.btn-rate-order:hover {
  background: #d97706;
  transform: translateY(-1px);
}

.order-rating-display {
  background: #fefce8;
  border: 1px solid #fef08a;
  border-radius: 8px;
  padding: 8px 12px;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #854d0e;
}

.order-rating-display .stars {
  font-weight: 800;
  color: #d97706;
}

/* GPS & Map Distance Styles */
@keyframes pulseBlue {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(5, 150, 105, 0); }
  100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.kitchen-distance-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  margin-top: 4px;
}

