/* =========================================================
   VSupport24x7 - Modern Dark Cart
   Overrides standard_cart/all.min.css
   ========================================================= */

/* ---------- Base ---------- */

#order-standard_cart,
#order-standard_cart * {
    box-sizing: border-box;
}

#order-standard_cart {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 50px !important;

    background: #0f172a !important;
    color: #e5e7eb !important;

    font-family: "Manrope", sans-serif !important;
}


/* ---------- Remove old WHMCS floating cart layout ---------- */

#order-standard_cart .cart-sidebar,
#order-standard_cart .cart-body,
#order-standard_cart .secondary-cart-body,
#order-standard_cart .secondary-cart-sidebar {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}


/* ---------- Modern wrapper ---------- */

#order-standard_cart .modern-cart-wrapper {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px 30px !important;
}


/* ---------- Main layout ---------- */

#order-standard_cart .modern-cart-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 30px !important;
    width: 100% !important;
}


/* ---------- Left side ---------- */

#order-standard_cart .cart-main-content,
#order-standard_cart .modern-left {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
}


/* ---------- Right summary ---------- */

#order-standard_cart .modern-order-summary {
    width: 100% !important;
    max-width: none !important;
    float: none !important;

    background: #111d33 !important;
    border: 1px solid #263a5a !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25) !important;
    overflow: hidden !important;
}


/* ---------- Prevent old WHMCS widths ---------- */

#order-standard_cart .view-cart-items,
#order-standard_cart .view-cart-tabs,
#order-standard_cart .view-cart-promotion-code,
#order-standard_cart .view-cart-gateway-checkout {
    width: 100% !important;
    max-width: none !important;
}


/* =========================================================
   CART HEADER
   ========================================================= */

#order-standard_cart .modern-header {
    color: #f8fafc !important;
}

#order-standard_cart .modern-header h1,
#order-standard_cart .cart-header-text h1 {
    color: #f8fafc !important;
}

#order-standard_cart .cart-header-subtitle {
    color: #8193ad !important;
}

#order-standard_cart .cart-header-icon {
    background: rgba(37, 99, 235, 0.18) !important;
    border: 1px solid rgba(96, 165, 250, 0.25) !important;
    color: #60a5fa !important;
}

#order-standard_cart .cart-header-icon i {
    color: #60a5fa !important;
}


/* =========================================================
   CART ITEMS
   ========================================================= */

#order-standard_cart .view-cart-items {
    background: #111d33 !important;
    border: 1px solid #263a5a !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .20) !important;
    overflow: hidden !important;
}

#order-standard_cart .view-cart-items .item {
    background: #111d33 !important;
    color: #dbe4f0 !important;
    border-bottom: 1px solid #263a5a !important;
}

#order-standard_cart .view-cart-items .item:last-child {
    border-bottom: 0 !important;
}

#order-standard_cart .view-cart-items .item-title,
#order-standard_cart .view-cart-items .item-title-text {
    color: #f8fafc !important;
}

#order-standard_cart .view-cart-items .item-group {
    color: #8193ad !important;
}

#order-standard_cart .view-cart-items .item-domain {
    color: #60a5fa !important;
}

#order-standard_cart .view-cart-items .item-price {
    color: #f8fafc !important;
}

#order-standard_cart .view-cart-items .item-price .cycle,
#order-standard_cart .item-price .cycle {
    color: #8193ad !important;
}

#order-standard_cart .item-price-note {
    color: #71829a !important;
}


/* =========================================================
   CART ICONS
   ========================================================= */

#order-standard_cart .item-icon {
    background: rgba(37, 99, 235, .15) !important;
    color: #60a5fa !important;
    border: 1px solid rgba(96, 165, 250, .15) !important;
}

#order-standard_cart .item-icon i {
    color: #60a5fa !important;
}

#order-standard_cart .item-icon.domain-icon {
    background: rgba(16, 185, 129, .12) !important;
    color: #34d399 !important;
}

#order-standard_cart .item-icon.domain-icon i {
    color: #34d399 !important;
}


/* =========================================================
   REMOVE BUTTON
   ========================================================= */

#order-standard_cart .btn-remove-from-cart {
    background: #17243a !important;
    border: 1px solid #2b405f !important;
    color: #8193ad !important;
}

#order-standard_cart .btn-remove-from-cart:hover {
    background: rgba(239, 68, 68, .10) !important;
    border-color: rgba(239, 68, 68, .35) !important;
    color: #f87171 !important;
}


/* =========================================================
   CONFIGURATION OPTIONS
   ========================================================= */

#order-standard_cart .config-badge {
    background: #17243a !important;
    border: 1px solid #2b405f !important;
}

#order-standard_cart .config-icon {
    background: rgba(37, 99, 235, .15) !important;
    color: #60a5fa !important;
}

