/* Residential rotating configurator only. Settings, pricing and checkout retain their own handlers. */
.proxy-builder--refreshed {
    --residential-red: #ff0732;
    --residential-line: #30353e;
    --residential-muted: #a8afbd;
    container: residential-builder / inline-size;
    min-width: 0;
    color: #f6f7fa;
}
.proxy-builder--refreshed .proxy-builder__header { align-items: center; margin-bottom: 24px; gap: 20px; }
.proxy-builder--refreshed .proxy-builder__header .page-eyebrow { display: none; }
.proxy-builder--refreshed .proxy-builder__header h1 { margin: 0; font-size: 34px; line-height: 1.2; letter-spacing: -.8px; font-weight: 750; }
.proxy-builder--refreshed .proxy-builder__header p { margin-top: 8px; color: var(--residential-muted); font-size: 15px; line-height: 1.5; }
.proxy-builder--refreshed .proxy-status { flex: none; min-height: 38px; padding: 10px 13px; border: 1px solid #235438; border-radius: 10px; background: #10291c66; color: #65e6aa; font-size: 12px; font-weight: 650; }
.proxy-builder--refreshed .proxy-status>span { width: 9px; height: 9px; background: #39d485; box-shadow: 0 0 0 4px #39d48520; }
.proxy-builder--refreshed .proxy-builder__grid { grid-template-columns: minmax(0, 1.9fr) minmax(340px, 1fr); align-items: stretch; gap: 18px; }
.proxy-builder--refreshed .proxy-config,
.proxy-builder--refreshed .proxy-summary { box-sizing: border-box; min-width: 0; height: auto; padding: 22px; border: 1px solid var(--residential-line); border-radius: 14px; background: linear-gradient(135deg, #16191d44, #10121433), #0e1012; box-shadow: 0 10px 30px #0000000f; }
.proxy-builder--refreshed .proxy-summary { position: static; display: flex; flex-direction: column; overflow: visible; }
.proxy-builder--refreshed .proxy-panel-heading { display: flex; align-items: center; gap: 13px; margin: 0 0 22px; padding: 0; border: 0; }
.proxy-builder--refreshed .proxy-config__heading { color: #f8f8fa; font-size: 22px; line-height: 1.3; letter-spacing: -.4px; font-weight: 700; }
.proxy-builder--refreshed .proxy-panel-heading>svg { flex: none; width: 27px; height: 27px; color: var(--residential-red); stroke-width: 1.8; }
.proxy-builder--refreshed .proxy-panel-heading h2 { margin: 0; color: #f8f8fa; font-size: 22px; line-height: 1.3; letter-spacing: -.4px; font-weight: 700; }
.proxy-builder--refreshed .proxy-panel-heading .page-eyebrow { display: none; }
.proxy-builder--refreshed .proxy-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.proxy-builder--refreshed .proxy-option { min-height: 0; padding: 0; gap: 17px; border-bottom: 0; }
.proxy-builder--refreshed .proxy-location { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; padding: 12px; border: 1px solid #252a32; border-radius: 11px; background: #11141855; }
.proxy-builder--refreshed .proxy-location__field { flex: 1; min-width: 0; }
.proxy-builder--refreshed .proxy-location__field label { display: block; margin: 0 0 7px; color: #f0f1f5; font-size: 13px; font-weight: 600; }
.proxy-builder--refreshed .proxy-option__icon { flex: 0 0 42px; width: 42px; height: 46px; border-radius: 10px; background: #ff073215; color: var(--residential-red); }
.proxy-builder--refreshed .proxy-option__icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.proxy-builder--refreshed .proxy-select { width: 100%; min-width: 0; max-width: 100%; height: 42px; padding: 0 11px; border: 1px solid #39414d; border-radius: 8px; background: #090c0f; color: #f4f5f7; font: 600 14px Arial, sans-serif; color-scheme: dark; }
.proxy-builder--refreshed .proxy-select:focus { border-color: var(--residential-red); box-shadow: 0 0 0 3px #ff073218; }
.proxy-builder--refreshed .proxy-protocol-option { margin-top: 22px; padding-bottom: 24px; border-bottom: 1px solid #2c323a; }
.proxy-builder--refreshed .proxy-option__title { gap: 13px; min-width: 0; }
.proxy-builder--refreshed .proxy-protocol-option .proxy-option__icon,
.proxy-builder--refreshed .proxy-traffic-option .proxy-option__icon { flex-basis: 32px; width: 32px; height: 36px; background: none; border-radius: 0; }
.proxy-builder--refreshed .proxy-protocol-option .proxy-option__icon svg,
.proxy-builder--refreshed .proxy-traffic-option .proxy-option__icon svg { width: 27px; height: 27px; }
.proxy-builder--refreshed .proxy-option__title strong { margin: 0; color: #f5f6f9; font-size: 16px; line-height: 1.4; font-weight: 650; }
.proxy-builder--refreshed .proxy-option__title span { display: block; margin-top: 3px; color: var(--residential-muted); font-size: 13px; line-height: 1.5; }
.proxy-builder--refreshed .protocol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.proxy-builder--refreshed .protocol-card { min-width: 0; min-height: 76px; padding: 12px; gap: 13px; border: 1px solid #353c47; border-radius: 10px; background: #13161b55; color: #c6cbd5; }
.proxy-builder--refreshed .protocol-card--active { border-color: #424a57; background: #171a2040; color: #fff; }
.proxy-builder--refreshed .protocol-card__icon { flex: 0 0 40px; width: 40px; height: 44px; border-radius: 9px; background: #23262d70; }
.proxy-builder--refreshed .protocol-card__icon svg { width: 23px; height: 23px; }
.proxy-builder--refreshed .protocol-card strong { font-size: 14px; line-height: 1.4; }
.proxy-builder--refreshed .protocol-card .protocol-status { color: var(--residential-muted); font-size: 12px; line-height: 1.5; }
.proxy-builder--refreshed .protocol-switch { flex: 0 0 50px; width: 50px; height: 28px; border: 1px solid #424958; background: #292e38; }
.proxy-builder--refreshed .protocol-switch span { top: 3px; left: 3px; width: 20px; height: 20px; margin: 0; background: #b2bac7; }
.proxy-builder--refreshed .protocol-card--active .protocol-switch { border-color: var(--residential-red); background: var(--residential-red); }
.proxy-builder--refreshed .protocol-card--active .protocol-switch span { left: 25px; background: #fff; }
.proxy-builder--refreshed .proxy-traffic-option { margin-top: 24px; padding-bottom: 22px; border-bottom: 1px solid #2c323a; gap: 20px; }
.proxy-builder--refreshed .proxy-option__gb-header { gap: 14px; }
.proxy-builder--refreshed .gb-value { justify-content: center; align-items: baseline; flex: 0 0 112px; min-height: 50px; gap: 8px; padding: 9px 13px; border: 1px solid #39414d; border-radius: 10px; background: #090c0f; }
.proxy-builder--refreshed .gb-value strong { color: #fff; font-size: 28px; line-height: 1.1; }
.proxy-builder--refreshed .gb-value span { color: var(--residential-muted); font-size: 14px; font-weight: 500; }
.proxy-builder--refreshed .gb-slider { --residential-track: #3c424e; height: 9px; margin: 4px 0 0; background: linear-gradient(to right, var(--residential-red) var(--range-progress), var(--residential-track) var(--range-progress)); }
.proxy-builder--refreshed .gb-slider::-webkit-slider-thumb { width: 28px; height: 28px; border: 7px solid var(--residential-red); background: #fff; box-shadow: 0 0 0 4px #ff07321a; }
.proxy-builder--refreshed .gb-slider::-moz-range-thumb { width: 14px; height: 14px; border: 7px solid var(--residential-red); border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #ff07321a; }
.proxy-builder--refreshed .gb-slider__numbers { color: var(--residential-muted); font-size: 12px; line-height: 1.5; }
.proxy-builder--refreshed .proxy-tier-deals { margin: 22px 0 0; padding: 0; border: 0; border-radius: 0; background: none; }
.proxy-builder--refreshed .proxy-tier-deals__head { align-items: flex-start; justify-content: flex-start; gap: 13px; margin-bottom: 16px; }
.proxy-builder--refreshed .proxy-tier-deals__head>svg { flex: none; width: 27px; height: 27px; color: var(--residential-red); }
.proxy-builder--refreshed .proxy-tier-deals__head>div>strong { margin: 0; color: #f7f8fa; font-size: 16px; line-height: 1.4; letter-spacing: 0; font-weight: 650; text-transform: none; }
.proxy-builder--refreshed .proxy-tier-deals__head>div>span { display: block; margin-top: 4px; color: var(--residential-muted); font-size: 13px; line-height: 1.5; font-weight: 400; letter-spacing: 0; text-transform: none; }
.proxy-builder--refreshed .proxy-tier-deals__head>small { display: none; }
.proxy-builder--refreshed .proxy-tier-deals__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; }
.proxy-builder--refreshed .proxy-tier-deal { min-height: 88px; padding: 16px 14px; justify-content: center; gap: 8px; border: 1px solid #39414c; border-radius: 10px; background: #0e1115; }
.proxy-builder--refreshed .proxy-tier-deal.is-active { border: 2px solid var(--residential-red); padding: 15px 13px; background: linear-gradient(130deg, #ff07321f, #30121b44); box-shadow: 0 0 0 1px #ff073214; }
.proxy-builder--refreshed .proxy-tier-deal.is-active::after { display: none; }
.proxy-builder--refreshed .proxy-tier-deal__eyebrow,
.proxy-builder--refreshed .proxy-tier-deal__discount,
.proxy-builder--refreshed .proxy-tier-deal__standard { display: none; }
.proxy-builder--refreshed .proxy-tier-deal__gb { font-size: 18px; font-weight: 750; line-height: 1.2; }
.proxy-builder--refreshed .proxy-tier-deal__price { color: #f6f7fa; font-size: 16px; line-height: 1.3; white-space: nowrap; }
.proxy-builder--refreshed .proxy-tier-deal__price small { color: var(--residential-muted); font-size: 11px; font-weight: 400; }
.proxy-builder--refreshed .proxy-summary__top { margin-bottom: 18px; }
.proxy-builder--refreshed .proxy-summary__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; border: 0; }
.proxy-builder--refreshed .proxy-summary__row { display: flex; align-items: center; justify-content: flex-start; flex-direction: row; min-width: 0; min-height: 65px; padding: 11px; gap: 10px; border: 1px solid #353c47; border-radius: 9px; background: #090c0f88; }
.proxy-builder--refreshed .proxy-summary__row>svg { flex: none; width: 22px; height: 22px; color: var(--residential-red); }
.proxy-builder--refreshed .proxy-summary__row:first-child>svg { color: #d1d6df; }
.proxy-builder--refreshed .proxy-summary__tile-copy { min-width: 0; }
.proxy-builder--refreshed .proxy-summary__tile-copy>span { display: block; margin: 0 0 4px; color: var(--residential-muted); font-size: 12px; line-height: 1.3; }
.proxy-builder--refreshed .proxy-summary__tile-copy strong { display: block; margin: 0; color: #f7f8fb; font-size: 14px; line-height: 1.35; font-weight: 700; text-align: left; overflow-wrap: anywhere; }
.proxy-builder--refreshed .proxy-summary__price { margin: 20px 0 0; padding: 17px 0 19px; border-top: 1px solid #303740; border-bottom: 1px solid #303740; }
.proxy-builder--refreshed .proxy-unit-price-card { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.proxy-builder--refreshed .proxy-unit-price-card__label { margin: 0 0 7px; color: #d0d5df; font-size: 13px; font-weight: 400; text-transform: none; letter-spacing: 0; }
.proxy-builder--refreshed .proxy-unit-price-card__values { gap: 7px; }
.proxy-builder--refreshed .proxy-unit-price-card__values>strong { color: #f8f9fc; font-size: 22px; font-weight: 750; line-height: 1.25; }
.proxy-builder--refreshed .proxy-unit-price-card__values del { color: #a5adbb; font-size: 12px; }
.proxy-builder--refreshed .proxy-unit-price-card__badge { padding: 3px 5px; font-size: 10px; }
.proxy-builder--refreshed .proxy-unit-price-card small { margin-top: 6px; color: var(--residential-muted); font-size: 11px; line-height: 1.4; }
.proxy-builder--refreshed .proxy-summary__total { margin-top: 16px; }
.proxy-builder--refreshed .proxy-summary__total>span { color: #e5e7ed; font-size: 13px; line-height: 1.5; }
.proxy-builder--refreshed .proxy-summary__total #proxyPrice { display: block; margin-top: 3px; color: var(--residential-red); font-size: 38px; line-height: 1.15; letter-spacing: -.7px; font-weight: 800; overflow-wrap: anywhere; }
.proxy-builder--refreshed .proxy-coupon { margin-top: 18px; padding: 0; border: 0; border-radius: 0; background: none; }
.proxy-builder--refreshed .proxy-summary__field-label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: #f5f6f8; font-size: 13px; font-weight: 500; line-height: 1.5; }
.proxy-builder--refreshed .proxy-summary__field-label>svg { width: 20px; height: 20px; color: var(--residential-red); }
.proxy-builder--refreshed .proxy-coupon__form { grid-template-columns: minmax(0, 1fr) 93px; gap: 10px; }
.proxy-builder--refreshed .proxy-coupon__form input,
.proxy-builder--refreshed .proxy-checkout-email input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #39414d; border-radius: 8px; background: #090c0f; color: #f4f5f8; font: 400 14px Arial, sans-serif; }
.proxy-builder--refreshed .proxy-coupon__form input::placeholder,
.proxy-builder--refreshed .proxy-checkout-email input::placeholder { color: #929ba9; }
.proxy-builder--refreshed .proxy-coupon__form button { height: 48px; padding: 0 12px; border: 1px solid #ff2145; border-radius: 9px; background: var(--residential-red); color: #fff; font-size: 14px; font-weight: 650; box-shadow: none; }
.proxy-builder--refreshed .proxy-coupon__status { margin-top: 8px; font-size: 12px; line-height: 1.5; }
.proxy-builder--refreshed .proxy-discount-summary { margin-top: 12px; padding: 10px; }
.proxy-builder--refreshed .proxy-discount-summary div { align-items: flex-start; font-size: 12px; line-height: 1.5; }
.proxy-builder--refreshed .proxy-discount-summary strong { font-size: 12px; text-align: right; }
.proxy-builder--refreshed .proxy-discount-summary .is-highlight strong { font-size: 13px; }
.proxy-builder--refreshed .proxy-checkout-email { margin: 20px 0 0; }
.proxy-builder--refreshed .proxy-checkout-email label { margin: 0 0 10px; }
.proxy-builder--refreshed .proxy-checkout-email label strong { display: flex; align-items: center; gap: 10px; color: #f5f6f8; font-size: 13px; font-weight: 500; }
.proxy-builder--refreshed .proxy-checkout-email label strong>svg { width: 20px; height: 20px; color: var(--residential-red); }
.proxy-builder--refreshed .proxy-checkout-email label>span { margin: 5px 0 0; color: var(--residential-muted); font-size: 11px; line-height: 1.5; }
.proxy-builder--refreshed .proxy-summary .payment-warning { min-height: 52px; margin: 18px 0 0; padding: 12px; gap: 11px; border: 1px solid #77531f; border-radius: 10px; background: #73441424; }
.proxy-builder--refreshed .proxy-summary .payment-warning>svg { flex: none; width: 21px; height: 21px; color: #e6aa43; }
.proxy-builder--refreshed .proxy-summary .payment-warning strong { display: inline; margin: 0 3px 0 0; color: #edc588; font-size: 11px; line-height: 1.5; font-weight: 500; }
.proxy-builder--refreshed .proxy-summary .payment-warning span { color: #edc588; font-size: 11px; line-height: 1.5; }
.proxy-builder--refreshed .proxy-pay-button,
.proxy-builder--refreshed .direct-wallet-button { min-height: 50px; height: auto; margin-top: 15px; padding: 13px; gap: 11px; border: 1px solid #ff2145; border-radius: 10px; background: var(--residential-red); color: #fff; font-size: 15px; line-height: 1.4; font-weight: 700; box-shadow: none; }
.proxy-builder--refreshed .proxy-pay-button>svg,
.proxy-builder--refreshed .direct-wallet-button>svg { width: 22px; height: 22px; }
.proxy-builder--refreshed .direct-wallet-button { margin-top: 12px; background: transparent; color: #ff3758; }
.proxy-builder--refreshed .proxy-pay-button:hover:not(:disabled) { background: #e7002a; }
.proxy-builder--refreshed .direct-wallet-button:hover:not(:disabled) { border-color: #ff5a76; background: #ff073210; }
.proxy-builder--refreshed .proxy-pay-button:disabled,
.proxy-builder--refreshed .direct-wallet-button:disabled { opacity: .55; cursor: not-allowed; }
.proxy-builder--refreshed .direct-wallet-status { font-size: 12px; }
.proxy-builder--refreshed :is(button, select, input):focus-visible { outline: 2px solid #ff5874; outline-offset: 3px; }

@container residential-builder (max-width: 960px) {
    .proxy-builder--refreshed .proxy-builder__grid { grid-template-columns: minmax(0, 1fr); }
    .proxy-builder--refreshed .proxy-summary { position: static; }
    .proxy-builder--refreshed .proxy-summary__rows { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container residential-builder (max-width: 640px) {
    .proxy-builder--refreshed .proxy-builder__header { flex-direction: row; align-items: flex-start; flex-wrap: wrap; gap: 14px; }
    .proxy-builder--refreshed .proxy-builder__header h1 { font-size: 28px; }
    .proxy-builder--refreshed .proxy-builder__header p { font-size: 14px; }
    .proxy-builder--refreshed .proxy-config,
    .proxy-builder--refreshed .proxy-summary { padding: 18px; }
    .proxy-builder--refreshed .proxy-locations { grid-template-columns: minmax(0, 1fr); }
    .proxy-builder--refreshed .proxy-panel-heading h2 { font-size: 21px; }
    .proxy-builder--refreshed .protocol-grid { grid-template-columns: minmax(0, 1fr); }
    .proxy-builder--refreshed .proxy-option__gb-header { align-items: flex-start; }
    .proxy-builder--refreshed .proxy-option__title { gap: 9px; }
    .proxy-builder--refreshed .gb-value { flex-basis: 78px; min-height: 46px; padding: 9px; gap: 5px; }
    .proxy-builder--refreshed .gb-value strong { font-size: 24px; }
    .proxy-builder--refreshed .gb-value span { font-size: 12px; }
    .proxy-builder--refreshed .gb-slider__numbers { font-size: 11px; }
    .proxy-builder--refreshed .proxy-tier-deals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .proxy-builder--refreshed .proxy-tier-deals__head { flex-direction: row; gap: 9px; }
    .proxy-builder--refreshed .proxy-summary__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .proxy-builder--refreshed .proxy-summary__row { padding: 10px; gap: 8px; }
    .proxy-builder--refreshed .proxy-summary__tile-copy strong { font-size: 13px; }
}
@container residential-builder (max-width: 340px) {
    .proxy-builder--refreshed .proxy-config,
    .proxy-builder--refreshed .proxy-summary { padding: 14px; }
    .proxy-builder--refreshed .proxy-builder__header h1 { font-size: 25px; }
    .proxy-builder--refreshed .proxy-tier-deal { padding: 14px 10px; }
    .proxy-builder--refreshed .proxy-tier-deal.is-active { padding: 13px 9px; }
    .proxy-builder--refreshed .proxy-tier-deal__price { font-size: 15px; }
    .proxy-builder--refreshed .proxy-summary__rows { grid-template-columns: minmax(0, 1fr); }
    .proxy-builder--refreshed .proxy-coupon__form { grid-template-columns: minmax(0, 1fr) 78px; gap: 8px; }
    .proxy-builder--refreshed .proxy-pay-button,
    .proxy-builder--refreshed .direct-wallet-button { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .proxy-builder--refreshed .protocol-card,
    .proxy-builder--refreshed .protocol-switch,
    .proxy-builder--refreshed .protocol-switch span,
    .proxy-builder--refreshed .proxy-tier-deal { transition: none; }
}
