:root {
  --bg: #050806;
  --panel: #101512;
  --green: #64ff8a;
  --green-dark: #24733b;
  --text: #b7c9b9;
  --red: #ff6262;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(20, 40, 25, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 40, 25, 0.18) 1px, transparent 1px),
    var(--bg);
  background-size: 24px 24px;
  color: var(--text);
  font-family: "Courier New", monospace;
}

.terminal {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--green-dark);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 25px;
  border-bottom: 1px solid var(--green-dark);
  color: var(--green);
}

.user-status-bar {
  display: flex;
  gap: 25px;
  font-size: 14px;
}

.status {
  font-size: 12px;
}

.terminal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 15px 25px;
  border-bottom: 1px solid var(--green-dark);
  background: rgba(16, 21, 18, 0.6);
}

.tab-btn {
  margin-top: 0;
  padding: 8px 14px;
  font-size: 13px;
}

.tab-btn.active {
  background: var(--green);
  color: #050705;
}

.hero {
  padding: 60px 30px;
  border-bottom: 1px solid var(--green-dark);
}

.small, h2 {
  color: var(--green);
}

h1 {
  margin: 15px 0;
  color: var(--green);
  font-size: clamp(32px, 6vw, 68px);
  line-height: 0.95;
  text-shadow: 0 0 12px rgba(100, 255, 138, 0.5);
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 25px;
}

.panel {
  margin: 20px 25px;
  padding: 22px;
  border: 1px dashed var(--green-dark);
  background: rgba(16, 21, 18, 0.9);
}

.panel-header-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.panel-header-action h2 {
  margin: 0;
}

.auth-grid .panel {
  margin: 0;
}

label {
  display: block;
  margin: 15px 0 6px;
  color: var(--green);
  font-size: 13px;
}

input, select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--green-dark);
  outline: none;
  background: #050705;
  color: var(--green);
  font: inherit;
}

input:focus, select:focus {
  border-color: var(--green);
}

button {
  margin-top: 15px;
  padding: 10px 16px;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  font: inherit;
}

button:hover {
  background: var(--green);
  color: #061008;
}

.btn-buy {
  margin-top: 0;
  padding: 4px 8px;
  font-size: 11px;
}

.btn-disabled {
  border-color: #444 !important;
  color: #666 !important;
  cursor: not-allowed !important;
  background: transparent !important;
}

.btn-disabled:hover {
  background: transparent !important;
  color: #666 !important;
}

.danger {
  border-color: var(--red);
  color: var(--red);
}

.danger:hover {
  background: var(--red);
  color: #050705;
}

.message {
  min-height: 20px;
  margin-top: 14px;
  color: var(--green);
  font-size: 13px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-term {
  margin-top: 0;
  padding: 4px 10px;
  font-size: 12px;
}

.page-indicator {
  font-size: 12px;
  color: var(--green);
}

/* Раскладка витрины: таблица занимает ВСЮ доступную ширину */
.market-layout {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: flex-start;
}

.market-table-side {
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
}

.market-inspector-side {
  width: 320px;
  flex: 0 0 320px;
  border: 1px solid var(--green);
  background: #060907;
  padding: 16px;
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.15);
}

.market-inspector-side button {
  margin-top: 6px !important;
  margin-bottom: 10px !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  width: auto !important;
  display: inline-block !important;
}

/* Таблицы */
.table-container {
  overflow-x: auto;
}

.term-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}

.term-table th {
  border-bottom: 1px solid var(--green-dark);
  padding: 8px 6px;
  color: var(--green);
  font-size: 11px;
}

.term-table td {
  border-bottom: 1px solid rgba(36, 115, 59, 0.25);
  padding: 8px 6px;
  vertical-align: middle;
}

.term-table tr:hover {
  background: rgba(100, 255, 138, 0.05);
}

/* Фильтры в шапке */
.table-filter-header-cell {
  padding: 4px 4px 8px 4px !important;
  position: relative !important;
}

.table-filter-input,
.table-filter-select {
  width: 100%;
  padding: 4px 6px;
  background: #050705;
  border: 1px solid var(--green-dark);
  color: var(--green);
  font-family: inherit;
  font-size: 11px;
  outline: none;
}

.table-filter-input:focus,
.table-filter-select:focus {
  border-color: var(--green);
  background: #0a130b;
}

/* Выпадающие подсказки поиска (Combo) */
.combo-filter-container {
  position: relative;
  width: 100%;
}

.combo-suggestions-list {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 160px !important;
  max-width: 240px !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  background: #0a110b !important;
  border: 1px solid var(--green) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.95) !important;
  z-index: 99999 !important;
  margin: 2px 0 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.combo-suggestions-list li {
  padding: 6px 10px !important;
  font-size: 11px !important;
  color: #b7c9b9 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  border-bottom: 1px solid rgba(36, 115, 59, 0.2) !important;
}

.combo-suggestions-list li:hover {
  background: var(--green) !important;
  color: #050705 !important;
  font-weight: bold !important;
}

/* Кастомный выбор стран */
.custom-select-wrapper {
  position: relative;
  width: 200px;
}

.custom-select-btn {
  width: 100%;
  background: #050705;
  border: 1px solid var(--green-dark);
  color: var(--green);
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-select-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 260px;
  max-height: 280px;
  background: #050a05;
  border: 1px solid var(--green);
  z-index: 10000;
  display: flex;
  flex-direction: column;
}

.custom-select-search {
  padding: 6px;
  border-bottom: 1px dashed var(--green-dark);
}

.custom-select-search input {
  padding: 6px;
  font-size: 11px;
}

.custom-select-options {
  overflow-y: auto;
  flex: 1;
}

.custom-select-option {
  padding: 6px 10px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-select-option:hover {
  background: rgba(100, 255, 138, 0.15);
  color: #fff;
}

/* Черно-зеленая подсветка активного прокси при клике */
#shopTableBody tr.selected-proxy-row {
  background-color: #04240f !important;
  color: #00ff66 !important;
  outline: 1px solid #00ff66 !important;
}

#shopTableBody tr.selected-proxy-row td {
  color: #00ff66 !important;
}

/* Сетка криптовалют */
.crypto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.crypto-card {
  border: 1px solid var(--green-dark);
  padding: 15px;
  text-align: center;
  background: #050705;
  color: var(--green);
}

.crypto-notice {
  margin-top: 25px;
  color: var(--green);
}

.faq-item {
  margin-bottom: 20px;
  border-left: 2px solid var(--green);
  padding-left: 12px;
}

.hidden {
  display: none !important;
}

footer {
  margin-top: auto;
  padding: 15px 25px;
  border-top: 1px solid var(--green-dark);
  color: #55705b;
  font-size: 12px;
}

.balance-link {
  cursor: pointer;
  text-decoration: underline;
}

.gb-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}

.btn-navy {
  background-color: #04370c !important;
  color: #58a6ff !important;
  border: 1px solid #032e0c !important;
  padding: 8px 16px !important;
  font-size: 16px !important;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0 !important;
}

.gb-input {
  width: 90px !important;
  text-align: center;
  font-weight: bold;
}

.price-calc-badge {
  color: var(--green);
  font-weight: bold;
  margin-left: 10px;
}

/* ТЕРМИНАЛЬНЫЕ МОДАЛЬНЫЕ ОКНА */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-window {
  width: 440px;
  background: #090e0b;
  border: 1px solid var(--green);
  box-shadow: 0 0 25px rgba(100, 255, 138, 0.25);
  padding: 24px;
}

.modal-header {
  color: var(--green);
  font-weight: bold;
  font-size: 14px;
  border-bottom: 1px dashed var(--green-dark);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.modal-row {
  display: flex;
  justify-content: space-between;
}

.modal-notice {
  font-size: 11px;
  color: #88a88e;
  margin-top: 10px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.score-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.score-modal-box {
  background: #0d0f0d;
  border: 1px solid var(--green);
  width: 440px;
  max-width: 90%;
  padding: 24px;
  box-shadow: 0 0 25px rgba(100, 255, 138, 0.25);
  font-family: inherit;
  color: #e0e0e0;
}

.score-modal-box h3 {
  margin-top: 0;
  color: var(--green);
  font-size: 16px;
}

.score-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.score-modal-btn {
  background: transparent;
  border: 1px solid var(--green);
  color: var(--green);
  padding: 6px 14px;
  cursor: pointer;
  font-weight: bold;
  font-size: 12px;
  margin-top: 0 !important;
}

.score-modal-btn:hover {
  background: var(--green);
  color: #000;
}

.score-modal-btn.cancel {
  border-color: #555;
  color: #888;
}

.score-modal-btn.cancel:hover {
  background: #333;
  color: #fff;
}

/* Compact branded status dialog for failed BigMama purchases. */
.purchase-error-box {
  max-width: min(440px, calc(100vw - 32px));
}

.purchase-error-message {
  color: var(--text, #b7c9b9);
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  margin: 12px 0 18px;
}



/* --- Desktop-first layout for RESI TRAFFIC and ISP PROXIES --- */
.traffic-page.panel,
.isp-page.panel {
  width: auto;
  margin: 24px 25px;
  padding: 20px;
  border: 1px dashed var(--green-dark);
  background: linear-gradient(135deg, rgba(16, 21, 18, 0.97), rgba(5, 9, 6, 0.96));
  overflow: hidden;
}

.traffic-hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(430px, 1.72fr) minmax(150px, 0.43fr);
  align-items: center;
  gap: 18px;
  min-height: 220px;
  padding: 0 0 16px;
  border-bottom: 1px dashed var(--green-dark);
}

.traffic-copy,
.traffic-map,
.traffic-network-aside,
.traffic-block,
.isp-card,
.isp-card-main,
.isp-card-aside { min-width: 0; }

.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  letter-spacing: 1.5px;
}

.traffic-copy h2,
.isp-page-heading h2 {
  margin: 0 0 12px;
  color: var(--green);
  font-size: clamp(19px, 1.55vw, 26px);
  line-height: 1.3;
  letter-spacing: 0.2px;
}

.traffic-lead,
.isp-page-heading p {
  margin: 0;
  color: var(--text);
  line-height: 1.65;
  font-size: 14px;
}

.traffic-highlights {
  display: grid;
  gap: 7px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--green);
  font-size: 12px;
  line-height: 1.35;
}

.traffic-map {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, rgba(0, 255, 100, 0.045), transparent 70%);
}

.traffic-map img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(0, 255, 102, 0.12));
  opacity: 0.93;
}

.traffic-network-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding-left: 15px;
  border-left: 1px dashed rgba(36, 115, 59, 0.8);
  color: var(--green);
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
}

.network-target {
  align-self: center;
  margin-bottom: 2px;
  font-size: 28px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(100, 255, 138, 0.55);
}

.traffic-checkout {
  display: grid;
  grid-template-columns: minmax(400px, 1.48fr) minmax(260px, 1fr) minmax(155px, 0.58fr) minmax(185px, 0.65fr);
  gap: 0;
  margin-top: 16px;
  padding: 11px 0;
  border: 1px solid var(--green-dark);
  background: rgba(0, 0, 0, 0.14);
}

.traffic-block {
  padding: 0 15px;
  border-right: 1px dashed rgba(36, 115, 59, 0.8);
}

.traffic-block:first-child { padding-left: 12px; }
.traffic-block:last-child { padding-right: 12px; border-right: 0; }
.traffic-block label { margin: 10px 0 6px; }
.traffic-block .checkout-step-label {
  display: block;
  margin: 0 0 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: bold;
}

.traffic-plan-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.traffic-plan-card {
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  align-content: start;
  align-items: center;
  column-gap: 8px;
  row-gap: 6px;
  min-width: 0;
  min-height: 132px;
  margin: 0 !important;
  padding: 12px 11px;
  border: 1px solid var(--green-dark);
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--green);
  text-align: left;
  line-height: 1.35;
  transition: background 120ms ease, border-color 120ms ease;
}

.traffic-plan-card:hover,
.traffic-plan-card.selected {
  border-color: var(--green);
  background: rgba(0, 255, 102, 0.085);
  box-shadow: inset 0 0 0 1px rgba(100, 255, 138, 0.1);
  color: var(--green);
}

.plan-radio {
  grid-column: 1;
  grid-row: 1;
  width: 14px;
  height: 14px;
  border: 1px solid var(--green);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(100, 255, 138, 0.12);
}

.traffic-plan-card.selected .plan-radio {
  border: 4px solid var(--green);
  background: #061008;
}

.traffic-plan-card .plan-name {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  font-size: 11px;
  font-weight: bold;
  overflow-wrap: anywhere;
}

.traffic-plan-card strong {
  grid-column: 2;
  grid-row: 2;
  font-size: 17px;
  font-weight: bold;
  white-space: nowrap;
}

.traffic-plan-card small { font-size: 11px; font-weight: normal; }
.traffic-plan-card .plan-description {
  grid-column: 2;
  grid-row: 3;
  margin-top: 6px;
  font-size: 9px;
  line-height: 1.55;
  color: var(--text);
}

.traffic-location-block select,
.isp-card select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 39px;
  padding: 9px 11px;
  background-color: #050705;
}

.traffic-location-block label:not(.checkout-step-label) { margin-top: 9px; }

.traffic-stepper {
  display: grid;
  grid-template-columns: minmax(36px, 44px) minmax(52px, 72px) minmax(36px, 44px);
  gap: 7px;
  align-items: center;
  margin-top: 8px;
}

.traffic-stepper .btn-navy,
.isp-stepper .btn-navy {
  width: 100%;
  min-height: 39px;
  padding: 7px 0 !important;
  color: #58a6ff !important;
  background-color: #04370c !important;
  border: 1px solid #032e0c !important;
}

.traffic-stepper .gb-input,
.isp-stepper .gb-input {
  width: 100% !important;
  min-width: 0;
  padding: 8px 3px;
  text-align: center;
}

.traffic-total-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.traffic-total-price {
  display: block;
  min-height: 42px;
  margin: 4px 0 8px;
  color: var(--green);
  font-size: clamp(19px, 1.5vw, 25px);
  text-align: center;
  white-space: nowrap;
}

.traffic-buy-button,
.isp-buy-button {
  width: 100%;
  min-height: 40px;
  margin: 8px 0 0 !important;
  padding: 10px 12px;
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  font-size: 12px;
  font-weight: bold;
}

.traffic-buy-button:hover,
.isp-buy-button:hover {
  background: var(--green);
  color: #061008;
}

.traffic-total-block .message,
.isp-card .message { overflow-wrap: anywhere; }

/* ISP cards: equal height, two columns, forms and concise feature lists. */
.isp-page-heading { margin: 0 0 19px; }
.isp-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.isp-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 320px;
  padding: 19px;
  border: 1px dashed var(--green-dark);
  background: rgba(5, 9, 6, 0.48);
}

.isp-card-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.isp-card-heading h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 17px;
  line-height: 1.35;
}

.isp-card-heading p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  line-height: 1.6;
}

.isp-price {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--green);
  white-space: nowrap;
}
.isp-price strong { font-size: 23px; }
.isp-price span { font-size: 11px; color: var(--text); }
.isp-price-static { flex-direction: column; align-items: flex-end; gap: 0; }
.isp-price-static span { font-size: 10px; }
.isp-rate-note { margin-top: 8px; color: var(--green); font-size: 11px; }

.isp-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(155px, 0.65fr);
  align-items: stretch;
  gap: 18px;
  flex: 1;
}