#order-standard_cart .config-name {
    color: #8193ad !important;
}

#order-standard_cart .config-value {
    color: #e5e7eb !important;
}

#order-standard_cart .config-price {
    color: #60a5fa !important;
}


/* =========================================================
   EMPTY CART
   ========================================================= */

#order-standard_cart .view-cart-empty {
    background: #111d33 !important;
    color: #8193ad !important;
}


/* =========================================================
   PROMO CODE / TABS
   ========================================================= */

#order-standard_cart .view-cart-tabs {
    background: #111d33 !important;
    border: 1px solid #263a5a !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18) !important;
    overflow: hidden !important;
}

#order-standard_cart .promo-card-header {
    background: #15223a !important;
    border-bottom: 1px solid #263a5a !important;
}

#order-standard_cart .promo-tab-icon {
    background: rgba(37, 99, 235, .15) !important;
    color: #60a5fa !important;
}

#order-standard_cart .promo-header-title {
    color: #f8fafc !important;
}

#order-standard_cart .promo-header-subtitle {
    color: #8193ad !important;
}

#order-standard_cart .view-cart-tabs .tab-content {
    background: #111d33 !important;
}

#order-standard_cart .view-cart-promotion-code {
    background: #17243a !important;
    border-color: #2b405f !important;
    color: #dbe4f0 !important;
}


/* =========================================================
   INPUTS
   ========================================================= */

#order-standard_cart input:not([type="checkbox"]):not([type="radio"]),
#order-standard_cart select,
#order-standard_cart textarea,
#order-standard_cart .form-control,
#order-standard_cart .view-cart-tabs .field {
    background: #0f172a !important;
    border: 1px solid #2b405f !important;
    color: #f8fafc !important;
    box-shadow: none !important;
}

#order-standard_cart input::placeholder,
#order-standard_cart textarea::placeholder {
    color: #667892 !important;
}

#order-standard_cart input:focus,
#order-standard_cart select:focus,
#order-standard_cart textarea:focus,
#order-standard_cart .form-control:focus {
    background: #111d33 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .14) !important;
}


/* =========================================================
   DEFAULT BUTTONS
   ========================================================= */

#order-standard_cart .btn-default {
    background: #17243a !important;
    border: 1px solid #2b405f !important;
    color: #dbe4f0 !important;
}

#order-standard_cart .btn-default:hover {
    background: #1d2d47 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}


/* =========================================================
   TRUST BAR
   ========================================================= */

#order-standard_cart .viewcart-trust-item {
    background: #111d33 !important;
    border: 1px solid #263a5a !important;
}

#order-standard_cart .viewcart-trust-item > i {
    color: #60a5fa !important;
}

#order-standard_cart .viewcart-trust-title {
    color: #dbe4f0 !important;
}

#order-standard_cart .viewcart-trust-subtitle {
    color: #71829a !important;
}


/* =========================================================
   ORDER SUMMARY
   ========================================================= */

#order-standard_cart .summary-header {
    background: linear-gradient(
        180deg,
        #15233b 0%,
        #111d33 100%
    ) !important;
    border-bottom: 1px solid #263a5a !important;
}

#order-standard_cart .selected-label {
    color: #60a5fa !important;
}

#order-standard_cart .btn-change-plan {
    color: #60a5fa !important;
}

#order-standard_cart .btn-change-plan:hover {
    color: #93c5fd !important;
}

#order-standard_cart .plan-title {
    color: #f8fafc !important;
}

#order-standard_cart .plan-subtitle {
    color: #8193ad !important;
}

#order-standard_cart .summary-body {
    background: #111d33 !important;
}


/* =========================================================
   SUMMARY PRODUCT
   ========================================================= */

#order-standard_cart .product-title-row {
    border-bottom: 1px solid #263a5a !important;
}

#order-standard_cart .product-icon {
    background: rgba(37, 99, 235, .15) !important;
    color: #60a5fa !important;
}

#order-standard_cart .product-icon i {
    color: #60a5fa !important;
}

#order-standard_cart .product-name {
    color: #e5e7eb !important;
}

#order-standard_cart .product-price {
    color: #f8fafc !important;
}

#order-standard_cart .breakdown-label {
    color: #71829a !important;
}

#order-standard_cart .row-item {
    color: #8193ad !important;
}

#order-standard_cart .row-item i {
    color: #60a5fa !important;
}

#order-standard_cart .row-value,
#order-standard_cart .row-value-wrap {
    color: #dbe4f0 !important;
}


/* =========================================================
   SUMMARY TOTAL
   ========================================================= */

#order-standard_cart .summary-total {
    border-top: 1px solid #263a5a !important;
}

#order-standard_cart .summary-row {
    color: #8193ad !important;
}

