/* ===== Card + Tabs ===== */
.gtix-wrap *{ box-sizing:border-box; }

.gtix-wrap{
  max-width:920px;           /* section width */
  margin:40px auto;          /* top/bottom space */
  padding:0 12px;            /* small side padding */
}

.gtix-card{
  width:100%;
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 2px 6px rgba(0,0,0,.04);
}

.gtix-card-head{ background:#f3f4f6; padding:10px 14px; }
.gtix-tabs{ display:flex; gap:8px; }
.gtix-tab{
  appearance:none; border:1px solid transparent;
  background:#e5e7eb; color:#374151;
  padding:8px 16px; height:38px; line-height:22px;
  border-radius:9999px; font-weight:700; cursor:pointer;
}
.gtix-tab.gtix-active{ background:#0f172a; color:#fff; border-color:#0f172a; }
.gtix-tab.gtix-disabled{ opacity:.45; cursor:not-allowed; }

/* ===== Inline form: Trip (wide) | Date (small) | Search (fixed) ===== */
.gtix-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  flex-wrap:wrap;            /* allow wrap on small screens */
}

.gtix-input{
  height:46px;
  padding:10px 12px;
  border:1px solid #d1d5db;
  border-radius:8px;
  background:#fff;
  font-size:16px;
  line-height:1.2;
}

/* Fallback: if you didn't add special classes, this targets the types */
.gtix-row select.gtix-input{               /* Trip select is the widest */
  flex:1 1 520px;
  min-width:280px;
}
.gtix-row input[type="date"].gtix-input{   /* Date is smaller */
  flex:0 0 190px;
  max-width:210px;
  min-width:170px;
}
/* If you DID add classes, they'll take precedence (same values) */
.gtix-input-trip{  flex:1 1 520px; min-width:280px; }
.gtix-input-date{  flex:0 0 190px; max-width:210px; min-width:170px; }

/* Button fixed width */
.gtix-btn-search{
  flex:0 0 120px;
  height:46px;
  border-radius:8px;
  border:0;
  background:#0f172a;
  color:#fff;
  font-weight:700;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.gtix-btn-search:hover{ filter:none; }
.gtix-btn-search:active{ filter:brightness(.92); transform:translateY(1px); }

/* ===== Results ===== */
.gtix-title{ margin:14px 14px 6px; }
.gtix-meta{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:8px; padding:0 14px 10px;
}
.gtix-slot{
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 14px; border-top:1px dashed #e5e7eb;
}
.gtix-badge{ background:#eef2ff; color:#3730a3; border-radius:999px; padding:2px 8px; }

/* ===== Mobile ===== */
@media (max-width:768px){
  .gtix-row{ flex-direction:column; align-items:stretch; }
  .gtix-row select.gtix-input,
  .gtix-row input[type="date"].gtix-input,
  .gtix-btn-search{ width:100%; flex:unset; }
}

/* ===== Results spacing ===== */
.gtix-results { margin-top: 18px; }

/* ===== Result card ===== */
.gtix-result-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:16px;
  margin-bottom:16px;
}
.gtix-result-head{ margin-bottom:10px; }
.gtix-result-sub{
  display:flex; gap:12px; align-items:center; flex-wrap:wrap;
  padding:8px 0; border-top:1px dashed #e5e7eb; border-bottom:1px dashed #e5e7eb;
  margin-bottom:10px;
}
.gtix-price-line{ font-weight:600; margin:6px 0 12px; }

/* ===== Book bar ===== */
.gtix-bookbar{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}
.gtix-book-fields{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; }

/* Qty input besar (tinggi sama dgn field filter) */
.gtix-qty{
  width:140px;    /* boleh naikkan kalau nak lebih panjang */
  height:46px;
}

/* Book button gaya Search + fix width */
.gtix-btn-book{ width:140px; }

/* Badge kekal */
.gtix-badge{ background:#eef2ff; color:#3730a3; border-radius:999px; padding:4px 10px; }

/* Capacity text */
.gtix-cap{ color:#111827; }

/* ===== Compact result card ===== */
.gtix-result-card{ padding:14px; border-radius:12px; box-shadow:0 4px 14px rgba(15,23,42,.05); }
.gtix-title{ margin:0 0 2px; font-size:20px; }

/* Sub-row: badge kiri, capacity kanan – kecilkan */
.gtix-result-sub{ padding:8px 0; margin:6px 0 10px; }
.gtix-badge{ font-size:14px; padding:6px 10px; }
.gtix-cap{ font-size:14px; }

/* Harga + qty – squeeze & center the cluster */
.gtix-price-grid{
  max-width:520px;      /* kumpulkan ke tengah, tak melebar ke sisi */
  margin:8px auto 10px; /* auto center */
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
}
.gtix-col{ padding:4px 8px; }
.gtix-col-right{ border-left:1px dashed #e5e7eb; }

.gtix-price-tag{ font-weight:700; font-size:16px; margin-bottom:6px; }

/* Qty box lebih kecil dan kemas */
.gtix-qty{
  width:120px;
  height:40px;
  text-align:center;
  font-size:16px;
  border-radius:8px;
}

/* Book button lebih kompak & rapatkan ke bawah */
.gtix-bookbar{ margin-top:6px; }
.gtix-btn-book{ width:120px; height:44px; }

/* Row untuk Adult/Kids + Book */
.gtix-bookrow{
  display:grid;
  grid-template-columns: 1fr 1fr auto;
  gap:14px;
  align-items:center;
  margin-top:8px;
}

/* Item “Adult: RMxx” dan “Kids: RMxx” dengan qty di tepi */
.gtix-price-item{
  display:flex;
  align-items:center;
  justify-content:flex-start;   /* rapat kiri, kemas */
  gap:10px;
  font-weight:700;
  font-size:16px;
  white-space:nowrap;
}

/* Kotak qty (padankan dengan gaya input filter) */
.gtix-qty{
  width:110px;
  height:40px;
  text-align:center;
  font-size:16px;
  border:1px solid #d1d5db;
  border-radius:8px;
  background:#fff;
}

/* Book button selari dengan Search */
.gtix-btn-book{
  width:120px;
  height:44px;
}

