* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #ffffff;
  min-height: 100vh;
}

/* =========================
   HEADER STICKY
   ========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;              /* 👈 dinaikkan dari 56px agar gambar muat */
  padding: 0 16px;
  background: linear-gradient(90deg, #0b3d0b 0%, #1e5c1e 45%, #000000 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.header-left {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-logo {
  height: 34px;              /* 👈 diperbesar dari 26px */
  width: auto;
  max-width: 150px;          /* 👈 diperbesar dari 110px */
  object-fit: contain;
  display: block;
}

/* Tombol garis tiga (hamburger) */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.22);
}

.menu-toggle:active {
  transform: scale(0.95);
}

/* Responsif layar kecil */
@media (max-width: 480px) {
  .header {
    height: 52px;
    padding: 0 12px;
  }

  .header-logo {
    height: 22px;
    max-width: 150px;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
}
/* =========================
   CONTAINER
   ========================= */
.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

/* =========================
   SECTION TITLE
   ========================= */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;      /* 👈 menengahkan ikon + teks */
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000;
  margin: 22px 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;           /* 👈 memastikan teks rata tengah */
}

.section-title i {
  color: #000000;
  font-size: 1.1rem;
}

/* =========================
   GAMBAR BRAND / BANNER
   ========================= */
.brand-image {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.brand-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
}

/* =========================
   SUBTEXT
   ========================= */
.subtext {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.4;
}

/* =========================
   KOLOM OPSI PENGIRIMAN (dropdown/accordion)
   ========================= */
.courier-select {
  position: relative;
  width: 100%;
}

/* Trigger (kolom yang diklik) */
.courier-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  color: #333;
  text-align: left;
  transition: all 0.25s ease;
}

.courier-trigger:hover {
  border-color: #1e5c1e;
}

.courier-trigger.active {
  border-color: #1e5c1e;
  background: #eef7ee;
}

.trigger-label {
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trigger-label.placeholder {
  color: #999;
  font-weight: 400;
}

.trigger-arrow {
  color: #1e5c1e;
  font-size: 0.9rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.courier-trigger.active .trigger-arrow {
  transform: rotate(180deg);
}

/* Dropdown daftar kurir */
.courier-dropdown {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
  padding: 8px;
  background: #fff;
  border: 2px solid #1e5c1e;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  animation: dropdownFade 0.2s ease;
}

.courier-dropdown.open {
  display: flex;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Opsi kurir (1 kolom penuh) */
.courier-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  width: 100%;
}

.courier-option:hover {
  border-color: #1e5c1e;
  box-shadow: 0 3px 10px rgba(30, 92, 30, 0.12);
}

.courier-option.selected {
  border-color: #1e5c1e;
  background: #eef7ee;
  box-shadow: 0 3px 10px rgba(30, 92, 30, 0.18);
}

.courier-option input[type="radio"] {
  display: none;
}

.courier-option .radio-circle {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  border: 2px solid #bbb;
  position: relative;
  transition: all 0.2s ease;
}

.courier-option.selected .radio-circle {
  border-color: #1e5c1e;
}

.courier-option.selected .radio-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1e5c1e;
}

.courier-option .courier-name {
  font-weight: 600;
  color: #333;
  font-size: 0.98rem;
}

.courier-option .courier-icon {
  margin-left: auto;
  color: #1e5c1e;
  font-size: 1.1rem;
}

/* =========================
   TOMBOL SUBMIT
   ========================= */
.btn-submit {
  width: 100%;
  margin-top: 28px;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  background-color: #d32f2f;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.btn-submit:hover:not(:disabled) {
  background-color: #b71c1c;
  box-shadow: 0 5px 16px rgba(211, 47, 47, 0.4);
}

.btn-submit:disabled {
  background-color: #e0a0a0;
  cursor: not-allowed;
  opacity: 0.8;
}

/* SPINNER DI DALAM TOMBOL */
.btn-submit .spinner {
  display: none;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}