/**
 * Frontend styles for Subscription Incentive.
 */

/* Notice/Banner Styling - WooCommerce style */
.sub-incentive-notice {
    background-color: #e8f5e9;
    border-left: 4px solid #4caf50;
    padding: 12px 16px;
    margin: 0 0 15px 0;
    list-style: none;
    border-radius: 2px;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure notice stays within checkout order review column */
#order_review .sub-incentive-notice {
    clear: both;
}

.sub-incentive-notice-content {
    text-align: left;
}

.sub-incentive-notice-message {
    font-size: 16px;
    font-weight: 600;
    color: #2e7d32;
    margin-bottom: 4px;
    line-height: 1.4;
}

.sub-incentive-notice-detail {
    font-size: 13px;
    color: #555;
    margin-top: 4px;
    font-weight: normal;
}

/* Product page messaging */
.sub-incentive-product-notice {
    background: #f0f8f0;
    border-left: 4px solid #4caf50;
    padding: 15px 20px;
    margin: 15px 0;
    border-radius: 4px;
}

/* Fixed message placed immediately after variation price */
.sub-incentive-intro-message-fixed {
    margin-top: 5px;
    margin-bottom: 1.5em;
    /* padding: 8px 12px; */
    /* background-color: #e8f5e9; */
    /* border-left: 3px solid #4caf50; */
    /* border-radius: 3px; */
    /* font-size: 14px; */
    /* line-height: 1.4; */
    /* font-weight: 600; */
    color: #2e7d32;
    display: none;
}
.variations_form .sub-incentive-intro-message-fixed {
    margin-top: -10px;
}
.sub-incentive-dynamic-price {
    color: #2e7d32;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

.sub-incentive-product-notice-title {
    font-size: 18px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 8px;
}

.sub-incentive-product-notice-details {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.sub-incentive-product-notice-price {
    font-size: 16px;
    font-weight: 600;
    color: #2e7d32;
    margin-top: 8px;
}

.sub-incentive-product-notice-price .intro-price {
    font-size: 20px;
    color: #1b5e20;
}

.sub-incentive-product-notice-price .recurring-price {
    font-size: 14px;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sub-incentive-notice-message {
        font-size: 16px;
    }

    .sub-incentive-notice {
        padding: 12px;
        margin-top: 15px !important;
    }
}

@media (max-width: 480px) {
    .sub-incentive-notice-message {
        font-size: 16px;
    }
}