.isp-card-main { display: flex; flex-direction: column; min-width: 0; }
.isp-card-main label { margin: 11px 0 6px; font-size: 11px; }
.isp-card-main label:first-child { margin-top: 0; }
.isp-stepper { display: flex; align-items: center; gap: 7px; margin-top: 7px; }
.isp-stepper .gb-input { max-width: 66px; }
.isp-card .price-calc-badge { margin-left: 3px; white-space: nowrap; font-size: 12px; }
.isp-buy-button { margin-top: auto !important; }

.isp-card-aside {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding-left: 15px;
  border-left: 1px dashed rgba(36, 115, 59, 0.75);
}

.isp-feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--green);
  font-size: 11px;
  line-height: 1.4;
}
.isp-feature-list li::before { content: ">  "; color: var(--green); }

.isp-mini-globe {
  position: relative;
  align-self: center;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(100, 255, 138, 0.55);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, rgba(100,255,138,.22) 49%, rgba(100,255,138,.22) 51%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(100,255,138,.22) 49%, rgba(100,255,138,.22) 51%, transparent 53%),
    radial-gradient(circle at 32% 28%, rgba(100,255,138,.18), transparent 60%);
  box-shadow: 0 0 16px rgba(0, 255, 102, 0.08), inset 0 0 15px rgba(0, 255, 102, 0.06);
}
.isp-mini-globe::before,
.isp-mini-globe::after {
  content: "";
  position: absolute;
  inset: 7px 17px;
  border: 1px solid rgba(100, 255, 138, 0.42);
  border-radius: 50%;
}
.isp-mini-globe::after { inset: 17px 3px; }

.isp-static-aside { justify-content: space-between; }
.isp-tier-box {
  padding: 10px;
  border: 1px dashed var(--green-dark);
  background: rgba(0, 0, 0, 0.18);
}
.isp-tier-box p { margin: 0 0 8px; color: var(--green); font-size: 10px; font-weight: bold; }
.isp-tier-box span { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; color: var(--text); font-size: 10px; white-space: nowrap; }
.isp-tier-box b { color: var(--green); font-weight: normal; }

select[hidden] { display: none !important; }

@media (max-width: 1250px) {
  .traffic-hero { grid-template-columns: minmax(260px, 0.9fr) minmax(360px, 1.4fr); }
  .traffic-network-aside { display: none; }
  .traffic-checkout { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); row-gap: 19px; }
  .traffic-plan-block { border-right: 1px dashed rgba(36, 115, 59, 0.8); }
  .traffic-location-block { border-right: 0; }
  .traffic-amount-block { border-right: 1px dashed rgba(36, 115, 59, 0.8); }
  .traffic-total-block { border-right: 0; }
  .traffic-stepper { margin-top: 8px; }
  .traffic-plan-card { min-height: 120px; }
  .isp-card-content { grid-template-columns: minmax(0, 1fr) minmax(140px, 0.65fr); gap: 13px; }
  .isp-card { padding: 15px; }
}

@media (max-width: 900px) {
  .traffic-page.panel, .isp-page.panel { margin: 14px 12px; padding: 16px; }
  .traffic-hero { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .traffic-map { height: 170px; }
  .traffic-checkout { grid-template-columns: 1fr; row-gap: 16px; }
  .traffic-block,
  .traffic-block:first-child,
  .traffic-block:last-child { padding: 0 0 15px; border-right: 0; border-bottom: 1px dashed rgba(36, 115, 59, 0.75); }
  .traffic-total-block { padding-bottom: 0 !important; border-bottom: 0 !important; }
  .traffic-stepper { margin-top: 8px; }
  .isp-card-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 600px) {
  .traffic-plan-options { grid-template-columns: 1fr 1fr; }
  .traffic-plan-card { min-height: 112px; padding: 10px 8px; }
  .isp-card-content { grid-template-columns: 1fr; }
  .isp-card-aside { padding: 14px 0 0; border-left: 0; border-top: 1px dashed rgba(36, 115, 59, 0.75); }
  .isp-card-heading { flex-wrap: wrap; }
  .isp-mini-globe { display: none; }
}

/* === ISP PROXIES polish v5 === */
#tabIsp.isp-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(20px, 2vw, 30px) clamp(18px, 2.8vw, 44px) 30px;
  border: 0;
  background: transparent;
}

#tabIsp .isp-heading {
  margin: 0 0 18px;
  padding: 0 0 13px;
  border-bottom: 1px solid rgba(36, 115, 59, .42);
}
#tabIsp .isp-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--green);
  font-size: clamp(21px, 1.7vw, 28px);
  line-height: 1.25;
  letter-spacing: .01em;
  text-shadow: 0 0 12px rgba(100,255,138,.12);
}
#tabIsp .isp-heading-caret { color: var(--green); font-size: .8em; }
#tabIsp .isp-heading-muted { color: #b7c9b9; font-size: .82em; }
#tabIsp .isp-heading p {
  margin: 7px 0 0 28px;
  max-width: 780px;
  color: #9eb2a3;
  font-size: 12px;
  line-height: 1.5;
}

#tabIsp .isp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(16px, 1.8vw, 26px);
  margin: 0;
}
#tabIsp .isp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: clamp(18px, 1.65vw, 25px);
  border: 1px solid rgba(47, 221, 111, .68);
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% 7%, rgba(35, 158, 74, .075), transparent 33%),
    linear-gradient(145deg, rgba(9, 18, 12, .98), rgba(4, 8, 5, .98));
  box-shadow: inset 0 0 22px rgba(31,150,69,.025), 0 7px 22px rgba(0,0,0,.12);
}
#tabIsp .isp-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, rgba(100,255,138,.025), transparent 45%, rgba(100,255,138,.012));
}

#tabIsp .isp-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, 30%);
  align-items: start;
  gap: 10px;
  min-height: 0;
  padding: 0 0 15px;
}
#tabIsp .isp-intro { position: relative; z-index: 2; min-width: 0; }
#tabIsp .isp-product-title { display: flex; align-items: flex-start; gap: 12px; }
#tabIsp .isp-title-icon {
  display: inline-flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  filter: drop-shadow(0 0 7px rgba(100,255,138,.1));
}
#tabIsp .isp-title-icon svg { display: block; width: 100%; height: 100%; }
#tabIsp .isp-product-title h3 {
  margin: 2px 0 8px;
  color: var(--green);
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.25;
  letter-spacing: 0;
}
#tabIsp .isp-product-title p {
  margin: 0 0 4px;
  color: #b7c9b9;
  font-size: 12px;
  line-height: 1.45;
}
#tabIsp .isp-price-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0 50px;
}
#tabIsp .isp-price-line strong {
  color: var(--green);
  font-size: clamp(32px, 2.5vw, 41px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.035em;
  text-shadow: 0 0 12px rgba(100,255,138,.1);
}
#tabIsp .isp-price-unit { color: #c4d2c8; font-size: 12px; white-space: nowrap; }
#tabIsp .isp-price-deal {
  margin-left: 2px;
  padding: 5px 8px;
  border: 1px solid rgba(100,255,138,.24);
  border-radius: 4px;
  color: #73ed93;
  background: rgba(2, 10, 5, .45);
  font-size: 9px;
  line-height: 1.35;
  white-space: nowrap;
}
#tabIsp .isp-art {
  align-self: start;
  justify-self: end;
  width: 100%;
  max-width: 168px;
  margin: 0;
  color: var(--green);
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(65,255,129,.09));
}
#tabIsp .isp-art svg { display: block; width: 100%; height: auto; overflow: visible; }
#tabIsp .isp-art-globe,
#tabIsp .isp-art-shield { transform: none; }
#tabIsp .isp-static-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 0 50px;
  padding: 6px 9px;
  border: 1px solid rgba(100,255,138,.2);
  border-radius: 4px;
  background: rgba(5, 42, 17, .36);
  color: #81efa0;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .035em;
}
#tabIsp .isp-static-status i { color: #568263; font-style: normal; }
#tabIsp .isp-status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(100,255,138,.55);
}

#tabIsp .isp-features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 14px;
  padding: 13px 0 14px;
  border-top: 1px solid rgba(36,115,59,.22);
  border-bottom: 1px solid rgba(36,115,59,.4);
}
#tabIsp .isp-feature { display: flex; align-items: center; gap: 8px; min-width: 0; }
#tabIsp .isp-feature-icon {
  display: inline-flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(100,255,138,.24);
  border-radius: 9px;
  color: var(--green);
  background: rgba(5, 42, 17, .55);
}
#tabIsp .isp-feature-icon svg { width: 20px; height: 20px; }
#tabIsp .isp-feature b,
#tabIsp .isp-feature small { display: block; overflow-wrap: anywhere; }
#tabIsp .isp-feature b { color: #78f99b; font-size: 11px; line-height: 1.35; font-weight: 700; }
#tabIsp .isp-feature small { margin-top: 3px; color: #9eb2a3; font-size: 10px; line-height: 1.35; }

#tabIsp .isp-controls {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .97fr) minmax(0, 1.03fr);
  gap: 13px;
  margin: 0 0 16px;
}
#tabIsp .isp-static-controls {
  grid-template-columns: minmax(0, .88fr) minmax(0, .96fr) minmax(0, 1.16fr);
}
#tabIsp .isp-field { min-width: 0; }
#tabIsp .isp-field-full { grid-column: auto; }
#tabIsp .isp-field label {
  margin: 0 0 6px;
  color: #74e995;
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: .04em;
}
#tabIsp .isp-field select {
  display: block;
  min-width: 0;
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid rgba(51,199,91,.58);
  border-radius: 4px;
  background-color: rgba(3,8,5,.96);
  color: #80ffa0;
  font: inherit;
  font-size: 12px;
}
#tabIsp .isp-field select:focus { border-color: var(--green); box-shadow: 0 0 0 2px rgba(100,255,138,.06); }
/* The city option is the longest select label; keep it legible without truncating. */
#tabIsp .isp-static-controls .isp-field:last-child select { font-size: 10px; }
#tabIsp .isp-amount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  width: 100%;
}
#tabIsp .isp-stepper {
  display: grid;
  grid-template-columns: 35px minmax(0, 1fr) 35px;
  align-items: stretch;
  gap: 0;
  flex: 0 1 225px;
  min-width: 0;
  width: 225px;
  max-width: calc(100% - 72px);
  margin: 0;
}
#tabIsp .isp-stepper button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(40,199,81,.45) !important;
  border-radius: 0;
  color: var(--green) !important;
  background: rgba(5,51,18,.75) !important;
  font-size: 18px !important;
  line-height: 1;
}
#tabIsp .isp-stepper button:first-child { border-radius: 4px 0 0 4px; }
#tabIsp .isp-stepper button:last-child { border-radius: 0 4px 4px 0; }
#tabIsp .isp-stepper .gb-input {
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  min-height: 42px;
  margin: 0;
  padding: 6px 2px;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  text-align: center;
  font-size: 15px;
  color: #d4ffe0;
}
#tabIsp .isp-total { display: inline-block; margin: 0; color: var(--green); white-space: nowrap; font-size: 12px; font-weight: bold; }

#tabIsp .isp-buy-button {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  margin: auto 0 0;
  padding: 10px 14px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(8,61,24,.63), rgba(5,34,16,.78));
  color: #79ff9d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
  box-shadow: inset 0 0 12px rgba(100,255,138,.025);
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
#tabIsp .isp-buy-button:hover:not(:disabled) {
  background: linear-gradient(90deg, rgba(13,92,34,.82), rgba(7,54,24,.92));
  box-shadow: 0 0 16px rgba(100,255,138,.1);
  transform: translateY(-1px);
}
#tabIsp .isp-buy-button:disabled { opacity: .55; cursor: wait; }
#tabIsp .isp-cart { font-size: 18px; line-height: 1; }
#tabIsp .isp-arrow { font-size: 18px; line-height: 1; }
#tabIsp .message { position: relative; z-index: 1; overflow-wrap: anywhere; }
#tabIsp .isp-card > .message:empty { display: none; min-height: 0; margin: 0; }

@media (max-width: 1380px) {
  #tabIsp .isp-static-controls { grid-template-columns: minmax(0, .78fr) minmax(0, .88fr) minmax(0, 1.35fr); }
  #tabIsp .isp-static-controls .isp-field-full { grid-column: auto; }
  #tabIsp .isp-card { padding: 20px; }
  #tabIsp .isp-card-top { grid-template-columns: minmax(0, 1fr) minmax(110px, 27%); }
  #tabIsp .isp-art { max-width: 165px; }
  #tabIsp .isp-price-line { margin-left: 0; }
}
@media (max-width: 1240px) {
  #tabIsp .isp-grid { grid-template-columns: minmax(0, 1fr); }
  #tabIsp .isp-card { padding: 24px; }
  #tabIsp .isp-card-top { grid-template-columns: minmax(0, 1fr) minmax(145px, 24%); }
  #tabIsp .isp-art { max-width: 168px; }
  #tabIsp .isp-static-controls { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.2fr); }
  #tabIsp .isp-static-controls .isp-field-full { grid-column: auto; }
}
@media (max-width: 620px) {
  #tabIsp.isp-page { padding: 20px 12px 24px; }
  #tabIsp .isp-heading h2 { align-items: flex-start; gap: 7px; font-size: 20px; }
  #tabIsp .isp-heading-muted { font-size: .72em; }
  #tabIsp .isp-heading p { margin-left: 22px; font-size: 11px; }
  #tabIsp .isp-card { padding: 17px 14px; }
  #tabIsp .isp-card-top { grid-template-columns: minmax(0, 1fr) 88px; gap: 4px; padding-bottom: 12px; }
  #tabIsp .isp-title-icon { flex-basis: 29px; width: 29px; height: 29px; }
  #tabIsp .isp-product-title { gap: 7px; }
  #tabIsp .isp-product-title h3 { margin-top: 1px; font-size: 15px; }
  #tabIsp .isp-product-title p { font-size: 10px; }
  #tabIsp .isp-art { max-width: 88px; margin-top: 8px; }
  #tabIsp .isp-stepper { flex-basis: 215px; width: 215px; max-width: calc(100% - 68px); }
  #tabIsp .isp-price-line { margin: 12px 0 0 36px; gap: 6px; }
  #tabIsp .isp-static-status { margin: 10px 0 0 36px; max-width: calc(100% - 36px); font-size: 8px; }
  #tabIsp .isp-price-line strong { font-size: 31px; }
  #tabIsp .isp-price-unit { font-size: 10px; }
  #tabIsp .isp-price-deal { width: fit-content; font-size: 8px; }
  #tabIsp .isp-features { grid-template-columns: minmax(0,1fr); gap: 9px; padding: 11px 0; margin-bottom: 13px; }
  #tabIsp .isp-feature-icon { flex-basis: 32px; width: 32px; height: 32px; }
  #tabIsp .isp-feature b { font-size: 10px; }
  #tabIsp .isp-feature small { font-size: 9px; }
  #tabIsp .isp-controls,
  #tabIsp .isp-static-controls { grid-template-columns: minmax(0,1fr); gap: 11px; }
  #tabIsp .isp-field-full,
  #tabIsp .isp-static-controls .isp-field-full { grid-column: auto; }
  #tabIsp .isp-amount-row { gap: 8px; }
  #tabIsp .isp-total { font-size: 11px; }
  #tabIsp .isp-buy-button { min-height: 46px; font-size: 11px; gap: 8px; }
}
/* === ISP PROXIES polish v5 end === */


