/**
 * VPS configure — extends home.css + vps.css
 */
body.vpsPage main#main {
  padding-bottom: 100px;
}

.vcc-intro {
  padding: 28px 0 8px;
  position: relative;
}
.vcc-intro::before {
  content: "";
  position: absolute;
  inset: -2px;
  background:
    radial-gradient(700px 320px at 25% 0%, rgba(68, 102, 255, 0.1), transparent 58%),
    radial-gradient(560px 280px at 85% 0%, rgba(57, 255, 136, 0.1), transparent 52%);
  pointer-events: none;
}
.vcc-intro .container {
  position: relative;
}

.vcc-crumb {
  margin-bottom: 12px;
}
.vcc-domain-page #main {
  padding-bottom: clamp(120px, 22vh, 200px);
}
.vcc-domain-page .vcc-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.vcc-crumb a {
  font-size: 14px;
  font-weight: 600;
  color: rgba(11, 16, 32, 0.55);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.vcc-crumb a:hover {
  color: rgba(68, 102, 255, 0.95);
  border-bottom-color: rgba(68, 102, 255, 0.35);
}

.vcc-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.08;
  color: var(--ink, #0b1020);
}
.vcc-sub {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(11, 16, 32, 0.68);
  max-width: 62ch;
}

.vcc-alert {
  display: none;
  margin: 16px auto 0;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(254, 242, 242, 0.95);
  color: rgba(127, 29, 29, 0.95);
  font-size: 14px;
  font-weight: 600;
  max-width: min(var(--max, 1120px), calc(100% - 44px));
}
.vcc-alert.is-visible {
  display: block;
}
.vcc-alert a {
  color: rgba(68, 102, 255, 0.95);
  font-weight: 700;
}

.vcc-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.vcc-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.vcc-layout .vpsSpec {
  position: sticky;
  top: 88px;
}

.vcc-spec-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid rgba(12, 18, 40, 0.1);
  background: rgba(255, 255, 255, 0.55);
  font-family: var(--mono, ui-monospace, monospace);
}
.vcc-spec-price__lbl {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(11, 16, 32, 0.5);
}
.vcc-spec-price__row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.vcc-spec-price__amt {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink, #0b1020);
}
.vcc-spec-price__per {
  font-size: 13px;
  font-weight: 650;
  color: rgba(11, 16, 32, 0.5);
}

.vcc-field {
  margin-bottom: 14px;
}
.vcc-field:last-child {
  margin-bottom: 0;
}
.vcc-field__label {
  display: block;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 16, 32, 0.5);
  margin-bottom: 6px;
}
.vcc-input,
.vcc-select {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(12, 18, 40, 0.12);
  background: rgba(243, 245, 251, 0.75);
  padding: 11px 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink, #0b1020);
}
.vcc-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%235a6277' stroke-width='1.6' d='M1 1.5 6 6 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.vcc-input:focus,
.vcc-select:focus {
  outline: 2px solid rgba(68, 102, 255, 0.3);
  outline-offset: 1px;
}

.vcc-help {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(11, 16, 32, 0.55);
}
.vcc-help a {
  color: rgba(68, 102, 255, 0.95);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.vcc-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(12, 18, 40, 0.12);
  background: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.vcc-opt:last-child {
  margin-bottom: 0;
}
.vcc-opt:hover {
  border-color: rgba(68, 102, 255, 0.22);
}
.vcc-opt--on {
  border-color: rgba(57, 255, 136, 0.45);
  background: rgba(57, 255, 136, 0.1);
  box-shadow: 0 0 0 1px rgba(57, 255, 136, 0.18);
}
.vcc-opt__left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}
.vcc-opt__right {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 13px;
  font-weight: 700;
  color: rgba(11, 16, 32, 0.72);
}

.vcc-mgmt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 720px) {
  .vcc-mgmt-grid {
    grid-template-columns: 1fr;
  }
}
.vcc-mgmt {
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(12, 18, 40, 0.12);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.vcc-mgmt:hover {
  border-color: rgba(68, 102, 255, 0.25);
}
.vcc-mgmt--on {
  border-color: rgba(57, 255, 136, 0.45);
  background: rgba(57, 255, 136, 0.1);
  box-shadow: 0 0 0 1px rgba(57, 255, 136, 0.2);
}
.vcc-mgmt__name {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}
.vcc-mgmt__price {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 12px;
  font-weight: 700;
  color: rgba(11, 16, 32, 0.65);
}

.vcc-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border-radius: 14px;
  border: 1px solid rgba(12, 18, 40, 0.12);
  cursor: pointer;
}
.vcc-check:last-of-type {
  margin-bottom: 0;
}

