/* TOAST - Notificaciones Globales ERP */
.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Compatibilidad para quienes lo sitúan abajo */
.toast-container.bottom-right {
    top: auto;
    bottom: 24px;
}

.toast {
    background: #fff;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    animation: slideInToast 0.3s ease-out;
    border-left: 4px solid var(--primary, #FF6600);
    color: #333;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Colores de estado (Prioridad sobre estilos base) */
.toast.toast-success { border-left-color: #10b981 !important; }
.toast.toast-error, .toast.toast-danger { border-left-color: #ef4444 !important; }
.toast.toast-warning { border-left-color: #f59e0b !important; }
.toast.toast-info { border-left-color: #3b82f6 !important; }

@keyframes slideInToast {
    from { transform: translateX(400px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@media print {
    .toast-container, .toast {
        display: none !important;
    }
}
