/* ============================================
   Darma Wedding Organizer - Style (Redesign)
   assets/css/style.css
   ============================================ */

/* ===== CSS Variables ===== */
:root {
  --primary: #2d5016;
  --primary-dark: #1e3a0f;
  --primary-light: #3d6b20;
  --gold: #c9a227;
  --gold-light: #dbb93e;
  --gold-pale: #fdf6e3;
  --cream: #faf8f5;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-light: #5c5c5c;
  --text-muted: #909090;
  --border: #e8e0d5;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", "Segoe UI", Tahoma, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
}

/* ===== SITE HEADER ===== */
.site-header {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 16px 16px 12px;
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.site-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(201, 162, 39, 0.5);
}
.site-header h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
}
.site-header p {
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.3px;
}

/* ===== NAV ===== */
nav {
  background: var(--primary-dark);
  display: flex;
  justify-content: center;
}
nav a {
  color: #a8c97f;
  text-decoration: none;
  padding: 13px 28px;
  font-size: 0.87rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  display: inline-block;
  border-bottom: 3px solid transparent;
  transition:
    color var(--transition),
    border-color var(--transition);
}
nav a:hover {
  color: #fff;
}
nav a.active {
  color: #fff;
  border-bottom-color: var(--gold);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, #162d08 0%, #2d5016 55%, #3a6219 100%);
  padding: 72px 20px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  top: -250px;
  right: -180px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 162, 39, 0.07) 0%,
    transparent 70%
  );
  border: 1px solid rgba(201, 162, 39, 0.1);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  bottom: -180px;
  left: -80px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.hero-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.hero-ornament::before,
.hero-ornament::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 162, 39, 0.6));
}
.hero-ornament::after {
  transform: scaleX(-1);
}
.hero-ornament span {
  color: rgba(201, 162, 39, 0.8);
  font-size: 1.1rem;
}
.hero h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  color: #fff;
  font-weight: 700;
  line-height: 1.22;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  position: relative;
  z-index: 1;
}
.hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.hero-stat-item {
  text-align: center;
}
.hero-stat-item .num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  line-height: 1;
}
.hero-stat-item .lbl {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 4px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.3px;
  font-family: inherit;
}
.btn-gold {
  background: var(--gold);
  color: #1a3508;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ===== SECTION ===== */
.section {
  padding: 72px 20px;
}
.section-white {
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 52px;
}
.section-title .tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}
.section-title h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.section-title p {
  color: var(--text-light);
  font-size: 0.93rem;
  max-width: 520px;
  margin: 0 auto;
}
.section-title .divider {
  display: block;
  width: 52px;
  height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ===== PAKET GRID ===== */
.paket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

/* ===== PAKET CARD ===== */
.paket-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1.5px solid var(--border);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
  overflow: hidden;
}
.paket-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.paket-card.featured {
  border-color: var(--gold);
  border-width: 2px;
}

/* Badge ribbon (top-right corner) */
.paket-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #fff;
  border-radius: 0 var(--radius) 0 var(--radius);
  line-height: 1;
  z-index: 2;
}

