/**
 * MHBO Storefront Checkout - Frontend Styles
 *
 * Styles for pricing grid buttons, coupon forms, and success message elements.
 *
 * @package MHBO_Storefront_Checkout
 */

/* -- Buy Buttons ------------------------------- */
.mhbo-buy-btn,
.mhbo-paypal-btn {
/**
 * MHBO Storefront Checkout - Frontend Styles
 *
 * Styles for pricing grid buttons, coupon forms, and success message elements.
 *
 * @package MHBO_Storefront_Checkout
 */

/* -- Buy Buttons ------------------------------- */
.mhbo-buy-btn,
.mhbo-paypal-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

/* Card Button: Premium Blue/Indigo Gradient */
.mhbo-buy-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.mhbo-buy-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

/* PayPal Button: Official Gold */
.mhbo-paypal-btn {
    background: #ffc439 !important;
    color: #003087 !important;
    box-shadow: 0 4px 14px rgba(255, 196, 57, 0.2);
}

.mhbo-paypal-btn:hover:not(:disabled) {
    background: #ffe382 !important;
    box-shadow: 0 6px 20px rgba(255, 196, 57, 0.4);
    transform: translateY(-2px);
}

/* Disabled/Processing state */
.mhbo-buy-btn:disabled,
.mhbo-paypal-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* -- Coupon Section ---------------------------- */
#mhbo-sc-coupon {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#mhbo-sc-coupon:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

#mhbo-sc-apply-coupon {
    transition: background-color 0.2s ease, transform 0.2s ease;
}

#mhbo-sc-apply-coupon:hover {
    background-color: #1d4ed8 !important;
}

#mhbo-sc-apply-coupon:active {
    transform: scale(0.98);
}

/* -- Checkout Success Page Layout -------------- */
.mhbo-sc-success-wrap {
    animation: mhboFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mhboFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -- Pricing Cards SaaS-Style Light Card Overrides -------- */
#pricing .wp-block-column .wp-block-group {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03) !important;
    backdrop-filter: none !important;
    color: #334155 !important;
}

#pricing .wp-block-column .wp-block-group h3 {
    color: #0f172a !important;
}

#pricing .wp-block-column .wp-block-group p {
    color: #64748b !important;
}

#pricing .wp-block-column .wp-block-group li {
    color: #334155 !important;
}

#pricing .wp-block-column .wp-block-group li strong {
    color: #0f172a !important;
}

/* Featured card (Business) gets blue border and shadow */
#pricing .wp-block-columns > .wp-block-column:nth-child(3) > .wp-block-group {
    border: 2px solid #2563eb !important;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1), 0 4px 6px -2px rgba(37, 99, 235, 0.05) !important;
}