/* Flame ISP city inventory status */
#tabIsp .isp-city-status {
  display: block;
  min-height: 1.35em;
  margin: 7px 0 0;
  color: #91ad99;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
#tabIsp select:disabled {
  opacity: .68;
  cursor: progress;
}


/* MY PROXIES REDESIGN */
#tabMyProxy.my-proxies-page {
  margin: 30px 25px 42px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #d5e0d7;
}

.my-proxies-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.my-proxies-eyebrow,
.my-proxy-stat-label,
.proxy-credential-label,
.proxy-credentials-heading > span,
.my-proxy-card-kicker,
.proxy-traffic-heading > span,
.proxy-card-date-row > span {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #7a9b83;
}

.my-proxies-eyebrow { margin-bottom: 9px; }
#tabMyProxy .my-proxies-title-block h2 {
  margin: 0;
  color: #eaf4ec;
  font: 650 clamp(26px, 3vw, 34px)/1.15 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.035em;
  text-shadow: none;
}
#tabMyProxy .my-proxies-title-block p {
  margin: 9px 0 0;
  max-width: 620px;
  color: #91a297;
  font: 14px/1.55 Inter, ui-sans-serif, system-ui, sans-serif;
}

#tabMyProxy .my-proxy-refresh {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  margin-top: 4px;
  border: 1px solid #2a5137;
  border-radius: 9px;
  background: #0b110d;
  color: #c5d9ca;
  font: 600 12px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
#tabMyProxy .my-proxy-refresh:hover {
  color: #72f59a;
  border-color: #4edb7d;
  background: #101d14;
}
#tabMyProxy .refresh-symbol { font-size: 17px; line-height: .8; color: #65f28e; }