/* Card header */
.paket-header {
  padding: 22px 22px 0;
  padding-top: 28px;
}
.paket-badge + .paket-header {
  padding-top: 36px;
}
.paket-kategori {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.paket-nama {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.18rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}

/* Harga */
.harga-wrapper {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.harga-asli-coret {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  display: block;
  margin-bottom: 2px;
}
.harga-sekarang {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.7rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
}
.harga-sekarang small {
  font-size: 0.85rem;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  color: var(--text-light);
}
.harga-diskon {
  display: inline-block;
  background: #fde8d8;
  color: #c0522b;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 12px;
  margin-left: 8px;
  vertical-align: middle;
}

/* Items */
.paket-items {
  padding: 0 22px;
  flex: 1;
}
.paket-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.paket-items ul li {
  font-size: 0.84rem;
  color: var(--text-light);
  padding: 5px 0 5px 26px;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  line-height: 1.45;
}
.paket-items ul li:last-child {
  border-bottom: none;
}
.paket-items ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  background: rgba(45, 80, 22, 0.1);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 6px;
}
.paket-items ul li.note-item {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.78rem;
}
.paket-items ul li.note-item::before {
  content: "i";
  background: rgba(0, 0, 0, 0.07);
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.7rem;
}
.paket-items ul li.item-hidden {
  display: none;
}
.paket-items ul li.item-hidden.item-expanded {
  display: block;
}

.btn-expand {
  display: block;
  width: 100%;
  text-align: center;
  padding: 9px;
  background: none;
  border: 1px dashed var(--border);
  border-radius: 6px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin: 12px 0 8px;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-expand:hover {
  background: rgba(45, 80, 22, 0.05);
  border-style: solid;
}

/* Card footer */
.paket-footer {
  padding: 16px 22px 22px;
}
.btn-pesan {
  display: block;
  width: 100%;
  padding: 13px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  letter-spacing: 0.4px;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-pesan:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}
.paket-card.featured .btn-pesan {
  background: linear-gradient(135deg, #c9a227, #e8c547);
  color: #1a3508;
}
.paket-card.featured .btn-pesan:hover {
  filter: brightness(1.05);
}

/* ===== ADAT SECTION ===== */
.adat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
.adat-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 20px;
  text-align: center;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  position: relative;
}
.adat-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.15);
}
.adat-card .adat-nama {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.92rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.adat-card .adat-harga {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.adat-card .adat-keterangan {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.adat-card .adat-gratis {
  display: inline-block;
  background: #d4edda;
  color: #155724;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

/* ===== BOOKING SECTION ===== */
.booking-wrap {
  max-width: 700px;
  margin: 0 auto;
}

.selected-preview {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.selected-preview.visible {
  display: flex;
}
.selected-preview .sp-label {
  font-size: 0.72rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}
.selected-preview .sp-nama {
  font-weight: 700;
  font-size: 1rem;
}
.selected-preview .sp-harga {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  font-weight: 700;
}
.selected-preview .sp-ganti {
  font-size: 0.75rem;
  opacity: 0.65;
  cursor: pointer;
  text-decoration: underline;
  margin-top: 2px;
  display: block;
}
.selected-preview .sp-ganti:hover {
  opacity: 1;
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
  border: 1px solid var(--border);
}
.booking-card h2 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--gold);
}

/* Form */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 7px;
}
.form-group label .req {
  color: #e74c3c;
  margin-left: 2px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-family: inherit;
  background: #fdfdfd;
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.08);
}
.form-group input::placeholder {
  color: #c0c0c0;
}

/* Summary */
.summary-box {
  background: linear-gradient(135deg, #f0f7e8 0%, #e8f2dc 100%);
  border: 1.5px solid rgba(45, 80, 22, 0.2);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 20px;
  display: none;
}
.summary-box.visible {
  display: block;
}
.summary-box h4 {
  color: var(--primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 14px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(45, 80, 22, 0.07);
}
.summary-row:last-child {
  border-bottom: none;
}
.summary-row .s-label {
  color: var(--text-light);
}
.summary-row .s-val {
  font-weight: 600;
}
.summary-row.s-total {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 2px solid rgba(45, 80, 22, 0.15);
  border-bottom: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}
.summary-row.s-total .s-val {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.2rem;
}
.summary-row.s-sisa .s-val {
  color: #c0392b;
}
.summary-row.s-sisa.lunas .s-val {
  color: #27ae60;
}

.badge-status {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.badge-lunas {
  background: #d4edda;
  color: #155724;
}
.badge-belum {
  background: #fde8d8;
  color: #8b3900;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all var(--transition);
  margin-top: 4px;
  font-family: inherit;
}
.btn-submit:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.28);
}
.btn-submit:active {
  transform: translateY(0);
}

/* ===== REKENING BOX ===== */
.rekening-box {
  background: linear-gradient(135deg, #f0f7e8 0%, #e8f4d4 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  margin-bottom: 22px;
}
.rekening-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(45, 80, 22, 0.2);
}
.rekening-icon {
  font-size: 1.2rem;
}
.rekening-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rekening-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.rek-label {
  min-width: 110px;
  color: #666;
  font-size: 0.85rem;
}
.rek-val {
  color: #1a1a1a;
}
.rek-norek {
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: var(--primary);
}
.rekening-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #c9691a;
  font-weight: 500;
  background: #fff8ec;
  border: 1px solid #f5c380;
  border-radius: 6px;
  padding: 8px 12px;
}

/* ===== UPLOAD BUKTI TF ===== */
.upload-area {
  border: 2px dashed #b0c890;
  border-radius: var(--radius-sm);
  background: #fafffe;
  transition: border-color 0.2s;
  overflow: hidden;
}
.upload-area:hover {
  border-color: var(--primary);
}
.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  cursor: pointer;
  gap: 6px;
  transition: background 0.2s;
}
.upload-placeholder:hover {
  background: #f0f7e8;
}
.upload-icon {
  font-size: 2.2rem;
}
.upload-text {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.92rem;
}
.upload-hint {
  font-size: 0.78rem;
  color: #888;
}
.upload-preview {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.upload-preview img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #c5dfaa;
}
.preview-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#previewName {
  font-size: 0.85rem;
  color: #444;
  word-break: break-all;
}
.btn-hapus-foto {
  background: #fee2e2;
  color: #991b1b;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  width: fit-content;
}
.btn-hapus-foto:hover {
  background: #fecaca;
}

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 0.9rem;
}
.alert-success {
  background: #d4edda;
  border: 1px solid #b8ddc9;
  color: #155724;
}
.alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* ===== CONTACT STRIP ===== */
.contact-strip {
  background: var(--primary-dark);
  padding: 36px 20px;
  text-align: center;
}
.contact-strip h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: #fff;
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.contact-strip p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 30px;
  transition: all var(--transition);
}
.contact-links a:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: var(--gold);
}
.contact-address {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  margin-top: 16px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #111e0a;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  padding: 14px 20px;
  font-size: 0.78rem;
}

