/**
 * Food Store Required Add-ons CSS
 * 
 * Styles for required add-on groups and error messages
 */

/* Required indicator styling */
.wfs-required-addon .wfs-required-indicator {
    color: #e2401c;
    font-weight: 700;
    margin-left: 3px;
}

/* Error message container */
.wfs-required-addon-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    margin-bottom: 15px;
    padding: 10px 15px;
    animation: wfs-fade-in 0.3s ease-in-out;
}

/* Error message heading */
.wfs-required-addon-error-heading {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Error message text */
.wfs-required-addon-error-message {
    font-size: 14px;
}

/* Highlight required addon groups that need selection */
.wfs-required-addon-highlight {
    border-left: 3px solid #e2401c;
    padding-left: 10px;
    animation: wfs-pulse 1.5s infinite;
}

/* Animation for highlighting */
@keyframes wfs-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(226, 64, 28, 0.4);
    }
    70% {
        box-shadow: 0 0 0 5px rgba(226, 64, 28, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(226, 64, 28, 0);
    }
}

/* Animation for fade in */
@keyframes wfs-fade-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Make sure the error message is visible in the modal */
.wfs-modal-content .wfs-required-addon-error {
    margin-top: 10px;
}

/* Style for the addon group title when required */
.wfs-addon-category-title.wfs-required-addon {
    font-weight: 600;
}