.vcc-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  border-top: 1px solid rgba(12, 18, 40, 0.1);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 -12px 40px rgba(11, 16, 32, 0.08);
}
.vcc-bar__inner {
  width: min(var(--max, 1120px), calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr) auto;
  gap: 16px 20px;
  align-items: center;
}
@media (max-width: 980px) {
  .vcc-bar__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .vcc-bar__actions {
    justify-content: center;
  }
}
.vcc-bar__plan {
  min-width: 0;
}
.vcc-bar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}
.vcc-bar__label {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 16, 32, 0.45);
}
.vcc-bar__name {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.vcc-bar__line {
  font-size: 13px;
  font-weight: 650;
  color: rgba(11, 16, 32, 0.62);
}
.vcc-bar__domain {
  min-width: 0;
  padding-left: 16px;
  border-left: 1px solid rgba(12, 18, 40, 0.1);
}
@media (max-width: 980px) {
  .vcc-bar__domain {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(12, 18, 40, 0.08);
    padding-top: 10px;
  }
}
.vcc-bar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
}
.vcc-bar__tot {
  text-align: right;
}
.vcc-bar__tot-amt {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink, #0b1020);
}
.vcc-bar__tot-per {
  font-size: 12px;
  font-weight: 700;
  color: rgba(11, 16, 32, 0.45);
}
.vcc-btn-cancel {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: rgba(220, 38, 38, 0.85);
  cursor: pointer;
  padding: 8px 6px;
}
.vcc-btn-cancel:hover {
  text-decoration: underline;
}

.vcc-crumb--btn {
  display: none;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: rgba(11, 16, 32, 0.55);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.vcc-crumb--btn:not([hidden]) {
  display: block;
}
.vcc-crumb--btn:hover {
  color: rgba(68, 102, 255, 0.95);
}

.vcc-domain-main[hidden] {
  display: none !important;
}
.vcc-domain__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
  color: var(--ink, #0b1020);
}
.vcc-domain__lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(11, 16, 32, 0.65);
  max-width: 48ch;
}
.vcc-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.vcc-domain-panel .panel__body {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 20px;
}
.vcc-domain-panel .panel__body > .vcc-field__label {
  margin-bottom: 0;
}
.vcc-domain-panel .vcc-domain-block .vcc-field__label {
  margin-bottom: 10px;
}
.vcc-domain-panel .vcc-seg {
  margin-top: 0;
}
.vcc-domain-panel .vcc-help {
  margin-top: 0;
}
.vcc-seg__opt {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(12, 18, 40, 0.12);
  background: rgba(255, 255, 255, 0.75);
  cursor: pointer;
  font-weight: 650;
  font-size: 14px;
  color: rgba(11, 16, 32, 0.72);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.vcc-seg__opt:hover {
  border-color: rgba(68, 102, 255, 0.28);
}
.vcc-seg__opt--on {
  border-color: rgba(57, 255, 136, 0.55);
  background: rgba(57, 255, 136, 0.12);
  box-shadow: 0 0 0 1px rgba(57, 255, 136, 0.22);
  color: var(--ink, #0b1020);
}
.vcc-domain-search {
  position: relative;
  display: flex;
  align-items: center;
}
.vcc-domain-search__icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(11, 16, 32, 0.38);
  display: flex;
  pointer-events: none;
}
.vcc-domain-search__input {
  padding-left: 44px !important;
}
.vcc-domain-actions {
  margin-top: 4px;
}
.vcc-btn-connect-hosting {
  width: 100%;
  justify-content: center;
}

.vcc-hosting-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 16, 32, 0.55);
  backdrop-filter: blur(6px);
}
.vcc-hosting-overlay[hidden] {
  display: none !important;
}
.vcc-body--hosting-load {
  overflow: hidden;
}
.vcc-hosting-overlay__card {
  width: min(100%, 420px);
  padding: 36px 32px 32px;
  border-radius: 22px;
  border: 1px solid rgba(12, 18, 40, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(11, 16, 32, 0.18);
  text-align: center;
  color: rgba(11, 16, 32, 0.92);
}
.vcc-hosting-loadbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 72px;
  margin-bottom: 18px;
}
.vcc-hosting-loadbtn__spinner {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid rgba(12, 18, 40, 0.12);
  border-top-color: rgba(11, 16, 32, 0.72);
  animation: vcc-hosting-spin 0.75s linear infinite;
}
@keyframes vcc-hosting-spin {
  to {
    transform: rotate(360deg);
  }
}
.vcc-hosting-overlay__title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.vcc-hosting-overlay__sub {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: rgba(11, 16, 32, 0.55);
}