#order-standard_cart .tds-row {
    color: #f87171 !important;
}

#order-standard_cart .promo-row {
    background: rgba(16, 185, 129, .10) !important;
}

#order-standard_cart .promo-badge,
#order-standard_cart .promo-discount {
    color: #34d399 !important;
}

#order-standard_cart .total-row {
    border-top: 1px solid #2b405f !important;
}

#order-standard_cart .total-label {
    color: #f8fafc !important;
}

#order-standard_cart .total-price {
    color: #60a5fa !important;
}


/* =========================================================
   CHECKOUT BUTTON
   ========================================================= */

#order-standard_cart .btn-checkout {
    background: linear-gradient(
        135deg,
        #2563eb 0%,
        #367af3 100%
    ) !important;

    color: #ffffff !important;
    border: 0 !important;

    box-shadow:
        0 8px 22px rgba(37, 99, 235, .25) !important;
}

#order-standard_cart .btn-checkout:hover {
    background: linear-gradient(
        135deg,
        #1d4ed8 0%,
        #2563eb 100%
    ) !important;

    color: #ffffff !important;

    box-shadow:
        0 12px 28px rgba(37, 99, 235, .35) !important;
}

#order-standard_cart .btn-checkout-arrow {
    background: rgba(255,255,255,.14) !important;
}

#order-standard_cart .continue-shopping {
    color: #8193ad !important;
}

#order-standard_cart .continue-shopping:hover {
    color: #60a5fa !important;
}


/* =========================================================
   REWARD POINTS
   ========================================================= */

#order-standard_cart .reward-points-card,
#order-standard_cart .need-help-card {
    background: #111d33 !important;
    border: 1px solid #263a5a !important;
    box-shadow: 0 8px 25px rgba(0,0,0,.18) !important;
}

#order-standard_cart .reward-points-header > i,
#order-standard_cart .need-help-header > i {
    background: rgba(37,99,235,.15) !important;
    color: #60a5fa !important;
}

#order-standard_cart .reward-points-header span,
#order-standard_cart .need-help-title {
    color: #f8fafc !important;
}

#order-standard_cart .need-help-subtitle {
    color: #8193ad !important;
}

#order-standard_cart .reward-stat {
    background: #17243a !important;
    border-color: #2b405f !important;
}

#order-standard_cart .reward-stat-label {
    color: #71829a !important;
}

#order-standard_cart .reward-stat-value {
    color: #e5e7eb !important;
}

#order-standard_cart .reward-points-hint {
    color: #71829a !important;
}


/* =========================================================
   SUPPORT BUTTONS
   ========================================================= */

#order-standard_cart .btn-contact-support {
    background: #2563eb !important;
    color: #ffffff !important;
    border: 1px solid #2563eb !important;
}

#order-standard_cart .btn-contact-support:hover,
#order-standard_cart .btn-contact-support:focus,
#order-standard_cart .btn-contact-support:active {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    border-color: #1d4ed8 !important;
    box-shadow: 0 6px 18px rgba(37,99,235,.30) !important;
}

#order-standard_cart .btn-live-chat {
    background: #17243a !important;
    border: 1px solid #2b405f !important;
    color: #dbe4f0 !important;
}

#order-standard_cart .btn-live-chat:hover {
    background: #1d2d47 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}


/* =========================================================
   GATEWAY
   ========================================================= */

#order-standard_cart .view-cart-gateway-checkout {
    background: #111d33 !important;
    border: 1px solid #263a5a !important;
    color: #dbe4f0 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199px) {

    #order-standard_cart .modern-cart-wrapper {
        max-width: 100% !important;
    }

    #order-standard_cart .modern-cart-layout {
        grid-template-columns: minmax(0, 1fr) 330px !important;
        gap: 20px !important;
    }
}


@media (max-width: 991px) {

    #order-standard_cart .modern-cart-layout {
        grid-template-columns: 1fr !important;
    }

    #order-standard_cart .modern-order-summary {
        order: -1 !important;
    }

    #order-standard_cart .modern-cart-wrapper {
        padding: 25px 15px !important;
    }
}


@media (max-width: 767px) {

    #order-standard_cart {
        padding-bottom: 35px !important;
    }

    #order-standard_cart .modern-cart-wrapper {
        padding: 20px 12px !important;
    }

    #order-standard_cart .modern-cart-layout {
        gap: 18px !important;
    }
}


@media (max-width: 575px) {

    #order-standard_cart .modern-cart-wrapper {
        padding: 20px 10px !important;
    }

    #order-standard_cart .modern-cart-layout {
        grid-template-columns: 1fr !important;
    }

    #order-standard_cart .viewcart-trust-bar {
        grid-template-columns: 1fr !important;
    }
}