.my-proxy-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 25px;
}
.my-proxy-stat {
  min-width: 0;
  padding: 19px 21px 17px;
  border: 1px solid #1e3425;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(17, 27, 20, .92), rgba(9, 14, 11, .96));
  box-shadow: 0 8px 26px rgba(0, 0, 0, .12);
}
.my-proxy-stat-primary { border-color: #2b6240; }
.my-proxy-stat strong {
  display: block;
  margin-top: 13px;
  color: #e5f3e8;
  font: 650 clamp(25px, 2.6vw, 32px)/1.05 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.my-proxy-stat-primary strong { color: #67f193; }
.my-proxy-stat strong em { color: #8ba894; font-style: normal; font-size: 14px; letter-spacing: 0; }
.my-proxy-stat small {
  display: block;
  margin-top: 8px;
  color: #77877c;
  font: 12px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
}

.my-proxy-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1b2e21;
}
.my-proxy-tabs { display: flex; align-items: center; gap: 7px; }
#tabMyProxy .my-proxy-tab {
  margin: 0;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #8ca394;
  font: 600 12px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
#tabMyProxy .my-proxy-tab:hover {
  border-color: #284832;
  background: rgba(22, 42, 29, .6);
  color: #d5e4d9;
}
#tabMyProxy .my-proxy-tab.active {
  border-color: #2f6540;
  background: #102219;
  color: #72f59a;
  box-shadow: inset 0 0 0 1px rgba(75, 220, 121, .05);
}
.my-proxy-result-count {
  color: #74857a;
  font: 11px "SFMono-Regular", Consolas, monospace;
}

.my-proxy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 16px;
}
.my-proxy-card {
  min-width: 0;
  overflow: hidden;
  padding: 21px;
  border: 1px solid #213d2a;
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(43, 109, 62, .12), transparent 42%),
    linear-gradient(145deg, #101812 0%, #0a100c 70%, #090e0b 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .15);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.my-proxy-card:hover {
  border-color: #326746;
  transform: translateY(-2px);
  box-shadow: 0 13px 34px rgba(0, 0, 0, .2);
}
.my-proxy-card.is-expired-card { border-color: #303830; background: linear-gradient(145deg, #121512, #0b0d0b); }
.my-proxy-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 15px;
}
.my-proxy-card-identity { min-width: 0; }
.my-proxy-card-kicker { margin-bottom: 8px; color: #64c982; }
.my-proxy-card h3 {
  margin: 0;
  color: #e2eee5;
  font: 650 18px/1.25 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}
.my-proxy-card-id {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 9px;
}
.my-proxy-card-id > span {
  color: #6f8174;
  font: 9px "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
}
.my-proxy-card-id code {
  color: #a8c0ae;
  font: 11px "SFMono-Regular", Consolas, monospace;
}
.my-proxy-card-subtitle {
  margin: 15px 0 17px;
  color: #7f9284;
  font: 12px/1.4 Inter, ui-sans-serif, system-ui, sans-serif;
}
.proxy-status-pill {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 7px;
  padding: 6px 9px;
  border: 1px solid #28583a;
  border-radius: 999px;
  background: rgba(32, 96, 52, .15);
  color: #71e993;
  font: 600 10px Inter, ui-sans-serif, system-ui, sans-serif;
  white-space: nowrap;
}
.proxy-status-pill > span { width: 6px; height: 6px; border-radius: 50%; background: #63ef8a; box-shadow: 0 0 8px rgba(99, 239, 138, .3); }
.proxy-status-pill.is-expired { border-color: #4b3838; background: rgba(105, 43, 43, .12); color: #d58c8c; }
.proxy-status-pill.is-expired > span { background: #cd7777; box-shadow: none; }

.proxy-traffic-panel,
.proxy-expiry-panel {
  margin: 0 0 15px;
  padding: 14px 15px;
  border: 1px solid #1d3926;
  border-radius: 10px;
  background: rgba(4, 9, 6, .44);
}
.proxy-traffic-heading,
.proxy-traffic-foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.proxy-traffic-heading strong {
  color: #d5e6d9;
  font: 600 12px "SFMono-Regular", Consolas, monospace;
  text-align: right;
}
.proxy-traffic-heading strong span { color: #819487; font-weight: 400; }
.proxy-traffic-track {
  width: 100%;
  height: 6px;
  overflow: hidden;
  margin: 13px 0 10px;
  border-radius: 999px;
  background: #1a2b1f;
}
.proxy-traffic-track > span {
  display: block;
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #38c76b, #7af5a0);
  box-shadow: 0 0 12px rgba(87, 230, 129, .15);
}
.proxy-traffic-foot { color: #839889; font: 10px "SFMono-Regular", Consolas, monospace; }
.proxy-traffic-foot strong { color: #73e993; font-weight: 700; }
.proxy-expiry-panel { display: flex; flex-direction: column; gap: 7px; min-height: 83px; }
.proxy-expiry-panel strong { color: #e0ebe2; font: 600 14px/1.35 Inter, ui-sans-serif, system-ui, sans-serif; overflow-wrap: anywhere; }
.proxy-expiry-panel small { color: #77897b; font: 11px Inter, ui-sans-serif, system-ui, sans-serif; }
.proxy-card-date-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0 1px;
}
.proxy-card-date-row strong {
  color: #849a8a;
  text-align: right;
  font: 11px "SFMono-Regular", Consolas, monospace;
}

.proxy-credentials {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #263b2c;
  border-radius: 10px;
  background: rgba(3, 7, 4, .68);
}
.proxy-credentials-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #1d2e21;
  background: rgba(14, 24, 16, .6);
}
.proxy-credentials-heading > span { color: #8ca994; font-size: 9px; }
#tabMyProxy .proxy-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid #31583c;
  border-radius: 6px;
  background: #0c170f;
  color: #8deaa6;
  font: 600 10px Inter, ui-sans-serif, system-ui, sans-serif;
  cursor: pointer;
}
#tabMyProxy .proxy-copy-button:hover,
#tabMyProxy .proxy-copy-button.is-copied {
  border-color: #65e88a;
  background: #15351f;
  color: #a7fabb;
}
.proxy-credentials-body { padding: 5px 12px 8px; }
.proxy-credential-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 8px 0;
}
.proxy-credential-row + .proxy-credential-row { border-top: 1px solid rgba(42, 64, 47, .45); }
.proxy-credential-label { padding-top: 2px; font-size: 9px; letter-spacing: .07em; }
.proxy-credential-value {
  min-width: 0;
  color: #c1d2c5;
  font: 11px/1.55 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.proxy-credential-endpoint .proxy-credential-value { color: #70ed96; font-weight: 600; }
.proxy-credential-raw { grid-template-columns: 1fr; gap: 7px; }

.my-proxy-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.proxy-card-protocol {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #657c6c;
  font: 10px Inter, ui-sans-serif, system-ui, sans-serif;
}
.proxy-card-protocol > span { color: #4fb66e; font-size: 7px; }
.proxy-card-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-left: auto; }
#tabMyProxy .proxy-action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 10px 13px;
  border: 1px solid #39834f;
  border-radius: 8px;
  background: #15351f;
  color: #91f4a9;
  font: 650 11px Inter, ui-sans-serif, system-ui, sans-serif;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
#tabMyProxy .proxy-action-button:hover { border-color: #69ee91; background: #1a4528; transform: translateY(-1px); color: #c3ffd0; }
.proxy-card-no-action { color: #75867a; font: 10px "SFMono-Regular", Consolas, monospace; letter-spacing: .04em; }

.my-proxy-empty {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  min-height: 190px;
  padding: 28px;
  border: 1px dashed #2b4431;
  border-radius: 13px;
  background: rgba(12, 19, 14, .72);
  text-align: center;
}
.my-proxy-empty strong { color: #d5e4d8; font: 650 16px Inter, ui-sans-serif, system-ui, sans-serif; }
.my-proxy-empty span { color: #839287; font: 12px/1.5 Inter, ui-sans-serif, system-ui, sans-serif; }
.my-proxy-empty .my-proxy-empty-mark { color: #66e98e; font: 32px/1 "SFMono-Regular", Consolas, monospace; }
.my-proxy-empty.is-loading { color: #9cac9f; font: 12px "SFMono-Regular", Consolas, monospace; }
.my-proxy-empty.is-loading::before { content: ""; width: 18px; height: 18px; border: 2px solid #25442e; border-top-color: #63e789; border-radius: 50%; animation: my-proxy-spin .8s linear infinite; }
.my-proxy-empty.my-proxy-error { border-color: #553838; }
.my-proxy-empty.my-proxy-error strong { color: #e0a0a0; }
@keyframes my-proxy-spin { to { transform: rotate(360deg); } }

@media (max-width: 1150px) {
  .my-proxy-grid { grid-template-columns: 1fr; }
  #tabMyProxy.my-proxies-page { margin-left: 18px; margin-right: 18px; }
}
@media (max-width: 700px) {
  #tabMyProxy.my-proxies-page { margin: 18px 12px 28px; }
  .my-proxies-heading { align-items: stretch; flex-direction: column; gap: 15px; margin-bottom: 20px; }
  #tabMyProxy .my-proxy-refresh { align-self: flex-start; }
  .my-proxy-summary { grid-template-columns: 1fr; gap: 9px; margin-bottom: 19px; }
  .my-proxy-stat { padding: 14px 16px; }
  .my-proxy-stat strong { margin-top: 8px; font-size: 25px; }
  .my-proxy-stat small { margin-top: 5px; }
  .my-proxy-toolbar { align-items: flex-start; }
  #tabMyProxy .my-proxy-tab { padding: 9px 10px; font-size: 11px; }
  .my-proxy-result-count { padding-top: 10px; white-space: nowrap; }
  .my-proxy-card { padding: 15px; border-radius: 12px; }
  .my-proxy-card-header { gap: 9px; }
  .my-proxy-card h3 { font-size: 16px; }
  .proxy-status-pill { padding: 5px 7px; font-size: 9px; }
  .proxy-credential-row { grid-template-columns: 72px minmax(0, 1fr); gap: 7px; }
  .proxy-credential-value { font-size: 10px; }
  .proxy-credentials-heading { padding: 9px; }
  .proxy-credentials-body { padding: 4px 9px 7px; }
  .my-proxy-card-footer { align-items: flex-start; }
  .proxy-card-actions { width: 100%; }
  #tabMyProxy .proxy-action-button { width: 100%; }
}


/* MY PROXIES COMPACT CARDS */
#tabMyProxy.my-proxies-page { margin-top: 20px; margin-bottom: 28px; }
.my-proxies-heading { margin-bottom: 18px; }
.my-proxies-eyebrow { margin-bottom: 6px; }
#tabMyProxy .my-proxies-title-block h2 { font-size: clamp(23px, 2.4vw, 29px); }
#tabMyProxy .my-proxies-title-block p { margin-top: 6px; font-size: 12px; }
.my-proxy-summary { gap: 10px; margin-bottom: 18px; }
.my-proxy-stat { padding: 13px 16px 12px; border-radius: 10px; }
.my-proxy-stat strong { margin-top: 8px; font-size: clamp(22px, 2vw, 27px); }
.my-proxy-stat small { margin-top: 5px; font-size: 10px; }
.my-proxy-toolbar { margin-bottom: 12px; padding-bottom: 10px; }
.my-proxy-grid { gap: 12px; }
.my-proxy-card { padding: 14px; border-radius: 12px; }
.my-proxy-card:hover { transform: none; }
.my-proxy-card-kicker { margin-bottom: 5px; font-size: 9px; }
.my-proxy-card h3 { font-size: 16px; line-height: 1.2; }
.my-proxy-card-id { gap: 6px; margin-top: 6px; }
.my-proxy-card-subtitle { margin: 8px 0 10px; font-size: 10px; }
.my-proxy-card-location {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px;
  margin: 8px 0 11px; color: #a9bdb0;
  font: 500 11px/1.35 Inter, ui-sans-serif, system-ui, sans-serif;
}
.my-proxy-card-location .proxy-location-flag { font-size: 13px; line-height: 1; }
.my-proxy-card-location .proxy-location-country { color: #d0e1d4; font-weight: 650; }
.my-proxy-card-location .proxy-location-divider { color: #526959; }
.my-proxy-card-location .proxy-location-city { color: #829789; }
.proxy-status-pill { padding: 5px 8px; font-size: 9px; }
.proxy-traffic-panel, .proxy-expiry-panel { margin-bottom: 10px; padding: 10px 11px; border-radius: 8px; }
.proxy-traffic-heading { align-items: center; gap: 8px; }
.proxy-traffic-heading > span { font-size: 9px; }
.proxy-traffic-heading strong { font-size: 11px; }
.proxy-traffic-track { height: 5px; margin: 8px 0 7px; }
.proxy-traffic-foot { font-size: 9px; }
.proxy-expiry-panel { gap: 4px; min-height: 0; }
.proxy-expiry-panel strong { font-size: 12px; }
.proxy-expiry-panel small { font-size: 10px; }
.proxy-card-date-row { gap: 8px; margin-bottom: 8px; }
.proxy-card-date-row > span { font-size: 9px; }
.proxy-card-date-row strong { font-size: 10px; }
.proxy-credentials { border-radius: 8px; }
.proxy-credentials-heading { padding: 7px 9px; }
.proxy-credentials-heading > span { font-size: 8px; }
#tabMyProxy .proxy-copy-button { padding: 5px 7px; font-size: 9px; }
.proxy-credentials-body { padding: 2px 9px 4px; }
.proxy-credential-row { grid-template-columns: 70px minmax(0, 1fr); gap: 8px; padding: 5px 0; }
.proxy-credential-label { padding-top: 2px; font-size: 8px; }
.proxy-credential-value { font-size: 10px; line-height: 1.4; }
.my-proxy-card-footer { margin-top: 10px; gap: 8px; }
.proxy-card-protocol { display: none; }
#tabMyProxy .proxy-action-button { padding: 8px 10px; font-size: 10px; }
.proxy-card-no-action { font-size: 9px; }

/* Keep two compact cards side by side on regular desktop/laptop viewports. */
@media (min-width: 850px) {
  .my-proxy-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 849px) {
  .my-proxy-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .my-proxy-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .my-proxy-stat { padding: 11px 10px; }
  .my-proxy-stat strong { font-size: 21px; }
  .my-proxy-stat small { font-size: 9px; }
  .proxy-credential-row { grid-template-columns: 64px minmax(0, 1fr); }
}



/* RESI TRAFFIC PRODUCT PAGE v2 */
#tabResiTraffic.traffic-page{width:auto;margin:24px 20px 34px;padding:0;border:0;background:transparent;overflow:visible}
#tabResiTraffic .traffic-hero-expanded{min-height:390px;padding:34px 28px 28px;border:1px dashed var(--green-dark);background:radial-gradient(circle at 68% 48%,rgba(70,255,120,.055),transparent 34%),linear-gradient(135deg,rgba(12,19,15,.98),rgba(4,9,6,.98));grid-template-columns:minmax(300px,.78fr) minmax(470px,1.55fr) minmax(145px,.38fr);gap:24px}
#tabResiTraffic .traffic-copy{align-self:center}#tabResiTraffic .traffic-copy h2{margin:0 0 18px;font-size:clamp(30px,3vw,48px);line-height:1.08;letter-spacing:.02em;text-shadow:0 0 22px rgba(100,255,138,.12)}
#tabResiTraffic .traffic-lead{max-width:520px;font-size:15px;line-height:1.75;color:#b5c8ba}#tabResiTraffic .traffic-hero-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}#tabResiTraffic .traffic-hero-pills span{padding:7px 10px;border:1px solid rgba(36,115,59,.9);background:rgba(0,20,8,.45);color:var(--green);font-size:9px;letter-spacing:.8px}
#tabResiTraffic .traffic-map-expanded{height:330px;background:radial-gradient(ellipse at center,rgba(0,255,100,.075),transparent 69%)}#tabResiTraffic .traffic-map-expanded img{filter:drop-shadow(0 0 14px rgba(0,255,102,.16));opacity:.96}#tabResiTraffic .traffic-network-aside{min-height:240px}
#tabResiTraffic .traffic-why,#tabResiTraffic .traffic-configure{margin-top:24px;padding:30px 28px;border:1px solid rgba(36,115,59,.82);background:linear-gradient(135deg,rgba(10,17,13,.97),rgba(4,9,6,.97))}
#tabResiTraffic .traffic-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}#tabResiTraffic .traffic-section-heading h3{margin:0;color:#dce9df;font-size:clamp(22px,2vw,30px);line-height:1.15}#tabResiTraffic .traffic-section-note{color:#6f9a7a;font-size:9px;letter-spacing:1.1px;white-space:nowrap}
#tabResiTraffic .traffic-feature-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}#tabResiTraffic .traffic-feature-card{min-height:145px;padding:18px;border:1px solid rgba(36,115,59,.72);background:rgba(0,10,4,.48);transition:border-color .18s ease,transform .18s ease,background .18s ease}#tabResiTraffic .traffic-feature-card:hover{border-color:var(--green);background:rgba(0,25,9,.58);transform:translateY(-2px)}
#tabResiTraffic .traffic-feature-index{display:block;margin-bottom:24px;color:#4b875a;font-size:9px;letter-spacing:1px}#tabResiTraffic .traffic-feature-card strong{display:block;color:var(--green);font-size:11px;line-height:1.35}#tabResiTraffic .traffic-feature-card p{margin:10px 0 0;color:#829789;font-size:11px;line-height:1.55}
#tabResiTraffic .traffic-configure{margin-top:24px;padding-bottom:32px}#tabResiTraffic .traffic-config-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(220px,.62fr);gap:0;border:1px solid rgba(36,115,59,.68);background:rgba(0,0,0,.16)}#tabResiTraffic .traffic-config-block{min-width:0;padding:24px}#tabResiTraffic .traffic-config-block+.traffic-config-block{border-left:1px dashed rgba(36,115,59,.7)}
#tabResiTraffic .checkout-step-label{display:block;margin-bottom:18px;color:var(--green);font-size:10px;letter-spacing:1px}#tabResiTraffic .traffic-plan-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#tabResiTraffic .traffic-plan-card{min-height:180px;padding:18px;display:grid;grid-template-columns:16px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:10px;text-align:left;border:1px solid rgba(36,115,59,.78);background:rgba(0,7,3,.7);color:var(--text);cursor:pointer}#tabResiTraffic .traffic-plan-card:hover,#tabResiTraffic .traffic-plan-card.selected{border-color:var(--green);background:linear-gradient(145deg,rgba(0,42,15,.78),rgba(0,17,7,.78))}
#tabResiTraffic .traffic-plan-card .plan-radio{grid-column:1;grid-row:1;margin-top:2px;width:13px;height:13px;border:1px solid var(--green);border-radius:50%}#tabResiTraffic .traffic-plan-card.selected .plan-radio{border:4px solid var(--green);box-shadow:0 0 10px rgba(100,255,138,.22)}#tabResiTraffic .traffic-plan-card .plan-name{grid-column:2;grid-row:1;color:#d8e8dc;font-size:11px;font-weight:bold}#tabResiTraffic .traffic-plan-card strong{grid-column:2;grid-row:2;margin-top:12px;color:var(--green);font-size:22px}#tabResiTraffic .traffic-plan-card small{font-size:10px;font-weight:normal}#tabResiTraffic .traffic-plan-card .plan-description{grid-column:2;grid-row:3;align-self:end;margin-top:18px;color:#819989;font-size:9px;line-height:1.6}
#tabResiTraffic .traffic-field-grid{display:grid;gap:18px}#tabResiTraffic .traffic-field-grid label{display:block;margin:0 0 7px;color:#779a82;font-size:9px;letter-spacing:.8px}#tabResiTraffic .traffic-field-grid select{display:block;width:100%;min-height:47px;padding:10px 12px;background:#050705;border:1px solid rgba(36,115,59,.9);color:var(--green);font-family:inherit;font-size:12px}
#tabResiTraffic .traffic-amount-display{min-height:180px;display:flex;flex-direction:column;justify-content:center;align-items:center}#tabResiTraffic .traffic-amount-label,#tabResiTraffic .traffic-amount-unit{color:#779a82;font-size:9px;letter-spacing:1px}#tabResiTraffic .traffic-stepper{width:100%;max-width:220px;display:grid;grid-template-columns:48px minmax(70px,1fr) 48px;gap:8px;margin:14px 0 8px}#tabResiTraffic .traffic-stepper .btn-navy{min-height:48px;color:var(--green)!important;background:rgba(0,50,17,.72)!important;border:1px solid rgba(36,115,59,.9)!important}#tabResiTraffic .traffic-stepper .gb-input{width:100%!important;min-height:48px;text-align:center}
#tabResiTraffic .traffic-order{display:grid;grid-template-columns:1.1fr 1fr .75fr;gap:28px;align-items:center;margin-top:24px;padding:30px 28px;border:1px solid var(--green);background:radial-gradient(circle at 82% 50%,rgba(70,255,120,.055),transparent 35%),linear-gradient(135deg,rgba(10,24,15,.98),rgba(4,10,6,.98))}#tabResiTraffic .traffic-order-copy h3{margin:0 0 9px;color:#e0ebe2;font-size:24px}#tabResiTraffic .traffic-order-copy p{margin:0;color:#819889;font-size:12px;line-height:1.6}#tabResiTraffic .traffic-order-summary{padding-left:24px;border-left:1px dashed rgba(36,115,59,.8)}#tabResiTraffic .traffic-order-line{display:flex;justify-content:space-between;gap:16px;padding:8px 0;border-bottom:1px solid rgba(36,115,59,.3);font-size:10px}#tabResiTraffic .traffic-order-line:last-child{border-bottom:0}#tabResiTraffic .traffic-order-line span{color:#6f9279}#tabResiTraffic .traffic-order-line strong{color:#c8dccd;text-align:right}#tabResiTraffic .traffic-order-total{text-align:right}#tabResiTraffic .traffic-order-total>span{display:block;margin-bottom:3px;color:#6f9279;font-size:9px;letter-spacing:1px}#tabResiTraffic .traffic-total-price{display:block;margin:0 0 12px;color:var(--green);font-size:clamp(30px,3vw,44px);line-height:1;font-weight:bold;white-space:nowrap}#tabResiTraffic .traffic-buy-button{width:100%;min-height:52px;margin:0!important;padding:12px 14px;border:1px solid var(--green);background:var(--green);color:#061008;font-size:11px;font-weight:bold;letter-spacing:.3px}#tabResiTraffic .traffic-buy-button:hover{background:transparent;color:var(--green)}#tabResiTraffic .traffic-order-total .message{margin-top:8px;overflow-wrap:anywhere}
@media(max-width:1250px){#tabResiTraffic .traffic-hero-expanded{grid-template-columns:minmax(260px,.8fr) minmax(380px,1.4fr)}#tabResiTraffic .traffic-network-aside{display:none}#tabResiTraffic .traffic-feature-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#tabResiTraffic .traffic-config-grid{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}#tabResiTraffic .traffic-amount-block{grid-column:1/-1;border-left:0!important;border-top:1px dashed rgba(36,115,59,.7)}#tabResiTraffic .traffic-order{grid-template-columns:1fr 1fr}#tabResiTraffic .traffic-order-total{grid-column:1/-1;padding-top:8px;border-top:1px dashed rgba(36,115,59,.7);text-align:left}#tabResiTraffic .traffic-total-price{display:inline-block;margin-right:18px}#tabResiTraffic .traffic-buy-button{width:auto;min-width:280px}}
@media(max-width:900px){#tabResiTraffic.traffic-page{margin:14px 12px 24px}#tabResiTraffic .traffic-hero-expanded{min-height:0;grid-template-columns:1fr;padding:24px 18px 20px}#tabResiTraffic .traffic-map-expanded{height:240px}#tabResiTraffic .traffic-why,#tabResiTraffic .traffic-configure,#tabResiTraffic .traffic-order{padding:22px 18px}#tabResiTraffic .traffic-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#tabResiTraffic .traffic-config-grid{grid-template-columns:1fr}#tabResiTraffic .traffic-config-block+.traffic-config-block{border-left:0;border-top:1px dashed rgba(36,115,59,.7)}#tabResiTraffic .traffic-order{grid-template-columns:1fr}#tabResiTraffic .traffic-order-summary{padding-left:0;border-left:0}#tabResiTraffic .traffic-order-total{grid-column:auto;border-top:0;padding-top:0}#tabResiTraffic .traffic-buy-button{width:100%}}
@media(max-width:600px){#tabResiTraffic .traffic-copy h2{font-size:30px}#tabResiTraffic .traffic-feature-grid,#tabResiTraffic .traffic-plan-options{grid-template-columns:1fr}#tabResiTraffic .traffic-plan-card{min-height:150px}#tabResiTraffic .traffic-section-heading{align-items:flex-start;flex-direction:column}#tabResiTraffic .traffic-section-note{white-space:normal}}


/* ISP PROXIES PRODUCT PAGE REDESIGN v1 */
#tabIsp.isp-page{width:100%;max-width:none;margin:0;padding:clamp(20px,2.3vw,36px) clamp(18px,2.7vw,44px) 38px;border:0;border-radius:0;background:transparent;color:#d5e3d8;overflow:visible;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
#tabIsp .isp-hero{display:grid;grid-template-columns:minmax(360px,.92fr) minmax(500px,1.45fr);align-items:center;gap:clamp(22px,3vw,52px);min-height:270px;padding:0 6px 24px;border-bottom:1px solid rgba(46,122,66,.34)}
#tabIsp .isp-kicker{display:flex;align-items:center;gap:12px;margin:0 0 12px;color:#55eb8a;font:600 11px/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:1.25px}
#tabIsp .isp-kicker>span{width:28px;height:3px;background:#2fdc72;box-shadow:0 0 12px rgba(47,220,114,.28)}
#tabIsp .isp-hero h2{margin:0;color:#f0f5f1;font:750 clamp(34px,3.2vw,52px)/1.04 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.035em;text-shadow:none}
#tabIsp .isp-hero h2 em{font-style:normal;color:#42ee88}
#tabIsp .isp-hero-lead{margin:12px 0 0;color:#dce9df;font:500 clamp(14px,1.2vw,17px)/1.5 Inter,ui-sans-serif,system-ui,sans-serif}
#tabIsp .isp-hero-description{max-width:590px;margin:13px 0 0;color:#8fa799;font:12px/1.65 "SFMono-Regular",Consolas,monospace}
#tabIsp .isp-hero-highlights{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:21px}
#tabIsp .isp-hero-highlight{display:flex;align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid rgba(36,115,59,.72);border-radius:8px;background:rgba(3,14,7,.55)}
#tabIsp .isp-hero-highlight>span{flex:0 0 auto;color:#43ed88;font-size:23px;line-height:1}
#tabIsp .isp-hero-highlight strong,#tabIsp .isp-hero-highlight small{display:block;overflow-wrap:anywhere}
#tabIsp .isp-hero-highlight strong{color:#d9e9dd;font-size:9px;line-height:1.3}
#tabIsp .isp-hero-highlight small{margin-top:4px;color:#809989;font:9px/1.35 "SFMono-Regular",Consolas,monospace}
#tabIsp .isp-hero-map{
    position:relative;
    min-width:0;
    height:265px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:
        radial-gradient(
            ellipse at 52% 55%,
            rgba(22,212,82,.045),
            transparent 68%
        ) !important;
}
#tabIsp .isp-hero-map img{
    display:block;
    width:100%;
    height:100%;
    object-fit:contain;
    opacity:1;
    filter:drop-shadow(0 0 16px rgba(0,255,102,.12));
}
#tabIsp .isp-map-label{position:absolute;z-index:1;padding:7px 10px;border:1px solid rgba(38,226,107,.45);border-radius:5px;background:rgba(2,12,6,.86);color:#62f39a;font:9px/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:.45px}
#tabIsp .isp-map-label small{display:block;margin-top:3px;color:#8bb99a;font-size:8px;letter-spacing:0}
#tabIsp .isp-map-label-na{top:17%;left:4%}#tabIsp .isp-map-label-eu{top:15%;right:14%}#tabIsp .isp-map-label-world{right:5%;bottom:13%}
#tabIsp .isp-products-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(16px,1.5vw,24px);margin-top:14px}
#tabIsp .isp-product-card{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;padding:clamp(17px,1.7vw,26px);overflow:hidden;border:1px solid rgba(37,218,104,.65);border-radius:13px;background:linear-gradient(145deg,rgba(8,19,12,.98),rgba(4,9,6,.99));box-shadow:inset 0 0 30px rgba(0,255,100,.025),0 8px 26px rgba(0,0,0,.12)}
#tabIsp .isp-product-card:before{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(ellipse at 84% 7%,rgba(53,232,112,.08),transparent 35%);pointer-events:none}
#tabIsp .isp-product-header{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;min-height:142px}
#tabIsp .isp-product-heading{display:flex;gap:14px;min-width:0}
#tabIsp .isp-product-icon{display:flex;align-items:center;justify-content:center;flex:0 0 46px;width:46px;height:46px;color:#49f18c;border-radius:50%;background:radial-gradient(circle,rgba(43,233,111,.13),rgba(0,0,0,.02) 72%);filter:drop-shadow(0 0 9px rgba(61,255,129,.12))}
#tabIsp .isp-product-icon svg{display:block;width:100%;height:100%}
#tabIsp .isp-product-eyebrow{margin:3px 0 8px;color:#49e889;font:600 10px/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:.65px}
#tabIsp .isp-product-heading h3{margin:0 0 8px;color:#edf5ef;font:650 clamp(16px,1.25vw,21px)/1.2 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.025em}
#tabIsp .isp-product-heading p{margin:4px 0 0;color:#a4b8aa;font:11px/1.55 "SFMono-Regular",Consolas,monospace}
#tabIsp .isp-product-rate{display:flex;align-items:baseline;justify-content:flex-end;flex-wrap:wrap;gap:5px;max-width:180px;padding:8px 11px;border:1px solid rgba(48,221,107,.58);border-radius:9px;background:rgba(0,26,10,.6);color:#c7ead2;white-space:nowrap}
#tabIsp .isp-product-rate strong{color:#50f391;font:800 22px/1 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.04em}
#tabIsp .isp-product-rate>span,#tabIsp .isp-product-rate>small{font-size:9px}
#tabIsp .isp-product-rate>small{flex-basis:100%;color:#69c986;text-align:right;letter-spacing:.3px}
#tabIsp .isp-static-rate{gap:3px 5px}#tabIsp .isp-static-rate>span{color:#7ca68a;letter-spacing:.8px}#tabIsp .isp-static-rate>small{color:#7ca68a}
#tabIsp .isp-product-art{position:absolute;top:48px;right:0;width:min(37%,190px);color:#43ed86;opacity:.85;pointer-events:none}
#tabIsp .isp-product-art svg{display:block;width:100%;height:auto;overflow:hidden;filter:drop-shadow(0 0 8px rgba(48,255,120,.12))}
#tabIsp .isp-product-features{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 16px;padding:13px 0 16px;border-bottom:1px solid rgba(53,152,80,.23)}
#tabIsp .isp-mini-feature{display:flex;align-items:center;gap:9px;min-width:0}
#tabIsp .isp-mini-feature>span{flex:0 0 38px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid rgba(44,210,98,.36);border-radius:9px;background:rgba(0,34,12,.45);color:#4df18d;font-size:21px}
#tabIsp .isp-mini-feature strong,#tabIsp .isp-mini-feature small{display:block;overflow-wrap:anywhere}
#tabIsp .isp-mini-feature strong{color:#67efa0;font-size:10px;line-height:1.3}
#tabIsp .isp-mini-feature small{margin-top:4px;color:#829989;font:9px/1.35 "SFMono-Regular",Consolas,monospace}
#tabIsp .isp-product-controls{display:grid;gap:12px;align-items:end;margin-bottom:17px}
#tabIsp .isp-rotating-controls{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)}
#tabIsp .isp-static-controls{grid-template-columns:minmax(0,.78fr) minmax(0,.94fr) minmax(0,1.12fr)}
#tabIsp .isp-control-field{min-width:0}
#tabIsp .isp-control-field>label{display:block;margin:0 0 8px;color:#58e88c;font:10px/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:.6px}
#tabIsp .isp-select{display:block;width:100%;min-width:0;min-height:44px;margin:0;padding:9px 11px;border:1px solid rgba(36,137,66,.84);border-radius:5px;background:#030805;color:#70ef9a;font:11px/1.4 "SFMono-Regular",Consolas,monospace;box-shadow:none}
#tabIsp .isp-select:focus,#tabIsp .isp-input:focus{outline:1px solid rgba(71,241,132,.5);outline-offset:1px}
#tabIsp .isp-quantity-control{display:grid;grid-template-columns:43px minmax(48px,1fr) 43px;gap:0;min-width:0}
#tabIsp .isp-quantity-button{min-width:0;min-height:44px;margin:0!important;border:1px solid rgba(30,113,50,.8);border-radius:0;background:rgba(0,49,16,.78);color:#56ef8e;font-size:19px;font-weight:700;cursor:pointer}
#tabIsp .isp-quantity-button:first-child{border-radius:5px 0 0 5px}#tabIsp .isp-quantity-button:last-child{border-radius:0 5px 5px 0}#tabIsp .isp-quantity-button:hover{background:#0e3c1d}
#tabIsp .isp-input{width:100%!important;max-width:none;min-width:0;min-height:44px;margin:0!important;padding:8px 4px;border:1px solid rgba(30,113,50,.8);border-right:0;border-left:0;border-radius:0;background:#030805;color:#edf8ef;font:700 13px/1 "SFMono-Regular",Consolas,monospace;text-align:center;box-shadow:none}
#tabIsp .isp-product-purchase{margin-top:auto;padding-top:14px;border-top:1px solid rgba(53,152,80,.23)}
#tabIsp .isp-product-total{display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:5px 16px;margin-bottom:12px}
#tabIsp .isp-product-total>span{color:#72a181;font:10px/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:.8px}
#tabIsp .isp-product-total>strong{justify-self:end;color:#4cf18d;font:800 clamp(24px,2vw,31px)/1 Inter,ui-sans-serif,system-ui,sans-serif;letter-spacing:-.035em;white-space:nowrap}
#tabIsp .isp-product-total>small{grid-column:1/-1;justify-self:end;color:#78a287;font:9px/1.4 "SFMono-Regular",Consolas,monospace}
#tabIsp #ispRotCostBadge{margin:0;font-size:inherit;color:inherit}
#tabIsp .isp-product-buy{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:47px;margin:0!important;padding:12px 14px;border:1px solid #4af18c;border-radius:7px;background:linear-gradient(100deg,#48ef89,#63ffa0);color:#05200e;font:750 11px/1.4 "SFMono-Regular",Consolas,monospace;letter-spacing:.25px;cursor:pointer;transition:filter .16s ease,transform .16s ease}
#tabIsp .isp-product-buy:hover{filter:brightness(1.07);transform:translateY(-1px)}#tabIsp .isp-product-buy:disabled{opacity:.6;cursor:wait;transform:none}
#tabIsp .isp-product-purchase .message{margin-top:8px;overflow-wrap:anywhere}
#tabIsp .isp-why{margin-top:20px;padding:22px 24px 24px;border:1px solid rgba(36,115,59,.6);border-radius:12px;background:linear-gradient(135deg,rgba(7,16,10,.92),rgba(3,8,5,.97))}
#tabIsp .isp-why-heading h3{margin:-3px 0 19px;color:#e0ece3;font:650 clamp(20px,1.7vw,25px)/1.2 Inter,ui-sans-serif,system-ui,sans-serif}
#tabIsp .isp-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
#tabIsp .isp-why-item{display:flex;gap:13px;min-width:0;padding:7px 18px}
#tabIsp .isp-why-item:first-child{padding-left:0}#tabIsp .isp-why-item+.isp-why-item{border-left:1px solid rgba(48,156,78,.26)}
#tabIsp .isp-why-item>span{flex:0 0 auto;color:#42ed87;font-size:27px;line-height:1;filter:drop-shadow(0 0 7px rgba(67,237,134,.16))}
#tabIsp .isp-why-item strong{display:block;color:#62ed98;font-size:11px;line-height:1.4}
#tabIsp .isp-why-item p{margin:7px 0 0;color:#8ca295;font:10px/1.55 "SFMono-Regular",Consolas,monospace}
@media(max-width:1240px){#tabIsp .isp-hero{grid-template-columns:minmax(300px,.9fr) minmax(360px,1.1fr)}#tabIsp .isp-hero-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}#tabIsp .isp-product-art{width:min(32%,145px);opacity:.6}#tabIsp .isp-product-header{min-height:150px}#tabIsp .isp-static-controls{grid-template-columns:1fr 1fr}#tabIsp .isp-package-field{grid-column:1/-1}#tabIsp .isp-why-grid{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:16px}#tabIsp .isp-why-item:nth-child(3){border-left:0}}
@media(max-width:900px){#tabIsp.isp-page{padding:22px 14px 28px}#tabIsp .isp-hero{grid-template-columns:1fr;gap:7px;padding:0 0 20px}#tabIsp .isp-hero-map{height:230px}#tabIsp .isp-products-grid{grid-template-columns:1fr}#tabIsp .isp-product-card{padding:20px}#tabIsp .isp-product-header{min-height:145px}#tabIsp .isp-product-art{width:min(30%,160px)}#tabIsp .isp-hero-highlights{grid-template-columns:repeat(4,minmax(0,1fr))}#tabIsp .isp-why-item:nth-child(3){border-left:1px solid rgba(48,156,78,.26)}#tabIsp .isp-why-item:nth-child(odd){border-left:0}}
@media(max-width:620px){#tabIsp .isp-hero h2{font-size:34px}#tabIsp .isp-hero-highlights{grid-template-columns:repeat(2,minmax(0,1fr))}#tabIsp .isp-map-label-na{left:0}#tabIsp .isp-map-label-eu{right:0}#tabIsp .isp-map-label-world{right:1%;bottom:5%}#tabIsp .isp-product-card{padding:16px}#tabIsp .isp-product-header{grid-template-columns:1fr;min-height:0;padding-bottom:14px}#tabIsp .isp-product-rate{justify-self:start;margin-left:60px}#tabIsp .isp-product-art{top:55px;right:-5px;width:30%;opacity:.28}#tabIsp .isp-product-features{gap:7px}#tabIsp .isp-mini-feature{flex-direction:column;align-items:flex-start}#tabIsp .isp-mini-feature>span{flex-basis:32px}#tabIsp .isp-rotating-controls,#tabIsp .isp-static-controls{grid-template-columns:1fr}#tabIsp .isp-package-field{grid-column:auto}#tabIsp .isp-why{padding:18px 16px}#tabIsp .isp-why-grid{grid-template-columns:1fr;row-gap:0}#tabIsp .isp-why-item,#tabIsp .isp-why-item:first-child,#tabIsp .isp-why-item+.isp-why-item,#tabIsp .isp-why-item:nth-child(3),#tabIsp .isp-why-item:nth-child(odd){padding:14px 0;border-left:0}#tabIsp .isp-why-item+.isp-why-item{border-top:1px solid rgba(48,156,78,.26)}}


/* === ISP STATIC FINAL LAYOUT v6 === */
#tabIsp .isp-product-static .isp-product-header{min-height:172px}
#tabIsp .isp-product-static .isp-product-heading{position:relative;z-index:3}
#tabIsp .isp-product-static .isp-static-product-icon{flex-basis:50px;width:50px;height:50px;border-radius:14px;background:rgba(0,28,11,.42)}
#tabIsp .isp-product-static .isp-static-product-icon svg{width:42px;height:42px}
#tabIsp .isp-product-static .isp-product-rate{position:relative;z-index:4;min-width:176px;padding:10px 13px}
#tabIsp .isp-product-static .isp-product-art{top:54px;right:4px;width:154px;opacity:.74;z-index:1}
#tabIsp .isp-product-static .isp-product-features{position:relative;z-index:4;margin-top:2px;margin-bottom:18px;padding-top:14px}
#tabIsp .isp-product-static .isp-mini-feature{min-width:0}
#tabIsp .isp-product-static .isp-product-controls{grid-template-columns:minmax(0,.82fr) minmax(0,1fr) minmax(0,1.28fr);gap:14px;align-items:end;margin-bottom:18px}
#tabIsp .isp-product-static .isp-control-field{display:flex;flex-direction:column;min-width:0}
#tabIsp .isp-product-static .isp-control-field>label{min-height:15px;margin-bottom:9px}
#tabIsp .isp-product-static .isp-select{min-height:46px;height:46px}
#tabIsp .isp-product-static .isp-product-purchase{padding-top:17px}
#tabIsp .isp-product-static .isp-product-total{margin-bottom:13px}
#tabIsp .isp-product-static .isp-product-buy{min-height:49px}

@media (max-width:1240px){
  #tabIsp .isp-product-static .isp-product-header{min-height:168px}
  #tabIsp .isp-product-static .isp-product-art{width:142px;right:0}
  #tabIsp .isp-product-static .isp-product-controls{grid-template-columns:minmax(0,.9fr) minmax(0,1fr) minmax(0,1.2fr)}
}
@media (max-width:900px){
  #tabIsp .isp-product-static .isp-product-header{min-height:155px}
  #tabIsp .isp-product-static .isp-product-art{width:132px;top:58px;opacity:.48}
  #tabIsp .isp-product-static .isp-product-controls{grid-template-columns:1fr 1fr}
  #tabIsp .isp-product-static .isp-package-field{grid-column:1/-1}
}
@media (max-width:620px){
  #tabIsp .isp-product-static .isp-product-header{min-height:0}
  #tabIsp .isp-product-static .isp-product-art{top:54px;right:-5px;width:118px;opacity:.26}
  #tabIsp .isp-product-static .isp-product-rate{justify-self:start;margin-left:64px}
  #tabIsp .isp-product-static .isp-product-controls{grid-template-columns:1fr}
  #tabIsp .isp-product-static .isp-package-field{grid-column:auto}
}
/* === ISP STATIC FINAL LAYOUT v6 end === */

/* === ISP STATIC FINAL ALIGNMENT v7 === */

#tabIsp .isp-product-static .isp-product-header{
    min-height:148px;
}

#tabIsp .isp-product-static .isp-product-art{
    top:48px;
    right:2px;
    width:148px;
    opacity:.76;
}

#tabIsp .isp-product-static .isp-product-features{
    margin-top:0;
    margin-bottom:15px;
    padding-top:10px;
    padding-bottom:14px;
}

#tabIsp .isp-product-static .isp-product-controls{
    grid-template-columns:minmax(0,.78fr) minmax(0,.94fr) minmax(0,1.12fr);
    align-items:start;
    gap:14px;
    margin-bottom:16px;
}

#tabIsp .isp-product-static .isp-control-field{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    min-width:0;
    min-height:76px;
}

#tabIsp .isp-product-static .isp-control-field>label{
    display:block;
    height:16px;
    min-height:16px;
    margin:0 0 9px;
    padding:0;
    line-height:16px;
}

#tabIsp .isp-product-static .isp-control-field .isp-select{
    display:block;
    width:100%;
    height:46px;
    min-height:46px;
    margin:0;
}

#tabIsp .isp-product-static .isp-package-field{
    grid-column:auto;
    align-self:start;
}

#tabIsp .isp-product-static .isp-product-purchase{
    padding-top:15px;
}

#tabIsp .isp-product-static .isp-product-total{
    margin-bottom:12px;
}

#tabIsp .isp-product-static .isp-product-buy{
    min-height:48px;
}

@media (min-width:1241px){
    #tabIsp .isp-product-static .isp-product-art{
        top:48px;
        right:4px;
        width:148px;
    }
}

@media (max-width:1240px){
    #tabIsp .isp-product-static .isp-product-header{
        min-height:148px;
    }
    #tabIsp .isp-product-static .isp-product-art{
        top:50px;
        right:0;
        width:136px;
        opacity:.62;
    }
    #tabIsp .isp-product-static .isp-product-controls{
        grid-template-columns:1fr 1fr;
        align-items:start;
    }
    #tabIsp .isp-product-static .isp-package-field{
        grid-column:1/-1;
    }
}

@media (max-width:900px){
    #tabIsp .isp-product-static .isp-product-header{
        min-height:140px;
    }
    #tabIsp .isp-product-static .isp-product-art{
        top:52px;
        width:128px;
        opacity:.48;
    }
}

@media (max-width:620px){
    #tabIsp .isp-product-static .isp-product-header{
        min-height:0;
    }
    #tabIsp .isp-product-static .isp-product-art{
        top:54px;
        right:-5px;
        width:118px;
        opacity:.26;
    }
    #tabIsp .isp-product-static .isp-product-controls{
        grid-template-columns:1fr;
        align-items:start;
    }
    #tabIsp .isp-product-static .isp-package-field{
        grid-column:auto;
    }
}

