/* Ensure base tokens/layout are always present */
@import url("/includes/site.css?v=20260519-1");
/* WheelsChat shared header styles */

.siteHeader {
  position: sticky;
  top: 0;
  z-index: 11000;
  background: #ffffff;
  border-bottom: 3px solid #f59e0b;
}

.siteHeaderInner {
  max-width: none;
  margin: 0 auto;
  padding: 0 20px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
}

/* Center the menu; keep brand left and burger right */
.siteBrand{
  position: absolute;
  left: 20px;
}

.burger{
  position: absolute;
  right: 20px;
}

.siteBrand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111827;
  flex-shrink: 0;
}

.siteBrandLogo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

.siteBrandText {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.1;
}

.siteBrandName {
  /* Bigger than tagline (clear hierarchy) */
  font-family: var(--mc-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 24px;
  line-height: 1.15;
  color: #111827;
}

.siteBrandTagline {
  font-family: var(--mc-sans);
  font-weight: 450;
  letter-spacing: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--wc-muted);
  max-width: 48ch;
}

.burger {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.burgerLines {
  width: 18px;
  height: 12px;
  position: relative;
}

.burgerLines span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111827;
  border-radius: 2px;
}

.burgerLines span:nth-child(1) { top: 0; }
.burgerLines span:nth-child(2) { top: 5px; }
.burgerLines span:nth-child(3) { top: 10px; }

.siteNav {

  display: flex;
  align-items: center;
  gap: 8px;
  row-gap: 6px;
  flex-wrap: nowrap;
  justify-content: center;
}

.siteNav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.14);
  background: rgba(17,24,39,0.04);
  color: rgba(17,24,39,0.92);
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.siteNav a:hover {
  background: rgba(17,24,39,0.08);
  border-color: rgba(17,24,39,0.18);
  color: #111827;
}

.siteNav a.active {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #111827;
  font-weight: 800;
}

/* Logout link behaves like other nav pills but is JS-hidden when not authed */
.siteNav a.navLogout{ }

/* Back link (account subpages) */
.siteNav a.navBack{ }


@media (max-width: 980px) {
  .burger { display: inline-flex; }

  .siteNav {

    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    border-top: none;
    border-radius: 0 0 14px 14px;
    padding: 10px 12px 14px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    gap: 4px;
  }

  .siteNav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .siteNav a { width: 100%; }
}



/* mid breakpoint */
@media (max-width: 980px) {
  .siteBrandLogo { width: 56px; height: 56px; }
  .siteBrandName { font-size: 22px; }
  .siteBrandTagline { font-size: 13px; }
}
@media (max-width: 520px) {
  .siteBrandTagline { display: none; }
  .siteBrandName { font-size: 20px; }
  .siteBrandLogo { width: 52px; height: 52px; }
}


/* Solutions dropdown */
.navDropdown { position: relative; }

/* Use btnPill classes for the dropdown button; keep only layout tweaks here */
.navDropdownBtn{
  /* no base styling here; btnPill/btnPillOnDark own it */
}

/* Active state for Solutions pill */
.navDropdownBtn.active{
  background: #f59e0b;
  border-color: #f59e0b;
  color: #111827;
}

.navCaret { font-size: 12px; opacity: 0.9; transform: translateY(-1px); }

.navDropdownMenu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 320px;
  background: #ffffff;
  border: 1px solid rgba(17,24,39,0.12);
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.18);
}

.navDropdown.open .navDropdownMenu { display: block; }

.navDropdownItem {
  padding: 14px 14px;
  border-radius: 0;
  outline: none;
  background: transparent;
}
.navDropdownItem:hover { background: rgba(17,24,39,0.04); }
.navDropdownMenu .navDropdownItem{ display:block; text-decoration:none; color:inherit; }
.navItemTitle { color: #111827; font-weight: 500; font-size: 13px; }
.navItemDesc { color: rgba(17,24,39,0.70); font-size: 12px; margin-top: 2px; line-height: 1.25; }

@media (max-width: 980px) {
  .navDropdown{ width: 100%; }
  .navDropdownBtn{ width: 100%; justify-content: space-between; }
  .navDropdownMenu {
    position: static;
    width: 100%;
    margin-top: 6px;
    box-shadow: none;
  }
}

/* Pill button style (like Google Flights filters) */
.btnPill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.10);
  background: #f3f4f6;
  color: #111827;
  font-weight: 800;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .02s ease;
}
.btnPill:hover{
  background: #eef2f7;
  border-color: rgba(17,24,39,0.14);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.btnPill:active{
  transform: translateY(1px);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.btnPill:focus-visible{
  outline: 3px solid rgba(245,158,11,0.35);
  outline-offset: 2px;
}

/* Variant for dark backgrounds (header) */
.btnPillOnDark{
  background: rgba(17,24,39,0.04);
  border-color: rgba(255,255,255,0.18);
  color: #111827;
  box-shadow: none;
}
.btnPillOnDark:hover{
  background: rgba(17,24,39,0.08);
  border-color: rgba(17,24,39,0.18);
  box-shadow: none;
}




/* Dropdown dividers */
.navDropdownMenu .navDropdownItem + .navDropdownItem{ border-top: 1px solid rgba(17,24,39,0.10); }
.navDropdownBtn.btnPill.active{
  background: transparent;
  border: none;
  color: #111827;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
