/* Stock Error Messages - Same design as date error */
.sg-stock-error.alert,
.sg-stock-error {
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    padding: 12px 15px !important;
    border-radius: 0px !important;
    font-size: 13px !important;
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border: 1px solid #f5c6cb !important;
    animation: fadeIn 0.3s ease-in;
    text-align: left !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    max-width: max-content !important;
    box-sizing: border-box !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .sg-stock-error {
        animation: none;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}
