.lfpro-success-message{
    padding: 15px;
        background: #dff0d8;
        color:#62bc18;
        border-radius: 4px;
}
.payment-method-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
}

.payment-method-boxes {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.payment-method-box {
    position: relative;
    flex: 1;
    max-width: 200px;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-box:hover {
    border-color: #999;
    background-color: #f9f9f9;
}

.payment-method-box.active {
    border-color: #0073aa;
    background-color: #f0f6fc;
}

.payment-method-box.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.payment-method-icon {
    margin-bottom: 10px;
    color: #666;
}

.payment-method-name {
    font-weight: 500;
    color: #333;
}

.payment-method-box input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.payment-method-field{
    margin-bottom:20px;
}
.payment-method-field-inner {
    margin-top: 20px;
    /*
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    */
}
.payment-method-box .payment-method-info {
    font-size: 10px;
}

.lfpro-stripe-error,
.lfpro-paypal-error {
    color: #fa755a;
    font-size: 14px;
    margin-top: 8px;
}
.lfpro-afterpay-test-info,
.lfpro-paypal-test-info,
.lfpro-stripe-test-info {
    border: 1px solid #ccc;
    padding: 5px;
    margin-bottom: 20px;
    background: #fdfdfd;
}
.lfpro-afterpay-test-info p,
.lfpro-paypal-test-info p,
.lfpro-stripe-test-info p{
    font-size: 10px;
    margin: 0 !important;
}
.
.lfpro-stripe-test-info ul {
    padding-left: 20px;
}


/* Show upsell overlay full screen with fade */
.upsells-module {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    /* semi-white overlay */
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Active class to show upsells with fade-in */
.upsells-module.fade-in {
    display: block;
    opacity: 1;
}

.upsell-using-paypal .upsell-paypal-button {
    max-width: 750px;
    display: flex;
    height: 100vh;
    align-content: center;
    margin:
        auto;
}

.upsell-using-paypal #lfpro-paypal-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Spinner*/
.lfpro-loader-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lfpro-spinner {
    width: 48px;
    height: 48px;
    border: 5px solid #ddd;
    border-top-color: #333;
    border-radius: 50%;
    animation: lfpro-spin 0.8s linear infinite;
}

@keyframes lfpro-spin {
    to {
        transform: rotate(360deg);
    }
}


/*  NAme YOur Price */
.promo-code,
.name-your-price {
    width: 100%;
    margin-top: 10px;
}
.promo-code-link,
.name-price-link {
    display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-decoration: none;
        /* Optional: remove underline */
    color: #1f2937;
    text-decoration: none;
    font-size: 0.9em;
}
promo-code-link span
.name-price-link span {
    text-align: left;
}
.promo-code-link i,
.name-price-link i {
    text-align: right;
}
promo-code-link:hover,
.name-price-link:hover {
    color: #00a0d2;
    text-decoration: underline;
}

.promo-code-dropdown,
.price-input-dropdown {
    margin-top: 10px;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.promo-code-input-wrapper,
.price-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    width: 100%;
}

.currency-symbol {
    color: #666;
    font-weight: 500;
}

.custom-price-input {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 3px;
    min-width: 80px;
}

.price-hint {
    display: block;
    color: #666;
    font-size: 0.8em;
    margin: 5px 0;
}

.set-price-button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.9em;
    white-space: nowrap;
}

.set-price-button:hover {
    background: #00a0d2;
}

/* Price Message Styles */
.price-error-message {
    display: none;
    font-size: 0.9em;
    margin: 5px 0;
    padding: 5px 10px;
    border-radius: 3px;
}

/* Error state */
.price-error-message.error {
    color: #dc3232;
    background: #fef7f7;
    border: 1px solid #dc3232;
}

/* Success state */
.price-error-message.success {
    color: #28a745;
    background: #f0fff4;
    border: 1px solid #28a745;
}

.name-your-price #resetPriceButton{
color: #dc3232;
cursor: pointer;
}

/* Billing Information */
.billing-info {
    margin: 5px 0;
    font-size: 0.9em;
    color: #666;
}

.billing-info span {
    display: inline-block;
    margin-right: 10px;
}

.billing-info span:last-child {
    margin-right: 0;
}

.billing-cycle {
   
}

.number-payments {
    color: #666;
}

.trial-period {
    color: #62bc18;
    font-style: italic;
}

/* Additional Fee */
.order-item.additional-fee {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

.order-item.additional-fee .item-name {
    color: #666;
    font-style: italic;
}

/* error */
.lfpro-checkout-form input.input-error,
.lfpro-checkout-form select.input-error,
.lfpro-checkout-form textarea.input-error {
    border: 1px solid #e53935;
    background-color: #fff8f8;
    box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.1);
    transition: border-color 0.2s ease-in-out;
}

/* Error message below inputs */
.lfpro-checkout-form .form-field .error-message {
    color: #e53935;
    font-size: 0.85rem;
    margin-top: 5px;
    display: none;
    font-weight: 500;
    line-height: 1.3;
}
.lfpro-checkout-form .error-message {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lfpro-checkout-form .error-message.show {
    display: block !important;
    max-height: 100px;
}

/* Optional: Add a red asterisk to required fields */
.lfpro-checkout-form .form-field label:has(+ input[required]):after,
.lfpro-checkout-form .form-field label:has(+ select[required]):after,
.lfpro-checkout-form .form-field label:has(+ textarea[required]):after {
    content: '*';
    color: #e53935;
    margin-left: 4px;
    display: inline-block;
    font-weight: bold;
}

/* Remove asterisk from non-required fields */
.lfpro-checkout-form .form-field label:after {
    content: none;
}

.lfpro-checkout-form .form-field input:required+.error-message,
.lfpro-checkout-form .form-field select:required+.error-message,
.lfpro-checkout-form .form-field textarea:required+.error-message {
    /* ensures the label + input + message are vertically stacked nicely */
    display: block;
}

/* SUBTOTAL */ 

                                        .coupon-info-row {
                                            margin-top: 5px;
                                            padding-top: 5px;
                                            border-top: 1px dashed #eee;
                                            color: #28a745;
                                            /* Green color for discount */
                                            font-size: 0.9em;
                                        }
                    
                                        .coupon-info-row .item-name {
                                            font-style: italic;
                                            display: flex;
                                            align-items: center;
                                            gap: 8px;
                                        }
                    
                                        .coupon-info-row .item-price {
                                            color: #28a745;
                                            /* Keep the discount amount green */
                                        }
                    
                                        .remove-coupon-btn {
                                            background: none;
                                            border: none;
                                            padding: 0;
                                            cursor: pointer;
                                            color: #dc3545;
                                            /* Red color for remove button */
                                            font-size: 1.1em;
                                            display: flex;
                                            align-items: center;
                                            opacity: 0.7;
                                            transition: opacity 0.2s;
                                        }
                    
                                        .remove-coupon-btn:hover {
                                            opacity: 1;
                                        }

                .order-total {
                    margin-top: 20px;
                    border-top: 1px solid #eee;
                    padding-top: 15px;
                }
        
                .total-row {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    margin-bottom: 8px;
                }
        
                .total-row.discount {
                    color: #28a745;
                    font-size: 0.95em;
                }
        
                .total-row.final-total {
                    font-weight: bold;
                    font-size: 1.1em;
                    margin-top: 10px;
                    border-top: 1px solid #eee;
                    padding-top: 10px;
                }
        
                .coupon-info-row {
                    margin-top: 5px;
                    padding-top: 5px;
                    border-top: 1px dashed #eee;
                }
        
                .coupon-info-wrapper {
                    display: flex;
                    flex-direction: column;
                    gap: 2px;
                    width: 100%;
                }
        
                .coupon-main {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    width: 100%;
                }
        
                .coupon-description {
                    font-size: 0.85em;
                    color: #666;
                    font-style: italic;
                    padding-left: 28px;
                    /* Space for alignment with text after remove button */
                }
        
                .coupon-info-row .item-name {
                    display: flex;
                    align-items: center;
                    gap: 8px;
                    color: #28a745;
                }
        
                .coupon-info-row .item-price {
                    color: #28a745;
                }
        
                .remove-coupon-btn {
                    background: none;
                    border: none;
                    padding: 0;
                    cursor: pointer;
                    color: #dc3545;
                    font-size: 1.1em;
                    display: flex;
                    align-items: center;
                    opacity: 0.7;
                    transition: opacity 0.2s;
                }
        
                .remove-coupon-btn:hover {
                    opacity: 1;
                }

.redirect-message {
    display: flex;
    align-items: center;
    font-size: 12px;
    line-height: 1.5;
    margin-top: 15px;
    color: #666;
}

.redirect-message .redirect-icon {
    width: 24px;
    height: 20px;
    margin-right: 12px;
    color: #666;
    flex-shrink: 0;
}

.redirect-message span {
    flex: 1;
}

                 