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

body {
  background: #ece9e1;
  font-family: "Poppins", sans-serif;
  display: flex;
  justify-content: center;
  padding: 20px 10px;
  min-height: 100vh;
}

.mobile-frame {
  width: 100%;
  max-width: 430px;
  background: #f8f6f2;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.header {
  padding: 14px;
}

.header img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.content {
  padding: 20px;
}

.title {
  text-align: center;
  margin-bottom: 24px;
  font-size: 30px;
  color: #3f3127;
  font-weight: 700;
}

.title h1 {
  font-size: 30px;
  color: #3f3127;
}

.price {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #7a5a3d;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #4b3d2f;
}

.input {
  width: 100%;
  border: none;
  background: #fff;
  border-radius: 18px;
  padding: 15px;
  font-size: 15px;
  outline: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);

  -webkit-tap-highlight-color: transparent;
}

textarea {
  width: 100%;
  height: 180px;
  border: none;
  resize: none;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  font-size: 15px;
  outline: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
  font-family: "Poppins", sans-serif;

  -webkit-tap-highlight-color: transparent;
}

.button {
  width: 100%;
  border: none;
  background: #e3a43b;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: 20px;
  margin-top: 14px;
  cursor: pointer;

  -webkit-tap-highlight-color: transparent;
}

.button:active {
  transform: scale(0.98);
}

.notif {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);

  background: #2f2f2f;
  color: #fff;

  padding: 14px 20px;

  border-radius: 14px;

  font-size: 14px;
  font-weight: 600;

  opacity: 0;

  transition: 0.3s;

  z-index: 9999;
}

.notif.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* NAVBAR */

.navbar {
  display: flex;
  gap: 10px;
  padding: 5px 20px 0;
}

.nav-btn {
  flex: 1;

  text-decoration: none;

  background: #ffffff;

  color: #4b3d2f;

  text-align: center;

  padding: 14px;

  border-radius: 16px;

  font-size: 14px;
  font-weight: 600;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);

  transition: 0.2s;
}

.nav-btn.active {
  background: #dca44a;
  color: #fff;
}

/* MEMBER */

.member-box {
  background: #fff;
  padding: 18px;
  border-radius: 22px;
  margin-bottom: 22px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.member-title {
  font-size: 16px;
  font-weight: 700;
  color: #3f3127;
  margin-bottom: 6px;
}

.member-subtitle {
  font-size: 13px;
  color: #7a5a3d;
  margin-bottom: 16px;
  line-height: 1.6;
}

.member-row {
  display: flex;
  gap: 10px;
}

.verify-btn {
  border: none;
  background: #dca44a;
  color: #fff;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 700;
  cursor: pointer;
}

.locked {
  opacity: 0.45;
  pointer-events: none;
}

/* ALERT */

.alert-box {
  display: none;
  padding: 14px 16px;
  border-radius: 18px;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.alert-box.show {
  display: block;
}

.alert-success {
  background: #dff3d8;
  color: #2e6b2e;
}

.alert-warning {
  background: #fff5d6;
  color: #8a6d1d;
}

.alert-error {
  background: #ffdede;
  color: #a13a3a;
}

.alert-info {
  background: #dff2ff;
  color: #276587;
}
/* =========================
   INDEX PAGE
========================= */

.top-info {
  margin: 0 18px 14px;

  background: #efe8de;

  border-radius: 16px;

  padding: 5px 16px;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 4px;

  border: 1px solid rgba(0, 0, 0, 0.05);

  font-size: 13px;
  font-weight: 600;

  color: #5f5145;

  text-align: center;
}

#jam {
  color: #d28f2c;
  font-weight: 700;
  font-size: 18px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}

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

.product-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f5f5f5;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 10px;
}

.product-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #222;
  margin-bottom: 6px;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mall-badge {
  height: 18px;
  vertical-align: middle;
  margin-right: 4px;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: #ff5a00;
  margin-bottom: 8px;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
}

.rating-box {
  display: flex;
  align-items: center;
  gap: 3px;

  background: #fff7e6;
  border: 1px solid #ffd591;

  padding: 2px 6px;
  border-radius: 8px;

  color: #fa8c16;
  font-weight: 600;
}

/* =========================
   ADMIN PAGE
========================= */

.cover {
  height: 170px;
  background: #d8c4a2;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  font-weight: 700;

  color: #fff;
}

.order-list {
  margin-top: 4px;
  padding: 0 18px 24px;
}

.empty {
  text-align: center;
  opacity: 0.7;
  padding: 30px;
  font-size: 15px;
  font-weight: 600;
  color: #7a5a3d;
}

