/**
 * CHEVRON HEADER - Portable CSS
 * Requires: chevron-variables.css
 */

.chevron-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--chevron-dark-blue);
  color: var(--chevron-white);
  box-shadow: 0 2px 4px rgba(11, 45, 113, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 var(--space-2);
  max-width: 100%;
}

.header-spacer {
  flex: 1 1 auto;
}

/* ────────────────────────────────────────
   BUTTONS
   ──────────────────────────────────────── */
.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--chevron-white);
  cursor: pointer;
  border-radius: 50%;
  transition: background-color 150ms ease;
}

.header-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.header-btn:active {
  background-color: rgba(255, 255, 255, 0.12);
}

.header-btn:focus-visible {
  outline: 2px solid var(--chevron-light-teal);
  outline-offset: 2px;
}

.header-icon {
  width: 24px;
  height: 24px;
}

/* ────────────────────────────────────────
   BRAND/LOGO
   ──────────────────────────────────────── */
.header-brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--chevron-white);
  transition: opacity 150ms ease;
}

.header-brand:hover {
  opacity: 0.9;
}

.header-brand:focus-visible {
  outline: 2px solid var(--chevron-light-teal);
  outline-offset: 4px;
  border-radius: 4px;
}

.header-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-app-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  font-family: var(--font-gotham-book);
  letter-spacing: var(--letter-spacing-normal);
  line-height: 1.2;
  white-space: nowrap;
  color: var(--chevron-white);
}

/* ────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────── */
@media (max-width: 600px) {
  .header-app-name {
    display: none;
  }
}

/* ────────────────────────────────────────
   DARK THEME SUPPORT (Material Design Aligned)
   ──────────────────────────────────────── */
.dark-theme .chevron-header {
  background-color: #1e1e1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.dark-theme .header-app-name {
  color: rgba(255, 255, 255, 0.87);
}

