body {
  margin: 0;
  font-family: Arial, sans-serif;
  background:
    linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
    url(bg.jpg) center/cover fixed;
}

.topbar {
  background: transparent;
  padding: 18px 30px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  height: 46px;
}

.brand-text {
  color: white;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
}

.brand-tagline {
  font-size: 13px;
  opacity: .9;
}

.container {
  max-width: 950px;
  margin: auto;
  padding: 24px 20px 40px;
}

.card {
  background: rgba(255,255,255,0.95);
  padding: 22px;
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  animation: fadeUp .4s ease;
}

.form-title {
  margin-bottom: 14px;
}

.search-card {
  backdrop-filter: blur(6px);
}

.row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.field {
  flex: 1;
  min-width: 160px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

input, select, textarea {
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.primary-btn, .select-btn, button {
  padding: 11px 18px;
  margin-top: 10px;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  background: #2563eb;
  color: white;
  font-weight: 700;
}

button:hover {
  background: #1d4ed8;
}

/* highlights */

.searching {
  color: #fff;
  font-weight: 700;
  padding: 14px;
  text-align: center;
  animation: pulse 1.2s infinite;
}

.page-badge {
  background: #0f766e;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 700;
}

/* flight cards */

.flight {
  background: rgba(255,255,255,0.96);
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 8px 22px rgba(0,0,0,.15);
  line-height: 1.7;
  transition: transform .25s ease, box-shadow .25s ease;
}

.animated-card {
  animation: fadeUp .45s ease;
}

.flight:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,.25);
}

.flight-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.flight-title {
  font-size: 16px;
  font-weight: 700;
}

.flight-price {
  font-size: 18px;
  font-weight: 800;
  color: #166534;
}

.flight-sub {
  font-size: 12px;
  opacity: .7;
  margin-bottom: 8px;
}

.flight-details > div {
  margin-bottom: 4px;
}

/* booking form */

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

.booking-form h3 {
  margin-bottom: 14px;
}

.booking-form input,
.booking-form textarea {
  margin-bottom: 12px;
}

.booking-form textarea {
  min-height: 90px;
}

/* status */

.status-message {
  margin-top: 12px;
  font-weight: 700;
  color: #166534;
  animation: popFade .35s ease;
}

.hidden {
  display: none;
}

/* pager */

.pager {
  text-align: center;
  margin: 30px 0 40px;
}

.pager button {
  background: #0f766e;
}

.pager button:hover {
  background: #115e59;
}

/* disclaimer */

.disclaimer-box {
  background: #fff3cd;
  color: #664d03;
  border: 1px solid #ffecb5;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 18px;
  font-size: 14px;
}

.disclaimer-box ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.disclaimer-box li {
  margin-bottom: 6px;
}

/* animations */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes popFade {
  from { opacity: 0; transform: scale(.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0% { opacity: .4; }
  50% { opacity: 1; }
  100% { opacity: .4; }
}

/* =======================================================
   RESPONSIVE DESIGN
   ======================================================= */

/* tablets and small laptops */
@media (max-width: 900px) {

  .container {
    padding: 20px 14px 32px;
  }

  .flight-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .flight-price {
    margin-top: 4px;
  }
}

/* phones */
@media (max-width: 600px) {

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-tagline {
    font-size: 12px;
  }

  .row {
    flex-direction: column;
    gap: 12px;
  }

  .field {
    min-width: 100%;
  }

  .card {
    padding: 18px 16px;
  }

  .flight {
    padding: 16px 14px;
  }

  .flight-title {
    font-size: 15px;
  }

  .flight-price {
    font-size: 17px;
  }

  .primary-btn,
  .select-btn,
  button {
    width: 100%;
  }

  .pager button {
    width: 45%;
  }

  .pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .page-badge {
    display: block;
    margin: 10px auto;
  }

  .booking-form input,
  .booking-form textarea {
    font-size: 15px;
  }
}

/* very small phones */
@media (max-width: 380px) {

  .brand-name {
    font-size: 16px;
  }

  .logo {
    height: 40px;
  }

  .flight-sub {
    font-size: 11px;
  }
}
