/* TravelKit 4.0 — base.css: shared baseline + shared header styles.
   ONE source of truth. Linked first in every module. No inline styles, no per-module drift. */

/* ===== BASELINE (all 4 modules) ===== */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
/* !important guarantees module CSS can't override the shared baseline. */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  background: #0a0a0a !important;
  color: #e8e8e8 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  min-height: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}
*, *::before, *::after { box-sizing: inherit; }

/* ===== SHARED HEADER (identical on every module) ===== */
.tk-header {
  position: sticky;
  top: 0;
  z-index: 500;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.tk-header-top {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 10px 16px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.tk-header-brand {
  text-decoration: none;
  flex-shrink: 0;
}
.tk-header-brand h1 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.tk-country {
  flex: 1;
  max-width: 200px;
  margin-left: auto;
  background: #1a1a1a;
  color: #e8e8e8;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 8px 26px 8px 10px;
  font-size: 14px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.tk-nav {
  display: flex;
  background: #0a0a0a;
  width: 100%;
}
.tk-nav a {
  flex: 1;
  text-align: center;
  padding: 14px 4px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #cbd5e1;
  background: #0a0a0a;
  border-right: 1px solid #1a1a1a;
  font-family: inherit;
  transition: background-color 120ms ease;
}
.tk-nav a:last-child { border-right: 0; }
.tk-nav a.is-active {
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}