/* ===== ADMIN ===== */
.admin-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 36px 20px;
}

.page-hero-bar {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.page-hero-bar h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}
.page-hero-bar p {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-top: 3px;
}
.page-hero-bar .btn-admin-back {
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}
.page-hero-bar .btn-admin-back:hover {
  background: rgba(255, 255, 255, 0.25);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  transition: box-shadow var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow);
}
.stat-card .stat-label {
  font-size: 0.73rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card .stat-value {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 4px;
  font-family: "Playfair Display", Georgia, serif;
}
.stat-card .stat-value.rupiah {
  font-size: 1.1rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px;
  border: 1px solid var(--border);
}
.card h3 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.filter-bar input,
.filter-bar select {
  padding: 9px 13px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.87rem;
  font-family: inherit;
  background: #fdfdfd;
  color: var(--text);
  transition: border-color var(--transition);
}
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--primary);
  outline: none;
}
.filter-bar input {
  flex: 1;
  min-width: 200px;
}
.btn-filter {
  padding: 9px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.87rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  font-family: inherit;
}
.btn-filter:hover {
  background: var(--primary-light);
}
.btn-reset {
  padding: 9px 16px;
  background: #f0f0f0;
  color: var(--text-light);
  border: none;
  border-radius: 6px;
  font-size: 0.87rem;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition);
  font-family: inherit;
}
.btn-reset:hover {
  background: #e0e0e0;
}

.table-wrapper {
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
table thead {
  background: var(--primary);
  color: #fff;
}
table thead th {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}
table tbody tr {
  border-bottom: 1px solid #f0ebe5;
}
table tbody tr:hover {
  background: #faf5ef;
}
table tbody td {
  padding: 12px 14px;
  vertical-align: middle;
}
.wa-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}
.wa-link:hover {
  text-decoration: underline;
}
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .paket-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .paket-grid {
    grid-template-columns: 1fr;
  }
  .booking-card {
    padding: 22px 16px;
  }
  .hero {
    padding: 52px 16px 44px;
  }
  .hero-stats {
    gap: 28px;
  }
  .site-header h1 {
    font-size: 1.45rem;
  }
  .section {
    padding: 52px 16px;
  }
  nav a {
    padding: 12px 16px;
    font-size: 0.82rem;
  }
  .card {
    padding: 20px 18px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f0eb;
  color: #333;
}

/* --- Header --- */
.site-header {
  background-color: #2d5016;
  color: #fff;
  text-align: center;
  padding: 24px 16px 16px;
}

