/* Flights page */
.dbk-fl-page {
  --fl-teal: #0d9488;
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  padding: 28px 16px 48px;
  font-family: 'Poppins', sans-serif;
  min-height: 60vh;
}

.dbk-fl-page__wrap { max-width: 820px; margin: 0 auto; }

.dbk-fl-page__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fl-teal);
  text-decoration: none;
  margin-bottom: 12px;
}

.dbk-fl-page h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dbk-fl-page__lead {
  margin: 0 0 24px;
  color: #64748b;
  line-height: 1.55;
}

.dbk-fl-search-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  margin-bottom: 20px;
}

.dbk-fl-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.dbk-fl-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
  .dbk-fl-grid, .dbk-fl-grid--3 { grid-template-columns: 1fr; }
  .dbk-fl-swap { justify-self: center; }
}

.dbk-fl-field {
  position: relative;
}

.dbk-fl-field--return[hidden] {
  display: none;
}

.dbk-fl-field label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-bottom: 6px;
}

.dbk-fl-field input,
.dbk-fl-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-family: inherit;
  box-sizing: border-box;
}

.dbk-fl-opt { font-weight: 400; text-transform: none; }

.dbk-fl-swap {
  width: 44px;
  height: 44px;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  background: #fff;
  color: var(--fl-teal);
  cursor: pointer;
  margin-bottom: 2px;
}

.dbk-fl-filters {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.dbk-fl-filters label { cursor: pointer; font-weight: 600; color: #475569; }

.dbk-fl-go {
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0d9488, #0284c7);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.dbk-fl-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 4px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  max-height: 200px;
  overflow-y: auto;
}

.dbk-fl-suggest li {
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8125rem;
}

.dbk-fl-suggest li:hover { background: #ecfdf5; }

.dbk-fl-panel {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.dbk-fl-panel h2 {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.dbk-fl-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dbk-fl-route {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #f8fafc;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.dbk-fl-route:hover { background: #ecfdf5; border-color: var(--fl-teal); }

.dbk-fl-result {
  padding: 16px;
  background: #f0f9ff;
  border-radius: 12px;
  border: 1px solid #bae6fd;
}

.dbk-fl-result h3 { margin: 0 0 8px; font-size: 1.125rem; color: #0c4a6e; }
.dbk-fl-result p { margin: 0 0 12px; font-size: 0.875rem; color: #475569; }

.dbk-fl-result a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--fl-teal);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.875rem;
}

.dbk-fl-note {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}
