/* ─── Bottom Nav (mobile-first) ──────────────────────── */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
  cursor: pointer;
  transition: color 0.15s;
  padding: var(--space-2);
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  user-select: none;
  -webkit-user-select: none;
}

.bottom-nav__item:active {
  opacity: 0.7;
}

.bottom-nav__item.active {
  color: var(--color-primary);
}

.bottom-nav__item svg {
  width: 22px;
  height: 22px;
}

/* ─── Auth page (mobile-first) ──────────────────────── */
.auth-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  padding: var(--space-4);
  padding-top: calc(var(--safe-top) + var(--space-4));
}

/* On very small screens, don't center vertically — let it scroll */
@media (max-height: 600px) {
  .auth-page {
    justify-content: flex-start;
    padding-top: var(--space-6);
  }
}

.forgot-link {
  display: block;
  text-align: right;
  margin-top: calc(-1 * var(--space-2));
  margin-bottom: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  cursor: pointer;
  padding: var(--space-1) 0;
  min-height: var(--touch-min);
  line-height: var(--touch-min);
}

.forgot-link:active {
  color: var(--color-primary);
}