/* Domain step: full-screen emphasis + large “loading” control before checkout */
.vcc-hosting-overlay--domain {
  z-index: 5000;
  background: rgba(11, 16, 32, 0.62);
}
.vcc-hosting-overlay__card--domain {
  width: min(100%, 460px);
  padding: 48px 40px 42px;
}
.vcc-hosting-loadbtn--hero {
  width: auto;
  min-height: 0;
  margin: 0 auto 22px;
  padding: 8px 0 4px;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.vcc-hosting-loadbtn__spinner--hero {
  width: 64px;
  height: 64px;
  border-width: 5px;
  border-style: solid;
  border-color: rgba(12, 18, 40, 0.12);
  border-top-color: rgba(11, 16, 32, 0.78);
  animation: vcc-hosting-spin 0.75s linear infinite;
}

.vcc-bar__edit {
  border: 0;
  background: none;
  padding: 2px 4px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(220, 38, 38, 0.88);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.vcc-bar__edit {
  display: inline-block;
}
.vcc-bar__edit:hover {
  color: #b91c1c;
}
.vcc-bar__controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  min-width: min(100%, 220px);
}
@media (min-width: 520px) {
  .vcc-bar__controls {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
  }
}
.vcc-bar__field {
  flex: 1 1 140px;
  min-width: 0;
}
.vcc-bar__field-label {
  display: block;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 16, 32, 0.45);
  margin-bottom: 4px;
}
.vcc-select--bar {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
}
.vcc-bar--step2 .vcc-bar__domain--active .vcc-bar__label {
  color: rgba(11, 16, 32, 0.55);
}
.vcc-bar__domain--active .vcc-bar__line {
  color: rgba(11, 16, 32, 0.62);
}

.vcc-checkout-page__crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.vcc-checkout-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vcc-checkout-panel .panel__body {
  padding: 20px 18px;
}
.vcc-checkout-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.vcc-checkout-table thead th {
  text-align: left;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11, 16, 32, 0.45);
  padding: 0 0 10px;
  border-bottom: 1px solid rgba(12, 18, 40, 0.1);
}
.vcc-checkout-table thead th.vcc-checkout-table__amt {
  text-align: right;
}
.vcc-checkout-table tbody td {
  padding: 12px 0;
  vertical-align: top;
  border-bottom: 1px solid rgba(12, 18, 40, 0.06);
  color: rgba(11, 16, 32, 0.88);
}
.vcc-checkout-table tbody td.vcc-checkout-table__amt {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: rgba(11, 16, 32, 0.78);
}
.vcc-checkout-domain {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(11, 16, 32, 0.78);
}
.vcc-checkout-domain strong {
  font-weight: 800;
  color: var(--ink, #0b1020);
}
.vcc-checkout-panel--total .panel__body {
  padding-top: 22px;
  padding-bottom: 22px;
}
.vcc-checkout-total__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.vcc-checkout-total__lbl {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11, 16, 32, 0.5);
}
.vcc-checkout-total__amt {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--ink, #0b1020);
}
.vcc-checkout-total__per {
  font-size: 15px;
  font-weight: 700;
  color: rgba(11, 16, 32, 0.5);
}
.vcc-checkout-total__note {
  margin: 0 0 20px;
}
.vcc-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
@media (max-width: 520px) {
  .vcc-checkout-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .vcc-checkout-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .vcc-layout {
    grid-template-columns: 1fr;
  }
  .vcc-layout .vpsSpec {
    position: static;
  }
}
