/* Generated by .local-preview/build_whmcs_chrome.py from orderforms/vdsnet/configureproduct.tpl — edit that file. */
/* =========================================================
   vds.net — Configure Product
   Keeps WHMCS/SolusVM native fields intact and only replaces
   the visual layer of Operating System + Location.
   ========================================================= */
#order-standard_cart {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #111;
}

#order-standard_cart .cart-sidebar {
    display: none !important;
}

#order-standard_cart .cart-body {
    width: 100% !important;
    max-width: none !important;
}

#order-standard_cart .header-lined h1,
#order-standard_cart h1,
#order-standard_cart h2,
#order-standard_cart h3 {
    color: #111;
    letter-spacing: -0.025em;
}

#order-standard_cart .sub-heading {
    margin-top: 30px;
    margin-bottom: 18px;
    border: 0 !important;
    text-align: left;
}

#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span {
    padding: 0 !important;
    background: transparent !important;
    color: #111 !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

#order-standard_cart .form-control,
#order-standard_cart input[type="text"],
#order-standard_cart input[type="password"],
#order-standard_cart input[type="email"],
#order-standard_cart select {
    min-height: 48px;
    border: 1px solid #e4e4e7 !important;
    border-radius: 11px !important;
    background: #fafafa !important;
    color: #111 !important;
    box-shadow: none !important;
}

#order-standard_cart .form-control:focus,
#order-standard_cart input:focus,
#order-standard_cart select:focus {
    border-color: #111 !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,.06) !important;
}

#order-standard_cart label {
    color: #27272a;
    font-size: 14px;
    font-weight: 600;
}

#order-standard_cart .panel,
#order-standard_cart .product-info,
#order-standard_cart #orderSummary,
#order-standard_cart .order-summary {
    border-color: #e4e4e7 !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}

#order-standard_cart #orderSummary {
    overflow: hidden;
}

#order-standard_cart .btn-primary,
#order-standard_cart .btn-success,
#order-standard_cart .btn-checkout,
#order-standard_cart button[type="submit"] {
    border-color: #111 !important;
    border-radius: 9px !important;
    background: #111 !important;
    color: #fff !important;
    box-shadow: none !important;
    font-weight: 650;
}

#order-standard_cart .btn-primary:hover,
#order-standard_cart .btn-success:hover,
#order-standard_cart .btn-checkout:hover,
#order-standard_cart button[type="submit"]:hover {
    border-color: #000 !important;
    background: #000 !important;
}

/* Custom option cards */
.vds-config-native {
    position: absolute !important;
    left: -99999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.vds-config-card-field {
    position: relative;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
    clear: both !important;
    grid-column: 1 / -1 !important;
    margin-bottom: 22px !important;
}

#order-standard_cart #productConfigurableOptions > .row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
}

#order-standard_cart #productConfigurableOptions .vds-config-card-field > .form-group,
#order-standard_cart #productConfigurableOptions .vds-config-card-field.form-group {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
}

.vds-config-card-field > label {
    display: block;
    margin: 0 0 10px !important;
}

.vds-choice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    gap: 12px;
    width: 100% !important;
    max-width: none !important;
}

.vds-os-grid {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
}

.vds-location-grid {
    grid-template-columns: repeat(3, minmax(210px, 1fr));
    margin-bottom: 8px;
}

.vds-choice-wrap {
    position: relative;
    min-width: 0;
}

.vds-choice-card {
    position: relative;
    width: 100%;
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    background: #fafafa;
    color: #111;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.vds-choice-card:hover {
    border-color: #cfcfd4;
    background: #f5f5f5;
}

.vds-choice-card.is-selected {
    border-color: #111;
    background: #fff;
    box-shadow: inset 0 0 0 1px #111;
}

.vds-choice-icon {
    --vds-icon-color: #111;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    color: var(--vds-icon-color);
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
}

.vds-location-card .vds-choice-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 34px;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e4e4e7;
    border-radius: 7px;
    background: #fff;
}

.vds-location-card .vds-choice-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vds-choice-copy {
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
    overflow: visible !important;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
}

.vds-choice-title {
    color: #111;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 650;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
}

.vds-choice-subtitle {
    color: #71717a;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 450;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    max-width: none !important;
}

.vds-choice-check {
    position: absolute;
    top: 9px;
    right: 9px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    opacity: 0;
    transform: scale(.85);
    transition: opacity .14s ease, transform .14s ease;
}

.vds-choice-card.is-selected .vds-choice-check {
    opacity: 1;
    transform: scale(1);
}

.vds-option-menu {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    padding: 6px;
    border: 1px solid #e4e4e7;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
}

.vds-option-menu.is-open {
    display: block;
}

.vds-option-item {
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #27272a;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.vds-option-item:hover,
.vds-option-item.is-selected {
    background: #f4f4f5;
}

.vds-option-item.is-selected {
    color: #000;
    font-weight: 650;
}



/* Billing cycle + IPv4 cards */
.vds-billing-card-field,
.vds-ip-card-field {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    float: none !important;
    clear: both !important;
    margin-bottom: 26px !important;
}

.vds-billing-card-field label,
.vds-ip-card-field label {
    display: block;
    margin: 0 0 12px !important;
    color: #111 !important;
    font-size: 18px !important;
    line-height: 1.25;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}

.vds-billing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.vds-billing-card {
    position: relative;
    min-width: 0;
    min-height: 118px;
    padding: 18px 18px 16px;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    background: #fafafa;
    color: #111;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.vds-billing-card:hover {
    border-color: #c8c8ce;
    background: #f7f7f8;
}

.vds-billing-card.is-selected {
    border-color: #111;
    background: #fff;
    box-shadow: inset 0 0 0 1px #111;
}

.vds-billing-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 0;
}

.vds-billing-radio {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #c9cbd1;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s ease, background-color .15s ease;
}

.vds-billing-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #111;
    transform: translate(-50%, -50%) scale(0);
    transition: transform .14s ease;
}

.vds-billing-card.is-selected .vds-billing-radio {
    border-color: #111;
}

.vds-billing-card.is-selected .vds-billing-radio::after {
    transform: translate(-50%, -50%) scale(1);
}

.vds-billing-title {
    font-size: 15px;
    line-height: 1.2;
    font-weight: 650;
}

.vds-billing-price {
    display: block;
    margin-top: 20px;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: -0.035em;
}

.vds-billing-period {
    display: block;
    margin-top: 5px;
    color: #71717a;
    font-size: 12px;
    line-height: 1.25;
}


.vds-ip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(210px, 1fr));
    gap: 12px;
    width: 100%;
    max-width: 620px;
}

.vds-ip-card {
    min-height: 76px;
}

.vds-ip-card .vds-choice-icon {
    font-size: 15px;
    font-weight: 750;
}

.vds-ip-card .vds-choice-title {
    font-size: 15px;
}

@media (max-width: 991px) {
    .vds-billing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vds-choice-grid,
    .vds-os-grid,
    .vds-location-grid {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
    }
}

@media (max-width: 600px) {
    .vds-billing-grid,
    .vds-ip-grid {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .vds-choice-grid,
    .vds-os-grid,
    .vds-location-grid {
        grid-template-columns: 1fr;
    }
}
