/* --- TRINACLE SEAMLESS CHECKOUT STYLES --- */

/* 1. Main Background */
body {
    background-color: #f8f4f0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    color: #202223;
}

/* 2. Container and Card Styling (Rounded Corners) */
.content-wrapper, 
.view-cart-items,
.order-summary {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    border: 1px solid #e4e5e7 !important;
    padding: 25px;
    margin-bottom: 20px;
}

/* 3. Hide the Sidebar Completely */
.main-sidebar,
#primary-sidebar {
    display: none !important;
}

/* 4. Force Main Content to Full Width (Since sidebar is gone) */
.main-content, 
.col-md-9.pull-md-right {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    float: none !important;
}

/* 5. Clean up WHMCS Default Button styles to match your site */
.btn-primary, .btn-checkout {
    background-color: #000000 !important; /* Matches your black Subscribe buttons */
    border-color: #000000 !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
}
.btn-primary:hover, .btn-checkout:hover {
    background-color: #333333 !important;
}
.powered-by { display: none !important; } /* --- TRINACLE BULLETPROOF OVERRIDES --- */

/* 1. Force the Grey Background Everywhere */
body, #main-body, .main-content, .primary-content, #order-standard_cart {
    background-color: #f8f4f0 !important;
}

/* 2. Kill the "Powered By WHMCS" text globally */
p:has(a[href*="whmcs.com"]), 
.whmcs-link {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. Fix the massive Ajax Spinner so it behaves like a true overlay */
#fullpage-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(244, 246, 248, 0.8) !important;
    z-index: 99999 !important;
}
#fullpage-overlay.w-hidden {
    display: none !important;
}
#fullpage-overlay:not(.w-hidden) {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
#fullpage-overlay .outer-wrapper, 
#fullpage-overlay .inner-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    min-width: 0 !important;
}/* --- TRINACLE: WHMCS OVERRIDES --- */

/* 1. Force the background color on absolutely every container */
html, 
body, 
section#main-body, 
.main-content, 
.primary-content, 
.cart-body, 
#order-standard_cart, 
.secondary-cart-body {
    background-color: #f8f4f0 !important;
    background-image: none !important;
}

/* 2. Permanently banish the broken AJAX spinner */
div#fullpage-overlay {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: -9999 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
}

/* 3. Hide "Powered by WHMCS" globally */
p:has(a[href*="whmcs.com"]), 
.whmcs-link {
    display: none !important;
    visibility: hidden !important;
}
.lb-nav {
    display: none !important;
}