:root {
  --ma-orange: #d5893b;
  --ma-blue: #3981d6;
  --ma-cream: #ffdeaa;
  --ma-linen: #f5ecdb;

  --color-text-primary: #2b2b2b;
  --color-text-secondary: #666666;

  --border-radius-lg: 14px;
  --font-sans: 'Poppins', Arial, sans-serif;
}

/* =========================
   BOX CONTAINER
========================= */

.order-box {
  background: var(--ma-linen);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
  border: 1px solid #e0d0b0;
  font-family: var(--font-sans);
  box-sizing: border-box;
}

.order-box h2 {
  font-size: 18px;
  font-weight: 700;
  color: #2b2b2b;
  text-align: center;
  margin: 0 0 1.25rem;
}

.label {
  font-size: 13px;
  font-weight: 600;
  color: #2b2b2b;
  text-align: center;
  margin-bottom: 8px;
}

/* =========================
   TOGGLE PILIH TERAPIS
========================= */

.toggle-container {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.toggle-option {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid #ddc99a;

  background: white;
  color: var(--ma-orange);

  transition: all 0.2s ease;
  user-select: none;
}

/* ACTIVE PRIA */
.toggle-container.pria .toggle-option.pria {
  background: var(--ma-orange);
  color: white;
  border-color: var(--ma-orange);
}

/* ACTIVE WANITA */
.toggle-container.wanita .toggle-option.wanita {
  background: var(--ma-orange);
  color: white;
  border-color: var(--ma-orange);
}

.toggle-option:hover {
  transform: translateY(-1px);
}

/* =========================
   RADIO GROUP (IDENTITAS)
========================= */

.radio-group {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.radio-card {
  flex: 1;
  background: white;
  border: 1px solid #ddc99a;
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #3981d6;
  transition: all 0.2s ease;
}

.radio-card input[type="radio"] {
  appearance: auto;
  -webkit-appearance: radio;
  margin: 0;
}

.radio-card:has(input:checked) {
  background: var(--ma-blue);
  border-color: var(--ma-blue);
  color: white;
}

.radio-card:has(input:checked) span {
  color: white;
}

/* =========================
   SEPARATOR
========================= */

.sep {
  height: 1px;
  background: #ddc99a;
  margin: 1rem 0;
}

/* =========================
   BUTTON LOKASI & STATUS
========================= */

.loc-btn {
  width: 100%;
  background: var(--ma-orange);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}

.loc-btn:hover {
  background: #3981d6;
  transform: translateY(-2px);
}

.loc-status {
  font-size: 13px;
  text-align: center;
  min-height: 18px;
  margin-bottom: 10px;
  color: var(--color-text-secondary);
}

/* =========================
   ADDRESS CARD & INPUT
========================= */

.addr-card {
  background: white;
  border: 1px solid #ddc99a;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 1rem;
  display: none;
}

.addr-card.show {
  display: block;
}

.addr-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--ma-orange);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.addr-text {
  font-size: 14px;
  color: var(--color-text-primary);
  line-height: 1.5;
}

.addr-edit {
  font-size: 12px;
  color: var(--ma-blue);
  cursor: pointer;
  margin-top: 6px;
  display: inline-block;
  text-decoration: underline;
}

.addr-input {
  width: 100%;
  border: 1px solid #ddc99a;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: white;
  color: var(--color-text-primary);
  box-sizing: border-box;
  margin-bottom: 1rem;
  display: none;
  font-family: var(--font-sans);
}

.addr-input.show {
  display: block;
}

/* =========================
   TICKET BOX
========================= */

.ticket-box {
  text-align: center;
  margin-bottom: 1rem;
}

.ticket-label {
  font-size: 12px;
  color: #2b2b2b;
  margin-bottom: 4px;
}

.ticket-code {
  font-size: 15px;
  font-weight: 700;
  color: var(--ma-blue);
  background: white;
  border-radius: 8px;
  padding: 8px 16px;
  display: inline-block;
  border: 1px solid #ddc99a;
  letter-spacing: 0.5px;
}

/* =========================
   ACTION BUTTONS (WA & PRICE)
========================= */

.btn-wa {
  width: 100%;
  background: #25D366;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.btn-wa:hover {
  background: #25D366;
  transform: scale(1.02);
}

.btn-price {
  width: 100%;
  background: var(--ma-blue);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-price:hover {
  background: var(--ma-orange);
  color: white;
  transform: translateY(-2px);
}