/* Estilos para el sistema de notificaciones toast */

.toast-container {
    max-width: 400px;
    padding: 0 !important;
    display: none !important;
}

/* Mostrar el contenedor solo cuando tiene toasts */
.toast-container:has(.toast),
.toast-container:has(#toastContainer:not(:empty)) {
    display: block !important;
    padding: 12px !important;
}

/* Fallback para navegadores que no soportan :has() */
.toast-container.show {
    display: block !important;
    padding: 12px !important;
}

.toast {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.toast-body {
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
}

@media (max-width: 576px) {
    .toast-container {
        max-width: calc(100% - 1rem);
        left: 0.5rem;
        right: 0.5rem;
    }
    
    .toast {
        min-width: 100% !important;
    }
}

