/* ===== Global reset ===== */
* {
  box-sizing: border-box;
}

/* ===== Animated background ===== */
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  min-height: 100vh;
  background: linear-gradient(
    -45deg,
    #0f2027,
    #203a43,
    #2c5364,
    #1c92d2
  );
  background-size: 400% 400%;
  animation: gradientMove 18s ease infinite;
  color: #1f2937;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== Page container ===== */
.container {
  max-width: 980px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ===== Header ===== */
h1 {
  color: #ffffff;
  font-size: 36px;
  margin-bottom: 6px;
}

.subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  margin-bottom: 36px;
}

/* ===== Glass card ===== */
.card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  padding: 34px;
  border-radius: 16px;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.25),
    0 1px 0 rgba(255,255,255,0.6) inset;
  margin-bottom: 40px;
}

/* ===== Form layout ===== */
.row {
  display: flex;
  gap: 22px;
  margin-bottom: 22px;
}

.row > div {
  display: flex;
  flex-direction: column;
}

/* Sizing rules (unchanged logic, just visual balance) */
.row.trip-type > div {
  max-width: 240px;
}

.row.route > div {
  flex: 1;
}

.row.dates > div.date {
  flex: 2;
}

.row.dates > div.adults {
  flex: 1;
  max-width: 140px;
}

/* ===== Labels ===== */
label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

/* ===== Inputs ===== */
input,
select,
textarea {
  padding: 12px 14px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

/* ===== Primary button ===== */
.primary-btn {
  margin-top: 10px;
  align-self: flex-start;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border: none;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(37,99,235,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37,99,235,0.45);
}

/* ===== Flight cards ===== */
.flight {
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.flight-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.flight-price {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.flight-details {
  font-size: 14px;
  color: #374151;
  line-height: 1.45;
}

/* ===== Select button ===== */
.select-btn {
  margin-top: 14px;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border: none;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(22,163,74,0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.select-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(22,163,74,0.45);
}

/* ===== Booking form ===== */
.booking-form {
  margin-top: 34px;
}

/* ===== Utility ===== */
.hidden {
  display: none !important;
}

.booking-form {
  margin-top: 20px;
}

.booking-form .row {
  gap: 20px;
  margin-top: 15px;
}

.booking-form textarea {
  margin-top: 10px;
  width: 100%;
}
