.view,
body,
html {
    height: 100%
}

.carousel {
    height: 50%
}

.carousel .carousel-inner,
.carousel .carousel-inner .active,
.carousel .carousel-inner .carousel-item {
    height: 100%
}

@media (max-width:776px) {
    .carousel {
        height: 100%
    }
}

.page-footer {
    background-color: #929FBA
}


/* Contenedor de las notificaciones flotantes */
.message-wrapper {
    position: fixed;
    top: 100px;
    /* Esto lo separa de la subnavbar para que no se tape */
    right: 20px;
    z-index: 9999;
    /* Asegura que esté por encima de todo */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Estilo base de la alerta personalizada */
.custom-alert {
    min-width: 280px;
    max-width: 350px;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    color: white !important;
    /* Forzar color blanco */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.5s ease-out;
}

/* Colores específicos para cada tipo de mensaje */
.custom-alert-success {
    background-color: #2ecc71 !important;
}

.custom-alert-error {
    background-color: #e74c3c !important;
}

.custom-alert-warning {
    background-color: #f1c40f !important;
}

.custom-alert-info {
    background-color: #3498db !important;
}

/* Iconos y contenido */
.alert-icon {
    margin-right: 15px;
    font-size: 1.2rem;
}

.alert-content {
    flex-grow: 1;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Botón de cerrar */
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    margin-left: 10px;
    line-height: 1;
}

/* Animación de entrada */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}