/* === ISP STATIC FINAL ALIGNMENT v7 end === */
 
 /* ===== FINAL DARK GREEN THEME ===== */

html,
body {
    background: #030604 !important;
    color: #b7c9b9;
}

body {
    background-color: #030604 !important;
    background-image:
        linear-gradient(rgba(20, 70, 35, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 70, 35, 0.07) 1px, transparent 1px) !important;
    background-size: 24px 24px !important;
}

.terminal {
    background: #030604 !important;
}

main {
    background: #030604 !important;
}

#tabIsp,
#tabResiTraffic,
#tabMyProxy {
    background: transparent !important;
}

#tabIsp .isp-card,
#tabIsp .isp-product-card,
#tabResiTraffic .traffic-card,
#tabMyProxy .my-proxy-card {
    background: linear-gradient(
        145deg,
        #071009 0%,
        #030705 100%
    ) !important;
}


/* ISP PLANET — FADE IMAGE EDGES INTO PAGE */
#tabIsp .isp-hero-map {
    background: transparent !important;
}

#tabIsp .isp-hero-map img {
    -webkit-mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            #000 8%,
            #000 92%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            #000 8%,
            #000 92%,
            transparent 100%
        );
    -webkit-mask-composite: source-in;

    mask-image:
        linear-gradient(
            to right,
            transparent 0%,
            #000 8%,
            #000 92%,
            transparent 100%
        ),
        linear-gradient(
            to bottom,
            transparent 0%,
            #000 8%,
            #000 92%,
            transparent 100%
        );
    mask-composite: intersect;
}


