/* SkyWave Travel - Custom Styles */

/* ── Navigation ─────────────────────────────── */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  border-radius: 0.5rem;
  transition: all 0.2s;
  text-decoration: none;
}
.nav-link:hover { background: #f0f9ff; color: #0369a1; }
.nav-link.active { background: #f0f9ff; color: #0369a1; font-weight: 600; }

/* ── Buttons ─────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0284c7;
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover { background: #0369a1; box-shadow: 0 4px 12px rgba(2,132,199,0.35); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #374151;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover { background: #f9fafb; }

.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f97316;
  color: #fff;
  font-weight: 600;
  border-radius: 0.75rem;
  padding: 0.75rem 1.5rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-orange:hover { background: #ea580c; }

.btn-sm { padding: 0.5rem 1rem !important; font-size: 0.875rem !important; }

/* ── Cards ───────────────────────────────────── */
.card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  transition: all 0.3s;
  overflow: hidden;
}
.card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.card-flat {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  overflow: hidden;
}

/* ── Form Inputs ─────────────────────────────── */
.form-input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  background: #fff;
  transition: all 0.2s;
  outline: none;
  color: #111827;
}
.form-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.15);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}
.form-group { margin-bottom: 1rem; }

/* ── Hero ────────────────────────────────────── */
.hero-section {
  background: linear-gradient(135deg, #075985 0%, #0369a1 40%, #0d9488 100%);
  position: relative;
  overflow: hidden;
}

/* ── Search Tabs ─────────────────────────────── */
.search-tab {
  padding: 0.625rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.8);
}
.search-tab:hover { color: #fff; background: rgba(255,255,255,0.1); }
.search-tab.active { background: #fff; color: #0369a1; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }

/* ── Flight Card ─────────────────────────────── */
.flight-card {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid #f3f4f6;
  padding: 1.25rem;
  transition: all 0.3s;
}
.flight-card:hover {
  border-color: #bae6fd;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

/* ── Hotel Card ──────────────────────────────── */
.hotel-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  transition: all 0.3s;
}
.hotel-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* ── Dashboard Stat Card ─────────────────────── */
.stat-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  border: 1px solid #f3f4f6;
}

/* ── Step Dots ───────────────────────────────── */
.step-dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s;
}
.step-dot.done    { background: #22c55e; color: #fff; }
.step-dot.active  { background: #0284c7; color: #fff; box-shadow: 0 0 0 4px #e0f2fe; }
.step-dot.pending { background: #f3f4f6; color: #9ca3af; }

/* ── Payment Options ─────────────────────────── */
.payment-option {
  border: 2px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}
.payment-option:hover { border-color: #38bdf8; }
.payment-option.selected { border-color: #0ea5e9; background: #f0f9ff; }

/* ── Tables ──────────────────────────────────── */
.table-wrap { width: 100%; overflow-x: auto; }
table.data-table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
table.data-table thead tr { background: #f9fafb; }
table.data-table th { padding: 0.75rem 1rem; text-align: left; font-size: 0.75rem; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: 0.05em; }
table.data-table td { padding: 1rem; border-bottom: 1px solid #f9fafb; }
table.data-table tbody tr:hover { background: rgba(240,249,255,0.5); }

/* ── Animations ──────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.6s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.2s; opacity: 0; }
.fade-up-3 { animation-delay: 0.3s; opacity: 0; }

/* ── Scrollbar ───────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── Print ───────────────────────────────────── */
@media print {
  nav, footer, .no-print { display: none !important; }
}

/* ── line-clamp fallback ─────────────────────── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
