:root {
  --primary: #ef6c00;
  --primary-dark: #d65f00;
  --secondary: #fff6ef;
  --text: #1f2937;
  --muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --success: #15803d;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #fffaf7;
  color: var(--text);
}

.app {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--white);
  position: relative;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.brand-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.cart-button {
  border: none;
  background: var(--primary);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.hero {
  margin: 16px;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff0e4, #ffe2c8);
}

.hero h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.hero p {
  margin: 0;
  color: #7c4a22;
  line-height: 1.5;
  font-size: 14px;
}

.section {
  padding: 0 16px 100px;
}

.section-title {
  margin: 18px 0 12px;
  font-size: 18px;
  font-weight: 700;
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar { display: none; }

.chip {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text);
}

.chip.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 16px;
  }
.menu-card {
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: fadeUp 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.menu-image {
  height: 130px;
  background: linear-gradient(135deg, #fff7ed, #ffe7cc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.menu-content {
  padding: 14px;
}

.menu-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
}

.menu-desc {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  min-height: 38px;
}

.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-size: 15px;
  font-weight: 800;
  color: #ea580c;
}

.add-btn {
  border: none;
  background: linear-gradient(135deg, #ef6c00, #e65100);
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(239, 108, 0, 0.22);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.add-btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.floating-cart {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(448px, calc(100% - 24px));
  z-index: 25;
  background: var(--primary);
  color: var(--white);
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.drawer-backdrop,
.modal-backdrop,
.success-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  display: none;
  z-index: 30;
}

.drawer,
.modal,
.success-modal {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, 100%);
  background: var(--white);
  z-index: 31;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: var(--shadow);
}

.drawer {
  bottom: 0;
  max-height: 85vh;
  display: none;
  overflow: hidden;
}

.modal,
.success-modal {
  bottom: 0;
  display: none;
  max-height: 90vh;
  overflow-y: auto;
}

.panel-header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.close-btn {
  border: none;
  background: #f3f4f6;
  color: var(--text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
}

.panel-body {
  padding: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child { border-bottom: none; }

.cart-item-name {
  margin: 0 0 6px;
  font-weight: 700;
}

.cart-item-price {
  color: var(--muted);
  font-size: 13px;
}

.qty-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #f3f4f6;
  cursor: pointer;
  font-weight: 700;
}

.summary {
  background: #fff8f1;
  border: 1px solid #ffe1c0;
  border-radius: 16px;
  padding: 14px;
  margin-top: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  gap: 12px;
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px dashed #f6b375;
  font-size: 16px;
  font-weight: 700;
}

.primary-btn,
.secondary-btn {
  width: 100%;
  border: none;
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
}

.primary-btn {
  background: var(--primary);
  color: var(--white);
  margin-top: 16px;
}

.secondary-btn {
  background: #eef2ff;
  color: #1e40af;
  margin-top: 10px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.field {
  margin-bottom: 14px;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 14px;
  outline: none;
}

textarea { min-height: 96px; resize: vertical; }

.radio-group {
  display: grid;
  gap: 10px;
}

.radio-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  cursor: pointer;
}

.radio-card.active {
  border-color: var(--primary);
  background: var(--secondary);
}

.radio-card input {
  width: auto;
  margin-right: 8px;
}

.hidden { display: none !important; }

.empty-state {
  text-align: center;
  color: var(--muted);
  padding: 30px 12px;
  line-height: 1.6;
}

.success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dcfce7;
  color: var(--success);
  font-size: 34px;
  margin: 8px auto 14px;
  font-weight: 700;
}

.success-title {
  text-align: center;
  margin: 0 0 8px;
  font-size: 22px;
}

.success-text {
  text-align: center;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.badge {
  display: inline-block;
  background: #fff3e8;
  color: var(--primary-dark);
  border: 1px solid #ffd3af;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 20px;
  }

  .menu-image {
    height: 150px;
  }
}
/* ===== ADMIN ORDERS ===== */

body {
  font-family: Arial, sans-serif;
  background: #f8fafc;
  margin: 0;
  padding: 20px;
}

.page-title {
  margin: 0;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.logout-btn {
  background: #dc2626;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.order-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.order-code {
  font-weight: bold;
  color: #ea580c;
}

.order-date {
  color: #64748b;
  font-size: 14px;
}

.meta {
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.items {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e2e8f0;
}

.item-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
  gap: 10px;
}

.empty {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.wa-btn {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 12px;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.status-form {
  display: inline-block;
  margin-top: 8px;
}

.status-select {
  padding: 8px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 14px;
  margin-right: 6px;
}

.save-btn {
  padding: 8px 12px;
  border: none;
  background: #ea580c;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 600px) {
  .item-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== LOGIN ADMIN ===== */

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-box {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 360px;
}

.login-title {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 24px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.field input {
  width: 100%;
  padding: 12px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  box-sizing: border-box;
}

.login-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #ea580c;
  color: white;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

.error {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}
/* ===== ADMIN ORDERS LAYOUT BARU ===== */

.page-title {
  margin: 0;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
  flex-wrap: wrap;
}

.logout-btn {
  background: #dc2626;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.order-layout {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.order-left {
  flex: 1;
  min-width: 0;
}

.order-right {
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.order-code {
  font-weight: 700;
  color: #ea580c;
  font-size: 28px;
  margin-bottom: 14px;
}

.order-date {
  color: #64748b;
  font-size: 15px;
  text-align: right;
}

.meta-block {
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 2px;
}

.status-box {
  text-align: right;
}

.status-label {
  margin-bottom: 6px;
  color: #334155;
}

.status-form {
  display: inline-block;
}

.status-select {
  min-width: 170px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}

.wa-btn {
  display: inline-block;
  padding: 10px 14px;
  background: #25D366;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.order-footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.total-text {
  font-size: 18px;
  color: #334155;
}

.save-desktop-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.save-btn {
  padding: 10px 14px;
  border: none;
  background: #ea580c;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.items {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.item-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin-top: 8px;
  gap: 10px;
  color: #334155;
}

.empty {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.mobile-only {
  display: none;
}

.save-form-inline {
  display: none;
}

@media (max-width: 768px) {
  .order-layout {
    flex-direction: column;
  }

  .order-right {
    width: 100%;
    align-items: flex-start;
  }

  .order-date,
  .status-box {
    text-align: left;
  }

  .order-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .save-desktop-form {
    width: 100%;
    flex-wrap: wrap;
  }

  .status-select {
    width: 100%;
  }

  .item-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ===== DASHBOARD ADMIN ===== */

.dashboard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-btn {
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.welcome-box {
  background: linear-gradient(135deg, #fff0e4, #ffe2c8);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 20px;
}

.welcome-box h2 {
  margin: 0 0 8px;
  font-size: 24px;
  color: #1f2937;
}

.welcome-box p {
  margin: 0;
  color: #7c4a22;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.stat-card-wide {
  grid-column: span 2;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 10px;
}

.stat-value {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  font-size: 22px;
  color: #111827;
}

.link-arrow {
  text-decoration: none;
  color: #ea580c;
  font-weight: 700;
  font-size: 14px;
}

.recent-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recent-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.recent-code {
  font-weight: 700;
  color: #ea580c;
  margin-bottom: 4px;
}

.recent-meta {
  font-size: 14px;
  color: #64748b;
}

.recent-right {
  text-align: right;
}

.recent-total {
  font-weight: 700;
  color: #111827;
  margin-bottom: 6px;
}

.status-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.status-pending {
  background: #f59e0b;
}

.status-diproses {
  background: #2563eb;
}

.status-selesai {
  background: #16a34a;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card-wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card-wide {
    grid-column: span 1;
  }

  .recent-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .recent-right {
    text-align: left;
  }
}
.print-btn {
  background: #111827;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.back-btn {
  background: #e2e8f0;
  color: #111827;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
/* ===== TRACK ORDER CUSTOMER ===== */

.track-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #f8fafc;
}

.track-box {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.track-title {
  margin: 0 0 8px;
  font-size: 28px;
  color: #111827;
}

.track-subtitle {
  margin: 0 0 20px;
  color: #64748b;
}

.track-form {
  margin-bottom: 20px;
}

.track-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #ea580c;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.track-result {
  margin-top: 20px;
}

.track-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  background: #fffaf7;
}

.track-info {
  margin-bottom: 8px;
  color: #334155;
}

.track-items {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.track-item-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: #334155;
}

.track-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px;
  border-radius: 10px;
}

.track-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.status-pending {
  background: #f59e0b;
}

.status-diproses {
  background: #2563eb;
}

.status-selesai {
  background: #16a34a;
}
.upload-proof-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.upload-proof-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.track-success {
  background: #dcfce7;
  color: #166534;
  padding: 12px;
  border-radius: 10px;
  margin-top: 10px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.back-btn {
  background: #e2e8f0;
  color: #111827;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.print-btn {
  background: #111827;
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.status-box {
  text-align: right;
}

.status-label {
  margin-bottom: 6px;
  color: #334155;
}

.status-form {
  display: inline-block;
}

.status-select {
  min-width: 170px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
  margin-bottom: 8px;
}

.save-btn {
  padding: 10px 14px;
  border: none;
  background: #ea580c;
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
/* ===== TRACK ORDER CUSTOMER ===== */

.track-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: #f8fafc;
}

.track-box {
  width: 100%;
  max-width: 520px;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.track-title {
  margin: 0 0 8px;
  font-size: 28px;
  color: #111827;
}

.track-subtitle {
  margin: 0 0 20px;
  color: #64748b;
}

.track-form {
  margin-bottom: 20px;
}

.track-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #ea580c;
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.track-result {
  margin-top: 20px;
}

.track-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  background: #fffaf7;
}

.track-info {
  margin-bottom: 8px;
  color: #334155;
  line-height: 1.6;
}

.track-items {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.track-item-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: #334155;
}

.track-error {
  background: #fee2e2;
  color: #991b1b;
  padding: 12px;
  border-radius: 10px;
}

.track-success {
  background: #dcfce7;
  color: #166534;
  padding: 12px;
  border-radius: 10px;
  margin-top: 10px;
}

.track-status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}

.track-proof-box {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.track-proof-link {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 12px;
  background: #2563eb;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.upload-proof-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
}

.upload-proof-form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.status-pending {
  background: #f59e0b;
}

.status-diproses {
  background: #2563eb;
}

.status-selesai {
  background: #16a34a;
}

@media (max-width: 600px) {
  .track-item-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
.payment-proof-preview {
  display: block;
  width: 100%;
  max-width: 220px;
  margin-top: 8px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.payment-badge {
  display: inline-block;
  margin-top: 6px;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.payment-belum_bayar {
  background: #dc2626;
}

.payment-menunggu_pembayaran {
  background: #f59e0b;
}

.payment-menunggu_verifikasi {
  background: #2563eb;
}

.payment-paid {
  background: #16a34a;
}

.payment-action-form {
  margin-top: 8px;
}

.approve-btn,
.reject-btn {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.approve-btn {
  background: #16a34a;
  color: #fff;
}

.reject-btn {
  background: #dc2626;
  color: #fff;
}
.track-home-section {
  margin-top: 22px;
}

.track-home-card {
  background: linear-gradient(135deg, #fff8f1, #ffe8d2);
  border: 1px solid #ffd9b5;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.track-home-title {
  margin: 0 0 6px;
  font-size: 18px;
  color: #1f2937;
}

.track-home-text {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 320px;
}

.track-home-btn {
  display: inline-block;
  text-decoration: none;
  background: #ea580c;
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.qris-body {
  text-align: center;
}

.qris-text {
  margin-top: 0;
  color: #64748b;
  line-height: 1.6;
}

.qris-image {
  width: 100%;
  max-width: 280px;
  margin: 14px auto;
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 10px;
}

.qris-note {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  margin-top: 14px;
}

.qris-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 14px;
}

.qris-download-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

@media (max-width: 600px) {
  .qris-actions {
    flex-direction: column;
  }
}

.menu-card {
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  overflow: hidden;
  transition: all 0.25s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.menu-image {
  height: 120px;
  background: linear-gradient(135deg, #fff7ed, #ffe0b2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.menu-content {
  padding: 14px;
}

.menu-name {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.menu-desc {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 15px;
  font-weight: 700;
  color: #ef6c00;
}

.add-btn {
  background: #ef6c00;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.add-btn:hover {
  background: #e65100;
}
.menu-card {
  animation: fadeUp 0.3s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* yang baru uji coba */
/* ===== UI UPGRADE CUSTOMER HOME ===== */

/* ===== UI UPGRADE CUSTOMER HOME ===== */

.app {
  width: 100%;          /* Biarkan melebar penuh di semua perangkat */
  max-width: 1200px;     /* Batas maksimal di komputer agar tidak terlalu melar */
  margin: 0 auto;
  min-height: 100vh;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(15, 23, 42, 0.05); /* Mempercantik bayangan di pc */
}

/* Mengatur agar bagian Hero Banner tidak terlalu melar di layar komputer */
.hero {
  margin: 16px;
  padding: 30px 20px;   /* Sedikit diperlebar padding-nya */
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7ed, #ffe7cc);
  border: 1px solid #fed7aa;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.08);
}

/* Responsivitas Grid Menu Makanan */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 14px;
}

/* Penyesuaian Komponen Drawer/Modal agar berada di tengah layar jika dibuka di PC */
@media (min-width: 700px) {
  .drawer {
    width: 460px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    border-radius: 24px 24px 0 0 !important;
  }
  
  .floating-cart {
    width: 430px !important;
  }
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eef2f7;
  padding: 14px 16px;
}

.brand-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.brand-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: #64748b;
  letter-spacing: 0.2px;
}

.cart-button {
  border: none;
  background: linear-gradient(135deg, #fb8c00, #ef6c00);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(239, 108, 0, 0.22);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cart-button:hover {
  transform: translateY(-1px);
  opacity: 0.97;
}

.hero {
  margin: 16px;
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, #fff7ed, #ffe7cc);
  border: 1px solid #fed7aa;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.08);
}

.hero h2 {
  margin: 0 0 8px;
  font-size: 26px;
  line-height: 1.15;
  color: #111827;
  font-weight: 800;
}

.hero p {
  margin: 0;
  color: #7c2d12;
  line-height: 1.65;
  font-size: 14px;
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.72);
  color: #c2410c;
  border: 1px solid #fdba74;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section {
  padding: 0 16px 100px;
}

.section-title {
  margin: 18px 0 12px;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.chip {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 10px 15px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  color: #111827;
  transition: all 0.2s ease;
}

.chip.active {
  background: linear-gradient(135deg, #fb8c00, #ef6c00);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(239, 108, 0, 0.18);
}

.chip:hover {
  transform: translateY(-1px);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.menu-card {
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

.menu-image {
  height: 130px;
  background: linear-gradient(135deg, #fff7ed, #ffe7cc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.menu-content {
  padding: 14px;
}

.menu-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
}

.menu-desc {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  min-height: 38px;
}

.menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-size: 15px;
  font-weight: 800;
  color: #ea580c;
}

.add-btn {
  border: none;
  background: linear-gradient(135deg, #ef6c00, #e65100);
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(239, 108, 0, 0.22);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.add-btn:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.track-home-card {
  background: linear-gradient(135deg, #fff8f1, #ffe8d2);
  border: 1px solid #ffd9b5;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.08);
}

.track-home-title {
  margin: 0 0 6px;
  font-size: 18px;
  color: #111827;
  font-weight: 800;
}

.track-home-text {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.track-home-btn {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(135deg, #ef6c00, #e65100);
  color: #fff;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(239, 108, 0, 0.18);
}

.floating-cart {
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(239, 108, 0, 0.24);
}
/* ini toping */
/* ===== UI UPGRADE MODAL TOPPING ===== */

.topping-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.topping-modal {
  width: min(460px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.12);
  animation: toppingSlideUp 0.22s ease;
}

@keyframes toppingSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topping-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef2f7;
}

.topping-title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.topping-subtitle {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #64748b;
}

.topping-close {
  border: none;
  background: #f3f4f6;
  color: #111827;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 20px;
  flex-shrink: 0;
}

.topping-body {
  padding: 16px;
}

.topping-section {
  margin-bottom: 20px;
}

.topping-section-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.topping-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 13px 14px;
  margin-bottom: 10px;
  cursor: pointer;
  background: #fff;
  transition: all 0.18s ease;
}

.topping-option:hover {
  border-color: #fdba74;
  background: #fffaf5;
}

.topping-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.topping-option input[type="radio"],
.topping-option input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #ef6c00;
  margin: 0;
  flex-shrink: 0;
}

.topping-option-label {
  font-size: 14px;
  color: #111827;
  line-height: 1.4;
  word-break: break-word;
  font-weight: 600;
}

.topping-option-price {
  font-size: 13px;
  font-weight: 800;
  color: #ea580c;
  white-space: nowrap;
}

.topping-qty-row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff8f1;
  border: 1px solid #ffe1c0;
  border-radius: 999px;
  padding: 8px 12px;
}

.topping-qty-btn {
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #ffffff;
  font-size: 18px;
  cursor: pointer;
  font-weight: 800;
  color: #111827;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.topping-qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
  color: #111827;
  font-size: 15px;
}

.topping-summary-box {
  background: linear-gradient(135deg, #fff8f1, #ffedd5);
  border: 1px solid #fed7aa;
  border-radius: 18px;
  padding: 14px;
  margin-top: 16px;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.08);
}

.topping-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #374151;
}

.topping-summary-row:last-child {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px dashed #f59e0b;
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}

.topping-actions {
  position: sticky;
  bottom: 0;
  background: linear-gradient(to top, #ffffff 75%, rgba(255,255,255,0.92));
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.topping-primary-btn,
.topping-secondary-btn {
  border: none;
  width: 100%;
  border-radius: 16px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
}

.topping-primary-btn {
  background: linear-gradient(135deg, #ef6c00, #e65100);
  color: #fff;
  box-shadow: 0 12px 24px rgba(239, 108, 0, 0.24);
}

.topping-secondary-btn {
  background: #eef2ff;
  color: #1e40af;
}

@media (min-width: 700px) {
  .topping-backdrop {
    align-items: center;
    padding: 18px;
  }

  .topping-modal {
    border-radius: 24px;
    max-height: 88vh;
  }
}
.topping-summary-row:last-child {
  font-size: 18px;
  font-weight: 900;
  color: #ea580c;
}
.topping-close {
  background: #f3f4f6;
  transition: 0.2s;
}

.topping-close:hover {
  background: #e5e7eb;
}

/* UI Keranjang */
/* ===== UI UPGRADE KERANJANG ===== */

.drawer {
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.14);
  overflow: hidden;
}

.drawer-backdrop {
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(4px);
}

.panel-header {
  position: sticky;
  top: 0;
  z-index: 3;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef2f7;
  padding: 16px;
}

.panel-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.close-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: none;
  background: #f3f4f6;
  color: #111827;
  font-size: 20px;
  cursor: pointer;
}

.panel-body {
  padding: 16px;
  background: #fff;
}

.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid #eef2f7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  margin-bottom: 12px;
}

.cart-item-name {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
}

.cart-item-meta {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.55;
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 13px;
  color: #475569;
  font-weight: 600;
  margin-bottom: 10px;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff8f1;
  border: 1px solid #ffe1c0;
  border-radius: 999px;
  padding: 6px 10px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.qty-box strong {
  min-width: 18px;
  text-align: center;
  color: #111827;
  font-size: 14px;
}

.cart-item > strong {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 800;
  color: #ea580c;
}

.summary {
  margin-top: 14px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8f1, #ffedd5);
  border: 1px solid #fed7aa;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.08);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #374151;
  margin-bottom: 8px;
}

.summary-row:last-child {
  margin-bottom: 0;
  padding-top: 10px;
  border-top: 1px dashed #f59e0b;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.empty-state {
  padding: 26px 18px;
  border-radius: 18px;
  text-align: center;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  line-height: 1.7;
}

.primary-btn {
  border: none;
  background: linear-gradient(135deg, #ef6c00, #e65100);
  color: #fff;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(239, 108, 0, 0.2);
}

.primary-btn:hover {
  opacity: 0.97;
}
/* Check out */
/* ===== UI UPGRADE CHECKOUT MODAL ===== */

.modal-backdrop {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(4px);
}

.modal {
  border-top-left-radius: 26px;
  border-top-right-radius: 26px;
  overflow: hidden;
  box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.16);
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #dbe3ec;
  background: #fff;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  min-height: 92px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #fb923c;
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.14);
}

.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.radio-card {
  position: relative;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 14px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  cursor: pointer;
  transition: all 0.2s ease;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card.active,
.radio-card:has(input:checked) {
  border-color: #fb923c;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.1);
  color: #9a3412;
}

.secondary-btn {
  border: none;
  background: #eef2ff;
  color: #1e40af;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.secondary-btn:hover {
  opacity: 0.96;
}

#addressField.hidden {
  display: none;
}

#checkoutModal .summary {
  margin-top: 8px;
}

#checkoutModal .primary-btn {
  width: 100%;
  margin-top: 12px;
  font-size: 15px;
}

@media (min-width: 700px) {
  .modal {
    width: min(520px, 100%);
    margin: auto;
    border-radius: 24px;
    max-height: 90vh;
  }

  .modal-backdrop {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
  }
}
.drawer-backdrop,
.modal-backdrop,
.success-backdrop {
  display: none;
}

.drawer,
.modal,
.success-modal,
#qrisModal,
#cartDrawer,
#checkoutModal,
#successModal {
  display: none;
}
/* ui qris */
/* ===== UI UPGRADE QRIS MODAL ===== */

.qris-body {
  text-align: center;
  padding: 20px;
}

.qris-text {
  font-size: 14px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.6;
}

.qris-image {
  width: 220px;
  max-width: 100%;
  border-radius: 16px;
  background: #fff;
  padding: 10px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  margin: 0 auto 18px;
  display: block;
}

.qris-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.qris-actions .secondary-btn {
  flex: 1;
}

.qris-note {
  font-size: 13px;
  color: #64748b;
  margin: 14px 0;
  line-height: 1.6;
}

#afterQrisButton {
  margin-top: 10px;
}

#backFromQris {
  margin-top: 8px;
}
#qrisTotal {
  font-size: 18px;
  color: #ea580c;
}
/* ===== FIX SPACING CHECKOUT ===== */

.field {
  margin-bottom: 12px; /* sebelumnya 16px */
}

.field textarea {
  min-height: 80px; /* sebelumnya 92px */
}

.radio-group {
  gap: 8px;
}

.radio-card {
  padding: 12px;
}

.secondary-btn {
  padding: 10px 12px;
}

#checkoutModal .summary {
  margin-top: 6px;
  padding: 12px;
}

.summary-row:last-child {
  font-size: 15px;
}

#checkoutModal .primary-btn {
  margin-top: 10px;
  padding: 13px;
}
.modal {
  max-height: 90vh;
  overflow-y: auto;
}

/* ui tracking */
/* ===== UI UPGRADE TRACKING ===== */

.track-card {
  border-radius: 22px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.track-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.track-status.pending {
  background: #fff7ed;
  color: #c2410c;
}

.track-status.diproses {
  background: #eff6ff;
  color: #1d4ed8;
}

.track-status.selesai {
  background: #ecfdf5;
  color: #047857;
}

.track-info {
  font-size: 14px;
  color: #374151;
  margin-bottom: 10px;
  line-height: 1.6;
}

.track-info strong {
  color: #111827;
}

.track-items {
  margin-top: 14px;
  border-top: 1px dashed #e5e7eb;
  padding-top: 12px;
}

.track-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.track-item-name {
  font-weight: 700;
  color: #111827;
}

.track-item-meta {
  font-size: 12px;
  color: #6b7280;
}

.track-total {
  border-top: 1px dashed #f59e0b;
  margin-top: 12px;
  padding-top: 10px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  color: #111827;
}

.track-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
  margin-top: 12px;
}

.track-btn.primary {
  background: linear-gradient(135deg, #ef6c00, #e65100);
  color: #fff;
}

.track-btn.secondary {
  background: #eef2ff;
  color: #1e40af;
}

/* logo */
.topbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.topbar .brand-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.topbar .brand-logo-small {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 36px !important;
}

.topbar .brand-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.topbar .brand-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.topbar .brand-sub {
  font-size: 12px !important;
  color: #6b7280 !important;
  margin: 2px 0 0 !important;
}
/* footer */
.app-footer {
  margin-top: 30px;
  padding: 24px 16px;
  background: #0f172a;
  color: #fff;
}

.footer-content {
  max-width: 430px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.footer-brand span {
  display: block;
  font-size: 12px;
  color: #94a3b8;
}

.footer-info {
  font-size: 13px;
  color: #cbd5f5;
  margin: 12px 0;
}

.footer-contact a {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  background: #fb8c00;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.footer-contact a:hover {
  opacity: 0.9;
}

.footer-copy {
  margin-top: 16px;
  font-size: 11px;
  color: #94a3b8;
}
/* Menu */
.menu-image {
  width: 100%;
  height: 140px;
  background: #f3f4f6;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.menu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.best-seller{
  background: #ffedd5;
  color: #ea580c;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 8px;
}

.cart-modal-content {
  max-height: 70vh !important; /* Gunakan 70vh agar lebih terlihat perubahannya */
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Batasi tinggi daftar makanan saja */
#cartContent {
    max-height: 40vh !important; /* Gunakan 40% dari tinggi layar */
    overflow-y: auto !important; /* Aktifkan scroll di sini */
    padding-right: 5px;
    margin-bottom: 10px;
}

/* Pastikan panel utama tidak ikut memanjang tanpa batas */
.panel-body {
    max-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important; /* Matikan scroll utama agar rapi */
}

/* Gaya tambahan agar scrollbar terlihat lebih tipis dan modern */
#cartContent::-webkit-scrollbar {
    width: 4px;
}
#cartContent::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}