.site-header h1 {
  font-size: 2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-header p {
  margin-top: 4px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* --- Navigation --- */
nav {
  background-color: #1e3a0f;
  text-align: center;
  padding: 10px;
}

nav a {
  color: #d4b483;
  text-decoration: none;
  margin: 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  color: #fff;
}

nav a.active {
  color: #fff;
  border-bottom-color: #d4b483;
}

/* --- Container --- */
.container {
  max-width: 800px;
  margin: 36px auto;
  padding: 0 16px;
}

.container.wide {
  max-width: 1100px;
}

/* --- Card --- */
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 32px 36px;
}

.card h2 {
  color: #2d5016;
  margin-bottom: 24px;
  font-size: 1.4rem;
  border-bottom: 2px solid #d4b483;
  padding-bottom: 10px;
}

/* --- Form --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: #444;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
  background: #fafafa;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #2d5016;
  outline: none;
  background: #fff;
}

/* --- Summary Box --- */
.summary-box {
  background: #f0f7ea;
  border: 1px solid #b5d98a;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.summary-box h3 {
  color: #2d5016;
  font-size: 1rem;
  margin-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.95rem;
}

.summary-row.total {
  font-weight: 700;
  border-top: 1px solid #b5d98a;
  margin-top: 8px;
  padding-top: 10px;
  color: #2d5016;
  font-size: 1.05rem;
}

.summary-row.sisa {
  font-weight: 700;
  color: #c0392b;
  font-size: 1.05rem;
}

.summary-row.lunas {
  color: #27ae60;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.1s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: #2d5016;
  color: #fff;
  width: 100%;
  text-align: center;
}

.btn-primary:hover {
  background-color: #1e3a0f;
}

.btn-secondary {
  background-color: #d4b483;
  color: #2d5016;
}

.btn-secondary:hover {
  background-color: #c4a070;
}

/* --- Alert --- */
.alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* --- Table --- */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table thead {
  background-color: #2d5016;
  color: #fff;
}

table thead th {
  padding: 12px 14px;
  text-align: left;
  white-space: nowrap;
}

table tbody tr {
  border-bottom: 1px solid #e9e9e9;
  transition: background 0.15s;
}

table tbody tr:hover {
  background: #f9f5f0;
}

table tbody td {
  padding: 11px 14px;
  vertical-align: middle;
}

/* --- Status Badge --- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-lunas {
  background: #d4edda;
  color: #155724;
}

.badge-belum {
  background: #f8d7da;
  color: #721c24;
}

/* --- Stats Summary --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: #fff;
  border-radius: 8px;
  padding: 18px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
  border-left: 4px solid #2d5016;
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d5016;
  margin-top: 4px;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 20px;
  color: #888;
  font-size: 0.85rem;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .card {
    padding: 20px 16px;
  }

  .site-header h1 {
    font-size: 1.4rem;
  }

  nav a {
    margin: 0 10px;
    font-size: 0.85rem;
  }
}

/* =========================================================
   PELUNASAN PAGE STYLES
   ========================================================= */

/* Search form */
.pelunasan-search-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.pelunasan-search-form input {
  flex: 1;
  min-width: 180px;
}

/* Booking info box */
.booking-info-box {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 28px;
  margin-top: 28px;
}
.bib-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
}
.bib-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: #1e3a0f;
  margin: 0;
}
.bib-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  margin-bottom: 20px;
}
@media (max-width: 540px) {
  .bib-grid { grid-template-columns: 1fr; }
}
.bib-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.bib-label {
  font-size: 11px;
  font-weight: 600;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bib-value {
  font-size: 14px;
  color: #2d3748;
  font-weight: 500;
}
.txt-hijau {
  color: #10b981;
  font-weight: 700;
}
.txt-merah {
  color: #ef4444;
  font-weight: 700;
}

/* Status note banners */
.bib-status-note {
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  margin-top: 16px;
}
.note-lunas {
  background: #d1fae5;
  color: #065f46;
  border-left: 4px solid #10b981;
}
.note-pending {
  background: #fef3c7;
  color: #92400e;
  border-left: 4px solid #f59e0b;
}

/* Status badges (small inline) */
.badge-lunas-sm {
  display: inline-block;
  background: #d1fae5;
  color: #065f46;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.badge-belum-sm {
  display: inline-block;
  background: #fee2e2;
  color: #991b1b;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
