/* flight-booking.css */
.flight-booking-section {
  background-color: #f1f5f9;
}

.flight-shell {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  overflow: hidden;
  margin-top: 20px;
}

.flight-search-panel {
  background: #0f172a;
  color: white;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
}

.flight-field-group {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
}

.flight-field-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.flight-field-group input, .flight-field-group select {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid #334155;
  background: #1e293b;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.flight-field-group input::placeholder {
  color: #64748b;
}

.flight-field-group input:focus, .flight-field-group select:focus {
  border-color: #95C11F;
}

.flight-btn-search {
  background: #95C11F;
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  height: 46px;
}

.flight-btn-search:hover {
  background: #7a9e18;
}

.flight-results-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  padding: 30px;
}

.flight-result-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  background: white;
}

.flight-result-card:hover {
  border-color: #95C11F;
  box-shadow: 0 4px 12px rgba(149,193,31,0.1);
}

.flight-result-card.is-active {
  border-color: #95C11F;
  background-color: #f7fceb;
}

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

.flight-airline {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0f172a;
}

.flight-number {
  font-size: 0.9rem;
  color: #64748b;
}

.flight-mainline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  margin-bottom: 15px;
}

.flight-time {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.flight-city {
  font-size: 0.9rem;
  color: #64748b;
}

.flight-duration {
  font-size: 0.85rem;
  color: #94a3b8;
  position: relative;
}

.flight-duration::after {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  background: #cbd5e1;
  margin-top: 5px;
}

.flight-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #e2e8f0;
  padding-top: 15px;
}

.flight-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
}

.flight-btn-select {
  background: #0f172a;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.flight-btn-select:hover {
  background: #1e293b;
}

.flight-sidebar-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #e2e8f0;
}

.flight-sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #0f172a;
}

.flight-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #475569;
}

.flight-summary-total {
  border-top: 1px solid #cbd5e1;
  padding-top: 10px;
  margin-top: 10px;
  font-weight: 700;
  color: #0f172a;
  font-size: 1.1rem;
}

.flight-passenger-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flight-passenger-group {
  display: flex;
  flex-direction: column;
}

.flight-passenger-group label {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 5px;
}

.flight-passenger-group input {
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
}

@media (max-width: 768px) {
  .flight-results-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================= */
/* Shimmer & Skeleton Loaders                */
/* ========================================= */
@keyframes flightShimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.flight-skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: flightShimmer 1.5s infinite linear;
  border-radius: 6px;
}

.flight-skeleton-text {
  height: 12px;
  margin-bottom: 8px;
  width: 100%;
}

.flight-skeleton-title {
  height: 20px;
  margin-bottom: 12px;
  width: 40%;
  border-radius: 8px;
}

.flight-skeleton-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  background: white;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.flight-skeleton-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}

.flight-skeleton-block {
  height: 36px;
  width: 80px;
  border-radius: 8px;
}

/* ========================================= */
/* Beautiful Empty State                     */
/* ========================================= */
.flight-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  background: white;
  border: 1px dashed #cbd5e1;
  max-width: 480px;
  margin: 15px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.flight-empty-state-icon {
  width: 64px;
  height: 64px;
  background: rgba(149, 193, 31, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: #95C11F;
}

.flight-empty-state h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.flight-empty-state p {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.flight-empty-state-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.flight-suggestion-tag {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.flight-suggestion-tag:hover {
  background: rgba(149, 193, 31, 0.1);
  border-color: #95C11F;
  color: #527200;
}

/* ========================================= */
/* Premium Error Card                        */
/* ========================================= */
.flight-error-card {
  border: 1px solid #fee2e2;
  background: #fff5f5;
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  margin: 15px auto;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.02);
}

.flight-error-card-icon {
  width: 56px;
  height: 56px;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.flight-error-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #991b1b;
  margin: 0 0 6px 0;
}

.flight-error-card p {
  font-size: 0.9rem;
  color: #b91c1c;
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.flight-error-card .flight-btn-retry {
  background: #ef4444;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

.flight-error-card .flight-btn-retry:hover {
  background: #dc2626;
  transform: translateY(-1px);
}
