/*
 * secure-booking-header.css: the website's header on /secure-booking (owner, 2026-11-16).
 *
 * The NeuroClarity logo on the left and "Home" on the right, both opening
 * https://neuroclarity.life, laid out like the website's own header
 * (neuroclarity-website-life, SiteNav.tsx: a 64/72px bar, a 32/36px logo,
 * 15px medium links). It replaced the lone "Home" link above the badge.
 *
 * Colours are the booking page's own tokens (secure-booking.css :root), so the
 * page keeps its tested look; nothing here introduces a colour.
 *
 * /secure-booking-v2 draws its own header in the same template block and has
 * body.sbv2, so the page-scaffold rules below skip it.
 */

/* The base .sb-page is a centering flex row; the header sits above the shell,
   so stack them. Top padding moves into the header's own height. */
body:not(.sbv2) .sb-page {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 0;
}

.sb-header {
  width: 100%;
  max-width: 1120px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--nc-line);
}

.sb-header-logo {
  display: flex;
  align-items: center;
  /* A 44px tap target around the 32px logo. */
  min-height: 44px;
  flex-shrink: 0;
}

.sb-header-logo img {
  display: block;
  height: 32px;
  width: auto;
}

.sb-header-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  color: var(--nc-ink);
  font-size: var(--fs-15, 15px);
  font-weight: 500;
  text-decoration: none;
}

.sb-header-link:hover,
.sb-header-link:focus-visible {
  color: var(--nc-terracotta-hover);
}

.sb-header a:focus-visible {
  outline: 2px solid var(--nc-terracotta);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (min-width: 920px) {
  .sb-header {
    height: 72px;
    margin-bottom: 56px;
  }
  .sb-header-logo img {
    height: 36px;
  }
}
