/* ===== AJUSTES DO TEMA PARA O PORTFÓLIO ===== */

/* Garantir que o toggle de tema funcione corretamente no portfólio */
#theme-toggle-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.theme-toggle {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.theme-toggle:hover {
  border-color: var(--accent);
  background: rgba(223, 165, 67, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(223, 165, 67, 0.2);
}

.theme-toggle:active {
  transform: translateY(0);
}

.theme-toggle-icon {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover .theme-toggle-icon {
  transform: rotate(180deg) scale(1.1);
}

.theme-toggle-text {
  font-size: 0.9rem;
  letter-spacing: 0.3px;
}

/* Mobile responsivo */
@media (max-width: 640px) {
  #theme-toggle-container {
    margin-top: 20px;
    width: 100%;
    padding: 0 24px;
  }

  .theme-toggle {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 1.1rem;
  }

  .theme-toggle-icon {
    font-size: 1.6rem;
  }

  .theme-toggle-text {
    font-size: 1rem;
  }
}

/* Tablet */
@media (min-width: 641px) and (max-width: 1024px) {
  .theme-toggle {
    padding: 10px 18px;
  }
}