/* ISP PLANET RESTORE ORIGINAL IMAGE */
#tabIsp .isp-hero-map {
    overflow: hidden;
}

#tabIsp .isp-hero-map img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    opacity: 1 !important;
    -webkit-mask: none !important;
    mask: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}


/* ISP PLANET FINAL BLEND FIX */
#tabIsp .isp-hero-map {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    overflow: hidden;
}

#tabIsp .isp-hero-map img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    -webkit-mask: none !important;
    mask: none !important;
    mix-blend-mode: normal !important;
}

/* RESI TRAFFIC DARK HERO + TRANSPARENT MAP v1 */
#tabResiTraffic .traffic-hero-expanded {
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(46, 122, 66, 0.34) !important;
    box-shadow: none !important;
    outline: none !important;
}

#tabResiTraffic .traffic-map-expanded {
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

#tabResiTraffic .traffic-map-expanded img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent !important;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 0 12px rgba(0, 255, 102, 0.12));
    opacity: 1;
    mix-blend-mode: normal;
}

/* RESI TRAFFIC COMPACT HERO v1 */
#tabResiTraffic .traffic-hero-expanded {
    min-height: 320px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

#tabResiTraffic .traffic-map-expanded {
    height: 270px !important;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-hero-expanded {
        min-height: 0 !important;
        padding: 24px 18px 20px !important;
    }

    #tabResiTraffic .traffic-map-expanded {
        height: 220px !important;
    }
}

/* RESI TRAFFIC — LARGER WORLD MAP */
#tabResiTraffic .traffic-map-expanded {
    height: 320px !important;
}

#tabResiTraffic .traffic-map-expanded img {
    transform: scale(1.18);
    transform-origin: center center;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-map-expanded {
        height: 240px !important;
    }

    #tabResiTraffic .traffic-map-expanded img {
        transform: scale(1.08);
    }
}

/* RESI TRAFFIC — FINE-TUNE MAP SCALE */
#tabResiTraffic .traffic-map-expanded img {
    transform: scale(1.15) !important;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-map-expanded img {
        transform: scale(1.06) !important;
    }
}

/* RESI TRAFFIC — FINE-TUNE MAP SCALE */
#tabResiTraffic .traffic-map-expanded img {
    transform: scale(1.15) !important;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-map-expanded img {
        transform: scale(1.06) !important;
    }
}

/* RESI TRAFFIC — FINE-TUNE MAP SCALE */
#tabResiTraffic .traffic-map-expanded img {
    transform: scale(1.15) !important;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-map-expanded img {
        transform: scale(1.06) !important;
    }
}

/* RESI TRAFFIC — FINE-TUNE MAP SCALE */
#tabResiTraffic .traffic-map-expanded img {
    transform: scale(1.15) !important;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-map-expanded img {
        transform: scale(1.06) !important;
    }
}

/* RESI TRAFFIC — FINE-TUNE MAP SCALE */
#tabResiTraffic .traffic-map-expanded img {
    transform: scale(1.15) !important;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-map-expanded img {
        transform: scale(1.06) !important;
    }
}

/* RESI TRAFFIC — FINE-TUNE MAP SCALE */
#tabResiTraffic .traffic-map-expanded img {
    transform: scale(1.15) !important;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-map-expanded img {
        transform: scale(1.06) !important;
    }
}

/* RESI TRAFFIC — FINAL MAP SCALE TWEAK */
#tabResiTraffic .traffic-map-expanded img {
    transform: scale(1.11) !important;
}

@media (max-width: 900px) {
    #tabResiTraffic .traffic-map-expanded img {
        transform: scale(1.02) !important;
    }
}

/* TRAFFIC WORLD SIZE */
#tabResiTraffic .traffic-world-image {
    width: 94% !important;
}

/* RESI GOLD EARTH HERO v1 */
#tabResiTraffic.traffic-page {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold {
  position: relative !important;
  isolation: isolate;
  display: block !important;
  width: 100% !important;
  min-height: clamp(390px, 24.3vw, 510px) !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 66px clamp(28px, 3.8vw, 78px) 58px !important;
  overflow: hidden !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(38, 130, 76, .36) !important;
  border-radius: 0 !important;
  background: #020705 !important;
  box-shadow: none !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #020705 0%, rgba(2,7,5,.97) 12%, rgba(2,7,5,.86) 25%, rgba(2,7,5,.46) 40%, rgba(2,7,5,.06) 60%, transparent 76%),
    linear-gradient(0deg, rgba(2,7,5,.30) 0%, transparent 22%, transparent 82%, rgba(2,7,5,.20) 100%);
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy {
  position: relative !important;
  z-index: 2 !important;
  align-self: auto !important;
  width: min(44%, 700px) !important;
  max-width: 700px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .section-kicker {
  display: flex !important;
  align-items: center !important;
  gap: 17px !important;
  margin: 0 0 34px !important;
  color: #2be995 !important;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  text-shadow: none !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .section-kicker::before {
  content: "";
  display: inline-block;
  flex: 0 0 42px;
  width: 42px;
  height: 3px;
  background: #2be995;
  box-shadow: 0 0 12px rgba(43,233,149,.22);
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy h2 {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  color: #f7f8f7 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(56px, 4.3vw, 88px) !important;
  font-weight: 800 !important;
  line-height: .98 !important;
  letter-spacing: -.055em !important;
  text-shadow: none !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy h2 span,
#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy h2 em {
  display: block !important;
  font: inherit !important;
  letter-spacing: inherit !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy h2 span {
  color: #f7f8f7 !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy h2 em {
  color: #25e88b !important;
  font-style: normal !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-lead {
  max-width: 610px !important;
  margin: 0 !important;
  color: #e3e9e5 !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(15px, 1.05vw, 19px) !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  letter-spacing: -.01em !important;
  text-shadow: none !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .resi-hero-meta {
  margin: 34px 0 0 !important;
  color: #6a9482 !important;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  letter-spacing: 2px !important;
  overflow-wrap: anywhere;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-hero-pills,
#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-network-aside {
  display: none !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-map-expanded {
  position: absolute !important;
  z-index: 0 !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-map-expanded img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  opacity: .98 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  mix-blend-mode: screen;
}

@media (max-width: 900px) {
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold {
    min-height: 500px !important;
    padding: 42px 22px 36px !important;
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold::after {
    background: linear-gradient(90deg, rgba(2,7,5,.98) 0%, rgba(2,7,5,.84) 52%, rgba(2,7,5,.35) 100%), linear-gradient(0deg, #020705 0%, transparent 30%, transparent 83%, rgba(2,7,5,.15) 100%);
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy {
    width: min(100%, 660px) !important;
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy h2 {
    font-size: clamp(52px, 8vw, 72px) !important;
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-map-expanded img {
    object-position: 58% center !important;
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold .resi-hero-meta {
    max-width: 520px;
    font-size: 10px !important;
    letter-spacing: 1.25px !important;
  }
}

@media (max-width: 520px) {
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold {
    min-height: 470px !important;
    padding: 34px 18px 28px !important;
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold .section-kicker {
    gap: 11px !important;
    margin-bottom: 28px !important;
    font-size: 10px !important;
    letter-spacing: 1.1px !important;
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold .section-kicker::before {
    flex-basis: 26px;
    width: 26px;
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-copy h2 {
    font-size: clamp(46px, 12vw, 60px) !important;
  }
  #tabResiTraffic .traffic-hero-expanded.resi-hero-gold .traffic-lead {
    font-size: 15px !important;
  }
}


/* FIX: RESI must hide when another tab is selected */
#tabResiTraffic.traffic-page.hidden {
    display: none !important;
}

/* RESI TRAFFIC VOLUME CONTROL — VISUAL POLISH v1 */

#tabResiTraffic .traffic-config-grid {
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(245px, .95fr)
    minmax(255px, .85fr);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(3, 10, 5, .82);
  box-shadow: 0 16px 45px rgba(0, 0, 0, .18);
}

#tabResiTraffic .traffic-config-block {
  padding: clamp(18px, 1.8vw, 27px);
}

#tabResiTraffic .traffic-plan-card {
  min-height: 176px;
  padding: 19px;
  border-radius: 9px;
  transition: border-color .2s ease, background .2s ease,
              transform .2s ease, box-shadow .2s ease;
}

#tabResiTraffic .traffic-plan-card:hover {
  transform: translateY(-2px);
}

#tabResiTraffic .traffic-plan-card.selected {
  box-shadow: inset 0 0 0 1px rgba(80, 255, 140, .12),
              0 0 22px rgba(30, 200, 90, .07);
}

#tabResiTraffic .traffic-plan-card strong {
  font-variant-numeric: tabular-nums;
}

#tabResiTraffic .traffic-field-grid select {
  border-radius: 8px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

#tabResiTraffic .traffic-field-grid select:focus {
  outline: none;
  border-color: #37e982;
  box-shadow: 0 0 0 3px rgba(55, 233, 130, .09);
}

/* Volume selector */
#tabResiTraffic .traffic-amount-block {
  position: relative;
  background:
    radial-gradient(
      ellipse at 50% 42%,
      rgba(35, 190, 89, .10),
      transparent 72%
    ),
    linear-gradient(160deg, rgba(5, 24, 12, .92), rgba(3, 10, 6, .98));
}

#tabResiTraffic .traffic-amount-display {
  min-height: 180px;
  padding: 7px 0;
  align-items: stretch;
}

#tabResiTraffic .traffic-amount-label {
  display: block;
  margin-bottom: 13px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 1.6px;
}

#tabResiTraffic .traffic-stepper {
  width: 100%;
  max-width: none;
  grid-template-columns: 50px minmax(0, 1fr) 50px;
  gap: 9px;
  margin: 0 auto 12px;
}

#tabResiTraffic .traffic-stepper .btn-navy {
  min-width: 0;
  min-height: 56px;
  border-radius: 9px !important;
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease,
              transform .18s ease;
}

#tabResiTraffic .traffic-stepper .btn-navy:hover {
  border-color: #52f394 !important;
  background: rgba(10, 83, 34, .9) !important;
}

#tabResiTraffic .traffic-stepper .btn-navy:active {
  transform: scale(.96);
}

#tabResiTraffic .traffic-stepper .gb-input {
  box-sizing: border-box;
  width: 100% !important;
  min-width: 0;
  max-width: none;
  min-height: 56px;
  margin: 0 !important;
  padding: 6px 8px;
  border: 1px solid rgba(65, 184, 103, .65) !important;
  border-radius: 9px;
  background: rgba(1, 9, 4, .94) !important;
  color: #f1fff4 !important;
  font-family: inherit;
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 700;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, .3);
}

#tabResiTraffic .traffic-stepper .gb-input:focus {
  outline: none;
  border-color: #4aee8b !important;
  box-shadow: 0 0 0 3px rgba(74, 238, 139, .11);
}

#tabResiTraffic .traffic-stepper .gb-input::-webkit-inner-spin-button,
#tabResiTraffic .traffic-stepper .gb-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#tabResiTraffic .traffic-stepper .gb-input {
  -moz-appearance: textfield;
  appearance: textfield;
}

#tabResiTraffic .traffic-amount-unit {
  display: block;
  margin-top: 1px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 2px;
}

#tabResiTraffic .traffic-amount-display::after {
  content: "MIN 1 GB  ·  MAX 5,000 GB";
  display: block;
  margin-top: 11px;
  color: #648b70;
  font-size: 9px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
}

/* Order summary */
#tabResiTraffic .traffic-order {
  border-radius: 12px;
  border-color: rgba(57, 185, 99, .66);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .16);
}

#tabResiTraffic .traffic-total-price {
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(62, 245, 130, .12);
}

#tabResiTraffic .traffic-buy-button {
  border-radius: 8px;
  transition: background .2s ease, color .2s ease,
              box-shadow .2s ease, transform .2s ease;
}

#tabResiTraffic .traffic-buy-button:hover {
  box-shadow: 0 0 22px rgba(58, 238, 126, .12);
  transform: translateY(-1px);
}

/* Responsive layout */
@media (max-width: 1250px) {
  #tabResiTraffic .traffic-config-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }

  #tabResiTraffic .traffic-amount-block {
    grid-column: 1 / -1;
    border-left: 0 !important;
    border-top: 1px dashed rgba(36, 115, 59, .7);
  }

  #tabResiTraffic .traffic-amount-display {
    max-width: 440px;
    min-height: 145px;
    margin: 0 auto;
  }
}

@media (max-width: 900px) {
  #tabResiTraffic .traffic-config-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #tabResiTraffic .traffic-config-block {
    padding: 21px;
  }

  #tabResiTraffic .traffic-amount-block {
    grid-column: auto;
    border-top: 1px dashed rgba(36, 115, 59, .7);
  }
}

