/* FireDroid focused cart flow presentation. No WHMCS values, actions, or field names are changed. */
:root{--fd-cart-orange:#ff6a00;--fd-cart-orange-dark:#c84c00;--fd-cart-ink:#151719;--fd-cart-muted:#68727d;--fd-cart-line:#dfe4e9;--fd-cart-soft:#f4f6f8;--fd-cart-white:#fff;--fd-cart-shadow:0 14px 32px rgba(24,32,42,.08)}
body#page-viewcart,body#page-checkout,body#page-configureproduct{background:#eef1f4!important}
body#page-viewcart #main-body .main_inner_section,body#page-checkout #main-body .main_inner_section,body#page-configureproduct #main-body .main_inner_section{background-image:none!important;background-color:transparent!important}
#order-standard_cart .header-lined h1{color:var(--fd-cart-ink)!important;font-weight:900!important}

#order-standard_cart .cart-sidebar,#order-standard_cart .sidebar-categories,#order-standard_cart .sidebar-categories-collapsed,#order-standard_cart .sidebar-collapsed{display:none!important}
#order-standard_cart .cart-body{float:none!important;width:100%!important;margin:0!important}
#order-standard_cart .header-lined{border:0;margin:0 0 14px;padding:0}
#order-standard_cart .header-lined h1{margin:0;font-size:clamp(30px,4vw,44px);line-height:1.04;letter-spacing:-.045em;color:var(--fd-cart-ink)}
#order-standard_cart .cart-body>.row{display:flex;align-items:flex-start;gap:20px;margin:0}
#order-standard_cart .secondary-cart-body{flex:1 1 auto;width:auto!important;min-width:0;padding:0!important}
#order-standard_cart .secondary-cart-sidebar{flex:0 0 340px;width:340px!important;padding:0!important}
#order-standard_cart .panel,#order-standard_cart .card,#order-standard_cart .well,#order-standard_cart .already-registered,#order-standard_cart #frmCheckout{border:1px solid var(--fd-cart-line);border-radius:15px;background:var(--fd-cart-white);box-shadow:var(--fd-cart-shadow)}
#order-standard_cart .product-info,#order-standard_cart .view-cart-items,#order-standard_cart .view-cart-tabs,#order-standard_cart .field-container,#order-standard_cart .product-configurable-options,#order-standard_cart .checkout-security-msg{border:1px solid var(--fd-cart-line);border-radius:15px;background:var(--fd-cart-white);box-shadow:var(--fd-cart-shadow);padding:18px 20px}
#order-standard_cart .product-info{margin:12px 0 20px}
#order-standard_cart .product-info .product-title{font-weight:900;font-size:21px;color:var(--fd-cart-ink);margin-bottom:6px}
#order-standard_cart .product-info p:last-child{color:var(--fd-cart-muted);margin-bottom:0}
#order-standard_cart .sub-heading{margin:22px 0 12px;border:0}
#order-standard_cart .sub-heading span{display:inline-block;border-radius:7px;padding:8px 12px;background:#fff1e7;color:#93400c;font-weight:800;font-size:12px;letter-spacing:.03em}
#order-standard_cart .field-container,#order-standard_cart .product-configurable-options{box-shadow:none;padding:18px 20px}
#order-standard_cart .form-control,#order-standard_cart select.form-control,#order-standard_cart input.field,#order-standard_cart textarea.field{min-height:44px;border-radius:8px;border:1px solid #cfd7de;box-shadow:none}
#order-standard_cart .form-control:focus,#order-standard_cart select.form-control:focus,#order-standard_cart input.field:focus,#order-standard_cart textarea.field:focus{border-color:var(--fd-cart-orange);box-shadow:0 0 0 3px rgba(255,106,0,.13)}
#order-standard_cart .btn-primary,#order-standard_cart .btn-success,#order-standard_cart .btn-warning,#order-standard_cart .btn-checkout{border-color:var(--fd-cart-orange)!important;background:var(--fd-cart-orange)!important;color:#fff!important;border-radius:9px;font-weight:800;min-height:44px;padding-left:16px;padding-right:16px}
#order-standard_cart .btn-primary:hover,#order-standard_cart .btn-success:hover,#order-standard_cart .btn-warning:hover,#order-standard_cart .btn-checkout:hover{border-color:var(--fd-cart-orange-dark)!important;background:var(--fd-cart-orange-dark)!important}
#order-standard_cart .btn-default{border-color:#cbd3da;background:#fff;color:#39434d;border-radius:9px;min-height:42px;font-weight:700}
/* Three-step path */
.fd-cart-steps{display:flex;align-items:center;gap:8px;margin:0 0 18px;overflow:hidden}
.fd-cart-step{display:flex;align-items:center;gap:7px;min-height:42px;padding:7px 12px;border:1px solid #cbd3da;border-radius:8px;background:#fff;color:#39434d;text-decoration:none!important;font-weight:800;font-size:12px;white-space:nowrap}
.fd-cart-step b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f1f3f5;color:#151719;font-size:12px}
.fd-cart-step.is-active{border-color:var(--fd-cart-orange);background:#fff4ec;color:#93400c}
.fd-cart-step.is-active b{background:var(--fd-cart-orange);color:#fff}
.fd-cart-step.is-complete b{background:#222;color:#fff}
.fd-cart-step-arrow{color:#9aa3ac;font-size:15px;font-weight:900}
/* Configure product */
.fd-billing-cycle-native{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important}
.fd-billing-cycle-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 18px}
.fd-billing-cycle-option{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:68px;padding:12px;border:1px solid #d5dce3;border-bottom-width:2px;border-radius:10px;background:#fff;color:var(--fd-cart-ink);font-weight:800;text-align:left;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}
.fd-billing-cycle-option:hover,.fd-billing-cycle-option:focus{border-color:var(--fd-cart-orange);background:#fff6ee;box-shadow:0 0 0 2px rgba(255,106,0,.12);outline:0}
.fd-billing-cycle-option.is-selected{border-color:var(--fd-cart-orange);background:#fff1e7;box-shadow:0 0 0 2px rgba(255,106,0,.12)}
.fd-billing-cycle-option small{display:block;margin-top:5px;color:var(--fd-cart-muted);font-weight:600;font-size:11px}
#order-standard_cart .order-summary{background:#111315;color:#fff;border-radius:15px;padding:20px;box-shadow:0 16px 32px rgba(0,0,0,.15);position:sticky;top:16px}
#order-standard_cart .order-summary h2{color:#fff;font-size:20px;margin:0 0 15px}
#order-standard_cart .order-summary .summary-container{font-size:13px}
#order-standard_cart .order-summary .product-name{display:block;color:#fff;font-size:16px;font-weight:900;margin-bottom:4px}
#order-standard_cart .order-summary .product-group,#order-standard_cart .order-summary .summary-container .cycle{color:#aeb7bf}
#order-standard_cart .order-summary .summary-totals{border-top:1px solid rgba(255,255,255,.16);margin-top:14px;padding-top:12px}
#order-standard_cart .order-summary .total-due-today{border-top:1px solid rgba(255,255,255,.22);margin-top:14px;padding-top:14px}
#order-standard_cart .order-summary .total-due-today .amt{display:block;color:#fff;font-size:25px;font-weight:900}
#order-standard_cart .order-summary .btn-checkout{display:block;text-align:center;margin-top:18px}
/* Review cart */
#order-standard_cart .view-cart-items-header{border:0;background:transparent;color:var(--fd-cart-muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;padding:0 0 8px}
#order-standard_cart .view-cart-items{padding:0;overflow:hidden}
#order-standard_cart .view-cart-items .item{border-bottom:1px solid #edf0f3;padding:18px 20px;background:#fff}
#order-standard_cart .view-cart-items .item:last-child{border-bottom:0}
#order-standard_cart .item-title{font-weight:900;color:var(--fd-cart-ink)}
#order-standard_cart .item-group,#order-standard_cart .item-domain,#order-standard_cart .item-price .cycle{display:block;color:var(--fd-cart-muted);font-size:12px;margin-top:4px}
#order-standard_cart .item-price{text-align:right;color:var(--fd-cart-ink);font-weight:900}
#order-standard_cart .item-price>span:first-child{font-size:16px}
#order-standard_cart .btn-link{color:#9a3b00;font-weight:700}
#order-standard_cart .view-cart-tabs{margin-top:17px;box-shadow:none;padding:0;overflow:hidden}
#order-standard_cart .view-cart-tabs .nav-tabs{padding:12px 15px 0;background:#fafbfc;border-bottom:1px solid var(--fd-cart-line)}
#order-standard_cart .view-cart-tabs .tab-content{padding:16px}
#order-standard_cart .empty-cart{text-align:right;padding:8px 0}
/* Checkout */
#order-standard_cart .already-registered{padding:20px;margin-bottom:17px}
#order-standard_cart .already-registered p{color:var(--fd-cart-muted);margin:0 0 14px}
#order-standard_cart .already-registered .pull-right{float:none!important;display:flex;flex-wrap:wrap;gap:10px}
#order-standard_cart .already-registered .pull-right .btn{flex:1 1 190px;min-height:50px}
#order-standard_cart #frmCheckout{padding:20px}
#order-standard_cart #frmCheckout .sub-heading{margin-top:8px}
#order-standard_cart #frmCheckout .sub-heading span{font-size:14px}
#order-standard_cart .fd-google-signin-panel{margin:0 0 17px;padding:17px 20px;text-align:center;border:1px solid var(--fd-cart-line);border-radius:15px;background:#fff;box-shadow:var(--fd-cart-shadow)}
#order-standard_cart .fd-google-signin-panel>p{margin:0 0 10px;color:var(--fd-cart-muted);font-size:13px}
#order-standard_cart .fd-google-signin-panel .providerPreLinking{display:none!important}
#order-standard_cart .fd-google-signin-panel .providerPreLinking.fd-google-provider-active{display:block!important}
#order-standard_cart .fd-checkout-existing-linking .sub-heading-borderless,#order-standard_cart .fd-checkout-existing-linking>p.small,#order-standard_cart .fd-checkout-new-linking .sub-heading,#order-standard_cart .fd-checkout-new-linking>p.small{display:none!important}
#order-standard_cart .fd-google-signin-panel .social-signin-btns{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
#order-standard_cart .fd-google-signin-panel .social-signin-btns a,#order-standard_cart .fd-google-signin-panel .social-signin-btns button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;min-width:245px;padding:11px 18px;border:1px solid #cbd3da;border-radius:9px;background:#fff;color:#252a2f;font-weight:900;box-shadow:0 3px 10px rgba(24,32,42,.06);text-decoration:none}
#order-standard_cart .fd-google-signin-panel .social-signin-btns a:hover,#order-standard_cart .fd-google-signin-panel .social-signin-btns button:hover{border-color:#4285f4;box-shadow:0 0 0 3px rgba(66,133,244,.13)}
#order-standard_cart .fd-google-divider{display:flex;align-items:center;gap:10px;margin:13px 0 0;color:#87919b;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
#order-standard_cart .fd-google-divider:before,#order-standard_cart .fd-google-divider:after{content:"";height:1px;background:#e1e6eb;flex:1}
#order-standard_cart #containerExistingUserSignin .providerPreLinking{margin-top:12px}
#order-standard_cart .checkout-error-feedback{border-radius:10px}
#order-standard_cart #totalDueToday{border-radius:10px;background:#fff1e7;border:1px solid #ffd1b3;color:#93400c}
#order-standard_cart .payment-methods{margin-right:5px}
#order-standard_cart #paymentGatewaysContainer,#order-standard_cart #paymentGatewaysContainer label,#order-standard_cart #paymentGatewaysContainer .payment-method,#order-standard_cart #paymentGatewaysContainer span{color:#3d4852!important}
#order-standard_cart .marketing-email-optin,#order-standard_cart .marketing-email-optin label,#order-standard_cart .marketing-email-optin p,#order-standard_cart .marketing-email-optin span{color:#3d4852!important}
#order-standard_cart .marketing-email-optin h4{color:#153e5c!important;font-weight:700!important;margin-bottom:8px}
#order-standard_cart .marketing-email-optin .bootstrap-switch-handle-on{color:#fff!important;font-weight:700}
#order-standard_cart .marketing-email-optin .bootstrap-switch-handle-off{color:#fff!important;background:#66727d!important;font-weight:700}
#order-standard_cart .checkout-security-msg{box-shadow:none;margin-top:16px}
@media(max-width:900px){#order-standard_cart .cart-body>.row{display:flex;flex-direction:column}#order-standard_cart .secondary-cart-body{order:1;width:100%!important}#order-standard_cart .secondary-cart-sidebar{order:2;width:100%!important;flex:0 0 auto}#order-standard_cart .order-summary{position:relative;top:auto}}
@media(max-width:700px){.fd-cart-steps{gap:5px}.fd-cart-step{gap:4px;padding:7px 7px;font-size:10px}.fd-cart-step b{width:23px;height:23px;font-size:11px}.fd-cart-step-arrow{font-size:12px}.fd-billing-cycle-options{grid-template-columns:1fr}.fd-billing-cycle-option{min-height:56px;flex-direction:row;align-items:center;justify-content:space-between}.fd-billing-cycle-option small{margin:0;text-align:right}.fd-billing-cycle-native{display:none!important}#order-standard_cart{padding:4px 0 22px}#order-standard_cart .cart-body>.row{gap:13px}#order-standard_cart .product-info,#order-standard_cart .view-cart-items,#order-standard_cart .field-container,#order-standard_cart .product-configurable-options,#order-standard_cart #frmCheckout{padding:15px 13px}#order-standard_cart .view-cart-items .item{padding:14px 13px}#order-standard_cart .item-price{text-align:left;margin-top:9px}#order-standard_cart .order-summary{padding:17px}#order-standard_cart .view-cart-tabs{padding:0}#order-standard_cart .already-registered{padding:15px 13px}#order-standard_cart .already-registered .pull-right{display:block}#order-standard_cart .already-registered .pull-right .btn{display:block;width:100%;margin:8px 0 0}#order-standard_cart .fd-google-signin-panel{padding:16px 12px}#order-standard_cart .fd-google-signin-panel .social-signin-btns a,#order-standard_cart .fd-google-signin-panel .social-signin-btns button{width:100%;min-width:0}}

/* Configure Product desktop layout: keep the summary beside the form and make the sidebar sticky. */
@media (min-width:901px){
    #order-standard_cart .cart-body form > .row{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:20px!important;margin:0!important}
    #order-standard_cart .cart-body form > .row > .secondary-cart-body{flex:1 1 calc(100% - 360px)!important;width:calc(100% - 360px)!important;min-width:0!important}
    #order-standard_cart .cart-body form > .row > .secondary-cart-sidebar{flex:0 0 340px!important;width:340px!important;float:none!important;position:sticky!important;top:16px!important;align-self:flex-start!important;z-index:5}
    #order-standard_cart .order-summary{position:static!important;top:auto!important}
}
@media (max-width:900px){
    #order-standard_cart .cart-body form > .row{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;align-items:stretch!important;gap:13px!important}
    #order-standard_cart .cart-body form > .row > .secondary-cart-body{order:1;width:100%!important;flex:0 0 auto!important}
    #order-standard_cart .cart-body form > .row > .secondary-cart-sidebar{order:2;width:100%!important;flex:0 0 auto!important;float:none!important;position:static!important}
    #order-standard_cart .order-summary{position:relative!important;top:auto!important}
}

/* Contrast corrections for the legacy WHMCS configure/footer surfaces. */
#order-standard_cart .product-info{background:#fff!important;color:var(--fd-cart-ink)!important}
#order-standard_cart .product-info .product-title,#order-standard_cart .product-info p,#order-standard_cart .product-info strong,#order-standard_cart .product-info span,#order-standard_cart .product-info small{color:var(--fd-cart-ink)!important}
#order-standard_cart .field-container label,#order-standard_cart .field-container legend,#order-standard_cart .product-configurable-options label,#order-standard_cart .product-configurable-options legend{color:var(--fd-cart-ink)!important}
#order-standard_cart .field-container small,#order-standard_cart .field-container .form-text,#order-standard_cart .field-container p,#order-standard_cart .product-configurable-options small,#order-standard_cart .product-configurable-options .form-text{color:#56616c!important}
#order-standard_cart .order-summary{background:#111315!important;color:#fff!important}
#order-standard_cart .order-summary h2,#order-standard_cart .order-summary .summary-container,#order-standard_cart .order-summary .product-name,#order-standard_cart .order-summary .product-group,#order-standard_cart .order-summary .cycle,#order-standard_cart .order-summary .summary-totals,#order-standard_cart .order-summary .total-due-today{color:#fff!important}
#order-standard_cart .order-summary .product-group,#order-standard_cart .order-summary .summary-container .cycle{color:#c4cbd1!important}
#order-standard_cart .order-summary .summary-totals,#order-standard_cart .order-summary .total-due-today{border-color:rgba(255,255,255,.2)!important}
#footer.footer .copyright,#footer.footer p,#footer.footer .text-muted{color:#d7dce0!important}
#footer.footer .nav-link,#footer.footer a,#footer.footer .btn{color:#e3e7ea!important}

/* Configure Product: explain the FireDroid TV app login fields and keep summary text readable. */
body#page-configureproduct #order-standard_cart .fd-login-context{margin:0 0 12px;color:#56616c!important;font-size:13px;line-height:1.55}
body#page-configureproduct #order-standard_cart .field-help-text{display:block;margin-top:6px;color:#56616c!important;font-size:12px;line-height:1.45}
body#page-configureproduct #order-standard_cart #orderSummary .summary-container{background:#fff!important;color:#26313a!important;border-radius:0 0 12px 12px}
body#page-configureproduct #order-standard_cart #orderSummary .summary-container .product-name,
body#page-configureproduct #order-standard_cart #orderSummary .summary-container .clearfix,
body#page-configureproduct #order-standard_cart #orderSummary .summary-container .pull-left,
body#page-configureproduct #order-standard_cart #orderSummary .summary-container .pull-right{color:#26313a!important}
body#page-configureproduct #order-standard_cart #orderSummary .summary-container .product-group{color:#66737e!important}
body#page-configureproduct #order-standard_cart #orderSummary .summary-container .summary-totals{border-color:#d9e0e5!important}
body#page-configureproduct #order-standard_cart #orderSummary .summary-container .total-due-today{background:#fff1e7;border:1px solid #ffd1b3;border-radius:10px;color:#93400c!important}
body#page-configureproduct #order-standard_cart #orderSummary .summary-container .total-due-today .amt{color:#93400c!important}

/* Keep all three checkout steps inside the mobile card. */
@media(max-width:700px){
    #order-standard_cart .fd-cart-steps{width:100%;gap:4px;overflow:visible}
    #order-standard_cart .fd-cart-step{flex:1 1 0;min-width:0;justify-content:center;gap:2px;padding:6px 2px;font-size:9px;letter-spacing:-.01em}
    #order-standard_cart .fd-cart-step span{min-width:0;overflow:hidden;text-overflow:ellipsis}
    #order-standard_cart .fd-cart-step b{flex:0 0 20px;width:20px;height:20px;font-size:10px}
    #order-standard_cart .fd-cart-step-arrow{flex:0 0 8px;text-align:center}
}

/* Password generator modal: use a light surface so labels and generated values remain readable. */
#modalGeneratePassword .modal-content{background:#fff!important;color:#26313a!important;border:1px solid #dfe4e9!important;border-radius:8px;overflow:hidden}
#modalGeneratePassword .modal-header{background:#f1a006!important;color:#fff!important;border-bottom:1px solid #d38a00!important}
#modalGeneratePassword .modal-title,#modalGeneratePassword .modal-header .close{color:#fff!important}
#modalGeneratePassword .modal-body{background:#fff!important;color:#26313a!important}
#modalGeneratePassword label{color:#26313a!important}
#modalGeneratePassword .form-control{background:#fff!important;color:#26313a!important;border:1px solid #cfd7de!important;border-radius:7px;box-shadow:none}
#modalGeneratePassword .form-control:focus{border-color:var(--fd-cart-orange)!important;box-shadow:0 0 0 3px rgba(255,106,0,.13)!important}
#modalGeneratePassword .modal-body .btn-default{background:#fff!important;color:#26313a!important;border:1px solid #cbd3da!important}
#modalGeneratePassword .modal-body .btn-default:hover{background:#fff6ee!important;border-color:var(--fd-cart-orange)!important;color:#93400c!important}
#modalGeneratePassword .modal-footer{background:#fff!important;color:#26313a!important;border-top:1px solid #dfe4e9!important}
#modalGeneratePassword .modal-footer .btn-default{background:#fff!important;color:#26313a!important;border:1px solid #cbd3da!important}
#modalGeneratePassword .modal-footer .btn-primary{background:var(--fd-cart-orange)!important;color:#fff!important;border-color:var(--fd-cart-orange)!important}

/* Logged-in account and credit-balance choices on Checkout. */
#order-standard_cart .account-select-container .account,
#order-standard_cart .account-select-container .account label,
#order-standard_cart .account-select-container .account .address,
#order-standard_cart .account-select-container .account strong,
#order-standard_cart .account-select-container .account .small{color:#26313a!important}
#order-standard_cart .account-select-container .account{background:#fff;border:1px solid #dfe4e9;border-radius:10px;padding:12px;margin-bottom:10px}
#order-standard_cart #applyCreditContainer{background:#f4f6f8!important;border:1px solid #dfe4e9;border-radius:10px;padding:14px;margin:12px 0 16px;color:#26313a!important}
#order-standard_cart #applyCreditContainer p,
#order-standard_cart #applyCreditContainer label,
#order-standard_cart #applyCreditContainer span{color:#26313a!important}
#order-standard_cart #applyCreditContainer p{font-size:13px;line-height:1.45;margin:0 0 10px}
#order-standard_cart #applyCreditContainer label{display:block;line-height:1.45;margin:10px 0}
#order-standard_cart #applyCreditContainer .iradio_square-blue{margin-right:7px}
#order-standard_cart #applyCreditContainer .iradio_square-blue.checked{background-color:#238acb}