/* ==========================================================================
   Estilos de Notificaciones Flotantes de Lujo (Glassmorphism Toast Pill)
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 84px;
  right: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 99999;
  pointer-events: none !important;
  width: auto;
  max-width: 90vw;
}

@media (max-width: 600px) {
  .toast-container {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    align-items: center;
    bottom: 78px;
  }
}

.toast {
  background: rgba(22, 22, 30, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: all 0.25s var(--ease-spring);
  pointer-events: none !important;
  white-space: nowrap;
}

body.theme-ivory .toast {
  background: rgba(255, 255, 255, 0.96);
  color: #1a1e26;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.toast-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast-info {
  border-color: rgba(33, 150, 243, 0.35);
  box-shadow: 0 8px 24px rgba(33, 150, 243, 0.18);
}

.toast-success {
  border-color: rgba(0, 230, 118, 0.45);
  box-shadow: 0 8px 24px rgba(0, 230, 118, 0.22);
}

.toast-warning {
  border-color: rgba(255, 171, 0, 0.45);
  box-shadow: 0 8px 24px rgba(255, 171, 0, 0.2);
}

.toast-error {
  border-color: rgba(255, 82, 82, 0.45);
  box-shadow: 0 8px 24px rgba(255, 82, 82, 0.22);
}

.toast-icon {
  font-size: 1.1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-message {
  line-height: 1.4;
}
