/* Toastr sólido minimalista (estilo Apple + paleta azul oficial) em TODA tela.
   1) O toastr nasce com opacity .8 (fica "transparente" sobre a grade).
   2) O Bootstrap também tem a classe .toast (fundo branco 85%); quando a página
      carrega o main-webdec.css DEPOIS do toastr.min.css (Pesquisa de Vendas),
      o .toast do Bootstrap vence o .toast-info do toastr e sobra texto branco em
      fundo branco translúcido.
   Seletor com o #toast-container ganha dos dois independente da ordem de carga. */

@keyframes decToastIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

body #toast-container > div {
  opacity: 1;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 28px rgba(1, 31, 89, 0.22), 0 2px 6px rgba(1, 31, 89, 0.10);
  font-size: 0.855rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
  transition: transform 180ms cubic-bezier(.22, 1, .36, 1), box-shadow 180ms ease;
  animation: decToastIn 200ms cubic-bezier(.22, 1, .36, 1);
}

body #toast-container > div:hover {
  opacity: 1;
  box-shadow: 0 14px 32px rgba(1, 31, 89, 0.28), 0 4px 10px rgba(1, 31, 89, 0.14);
}

body #toast-container > .toast {
  background-color: #011f59;
  color: #ffffff;
}

body #toast-container > .toast-info {
  background-color: #1e40af;
  color: #ffffff;
}

body #toast-container > .toast-success {
  background-color: #15803d;
  color: #ffffff;
}

body #toast-container > .toast-warning {
  background-color: #b45309;
  color: #ffffff;
}

body #toast-container > .toast-error {
  background-color: #b91c1c;
  color: #ffffff;
}

body #toast-container .toast-title {
  font-weight: 600;
  letter-spacing: -0.01em;
}

body #toast-container .toast-message {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.96);
}

body #toast-container .toast-close-button {
  color: rgba(255, 255, 255, 0.85);
  text-shadow: none;
  opacity: 0.85;
  transition: opacity 140ms ease, transform 140ms ease;
}

body #toast-container .toast-close-button:hover {
  color: #ffffff;
  opacity: 1;
}

body #toast-container .toast-progress {
  height: 3px;
  background-color: rgba(255, 255, 255, 0.35);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body #toast-container > div {
    animation: none !important;
    transition: none !important;
  }
}
