/* Importação da fonte Lexend */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Lexend', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  background-color: #120023;

  main { 
    min-height: 100vh;
    color: #F8F9FA;
  }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Esconde o rádio mantendo a acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Estilização customizada para os botões do NPS (exemplo) */
.nps-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #2B2052;
  border: 1px solid #343A40;
  transition: all 0.2s;
  cursor: pointer;
}

.nps-btn:hover {
  background-color: #8C55d3;
}

#toast {
  max-width: 320px;
  pointer-events: none;
}

#toast.translate-x-0 {
  pointer-events: auto;
}