@media (max-width: 600px) {
  #tabResiTraffic .traffic-config-grid,
  #tabResiTraffic .traffic-order {
    border-radius: 9px;
  }

  #tabResiTraffic .traffic-config-block {
    padding: 17px;
  }

  #tabResiTraffic .traffic-stepper {
    grid-template-columns: 46px minmax(0, 1fr) 46px;
    gap: 7px;
  }

  #tabResiTraffic .traffic-stepper .btn-navy,
  #tabResiTraffic .traffic-stepper .gb-input {
    min-height: 51px;
  }
}

/* END RESI TRAFFIC VOLUME CONTROL — VISUAL POLISH v1 */

/* RESI TRAFFIC ORDER SUMMARY — VISUAL POLISH v2 */

#tabResiTraffic .traffic-configure {
  padding-bottom: 8px !important;
}

#tabResiTraffic .traffic-order {
  margin-top: 12px !important;
  padding: 25px 26px !important;
  gap: 22px !important;
  border-radius: 12px;
  background:
    radial-gradient(
      ellipse at 83% 45%,
      rgba(60, 235, 120, .065),
      transparent 40%
    ),
    linear-gradient(135deg, rgba(9, 22, 13, .98), rgba(3, 9, 5, .99));
}

#tabResiTraffic .traffic-order-copy h3 {
  font-size: 23px;
  letter-spacing: -.4px;
}

#tabResiTraffic .traffic-order-copy p {
  max-width: 400px;
}

#tabResiTraffic .traffic-order-summary {
  padding-left: 22px;
}

#tabResiTraffic .traffic-order-line {
  padding: 9px 0;
}

#tabResiTraffic .traffic-order-total > span {
  margin-bottom: 7px;
}

#tabResiTraffic .traffic-total-price {
  font-size: clamp(30px, 2.7vw, 40px);
  margin-bottom: 15px;
}

#tabResiTraffic .traffic-buy-button {
  min-height: 50px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  #tabResiTraffic .traffic-order {
    margin-top: 12px !important;
    padding: 22px 18px !important;
    gap: 18px !important;
  }

  #tabResiTraffic .traffic-order-summary {
    padding-left: 0;
  }
}

/* END RESI TRAFFIC ORDER SUMMARY — VISUAL POLISH v2 */

/* RESI TRAFFIC LAYOUT REFRAME v3 */

/* Remove the redundant outer frame around the configure section. */
#tabResiTraffic > .traffic-configure {
  margin: 22px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#tabResiTraffic > .traffic-configure > .traffic-section-heading {
  max-width: 1700px;
  margin: 0 auto 18px !important;
  padding: 0 2px;
}

#tabResiTraffic .traffic-config-grid {
  width: calc(100% - 40px);
  max-width: 1700px;
  margin: 0 auto !important;
  border: 1px solid rgba(48, 168, 89, .62);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 15%, rgba(30, 180, 80, .055), transparent 42%),
    linear-gradient(135deg, rgba(5, 17, 9, .98), rgba(2, 8, 4, .99));
  box-shadow: 0 15px 42px rgba(0, 0, 0, .17);
}

/* A separate, centered and more compact order card. */
#tabResiTraffic > .traffic-order {
  display: grid !important;
  width: calc(100% - 40px) !important;
  max-width: 1080px !important;
  box-sizing: border-box;
  grid-template-columns:
    minmax(250px, .9fr)
    minmax(390px, 1.2fr)
    minmax(290px, .8fr) !important;
  align-items: center;
  gap: 26px !important;
  min-height: 0 !important;
  margin: 18px auto 34px !important;
  padding: 22px 26px !important;
  border: 1px solid rgba(48, 168, 89, .62);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 85% 50%, rgba(45, 210, 105, .075), transparent 40%),
    linear-gradient(135deg, rgba(8, 21, 12, .99), rgba(3, 9, 5, .99));
  box-shadow: 0 15px 42px rgba(0, 0, 0, .17);
}

#tabResiTraffic .traffic-order-copy h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

#tabResiTraffic .traffic-order-copy p {
  max-width: 340px;
  font-size: 11px;
  line-height: 1.55;
}

#tabResiTraffic .traffic-order-summary {
  min-width: 0;
  padding-left: 22px;
  border-left: 1px solid rgba(49, 140, 75, .35);
}

#tabResiTraffic .traffic-order-line {
  padding: 9px 0;
  font-size: 10px;
}

#tabResiTraffic .traffic-order-line strong {
  overflow-wrap: anywhere;
}

#tabResiTraffic .traffic-order-total {
  min-width: 0;
  text-align: right;
}

#tabResiTraffic .traffic-total-price {
  margin: 5px 0 15px;
  font-size: clamp(32px, 2.5vw, 42px);
  letter-spacing: -.7px;
}

#tabResiTraffic .traffic-buy-button {
  min-height: 50px;
  border-radius: 8px;
  white-space: normal;
}

/* Tablet */
@media (max-width: 1250px) {
  #tabResiTraffic > .traffic-order {
    grid-template-columns: minmax(0, 1fr) minmax(270px, .8fr) !important;
  }

  #tabResiTraffic .traffic-order-total {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(130px, 1fr) minmax(250px, .9fr);
    align-items: center;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(49, 140, 75, .3);
    text-align: left;
  }

  #tabResiTraffic .traffic-order-total > span {
    margin: 0;
  }

  #tabResiTraffic .traffic-total-price {
    margin: 0;
  }

  #tabResiTraffic .traffic-buy-button {
    width: 100%;
    min-width: 0;
  }
}

/* Mobile */
@media (max-width: 900px) {
  #tabResiTraffic .traffic-config-grid {
    width: calc(100% - 28px);
  }

  #tabResiTraffic > .traffic-order {
    width: calc(100% - 28px) !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 17px !important;
    margin-top: 14px !important;
    padding: 20px !important;
  }

  #tabResiTraffic .traffic-order-summary {
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(49, 140, 75, .3);
  }

  #tabResiTraffic .traffic-order-total {
    grid-column: auto;
    display: block;
    padding-top: 14px;
    border-top: 1px solid rgba(49, 140, 75, .3);
    text-align: left;
  }

  #tabResiTraffic .traffic-total-price {
    margin: 7px 0 15px;
  }
}

/* END RESI TRAFFIC LAYOUT REFRAME v3 */

/* RESI TRAFFIC PRESET PACKAGES v1 */

#tabResiTraffic .traffic-config-grid {
  grid-template-columns:
    minmax(0, 1.2fr)
    minmax(0, 1fr)
    minmax(390px, 1.2fr) !important;
}

#tabResiTraffic .traffic-amount-display {
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 12px;
}

#tabResiTraffic .traffic-amount-display::after {
  content: none !important;
  display: none !important;
}

#tabResiTraffic .traffic-amount-label {
  display: block;
  margin: 0;
  color: #d2e5d7;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .65px;
  text-align: left;
}

#tabResiTraffic .traffic-volume-packages {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  padding: 10px 0 0;
  overflow: visible;
}

#tabResiTraffic .traffic-volume-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 67px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 9px 3px 7px;
  border: 1px solid rgba(36, 115, 59, .72);
  border-radius: 7px;
  background: rgba(0, 8, 3, .82);
  color: #dce9df;
  font-family: inherit;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease,
              transform .18s ease, box-shadow .18s ease;
}

#tabResiTraffic .traffic-volume-option:hover {
  border-color: rgba(67, 239, 135, .8);
  background: rgba(4, 35, 15, .92);
  transform: translateY(-1px);
}

#tabResiTraffic .traffic-volume-option.selected {
  border-color: #42ed87;
  background: linear-gradient(155deg, rgba(0, 48, 20, .9), rgba(0, 17, 7, .98));
  box-shadow: inset 0 0 0 1px rgba(66, 237, 135, .12),
              0 0 14px rgba(40, 220, 105, .08);
}

#tabResiTraffic .traffic-package-size {
  display: block;
  color: #e5f0e8;
  font-size: clamp(9px, .75vw, 11px);
  line-height: 1.2;
  white-space: nowrap;
}

#tabResiTraffic .traffic-package-rate {
  display: block;
  color: #58ed91;
  font-size: clamp(8px, .66vw, 9px);
  line-height: 1.2;
  white-space: nowrap;
}

#tabResiTraffic .traffic-package-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 3px 6px;
  border-radius: 4px;
  background: #46ed8a;
  color: #04200e;
  font-size: 7px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .35px;
  white-space: nowrap;
}

#tabResiTraffic .traffic-custom-volume {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 115, 59, .35);
}

#tabResiTraffic .traffic-custom-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

#tabResiTraffic .traffic-custom-copy > span {
  color: #8eaa98;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .75px;
  white-space: nowrap;
}

#tabResiTraffic .traffic-custom-copy > small {
  color: #668b73;
  font-size: 8px;
  letter-spacing: .45px;
  white-space: nowrap;
}

#tabResiTraffic .traffic-custom-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

#tabResiTraffic .traffic-custom-controls .traffic-stepper {
  width: 155px;
  max-width: 155px;
  grid-template-columns: 31px minmax(0, 1fr) 31px;
  gap: 5px;
  margin: 0;
}

#tabResiTraffic .traffic-custom-controls .traffic-stepper .btn-navy,
#tabResiTraffic .traffic-custom-controls .traffic-stepper .gb-input {
  min-height: 37px;
  height: 37px;
  border-radius: 6px !important;
}

#tabResiTraffic .traffic-custom-controls .traffic-stepper .btn-navy {
  font-size: 16px;
}

#tabResiTraffic .traffic-custom-controls .traffic-stepper .gb-input {
  padding: 4px;
  font-size: 15px;
}

#tabResiTraffic .traffic-custom-controls .traffic-amount-unit {
  color: #8eaa98;
  font-size: 9px;
  letter-spacing: .7px;
}

/* Tablet */
@media (max-width: 1250px) {
  #tabResiTraffic .traffic-config-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) !important;
  }

  #tabResiTraffic .traffic-amount-block {
    grid-column: 1 / -1;
  }

  #tabResiTraffic .traffic-volume-packages {
    max-width: 620px;
  }

  #tabResiTraffic .traffic-custom-volume {
    max-width: 620px;
  }
}

/* Mobile */
@media (max-width: 900px) {
  #tabResiTraffic .traffic-config-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #tabResiTraffic .traffic-volume-packages,
  #tabResiTraffic .traffic-custom-volume {
    max-width: none;
  }

  #tabResiTraffic .traffic-volume-packages {
    gap: 8px;
  }

  #tabResiTraffic .traffic-package-size {
    font-size: 11px;
  }

  #tabResiTraffic .traffic-package-rate {
    font-size: 9px;
  }
}

@media (max-width: 600px) {
  #tabResiTraffic .traffic-volume-packages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
  }

  #tabResiTraffic .traffic-custom-volume {
    grid-template-columns: minmax(0, 1fr);
  }

  #tabResiTraffic .traffic-custom-controls {
    justify-content: flex-start;
  }
}

/* END RESI TRAFFIC PRESET PACKAGES v1 */

/* RESI TRAFFIC PREMIUM SECTIONS POLISH v1 */

/* 1. WHY RESIDENTIAL */
#tabResiTraffic .traffic-why {
  margin: 26px 0 0 !important;
  padding: clamp(23px, 2.15vw, 34px) clamp(20px, 2vw, 30px) 27px !important;
  border: 1px solid rgba(49,151,83,.34) !important;
  border-radius: 16px !important;
  background:
    radial-gradient(ellipse at 8% 0%,rgba(35,166,83,.075),transparent 42%),
    linear-gradient(145deg,rgba(7,18,11,.94),rgba(3,9,5,.98)) !important;
  box-shadow: inset 0 1px 0 rgba(134,255,174,.025),
              0 16px 44px rgba(0,0,0,.13);
}

#tabResiTraffic .traffic-why .traffic-section-heading {
  align-items: flex-end;
  margin-bottom: 23px !important;
}

#tabResiTraffic .traffic-why .traffic-section-heading h3 {
  font-size: clamp(24px,2.05vw,31px) !important;
  letter-spacing: -.035em;
}

#tabResiTraffic .traffic-feature-grid {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 11px;
}

#tabResiTraffic .traffic-feature-card {
  display: flex;
  min-width: 0;
  min-height: 154px;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 17px 17px !important;
  border: 1px solid rgba(54,135,79,.29) !important;
  border-radius: 11px !important;
  background: linear-gradient(155deg,rgba(10,26,15,.76),rgba(3,10,6,.88)) !important;
  box-shadow: inset 0 1px 0 rgba(180,255,196,.018);
  transition: border-color .2s ease, background .2s ease,
              transform .2s ease, box-shadow .2s ease;
}

#tabResiTraffic .traffic-feature-card:hover {
  border-color: rgba(66,231,128,.68) !important;
  background: linear-gradient(155deg,rgba(12,37,20,.88),rgba(4,14,8,.96)) !important;
  box-shadow: 0 9px 24px rgba(0,0,0,.15);
  transform: translateY(-2px);
}

#tabResiTraffic .traffic-feature-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 27px;
  height: 21px;
  margin: 0 0 20px !important;
  padding: 0 6px;
  border: 1px solid rgba(55,145,83,.28);
  border-radius: 5px;
  background: rgba(25,86,43,.13);
  color: #69a77b !important;
  font-size: 8px;
  letter-spacing: 1px;
}

#tabResiTraffic .traffic-feature-card strong {
  margin: 0;
  color: #65ed98 !important;
  font-size: 10px !important;
  line-height: 1.45 !important;
}

#tabResiTraffic .traffic-feature-card p {
  margin: 9px 0 0 !important;
  color: #91a99a !important;
  font-size: 10px !important;
  line-height: 1.65 !important;
}

/* 2. CONFIGURE PROXY: three separate visual panels */
#tabResiTraffic .traffic-configure {
  margin: 29px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#tabResiTraffic .traffic-configure > .traffic-section-heading {
  align-items: flex-end;
  margin: 0 0 19px !important;
  padding: 0 2px;
}

#tabResiTraffic .traffic-configure > .traffic-section-heading h3 {
  font-size: clamp(25px,2.1vw,32px) !important;
  letter-spacing: -.035em;
}

#tabResiTraffic .traffic-config-grid {
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(0,.98fr) minmax(0,1.22fr) !important;
  gap: 12px !important;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#tabResiTraffic .traffic-config-block,
#tabResiTraffic .traffic-config-block + .traffic-config-block {
  min-width: 0;
  padding: clamp(19px,1.8vw,26px) !important;
  border: 1px solid rgba(53,143,81,.36) !important;
  border-radius: 13px !important;
  background:
    radial-gradient(ellipse at 95% 0%,rgba(35,150,76,.065),transparent 50%),
    linear-gradient(150deg,rgba(7,19,11,.97),rgba(3,9,5,.99)) !important;
  box-shadow: inset 0 1px 0 rgba(180,255,196,.025),
              0 12px 34px rgba(0,0,0,.12);
}

#tabResiTraffic .checkout-step-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px !important;
  color: #67e995 !important;
  font-size: 9px !important;
  font-weight: 700;
  letter-spacing: 1.15px;
}

#tabResiTraffic .traffic-config-block .checkout-step-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg,rgba(55,143,82,.34),transparent);
}

/* Plan cards */
#tabResiTraffic .traffic-plan-options {
  gap: 9px !important;
}

#tabResiTraffic .traffic-plan-card {
  min-height: 190px;
  padding: 17px !important;
  border-radius: 10px !important;
  border-color: rgba(50,133,75,.48) !important;
  background: rgba(1,9,4,.72) !important;
}

