/* ==========================================================================
   Navigation - Bottom Nav & Header
   ========================================================================== */

/* ---------- Bottom Navigation ---------- */
.bottom-navigation {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: var(--space-2) 0 calc(var(--space-2) + var(--safe-bottom));
  z-index: var(--z-nav);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-2);
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-base);
  min-width: var(--touch-min);
}

.nav-item svg { width: 22px; height: 22px; }

.nav-item.active { color: var(--color-orange); }
.nav-item.active svg { color: var(--color-orange); }

/* ---------- Page Header ---------- */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 60px;
  padding: 0 var(--space-5);
  padding-top: var(--safe-top);
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
}

.page-header--bordered { border-bottom-color: var(--color-border); }

.page-header__left,
.page-header__right {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.page-header__title {
  flex: 1;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  min-width: 0;
}

.page-header__title--center { text-align: center; }

.back-button,
.header-action {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  flex-shrink: 0;
}

.back-button:hover,
.header-action:hover { background: var(--color-surface); }

.back-button svg,
.header-action svg { width: 20px; height: 20px; }