/* TNI order flow: presentation around the original WHMCS forms and calculations. */
html.tni-order-page #order-standard_cart.tni-order-flow>.row{display:flex;flex-direction:column}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar{display:block;width:100%;padding:0 15px;margin:0 0 24px}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-body{width:100%;float:none}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar .card{border:0;background:transparent;box-shadow:none;margin:0!important}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar .card-header{display:none}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar .list-group{display:flex!important;flex-direction:row;flex-wrap:wrap;gap:8px}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar .list-group-item{flex:0 1 auto;width:auto;border:1px solid var(--tni-line);border-radius:6px!important;background:var(--tni-card);color:var(--tni-muted);padding:10px 15px;font-size:12px;line-height:1.5}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar .list-group-item:is(.active,:hover){border-color:var(--tni-accent);background:var(--tni-soft);color:var(--tni-accent)}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar [menuItemName=Actions]{margin-top:10px!important}
html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar [menuItemName=Actions] .list-group-item{padding:5px 10px;border-color:transparent;background:transparent;font-size:11px}
html.tni-order-page #order-standard_cart.tni-order-flow .header-lined{margin:28px 0;text-align:left}
html.tni-order-page #order-standard_cart.tni-order-flow .header-lined h1::before{content:'TNI SYSTEMS';display:block;color:var(--tni-accent);font:700 10px/1.5 ui-monospace,Consolas,monospace;letter-spacing:1.7px;margin-bottom:10px}
.tni-order-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;list-style:none;margin:4px 0 28px;padding:0}
.tni-order-steps li{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:2px solid var(--tni-line);font-size:13px;font-weight:600;color:var(--tni-muted)}
.tni-step-number{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:50%;background:var(--tni-surface);border:1px solid var(--tni-line);font-size:12px}
.tni-order-steps [aria-current=step]{color:var(--tni-accent);border-color:var(--tni-accent)}
.tni-order-steps [aria-current=step] .tni-step-number{background:var(--tni-accent);border-color:var(--tni-accent);color:var(--tni-button-text)}
.tni-order-steps .tni-step-complete .tni-step-number{color:var(--tni-accent);background:var(--tni-soft)}
html.tni-order-page #order-standard_cart.tni-order-flow #frmConfigureProduct>.row,
html.tni-order-page #order-standard_cart.tni-flow-review .cart-body>.row{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;margin:0;align-items:start}
html.tni-order-page #order-standard_cart.tni-order-flow .secondary-cart-body,
html.tni-order-page #order-standard_cart.tni-order-flow .secondary-cart-sidebar{width:100%;max-width:100%;float:none;padding:0;min-width:0}
html.tni-order-page #order-standard_cart.tni-order-flow .secondary-cart-sidebar{position:sticky;top:24px}
html.tni-order-page #order-standard_cart.tni-order-flow #orderSummary{margin-top:0!important}
html.tni-order-page #order-standard_cart.tni-order-flow .secondary-cart-body>p{font-size:15px;line-height:1.6;color:var(--tni-muted);margin:0 0 20px}
html.tni-order-page #order-standard_cart.tni-order-flow .product-info{padding:26px;margin:0 0 24px;border-radius:12px;border-top:3px solid var(--tni-accent);font-size:14px;line-height:1.6}
html.tni-order-page #order-standard_cart.tni-order-flow .product-info .product-title{font-size:23px;font-weight:700;color:var(--tni-ink);margin:0 0 18px}
.tni-config-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 24px;margin:0;padding:0;list-style:none;color:var(--tni-muted)}
.tni-config-features li{padding-left:20px;position:relative;overflow-wrap:anywhere}
.tni-config-features li::before{content:'✓';position:absolute;left:0;color:var(--tni-accent);font-weight:700}
.tni-config-features strong{color:var(--tni-ink)}
html.tni-order-page #order-standard_cart.tni-flow-configure .field-container,
html.tni-order-page #order-standard_cart.tni-flow-configure .product-configurable-options{padding:24px;margin:0 0 24px;background:var(--tni-card);border:1px solid var(--tni-line);border-radius:12px}
html.tni-order-page #order-standard_cart.tni-flow-configure .sub-heading{margin:24px 0 0;padding:22px 24px 10px;text-align:left;border:1px solid var(--tni-line);border-bottom:0;border-radius:12px 12px 0 0;background:var(--tni-card);line-height:1.5}
html.tni-order-page #order-standard_cart.tni-flow-configure .sub-heading span{padding:0;background:transparent!important;font-size:18px;font-weight:700}
html.tni-order-page #order-standard_cart.tni-flow-configure .sub-heading+ :is(.field-container,.product-configurable-options){padding-top:12px;border-top:0;border-radius:0 0 12px 12px}
html.tni-order-page #order-standard_cart.tni-order-flow .form-group>label{font-size:13px;font-weight:600;margin-bottom:9px;line-height:1.5}
html.tni-order-page #order-standard_cart.tni-order-flow .form-control{min-height:44px;font-size:14px;border-radius:7px}
html.tni-order-page #order-standard_cart.tni-order-flow select.form-control{max-width:100%;text-overflow:ellipsis}
html.tni-order-page #order-standard_cart.tni-flow-configure #inputBillingcycle{width:100%}
html.tni-order-page #order-standard_cart.tni-flow-configure .form-group{margin-bottom:20px}
html.tni-order-page #order-standard_cart.tni-flow-configure .field-container>.form-group:last-child{margin-bottom:0}
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions .form-group>br{display:none}
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions label:has(input[type=radio]),
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;border:1px solid var(--tni-line);background:var(--tni-card);border-radius:7px;padding:12px;font-size:13px;font-weight:400;cursor:pointer;overflow-wrap:anywhere}
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions label:has(input:checked){border-color:var(--tni-accent);background:var(--tni-soft);color:var(--tni-ink)}
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions label:focus-within{outline:2px solid var(--tni-accent);outline-offset:2px}
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions label>div[class*=radio],
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions label>div[class*=checkbox]{flex-shrink:0}
/* Small local OS logos; the native radio remains the only interactive control. */
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions label.tni-os-option{align-items:center;min-height:56px;padding:9px 12px;line-height:1.5}
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions .tni-os-logo{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #dce4ee;border-radius:8px;background:#f5f7fa;pointer-events:none}
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions .tni-os-logo img{display:block;width:24px;height:24px;max-width:none;object-fit:contain}
html.tni-order-page[data-theme=dark] #order-standard_cart.tni-flow-configure #productConfigurableOptions .tni-os-logo{background:#eaf0f7;border-color:#ced9e7}
html.tni-order-page #order-standard_cart.tni-flow-configure #productConfigurableOptions label.tni-os-option:has(input:disabled){opacity:.6;cursor:not-allowed}
html.tni-order-page #order-standard_cart.tni-order-flow .order-summary{border-radius:12px;box-shadow:var(--tni-shadow)}
html.tni-order-page #order-standard_cart.tni-order-flow .order-summary h2{text-align:left;padding:22px 24px;font-size:20px}
html.tni-order-page #order-standard_cart.tni-order-flow .summary-container{padding:24px;font-size:13px;line-height:1.6}
html.tni-order-page #order-standard_cart.tni-order-flow .summary-container .product-group{font-style:normal;font-size:12px;margin:6px 0 18px}
html.tni-order-page #order-standard_cart.tni-order-flow .summary-container .clearfix{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin-bottom:9px}
html.tni-order-page #order-standard_cart.tni-order-flow .summary-container .clearfix::after{display:none}
html.tni-order-page #order-standard_cart.tni-order-flow .summary-container .clearfix>.float-left{float:none!important;overflow-wrap:anywhere}
html.tni-order-page #order-standard_cart.tni-order-flow .summary-container .clearfix>.float-right{float:none!important;text-align:right}
html.tni-order-page #order-standard_cart.tni-order-flow .summary-totals{border-color:var(--tni-line);margin-top:20px;padding-top:18px}
html.tni-order-page #order-standard_cart.tni-order-flow .total-due-today{border-top:1px solid var(--tni-line);margin-top:18px;padding-top:20px;text-align:left}
html.tni-order-page #order-standard_cart.tni-order-flow .total-due-today .amt{font-size:32px;line-height:1.25;overflow-wrap:anywhere}
html.tni-order-page #order-standard_cart.tni-order-flow #btnCompleteProductConfig,
html.tni-order-page #order-standard_cart.tni-order-flow #checkout{width:100%;min-height:48px;font-size:15px;padding:13px 20px;margin-top:18px}
html.tni-order-page #order-standard_cart.tni-order-flow #continueShopping{display:block;padding:14px 0 0;font-size:13px}
html.tni-order-page #order-standard_cart.tni-flow-review .view-cart-items-header{border-radius:12px 12px 0 0;padding:17px 24px;font-size:13px;font-weight:600}
html.tni-order-page #order-standard_cart.tni-flow-review .view-cart-items{border-radius:0 0 12px 12px;overflow:hidden}
html.tni-order-page #order-standard_cart.tni-flow-review .view-cart-items .item{padding:24px}
html.tni-order-page #order-standard_cart.tni-flow-review .item-title{font-size:18px;font-weight:700;line-height:1.4}
html.tni-order-page #order-standard_cart.tni-flow-review .item-price span{font-size:21px;font-weight:700}
html.tni-order-page #order-standard_cart.tni-flow-review .item-price .cycle{font-size:13px;font-weight:400;color:var(--tni-muted)}
html.tni-order-page #order-standard_cart.tni-flow-review .item-configoptions{line-height:1.75;font-size:13px;margin-top:12px;overflow-wrap:anywhere}
html.tni-order-page #order-standard_cart.tni-flow-review .view-cart-items .item small{font-size:13px;line-height:1.65;color:var(--tni-muted)}
html.tni-order-page #order-standard_cart.tni-flow-review .view-cart-empty{padding:48px 20px;text-align:center;font-size:16px;color:var(--tni-muted)}
html.tni-order-page #order-standard_cart.tni-flow-review .tab-content{border:1px solid var(--tni-line);border-top:0;border-radius:0 0 12px 12px;padding:24px}
html.tni-order-page #order-standard_cart.tni-flow-checkout .already-registered{padding:22px 26px;border:1px solid var(--tni-line);border-radius:12px;background:var(--tni-soft);margin-bottom:24px}
html.tni-order-page #order-standard_cart.tni-flow-checkout #frmCheckout{padding:28px 32px;background:var(--tni-card);border:1px solid var(--tni-line);border-radius:12px;max-width:960px;margin:0 auto}
html.tni-order-page #order-standard_cart.tni-flow-checkout .sub-heading{text-align:left;border:0;border-bottom:1px solid var(--tni-line);padding:0 0 12px;margin:28px 0 22px}
html.tni-order-page #order-standard_cart.tni-flow-checkout .sub-heading span{background:transparent!important;padding:0;font-size:19px;font-weight:700}
html.tni-order-page #order-standard_cart.tni-flow-checkout .sub-heading::before,
html.tni-order-page #order-standard_cart.tni-flow-checkout .sub-heading::after{display:none}
html.tni-order-page #order-standard_cart.tni-flow-checkout #totalDueToday{padding:24px;background:var(--tni-soft);border:1px solid var(--tni-line);color:var(--tni-ink);border-radius:10px;font-size:17px}
html.tni-order-page #order-standard_cart.tni-flow-checkout #totalCartPrice{font-size:24px}
html.tni-order-page #order-standard_cart.tni-flow-checkout #btnCompleteOrder{min-width:260px;min-height:50px;font-size:16px;margin-top:16px}
html.tni-order-page #order-standard_cart.tni-flow-domain .domain-selection-options{max-width:900px;margin:0 auto}
html.tni-order-page #order-standard_cart.tni-flow-domain .domain-selection-options .option{padding:22px 26px;border-radius:12px;margin-bottom:14px;font-size:15px}
html.tni-order-page #order-standard_cart.tni-order-flow .sub-heading{height:auto}
html.tni-order-page #order-standard_cart.tni-order-flow .sub-heading span{position:static;top:auto;line-height:1.4}
html.tni-order-page #order-standard_cart.tni-order-flow .form-group>.field-icon{height:44px;line-height:44px;margin:0;font-size:14px;font-weight:400;color:var(--tni-muted)}
html.tni-order-page #order-standard_cart.tni-flow-checkout .already-registered{display:flex;align-items:center;gap:20px}
html.tni-order-page #order-standard_cart.tni-flow-checkout .already-registered>div{float:none!important;order:1;flex-shrink:0}
html.tni-order-page #order-standard_cart.tni-flow-checkout .already-registered>p{flex:1;margin:0;font-size:14px;line-height:1.6}
@media(max-width:600px){html.tni-order-page #order-standard_cart.tni-flow-checkout .already-registered{flex-direction:column;align-items:stretch}html.tni-order-page #order-standard_cart.tni-flow-checkout .already-registered .btn{width:100%}}
@media(min-width:768px){html.tni-order-page #order-standard_cart.tni-order-flow .sidebar-collapsed{display:none!important}}
@media(max-width:1000px){html.tni-order-page #order-standard_cart.tni-order-flow #frmConfigureProduct>.row,html.tni-order-page #order-standard_cart.tni-flow-review .cart-body>.row{grid-template-columns:minmax(0,1fr) 310px;gap:20px}.tni-config-features{grid-template-columns:1fr}}
@media(max-width:850px){html.tni-order-page #order-standard_cart.tni-order-flow #frmConfigureProduct>.row,html.tni-order-page #order-standard_cart.tni-flow-review .cart-body>.row{grid-template-columns:minmax(0,1fr)}html.tni-order-page #order-standard_cart.tni-order-flow .secondary-cart-sidebar{position:static}}
@media(max-width:767px){html.tni-order-page #order-standard_cart.tni-order-flow .cart-sidebar{display:none}html.tni-order-page #order-standard_cart.tni-order-flow .sidebar-collapsed{margin-bottom:24px}.tni-order-steps{gap:8px}.tni-order-steps li{flex-direction:column;gap:7px;font-size:11px;padding:10px 0;text-align:center}.tni-step-number{flex-basis:26px;width:26px;height:26px}html.tni-order-page #order-standard_cart.tni-order-flow .header-lined{margin:22px 0}html.tni-order-page #order-standard_cart.tni-flow-checkout #frmCheckout{padding:20px}html.tni-order-page #order-standard_cart.tni-flow-checkout .already-registered{padding:20px}}
@media(max-width:600px){html.tni-order-page #order-standard_cart.tni-order-flow .product-info,html.tni-order-page #order-standard_cart.tni-flow-configure .field-container,html.tni-order-page #order-standard_cart.tni-flow-configure .product-configurable-options{padding:20px}html.tni-order-page #order-standard_cart.tni-flow-configure .sub-heading{padding:20px 20px 10px}html.tni-order-page #order-standard_cart.tni-flow-configure .sub-heading+ :is(.field-container,.product-configurable-options){padding-top:12px}html.tni-order-page #order-standard_cart.tni-flow-review .view-cart-items .item,html.tni-order-page #order-standard_cart.tni-flow-review .tab-content{padding:20px}html.tni-order-page #order-standard_cart.tni-flow-checkout #btnCompleteOrder{min-width:0;width:100%}html.tni-order-page #order-standard_cart.tni-flow-domain .domain-selection-options .option{padding:20px}}
/* Empty-cart panel inherits a white background from standard_cart. */
html.tni-order-page[data-theme=dark] #order-standard_cart .view-cart-empty{background:var(--shell-card)!important;color:var(--shell-muted);border-color:var(--shell-line)}
html.tni-order-page[data-theme=dark] #order-standard_cart #frmCheckout .account{background:var(--shell-surface)!important;color:var(--shell-ink)!important;border-color:var(--shell-line)!important}
html.tni-order-page[data-theme=dark] #order-standard_cart #frmCheckout .account.active{background:var(--shell-soft)!important;box-shadow:inset 3px 0 var(--shell-accent)}
html.tni-order-page[data-theme=dark] #order-standard_cart .btn-remove-from-cart{color:var(--shell-muted)!important}
html.tni-order-page[data-theme=dark] #order-standard_cart .btn-remove-from-cart:hover{color:#ffabb7!important}
html.tni-order-page[data-theme=dark] #order-standard_cart .alert-warning{background:#332714;color:#ffe1a3;border-color:#6f5226}
html.tni-order-page[data-theme=dark] #order-standard_cart .alert-warning a{color:#ffe1a3;text-decoration:underline}
/* Quantity sliders retain the WHMCS component and pricing callbacks. */
html.tni-order-page #order-standard_cart .tni-quantity-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:4px 0 8px}
html.tni-order-page #order-standard_cart .tni-quantity-help{color:var(--tni-muted);font-size:13px;line-height:1.6}
html.tni-order-page #order-standard_cart .tni-quantity-controls{display:flex;flex-shrink:0;align-items:center;padding:4px;gap:4px;border:1px solid var(--tni-line);border-radius:10px;background:var(--tni-surface)}
html.tni-order-page #order-standard_cart .tni-quantity-controls button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:7px;background:var(--tni-soft);color:var(--tni-accent);font-size:22px;font-weight:600;line-height:1;cursor:pointer}
html.tni-order-page #order-standard_cart .tni-quantity-controls button:disabled{opacity:.4;cursor:default}
html.tni-order-page #order-standard_cart .tni-quantity-controls input{width:78px;height:40px;min-height:40px;padding:4px;border:0;border-radius:5px;background:transparent;color:var(--tni-ink);text-align:center;font-size:22px;font-weight:700;appearance:textfield}
html.tni-order-page #order-standard_cart .tni-quantity-controls input::-webkit-inner-spin-button,
html.tni-order-page #order-standard_cart .tni-quantity-controls input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html.tni-order-page #order-standard_cart .tni-quantity-controls :is(button,input):focus-visible{outline:2px solid var(--tni-accent);outline-offset:2px}
html.tni-order-page #order-standard_cart .tni-quantity>.irs{height:52px}
html.tni-order-page #order-standard_cart .tni-quantity .irs-line{height:8px;top:22px;border-radius:8px;background:var(--tni-line)}
html.tni-order-page #order-standard_cart .tni-quantity :is(.irs-line-left,.irs-line-mid,.irs-line-right){background:none}
html.tni-order-page #order-standard_cart .tni-quantity :is(.irs-bar,.irs-bar-edge){top:22px;height:8px;border-radius:8px;background:var(--tni-accent)}
html.tni-order-page #order-standard_cart .tni-quantity .irs-slider{top:13px;width:26px;height:26px;border:5px solid var(--tni-card);border-radius:50%;background:var(--tni-accent);box-shadow:0 0 0 2px var(--tni-accent),0 2px 6px #00152d26;cursor:ew-resize}
html.tni-order-page #order-standard_cart .tni-quantity :is(.irs-grid,.irs-min,.irs-max,.irs-single){display:none}
html.tni-order-page #order-standard_cart .tni-quantity-limits{display:flex;justify-content:space-between;gap:16px;color:var(--tni-muted);font-size:12px;line-height:1.5}
@media(max-width:600px){html.tni-order-page #order-standard_cart .tni-quantity-toolbar{align-items:flex-start;flex-direction:column;gap:10px}html.tni-order-page #order-standard_cart .tni-quantity-controls{align-self:flex-end}html.tni-order-page #order-standard_cart .tni-quantity-controls button{width:44px;height:44px}}