#tabResiTraffic .traffic-plan-card.selected {
  border-color: rgba(64,235,130,.9) !important;
  background:
    radial-gradient(ellipse at 20% 0%,rgba(40,190,90,.14),transparent 75%),
    rgba(2,19,8,.9) !important;
  box-shadow: inset 0 0 0 1px rgba(67,237,135,.08),
              0 0 20px rgba(35,205,99,.045);
}

#tabResiTraffic .traffic-plan-card .plan-name {
  color: #e0eee4 !important;
  font-size: 10px !important;
}

#tabResiTraffic .traffic-plan-card strong {
  color: #5bf08f !important;
  font-size: 23px !important;
  font-variant-numeric: tabular-nums;
}

#tabResiTraffic .traffic-plan-card .plan-description {
  color: #819889 !important;
  font-size: 8px !important;
  line-height: 1.6 !important;
}

/* Location fields */
#tabResiTraffic .traffic-field-grid {
  gap: 17px !important;
}

#tabResiTraffic .traffic-field-grid label {
  margin-bottom: 8px !important;
  color: #7f9d88 !important;
  font-size: 8px !important;
  font-weight: 650;
  letter-spacing: 1px;
}

#tabResiTraffic .traffic-field-grid select {
  min-height: 49px !important;
  padding: 11px 13px !important;
  border: 1px solid rgba(54,145,81,.52) !important;
  border-radius: 8px !important;
  background: rgba(1,8,4,.9) !important;
  color: #6ced9a !important;
}

#tabResiTraffic .traffic-field-grid select:focus {
  outline: none;
  border-color: rgba(66,235,131,.9) !important;
  box-shadow: 0 0 0 3px rgba(66,235,131,.07);
}

/* Volume selector */
#tabResiTraffic .traffic-amount-block {
  background:
    radial-gradient(ellipse at 50% 0%,rgba(32,167,82,.09),transparent 58%),
    linear-gradient(150deg,rgba(7,20,11,.98),rgba(3,9,5,.99)) !important;
}

#tabResiTraffic .traffic-amount-display {
  gap: 13px;
}

#tabResiTraffic .traffic-volume-option {
  min-height: 70px;
  border-radius: 8px !important;
  border-color: rgba(52,135,77,.46) !important;
  background: rgba(1,8,4,.72) !important;
}

#tabResiTraffic .traffic-volume-option.selected {
  border-color: #43e987 !important;
  background: linear-gradient(155deg,rgba(4,44,19,.92),rgba(2,16,7,.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(67,233,135,.1),
              0 0 16px rgba(42,218,111,.06);
}

#tabResiTraffic .traffic-custom-volume {
  margin-top: 5px;
  padding-top: 14px;
  border-top-color: rgba(55,137,79,.28) !important;
}

/* Responsive */
@media (max-width: 1250px) {
  #tabResiTraffic .traffic-feature-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }

  #tabResiTraffic .traffic-config-grid {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  }

  #tabResiTraffic .traffic-config-block.traffic-amount-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  #tabResiTraffic .traffic-why {
    padding: 22px 17px !important;
  }

  #tabResiTraffic .traffic-feature-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  #tabResiTraffic .traffic-config-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  #tabResiTraffic .traffic-config-block.traffic-amount-block {
    grid-column: auto;
  }
}

@media (max-width: 600px) {
  #tabResiTraffic .traffic-feature-grid {
    grid-template-columns: minmax(0,1fr);
  }

  #tabResiTraffic .traffic-feature-card {
    min-height: 0;
  }

  #tabResiTraffic .traffic-plan-options {
    grid-template-columns: minmax(0,1fr);
  }
}

/* END RESI TRAFFIC PREMIUM SECTIONS POLISH v1 */

/* RESI CONNECTION HEADER INSIDE CONFIG CONTAINER */
.traffic-config-grid > .traffic-section-heading {
  grid-column: 1 / -1;
  width: 100%;
  margin: 0;
}

.traffic-config-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
}

.traffic-config-grid > .traffic-config-block {
  min-width: 0;
}

/* RESI CONNECTION HEADER — FINAL CONTAINER FRAME */
#tabResiTraffic .traffic-config-grid {
  display: grid;
  grid-template-columns: minmax(0,1.18fr) minmax(0,.98fr) minmax(0,1.22fr) !important;
  gap: 12px !important;

  width: 100%;
  max-width: none !important;
  margin: 0 !important;

  border: 1px solid rgba(48, 168, 89, .62) !important;
  border-radius: 14px !important;
  overflow: hidden !important;

  background:
    radial-gradient(
      ellipse at 88% 8%,
      rgba(30, 180, 80, .055),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      rgba(5, 17, 9, .98),
      rgba(2, 8, 4, .99)
    ) !important;

  box-shadow: 0 15px 42px rgba(0, 0, 0, .17);
}

/* Header is the first row of the same container */
#tabResiTraffic .traffic-config-grid > .traffic-section-heading {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;

  margin: 0 !important;
  padding: 24px 26px 8px !important;

  align-items: flex-end;
}

/* Keep the three configurator cards below the header */
#tabResiTraffic .traffic-config-grid > .traffic-config-block {
  min-width: 0;
  box-sizing: border-box;
}

/* Don't let the old external-heading rules affect this header */
#tabResiTraffic .traffic-config-grid > .traffic-section-heading h3 {
  margin: 0 !important;
}

/* Responsive */
@media (max-width: 900px) {
  #tabResiTraffic .traffic-config-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }

  #tabResiTraffic .traffic-config-grid > .traffic-section-heading {
    padding: 21px 18px 8px !important;
  }
}



/* AUTH RECOVERY FLOW */
.auth-inline-link {
  display: inline-block;
  width: auto;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--green, #8cff9e);
  font: inherit;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.auth-inline-link:hover {
  filter: brightness(1.25);
}

.auth-recovery-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(7px);
}

.auth-recovery-dialog {
  box-sizing: border-box;
  width: min(520px, 100%);
  max-height: min(90vh, 850px);
  overflow-y: auto;
  padding: 26px;
  color: #e9f4eb;
  background: #090e0b;
  border: 1px solid var(--green, #42e879);
  box-shadow: 0 0 34px rgba(54, 255, 120, 0.16);
}

.auth-recovery-title {
  margin: 0 0 12px;
  color: var(--green, #8cff9e);
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.auth-recovery-description {
  margin: 0 0 22px;
  color: #aebbb1;
  font-size: 13px;
  line-height: 1.65;
}

.auth-recovery-body {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.auth-recovery-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.auth-recovery-form label {
  margin-top: 6px;
  color: #c6d4c9;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.auth-recovery-form input {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 11px 13px;
  color: #f2fff4;
  background: #050806;
  border: 1px solid #304638;
  border-radius: 2px;
  outline: none;
}

.auth-recovery-form input:focus {
  border-color: var(--green, #42e879);
  box-shadow: 0 0 0 2px rgba(66, 232, 121, 0.1);
}

.auth-recovery-key {
  padding: 18px 14px;
  background: #050806;
  border: 1px solid #31563c;
  text-align: center;
}

.auth-recovery-key code {
  color: var(--green, #8cff9e);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: clamp(14px, 3.5vw, 20px);
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.08em;
  overflow-wrap: anywhere;
  user-select: text;
}

.auth-recovery-warning {
  margin: 4px 0;
  padding: 12px;
  color: #e8c68a;
  background: rgba(180, 120, 35, 0.08);
  border-left: 2px solid #b98235;
  font-size: 12px;
  line-height: 1.55;
}

.auth-recovery-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d6e3d9;
  font-size: 12px;
  line-height: 1.5;
  cursor: pointer;
}

.auth-recovery-checkbox input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--green, #42e879);
}

.auth-recovery-status {
  min-height: 18px;
  color: #e8c68a;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.auth-recovery-footer {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.auth-modal-button {
  min-height: 42px;
  padding: 11px 16px;
  color: #061009;
  background: var(--green, #42e879);
  border: 1px solid var(--green, #42e879);
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.auth-modal-button:hover:not(:disabled) {
  filter: brightness(1.12);
}

.auth-modal-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.auth-modal-button-secondary {
  color: #c5d2c8;
  background: transparent;
  border-color: #405247;
}

.auth-copy-key-button {
  align-self: center;
  margin-top: 2px;
}

@media (max-width: 520px) {
  .auth-recovery-dialog {
    padding: 20px 17px;
  }

  .auth-recovery-footer {
    flex-direction: column-reverse;
  }

  .auth-recovery-footer .auth-modal-button {
    width: 100%;
  }
}



/* PROJECTSOCKS_SHKEEPER_PAYMENTS_V1 */
#tabPayments .payment-heading {
    margin-bottom: 22px;
}

#tabPayments .payment-eyebrow {
    color: var(--green);
    font-size: 11px;
    letter-spacing: 2px;
    opacity: .75;
    margin-bottom: 7px;
}

#tabPayments .payment-heading p {
    color: #9ba99d;
    margin-top: 8px;
}

#tabPayments .payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr);
    gap: 18px;
    align-items: start;
}

#tabPayments .payment-panel {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--green-dark);
    border-radius: 8px;
    background: linear-gradient(145deg, #080d09, #050705);
}

#tabPayments .payment-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: 16px;
}

#tabPayments .payment-step {
    color: #07130a;
    background: var(--green);
    min-width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 11px;
}

#tabPayments .crypto-grid {
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 10px;
    margin-top: 0;
}

#tabPayments .crypto-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 72px;
    width: 100%;
    text-align: left;
    padding: 12px;
    border: 1px solid #1b3823;
    border-radius: 6px;
    background: #070b08;
    color: var(--green);
    font: inherit;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

#tabPayments .crypto-card:hover {
    border-color: var(--green);
    background: #0a160d;
    transform: translateY(-1px);
}

#tabPayments .crypto-card.is-selected {
    border-color: var(--green);
    background: #0b1a0f;
    box-shadow: inset 0 0 0 1px rgba(0, 255, 102, .13);
}

#tabPayments .crypto-card:focus-visible,
#tabPayments button:focus-visible,
#tabPayments input:focus-visible,
#tabPayments textarea:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
}

#tabPayments .crypto-symbol {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #25452c;
    border-radius: 50%;
    color: var(--green);
    font-size: 21px;
    font-weight: 700;
}

#tabPayments .crypto-card-copy {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

#tabPayments .crypto-card-copy strong {
    color: #e4f4e7;
    font-size: 13px;
}

#tabPayments .crypto-card-copy small {
    color: #80a889;
    font-size: 9px;
    letter-spacing: .7px;
}

#tabPayments .payment-amount-block {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #19331f;
}

#tabPayments .payment-amount-label {
    display: block;
    color: #9bb2a0;
    font-size: 10px;
    letter-spacing: 1.1px;
    margin: 10px 0 8px;
}

#tabPayments .payment-amount-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    border: 1px solid #285535;
    border-radius: 6px;
    background: #030604;
    padding: 0 14px;
}

#tabPayments .payment-amount-input-wrap > span:first-child {
    color: var(--green);
    font-size: 22px;
}

#tabPayments #paymentAmount {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #ecfff0;
    font-size: 22px;
    font-weight: 700;
    padding: 10px 0;
}

#tabPayments #paymentAmount:focus-visible {
    outline: 0;
}

#tabPayments .payment-usd-label {
    color: #72917a;
    font-size: 10px;
    letter-spacing: 1px;
}

#tabPayments .payment-muted {
    color: #809386;
    font-size: 11px;
    line-height: 1.6;
    margin: 9px 0 14px;
}

#tabPayments .payment-action-btn,
#tabPayments .payment-secondary-btn {
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}

#tabPayments .payment-action-btn {
    border: 1px solid var(--green);
    background: var(--green);
    color: #041006;
}

#tabPayments .payment-action-btn:hover {
    background: #8affad;
    border-color: #8affad;
}

#tabPayments .payment-action-btn:disabled,
#tabPayments .payment-secondary-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

#tabPayments .payment-secondary-btn {
    border: 1px solid #31563a;
    background: #08100a;
    color: var(--green);
}

#tabPayments .payment-secondary-btn:hover {
    background: #102017;
    border-color: var(--green);
}

#tabPayments .payment-feedback {
    padding: 11px 12px;
    margin-top: 12px;
    border: 1px solid #31563a;
    border-radius: 5px;
    color: #b9e9c5;
    background: #09130c;
    font-size: 12px;
    line-height: 1.5;
}

#tabPayments .payment-feedback.is-error {
    color: #ffb7a9;
    border-color: #78392e;
    background: #1a0d0a;
}

#tabPayments .payment-result-panel,
#tabPayments .payment-invoice-panel {
    margin-top: 22px;
    padding: 17px;
    border: 1px solid #285535;
    border-radius: 6px;
    background: #050a06;
}

#tabPayments .payment-quote-line,
#tabPayments .payment-invoice-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #14271a;
    color: #91a997;
    font-size: 12px;
}

#tabPayments .payment-quote-line strong,
#tabPayments .payment-invoice-summary strong {
    color: #dfffe5;
    text-align: right;
    overflow-wrap: anywhere;
}

#tabPayments .payment-invoice-summary {
    display: block;
    margin-bottom: 14px;
}

#tabPayments .payment-invoice-summary strong {
    display: block;
    color: var(--green);
    font-size: 21px;
    text-align: left;
    margin-top: 6px;
}

#tabPayments #paymentWalletAddress {
    width: 100%;
    resize: vertical;
    box-sizing: border-box;
    padding: 12px;
    border: 1px solid #285535;
    border-radius: 5px;
    background: #020503;
    color: #dfffe5;
    font: 12px/1.5 monospace;
    overflow-wrap: anywhere;
}

#tabPayments .payment-copy-btn {
    margin: 10px 0 8px;
}

#tabPayments .payment-confirmation-note {
    margin-top: 22px;
    padding-top: 14px;
    border-top: 1px solid #19331f;
    color: #809386;
    font-size: 11px;
    line-height: 1.65;
}

#tabPayments .payment-history-panel > .payment-secondary-btn {
    margin: 4px 0 16px;
}

#tabPayments .payment-history-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

#tabPayments .payment-history-item {
    padding: 12px;
    border: 1px solid #1d3925;
    border-radius: 5px;
    background: #050a06;
}

#tabPayments .payment-history-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #e0f5e4;
    font-size: 12px;
    font-weight: 700;
}

#tabPayments .payment-history-meta {
    margin-top: 7px;
    color: #839989;
    font-size: 10px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

#tabPayments .payment-history-item .payment-secondary-btn {
    min-height: 34px;
    margin-top: 10px;
    padding: 7px;
    font-size: 9px;
}

#tabPayments .payment-history-empty {
    padding: 16px 10px;
    border: 1px dashed #24432c;
    border-radius: 5px;
    color: #819687;
    font-size: 11px;
    text-align: center;
}

@media (max-width: 900px) {
    #tabPayments .payment-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    #tabPayments .payment-panel {
        padding: 14px;
    }

    #tabPayments .crypto-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #tabPayments .crypto-card {
        min-height: 68px;
        gap: 8px;
        padding: 9px;
    }

    #tabPayments .crypto-symbol {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
        font-size: 17px;
    }

    #tabPayments .crypto-card-copy strong {
        font-size: 11px;
    }

    #tabPayments .crypto-card-copy small {
        font-size: 8px;
    }
}
