/* Sistema de Notificaciones Toast */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 350px;
    width: calc(100% - 40px);
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 5px;
  }
  
  .toast-container::-webkit-scrollbar {
    width: 5px;
  }
  
  .toast-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
  }
  
  .toast {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    background-color: #1e2235; /* Azul oscuro */
    color: white;
    margin-bottom: 10px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: translateX(100%);
  }
  
  .toast.show {
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .toast.hide {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  .toast-icon {
    flex-shrink: 0;
    margin-right: 12px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #4a9fff; /* Azul claro */
  }
  
  .toast-content {
    flex-grow: 1;
    padding-right: 20px;
  }
  
  .toast-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
    color: white;
  }
  
  .toast-message {
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .toast-time {
    font-size: 12px;
    margin-top: 5px;
    color: #4a9fff; /* Azul claro */
  }
  
  .toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.7);
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
  }
  
  .toast-close:hover {
    opacity: 1;
    color: white;
  }
  
  .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
  }
  
  .toast-progress-bar {
    height: 100%;
    width: 100%;
    transform-origin: left;
    transform: scaleX(1);
    transition: transform linear;
    will-change: transform;
    background-color: #4a9fff; /* Azul claro */
  }
  
  /* Tipos de notificaciones - mantenemos los colores de iconos para diferenciar */
  .toast.success .toast-icon {
    color: #4caf50;
  }
  
  .toast.error .toast-icon {
    color: #f44336;
  }
  
  .toast.warning .toast-icon {
    color: #ff9800;
  }
  
  .toast.info .toast-icon {
    color: #4a9fff;
  }
  
  /* Responsive */
  @media (max-width: 480px) {
    .toast-container {
      top: 10px;
      right: 10px;
      left: 10px;
      max-width: calc(100% - 20px);
    }
  
    .toast {
      padding: 12px;
    }
  
    .toast-title {
      font-size: 14px;
    }
  
    .toast-message {
      font-size: 13px;
    }
  }
  