/* ==========================================================================
   THEME TOGGLE — botão de alternância dark/light + overrides do tema claro
   que não são específicos de nenhum outro componente
   ========================================================================== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 207, 255, 0.25);
  background: rgba(0, 207, 255, 0.05);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
  border-color: var(--electric);
  background: rgba(0, 207, 255, 0.1);
  box-shadow: 0 0 18px rgba(0, 207, 255, 0.18);
}

.theme-icon {
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
}

.theme-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  gap: 3px;
}

.theme-copy span {
  font-size: 0.66rem;
  color: var(--gray);
}

.theme-copy strong {
  font-size: 0.72rem;
  color: var(--electric);
}

.mobile-theme-toggle {
  margin-top: 6px;
  min-width: 210px;
  justify-content: center;
}

body.light-theme .theme-toggle[aria-pressed='true'] {
  background: rgba(240, 165, 0, 0.12);
  border-color: rgba(240, 165, 0, 0.5);
}

@media (max-width: 900px) {
  nav .theme-toggle:not(.mobile-theme-toggle) {
    display: none;
  }
}
