/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.aie-multi-prices-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    background: #f9f9f9;
}

.aie-price-option {
    transition: background-color 0.3s ease;
}

.aie-price-option:hover:not(.disabled) {
    background-color: #f0f0f0;
}

.aie-price-option.disabled {
    opacity: 0.6;
    background-color: #f5f5f5;
}

.aie-price-option input[type="radio"]:checked + strong {
    color: #0073aa;
}

.aie-checkout-price-selection {
    border-left: 4px solid #0073aa;
}

.checkout-price-option {
    transition: border-color 0.3s ease;
}

.checkout-price-option:hover:not(.disabled) {
    border-color: #0073aa !important;
}

.checkout-price-option.disabled {
    opacity: 0.6;
}

.product-price-selection h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1em;
}

#payment {
    transition: opacity 0.3s ease;
}

.aie-price-option.requires-login {
    border-color: #e67e22 !important;
    background-color: #fef5e7;
}

.login-warning {
    font-size: 0.85em;
    color: #e67e22;
    background: #fef5e7;
    padding: 8px;
    margin: 8px 0 0 25px;
    border-radius: 4px;
    border-left: 4px solid #e67e22;
    display: flex;
    align-items: center;
}

.login-warning strong {
    margin-left: 5px;
}

@media (max-width: 768px) {
    .aie-price-option span,
    .checkout-price-option span {
        float: none !important;
        display: block;
        margin-top: 5px;
    }
    
    .login-warning {
        margin: 8px 0 0 0;
        font-size: 0.8em;
    }
}