.loading-dots::after {
  content: "";
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0% {
    content: "";
  }

  33% {
    content: ".";
  }

  66% {
    content: "..";
  }

  100% {
    content: "...";
  }
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 15px auto 0;

  border: 4px solid #e5d5b6;
  border-top: 4px solid #dca44a;

  border-radius: 50%;

  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* SECTION TITLE */

.section-title {
  font-size: 11px;

  font-weight: 700;

  color: #9b866d;

  margin: 0 20px 10px;

  letter-spacing: 1px;

  text-transform: uppercase;
}

/* MENU TAB */

.menu-tab {
  margin: 0 18px 18px;

  background: #efe8de;

  border-radius: 18px;

  display: flex;

  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* TAB BUTTON */

.tab-btn {
  flex: 1;

  border: none;

  background: transparent;

  padding: 12px 8px;

  font-size: 12px;
  font-weight: 600;

  color: #6a5848;

  cursor: pointer;

  transition: 0.25s;
}

.tab-btn:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.tab-btn.active {
  background: #d7a04c;
  color: white;
}

/* NAVIGASI TANGGAL */

.tanggal-nav {
  display: flex;

  overflow-x: auto;

  margin-bottom: 22px;

  background: #efe8de;

  border-radius: 20px;

  border: 1px solid rgba(0, 0, 0, 0.05);

  scrollbar-width: none;

  -webkit-overflow-scrolling: touch;
}

.tanggal-nav::-webkit-scrollbar {
  display: none;
}

/* BUTTON TANGGAL */

.tanggal-btn {
  flex: none;

  min-width: 140px;

  border: none;

  background: transparent;

  padding: 16px 20px;

  white-space: nowrap;

  font-size: 15px;
  font-weight: 700;

  color: #6a5848;

  cursor: pointer;

  transition: 0.25s;
}

.tanggal-btn:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.tanggal-btn.active {
  background: #d7a04c;
  color: #fff;
}

/* TXT BOX */

.txt-box {
  background: #fff;

  border-radius: 24px;

  padding: 18px;

  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.txt-box textarea {
  width: 100%;

  min-height: 420px;

  border: none;

  resize: none;

  outline: none;

  background: transparent;

  font-size: 15px;

  line-height: 1.9;

  color: #2f2f2f;

  font-family: "Poppins", sans-serif;
}

.product-badge {
  display: inline-block;

  padding: 6px 14px;

  border-radius: 999px;

  font-size: 12px;
  font-weight: 700;

  color: #fff;

  margin-bottom: 14px;
}

.badge-bem {
  background: #dca44a;
}

.badge-sem {
  background: #4a8fdc;
}

.badge-lem {
  background: #4adc7c;
}

.copy-btn {
  width: 100%;

  border: none;

  margin-top: 14px;

  background: #2f2f2f;

  color: #fff;

  padding: 14px;

  border-radius: 16px;

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;
}

/* HEADER TEXT */

.header-text {
  margin: 14px 14px 10px;

  background: linear-gradient(135deg, #dca44a, #b67a1f);

  border-radius: 24px;

  min-height: 77px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding: 20px;

  color: #fff;

  font-size: 22px;
  font-weight: 700;

  line-height: 1.7;

  letter-spacing: 1px;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.total-box {
  background: #fff;
  padding: 20px;
  border-radius: 22px;
  margin-bottom: 18px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.total-label {
  font-size: 13px;
  color: #777;
}

.total-price {
  font-size: 28px;
  font-weight: 700;
  color: #dca44a;
}

.qris-box {
  background: #fff;
  padding: 20px;
  border-radius: 22px;
  margin-bottom: 18px;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.qris-box img {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
}
.button {
  width: 100%;
  border: none;
  background: #25d366;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 16px;
  border-radius: 20px;
  margin-top: 14px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.wa-icon {
  width: 22px;
  height: 22px;
}
.order-card {
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
}

.order-id {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.order-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #3f3127;
}

.order-info {
  font-size: 14px;
  line-height: 1.8;
  color: #555;
}

.status-pending {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffe3e3;
  color: #c0392b;
  font-size: 12px;
  font-weight: 700;
}

.status-done {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #dff3d8;
  color: #2e6b2e;
  font-size: 12px;
  font-weight: 700;
}
.admin-title {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #3f3127;
  margin-bottom: 0px;
}
.back-wrap {
  padding: 0 20px 15px;
}

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

.back-btn:active {
  transform: scale(0.97);
}
.checkout-header {
  display: flex;
  align-items: center;
  gap: 12px;

  margin: 10px;
}

.checkout-title {
  flex: 1;

  background: #efe8de;

  border-radius: 18px;

  padding: 14px;

  text-align: center;

  font-size: 16px;
  font-weight: 700;

  color: #4b3d2f;
}

.back-btn {
  width: 60px;
  height: 60px;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  text-decoration: none;

  background: #fff;

  color: #4b3d2f;

  border-radius: 18px;

  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);

  transition: 0.2s;
}

.back-btn:active {
  transform: scale(0.96);
}

.back-arrow {
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.back-text {
  font-size: 10px;
  font-weight: 600;
  margin-top: 2px;
}
.loading-page {
  text-align: center;
  padding: 40px 20px;
  font-size: 15px;
  font-weight: 600;
  color: #7a5a3d;
}

.spinner {
  width: 40px;
  height: 40px;
  margin: 15px auto 0;

  border: 4px solid #e5d5b6;
  border-top: 4px solid #dca44a;

  border-radius: 50%;

  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
.logout-btn{
  width:auto;
  padding:8px 14px;
  font-size:12px;

}
.admin-actions{
  display:flex;
  justify-content:flex-end;
  margin-bottom:12px;
}

.logout-wrap{
  display:flex;
  justify-content:flex-end;
  margin-top:10px;
}

.admin-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logout-icon{
  border:none;
  background:none;
  font-size:22px;
  cursor:pointer;
}
