/* Estilos para mejorar la visibilidad de los mensajes toast */

/* Mensajes de éxito */
.toast.text-success {
  background-color: #d4edda !important;
  border-color: #c3e6cb !important;
  color: #155724 !important;
}

.toast.text-success .toast-header {
  background-color: #28a745 !important;
  color: white !important;
  border-bottom: 1px solid #1e7e34 !important;
}

.toast.text-success .toast-body {
  background-color: #d4edda !important;
  color: #155724 !important;
  font-weight: 500;
}

/* Mensajes de error */
.toast.text-danger {
  background-color: #f8d7da !important;
  border-color: #f5c6cb !important;
  color: #721c24 !important;
}

.toast.text-danger .toast-header {
  background-color: #dc3545 !important;
  color: white !important;
  border-bottom: 1px solid #bd2130 !important;
}

.toast.text-danger .toast-body {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  font-weight: 500;
}

/* Mensajes de advertencia */
.toast.text-warning {
  background-color: #fff3cd !important;
  border-color: #ffeaa7 !important;
  color: #856404 !important;
}

.toast.text-warning .toast-header {
  background-color: #ffc107 !important;
  color: #212529 !important;
  border-bottom: 1px solid #e0a800 !important;
}

.toast.text-warning .toast-body {
  background-color: #fff3cd !important;
  color: #856404 !important;
  font-weight: 500;
}

/* Mensajes de información */
.toast.text-info {
  background-color: #d1ecf1 !important;
  border-color: #bee5eb !important;
  color: #0c5460 !important;
}

.toast.text-info .toast-header {
  background-color: #17a2b8 !important;
  color: white !important;
  border-bottom: 1px solid #138496 !important;
}

.toast.text-info .toast-body {
  background-color: #d1ecf1 !important;
  color: #0c5460 !important;
  font-weight: 500;
}

/* Mejorar contraste general */
.toast {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  border: 2px solid !important;
  font-size: 0.95rem;
}

.toast-header {
  font-weight: 600;
  padding: 0.75rem 1rem;
}

.toast-body {
  padding: 1rem;
  line-height: 1.4;
}

/* Asegurar que el texto sea visible */
.toast .toast-body span {
  color: inherit !important;
  font-weight: inherit !important;
}

/* Iconos más visibles */
.toast-header i {
  font-size: 1.1rem;
  margin-right: 0.5rem;
}

/* Botón de cerrar más visible */
.toast-header .btn-close {
  opacity: 0.8;
  filter: brightness(0) invert(1);
}

.toast-header .btn-close:hover {
  opacity: 1;
}




