/* Appearance control (footer) — light + dark footer chrome */

.ao-theme-toggle {
  margin: 0.75rem 0 0.5rem;
  font-family: var(--ao-font-sans);
  font-size: var(--ao-fs-ui-xs);
}

.ao-theme-toggle__label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--ao-footer-text-muted);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ao-theme-toggle__group {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0.25rem;
  padding: 3px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 4px;
  background: rgba(10, 20, 40, 0.45);
}

.ao-theme-toggle__btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 4.5rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 3px;
  background: transparent;
  color: var(--ao-footer-text);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ao-theme-toggle__btn:hover {
  color: var(--ao-gold-light);
  background: rgba(36, 60, 96, 0.55);
}

.ao-theme-toggle__btn--active {
  color: var(--ao-gold-light);
  background: rgba(44, 72, 112, 0.72);
  border-color: rgba(201, 168, 76, 0.45);
}

.ao-theme-toggle__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.85rem;
  height: 0.85rem;
  flex: 0 0 0.85rem;
}

.ao-theme-toggle__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.ao-theme-toggle__icon svg,
.ao-theme-toggle__icon svg path {
  fill: currentColor;
}
