/*
  © 2025 Robson Cassiano — MIT License
  This file is part of a project licensed under the MIT License. See the LICENSE file at the repository root for full text.
  Este arquivo faz parte de um projeto licenciado sob a Licença MIT. Consulte o arquivo LICENSE na raiz do repositório para o texto completo.
*/
body { position: relative; }
.output-box::-webkit-scrollbar { width: 8px; height: 8px; }
.output-box::-webkit-scrollbar-track { background: #f1f5f9; }
.output-box::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 4px; }
.output-box::-webkit-scrollbar-thumb:hover { background: #64748b; }
.copy-btn {
  position: absolute; top: 0.5rem; right: 0.5rem; background-color: #e2e8f0; border: 1px solid #cbd5e1;
  border-radius: 0.375rem; padding: 0.25rem; color: #475569; transition: all 0.2s ease-in-out;
}
.copy-btn:hover { background-color: #cbd5e1; color: #1e293b; }
.copy-btn:active { transform: scale(0.95); }
#lang-switcher {
  position: absolute; top: 1rem; left: 1rem; background: #fff; border: 1px solid #cbd5e1; padding: 0.5rem 1rem;
  border-radius: 0.5rem; font-weight: 600; color: #475569; cursor: pointer; box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: all 0.2s ease-in-out;
}
#lang-switcher:hover { background-color: #f8fafc; }
@keyframes spin {
  to { transform: rotate(360deg); }
}
.loader {
  border: 2px solid #e5e7eb;
  border-top-color: #4f46e5;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  animation: spin 1s linear infinite;
}
