.notification-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 2000;
    width: 380px;
    pointer-events: none; /* Evita que el contenedor bloquee clics si está vacío */
}

.notification-container .alert {
    pointer-events: auto; /* Reactiva clics en las alertas */
    border: none;
    border-radius: 12px;
    backdrop-filter: blur(10px); /* Efecto cristal */
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
    padding: 1.25rem;
    overflow: hidden;
    animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Colores estilo "Toast" moderno */
.alert-custom-success {
    background-color: rgba(209, 231, 221, 0.9);
    border-left: 5px solid #198754 !important;
    color: #0f5132;
}

.alert-custom-error {
    background-color: rgba(248, 215, 218, 0.9);
    border-left: 5px solid #dc3545 !important;
    color: #842029;
}

.alert .progress {
    height: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    border-radius: 0;
}

.progress-bar-glow {
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.2));
    background-color: currentColor !important;
    opacity: 0.6;
}

.alert-custom-info {
    background-color: rgba(204, 229, 255, 0.9);
    border-left: 5px solid #0dcaf0 !important;
    color: #055160;
}

.alert-custom-warning {
    background-color: rgba(255, 243, 205, 0.9);
    border-left: 5px solid #ffc107 !important;
    color: #664d03;
}

/* Detiene la animación de la barra de progreso */
.paused {
    animation-play-state: paused !important;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes progressAnimation {
    from { width: 100%; }
    to { width: 0%; }
}

.header {
    padding: 10px;
}

.close-btn {
    color: #333; 
}

.brand-logo {
    margin-top: 10px;
}

.logo-img img {
    border-radius: 5px; 
    transition: transform 0.3s ease-in-out; 

}

.logo-img img:hover {
    transform: scale(1.1); 
}

.close-btn:hover {
    color: red; 
    transition: color 0.3s ease-in-out; 
}

.card-header {
    background-color: #f8f9fa;
    padding: 10px;
    border-bottom: 1px solid #dee2e6; 
  }

  /* Establece el contenedor principal (body) como un contenedor flex */
html, body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  /* El contenido principal (cualquier contenido antes del footer) ocupa el espacio disponible */
  .main-content {
    flex: 1;
  }
  
  /* El footer siempre está al fondo */
  .footer {
    background-color: #f8f9fa; /* Color de fondo opcional */
    text-align: center;
    padding: 20px;
    margin-top: auto; /* Empuja el footer hacia abajo */
  }

