/* Estilos para los mensajes toast */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 350px;
}

.toast {
  padding: 15px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 300px;
  max-width: 400px;
  animation: toastFadeIn 0.3s;
  opacity: 1;
  transition: opacity 0.3s, transform 0.3s;
  overflow: hidden;
  position: relative;
  width: 100%;
}

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

.toast-success {
  border-left: 4px solid #10b981;
}

.toast-error {
  border-left: 4px solid #ef4444;
}

.toast-info {
  border-left: 4px solid #3ebde8;
}

.toast-warning {
  border-left: 4px solid #ff9800;
}

.toast-icon {
  font-size: 20px;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-success .toast-icon {
  color: #10b981;
}

.toast-error .toast-icon {
  color: #ef4444;
}

.toast-info .toast-icon {
  color: #3ebde8;
}

.toast-warning .toast-icon {
  color: #ff9800;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 4px;
  color: #333;
}

.toast-message {
  font-size: 14px;
  color: #64748b;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  margin-left: 8px;
  transition: color 0.2s;
}

.toast-close:hover {
  color: #333333;
}

/* Responsive Adjustments */
@media (max-width: 480px) {
  .toast-container {
    right: 20px;
    left: 20px;
    max-width: calc(100% - 20px);
  }

  .toast {
    min-width: auto;
    width: 100%;
    padding: 12px;
  }

  .toast-title {
    font-size: 14px;
  }

  .toast-message {
    font-size: 13px;
  }
}
