/* ============================================================
   VPS Page — vps.css
   All styles specific to the /vps wizard page.
   ============================================================ */

/* ── Shared button ── */
.btn-default-yellow-fill {
  background-color: #fdd700 !important;
  color: #000 !important;
  border: none;
}
.btn-default-yellow-fill:hover {
  background-color: #4c4a4a !important;
  color: #fff !important;
}

/* ── Hero ── */
.vps-hero {
  background-color: #4b2456;
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vps-hero h1 {
  font-family: "Inter", sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.vps-hero h1 span {
  color: #fdd700;
}
.vps-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 540px;
  margin: 0 auto 32px;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 5px 14px;
  color: #fff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badge i {
  color: #fdd700;
}
.btn-cta-primary {
  display: inline-block;
  background: #fdd700;
  color: #2d0035;
  font-weight: 800;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition:
    background 0.2s,
    transform 0.15s;
  margin: 0 8px 8px;
  font-family: "Inter", sans-serif;
}
.btn-cta-primary:hover {
  background: #ffe840;
  color: #2d0035;
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-cta-secondary {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-weight: 600;
  padding: 13px 36px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition:
    border-color 0.2s,
    color 0.2s;
  margin: 0 8px 8px;
}
.btn-cta-secondary:hover {
  border-color: #fdd700;
  color: #fdd700;
  text-decoration: none;
}

/* ── Wizard section ── */
.vps-wizard-section {
  background: #f8f4fc;
  padding: 60px 0 70px;
}
.vps-wizard-section .container {
  background: white;
  padding: 60px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.vps-features-section .container {
  background: white;
  padding: 60px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* Step progress */
.vps-wizard-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}
.vwz-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.35;
  transition: opacity 0.2s;
}
.vwz-step.active {
  opacity: 1;
}
.vwz-step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #c9b8d4;
  background: #f4eef8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b2456;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: "Inter", sans-serif;
}
.vwz-step.active .vwz-step-num {
  background: #fdd700;
  border-color: #fdd700;
  color: #2d0035;
}
.vwz-step-label {
  font-size: 0.78rem;
  color: #999;
  white-space: nowrap;
  font-weight: 500;
  font-family: "Inter", sans-serif;
}
.vwz-step.active .vwz-step-label {
  color: #2d0035;
  font-weight: 600;
}
.vwz-connector {
  flex: 1;
  max-width: 90px;
  height: 2px;
  background: #e8dff0;
  margin: 0 14px 22px;
}

/* Shared titles */
.vwz-title {
  text-align: center;
  color: #2d0035;
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
}
.vwz-subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 36px;
  font-size: 0.95rem;
}

/* ── Step 1: Flavor buttons ── */
.vwz-flavor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.vwz-flavor-btn {
  background: #fff;
  border: 1.5px solid #ddd0e8;
  border-radius: 10px;
  padding: 11px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.18s;
  min-width: 110px;
  box-shadow: 0 1px 4px rgba(45, 0, 53, 0.05);
}
.vwz-flavor-btn:hover {
  border-color: #4b2456;
  box-shadow: 0 2px 8px rgba(75, 36, 86, 0.12);
}
.vwz-flavor-btn.active {
  background: #fdd700;
  border-color: #fdd700;
  box-shadow: 0 2px 10px rgba(253, 215, 0, 0.35);
}
.vwz-fname {
  font-size: 0.92rem;
  font-weight: 700;
  color: #2d0035;
  font-family: "Inter", sans-serif;
}
.vwz-flavor-btn.active .vwz-fname,
.vwz-flavor-btn.active .vwz-fspecs {
  color: #2d0035;
}
.vwz-fspecs {
  font-size: 0.7rem;
  color: #aaa;
  white-space: nowrap;
}

/* Specs strip */
.vwz-specs-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #4b2456;
  border: 1px solid #e8dff0;
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 36px;
  transition: all 0.2s;
}
.vwz-spec {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 18px;
  color: white;
  font-size: 0.88rem;
  border-right: 1px solid #e8dff0;
}
.vwz-spec:last-child {
  border-right: none;
}
.vwz-spec i {
  color: white;
  font-size: 0.82rem;
}

/* Period cards */
.vwz-period-title {
  text-align: center;
  color: #aaa;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: "Inter", sans-serif;
}
.vwz-period-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
}
.vwz-period-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #e0d4ec;
  border-radius: 14px;
  padding: 32px 16px 26px;
  text-align: center;
  cursor: pointer;
  flex: 1;
  min-width: 140px;
  max-width: 185px;
  transition: all 0.18s;
  box-shadow: 0 1px 6px rgba(45, 0, 53, 0.06);
}
.vwz-period-card:hover {
  border-color: #4b2456;
  box-shadow: 0 4px 16px rgba(75, 36, 86, 0.12);
  transform: translateY(-2px);
}
.vwz-period-card.active {
  border-color: #fdd700;
  background: #fffde8;
  box-shadow:
    0 0 0 2px #fdd700,
    0 4px 16px rgba(253, 215, 0, 0.2);
  transform: translateY(-2px);
}
.vwz-period-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: #fdd700;
  color: #2d0035;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: "Inter", sans-serif;
}
.vwz-period-label {
  font-size: 0.72rem;
  color: #aaa;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.vwz-period-price {
  font-size: 1.7rem;
  font-weight: 800;
  color: #2d0035;
  line-height: 1;
  margin-bottom: 2px;
  font-family: "Inter", sans-serif;
}
.vwz-period-price .period-sym {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d0035;
  margin-left: 1px;
}
.vwz-period-price .per-mo {
  font-size: 0.8rem;
  font-weight: 400;
  color: #aaa;
}
.vwz-period-disc {
  display: inline-block;
  background: rgba(75, 36, 86, 0.08);
  color: #4b2456;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin: 7px 0 4px;
}
.vwz-period-spacer {
  height: 22px;
}
.vwz-period-total {
  font-size: 0.74rem;
  color: #bbb;
  margin-top: 4px;
}

/* Shared footer */
.vwz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid #f0e8f8;
}
.vwz-summary {
  color: #888;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.vwz-summary strong {
  color: #2d0035;
}
.vwz-summary i {
  color: #4b2456;
}
.vwz-btn-continue {
  border: none;
  padding: 13px 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
}
.vwz-btn-continue:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vwz-btn-back {
  background: #fff;
  color: #4b2456;
  border: 1.5px solid #ddd0e8;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  font-family: "Inter", sans-serif;
}
.vwz-btn-back:hover {
  border-color: #4b2456;
  background: #f8f4fc;
}

/* ── Step 2: Config ── */
.cfg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 36px;
}
.cfg-full {
  grid-column: 1 / -1;
}
.cfg-card {
  background: #fff;
  border: 1.5px solid #e0d4ec;
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: 0 1px 6px rgba(45, 0, 53, 0.05);
}
.cfg-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2d0035;
  font-family: "Inter", sans-serif;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cfg-card-title i {
  color: #4b2456;
}
.cfg-card-desc {
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

/* OS grid — CSS radio, no JS */
.cfg-os-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.cfg-os-card {
  border: 1.5px solid #e0d4ec;
  border-radius: 10px;
  padding: 12px 10px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.16s;
  background: #faf7fc;
}
.cfg-os-card:hover {
  border-color: #4b2456;
  background: #f4eef8;
}
.cfg-os-card:has(input[name="cfg_os"]:checked) {
  border-color: #fdd700;
  background: #fffde8;
  box-shadow: 0 0 0 2px #fdd700;
}
.cfg-os-icon {
  display: block;
  font-size: 1.6rem;
  color: #4b2456;
  margin-bottom: 6px;
}
.cfg-os-card:has(input[name="cfg_os"]:checked) .cfg-os-icon {
  color: #2d0035;
}
.cfg-os-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #2d0035;
  margin-bottom: 8px;
}
.cfg-os-versions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.cfg-os-ver-chip {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 20px;
  border: 1px solid #ddd0e8;
  background: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
}
.cfg-os-ver-chip input[type="radio"] {
  display: none;
}
.cfg-os-ver-chip:hover {
  border-color: #4b2456;
  color: #4b2456;
}
.cfg-os-ver-chip:has(input:checked) {
  background: #4b2456;
  border-color: #4b2456;
  color: #fff;
}

/* Counter (IP only) */
.cfg-counter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0;
}
.cfg-counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid #ddd0e8;
  background: #f8f4fc;
  font-size: 1.1rem;
  font-weight: 700;
  color: #4b2456;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.cfg-counter-btn:hover {
  background: #4b2456;
  color: #fff;
  border-color: #4b2456;
}
.cfg-counter-val {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d0035;
  min-width: 40px;
  text-align: center;
}
.cfg-counter-val small {
  font-size: 0.75rem;
  color: #aaa;
  font-weight: 400;
}
.cfg-addon-price {
  font-size: 0.8rem;
  color: #4b2456;
  font-weight: 600;
  margin-top: 6px;
}

/* Add Volume button */
.cfg-add-vol-btn {
  margin-left: auto;
  background: #f4eef8;
  border: 1.5px solid #ddd0e8;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4b2456;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
}
.cfg-add-vol-btn:hover {
  background: #4b2456;
  border-color: #4b2456;
  color: #fff;
}
.cfg-add-vol-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.cfg-add-vol-btn:disabled:hover {
  background: #f4eef8;
  border-color: #ddd0e8;
  color: #4b2456;
}

/* Empty hint */
.vol-empty-hint {
  font-size: 0.82rem;
  color: #bbb;
  text-align: center;
  padding: 14px 0 8px;
}
.vol-empty-hint strong {
  color: #4b2456;
}

/* Volume list items */
#vol-list {
  margin-bottom: 6px;
}
.vol-item {
  background: #faf7fc;
  border: 1px solid #e8dff0;
  border-radius: 10px;
  padding: 12px 14px 10px;
  margin-bottom: 10px;
}
.vol-item:last-child {
  margin-bottom: 0;
}
.vol-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.vol-item-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d0035;
  font-family: "Inter", sans-serif;
}
.vol-item-size {
  font-size: 0.78rem;
  background: #ede6f4;
  color: #4b2456;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  min-width: 48px;
  text-align: center;
}
.vol-delete-btn {
  margin-left: auto;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 1px solid #e0d4ec;
  background: #fff;
  color: #bbb;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}
.vol-delete-btn:hover {
  background: #fde8e8;
  border-color: #e57373;
  color: #c62828;
}
.vol-type-row {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}
.vol-type-btn {
  flex: 1;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1.5px solid #ddd0e8;
  background: #f8f4fc;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b2456;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s;
  font-family: "Inter", sans-serif;
}
.vol-type-btn:hover {
  border-color: #4b2456;
}
.vol-type-btn.active {
  background: #4b2456;
  border-color: #4b2456;
  color: #fff;
}
.vol-type-price {
  font-size: 0.7rem;
  opacity: 0.8;
}
.vol-item-cost {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b2456;
  text-align: right;
  margin-top: 2px;
}

/* Range input */
.cfg-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(to right, #4b2456 0%, #4b2456 0%, #e0d4ec 0%);
  outline: none;
  cursor: pointer;
  margin: 14px 0 6px;
}
.cfg-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4b2456;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px #4b2456,
    0 2px 6px rgba(75, 36, 86, 0.3);
  cursor: pointer;
  transition: transform 0.15s;
}
.cfg-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}
.cfg-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #4b2456;
  border: 3px solid #fff;
  box-shadow:
    0 0 0 2px #4b2456,
    0 2px 6px rgba(75, 36, 86, 0.3);
  cursor: pointer;
}
.cfg-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #bbb;
  margin-bottom: 4px;
}

/* Toggle */
.cfg-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  margin-left: auto;
  flex-shrink: 0;
}
.cfg-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cfg-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ddd0e8;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s;
}
.cfg-toggle-slider::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.cfg-toggle input:checked + .cfg-toggle-slider {
  background: #4b2456;
}
.cfg-toggle input:checked + .cfg-toggle-slider::before {
  transform: translateX(20px);
}
.cfg-addon-badge {
  display: inline-block;
  background: rgba(75, 36, 86, 0.08);
  color: #4b2456;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
}

/* Per-volume backup toggle */
#backup-list {
  margin-top: 10px;
}
.backup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0eaf5;
}
.backup-row:last-child {
  border-bottom: none;
}
.backup-row-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d0035;
  flex: 1;
}
.backup-row-cost {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b2456;
}
.vol-backup-toggle-wrap {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
  flex-shrink: 0;
}
.vol-backup-toggle-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
}
.vol-backup-toggle-slider {
  position: absolute;
  inset: 0;
  background: #ddd0e8;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.vol-backup-toggle-slider::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.vol-backup-toggle-wrap input:checked + .vol-backup-toggle-slider {
  background: #4b2456;
}
.vol-backup-toggle-wrap input:checked + .vol-backup-toggle-slider::before {
  transform: translateX(16px);
}

/* Auth tabs — CSS radio, no JS */
.cfg-auth-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.cfg-ssh-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.cfg-ssh-hint {
  font-size: 0.78rem;
  color: #aaa;
}
.cfg-gen-ssh-btn {
  background: #f4eef8;
  border: 1.5px solid #ddd0e8;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4b2456;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
  font-family: "Inter", sans-serif;
  white-space: nowrap;
}
.cfg-gen-ssh-btn:hover {
  background: #4b2456;
  border-color: #4b2456;
  color: #fff;
}
.cfg-gen-ssh-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cfg-gen-ssh-btn:disabled:hover {
  background: #f4eef8;
  border-color: #ddd0e8;
  color: #4b2456;
}

/* Saved SSH keys list */
.cfg-ssh-saved-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1.5px solid #e8dff0;
  border-radius: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 0.15s;
  background: #faf7fc;
}
.cfg-ssh-saved-item:hover {
  border-color: #4b2456;
}
.cfg-ssh-saved-item.active {
  border-color: #4b2456;
  background: #f4eef8;
}
.cfg-ssh-saved-item i {
  color: #4b2456;
}
.cfg-ssh-saved-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d0035;
  flex: 1;
}
.cfg-ssh-saved-date {
  font-size: 0.72rem;
  color: #aaa;
}
.cfg-ssh-limit-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff8e6;
  border: 1px solid #f0d98c;
  color: #8a6d1f;
  font-size: 0.78rem;
  font-weight: 500;
}
.cfg-ssh-gen-hint {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #e9f7ee;
  border: 1px solid #a9e0bb;
  color: #1e6b3c;
  font-size: 0.78rem;
  font-weight: 500;
}
.cfg-auth-tab {
  padding: 7px 18px;
  border-radius: 8px;
  border: 1.5px solid #ddd0e8;
  background: #f8f4fc;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4b2456;
  cursor: pointer;
  transition: all 0.15s;
  font-family: "Inter", sans-serif;
}
.cfg-auth-tab input[type="radio"] {
  display: none;
}
.cfg-auth-tab:has(input:checked) {
  background: #4b2456;
  border-color: #4b2456;
  color: #fff;
}
/* Show/hide auth areas based on radio selection */
.cfg-pass-area {
  display: none;
}
.cfg-auth-wrap:has(input[value="password"]:checked) .cfg-pass-area {
  display: block;
}
.cfg-auth-wrap:has(input[value="password"]:checked) .cfg-ssh-area {
  display: none;
}
.cfg-auth-error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  font-size: 0.8rem;
  color: #c62828;
  font-weight: 500;
}
.cfg-auth-error i {
  font-size: 0.78rem;
  flex-shrink: 0;
}
.cfg-username-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  background: #f4eef8;
  border: 1.5px solid #ddd0e8;
  border-radius: 8px;
  padding: 8px 14px;
}
.cfg-username-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4b2456;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.cfg-username-label i {
  font-size: 0.72rem;
}
.cfg-username-input {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-weight: 700;
  color: #2d0035 !important;
  cursor: default;
  flex: 1;
}
.cfg-username-input:focus {
  border: none !important;
  outline: none;
}
.cfg-pass-strength {
  height: 4px;
  background: #e0d4ec;
  border-radius: 4px;
  margin-top: 8px;
  overflow: hidden;
}
.cfg-pass-strength-fill {
  height: 100%;
  width: 0;
  border-radius: 4px;
  transition:
    width 0.25s,
    background 0.25s;
}
.cfg-pass-strength-label {
  font-size: 0.72rem;
  font-weight: 700;
  margin-top: 3px;
  min-height: 14px;
  font-family: "Inter", sans-serif;
}

/* Inputs */
.cfg-textarea,
.cfg-input {
  width: 100%;
  border: 1.5px solid #ddd0e8;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #2d0035;
  background: #faf7fc;
  outline: none;
  transition: border-color 0.15s;
  font-family: "Inter", sans-serif;
  box-sizing: border-box;
}
.cfg-textarea:focus,
.cfg-input:focus {
  border-color: #4b2456;
}
.cfg-mono {
  font-family: monospace !important;
  font-size: 0.82rem !important;
}

/* Collapsible */
.cfg-collapsible {
  cursor: pointer;
  user-select: none;
}
.cfg-optional-badge {
  margin-left: 6px;
  background: #f0e8fa;
  color: #8a4caa;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cfg-chevron {
  margin-left: auto;
  font-size: 0.75rem;
  color: #aaa;
  transition: transform 0.2s;
}
.cfg-chevron.open {
  transform: rotate(180deg);
}

/* Service level — CSS radio, no JS */
.cfg-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cfg-service-card {
  border: 1.5px solid #e0d4ec;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  background: #faf7fc;
  transition: all 0.16s;
}
.cfg-service-card input[type="radio"] {
  display: none;
}
.cfg-service-card:hover {
  border-color: #4b2456;
  background: #f4eef8;
}
.cfg-service-card:has(input:checked) {
  border-color: #fdd700;
  background: #fffde8;
  box-shadow: 0 0 0 2px #fdd700;
}
.cfg-svc-name {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2d0035;
  font-family: "Inter", sans-serif;
}
.cfg-svc-response {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: #4b2456;
  margin: 6px 0 2px;
  font-family: "Inter", sans-serif;
}
.cfg-service-card:has(input:checked) .cfg-svc-response {
  color: #2d0035;
}
.cfg-svc-label {
  display: block;
  font-size: 0.68rem;
  color: #aaa;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cfg-svc-desc {
  display: block;
  font-size: 0.72rem;
  color: #888;
  margin-bottom: 8px;
}
.cfg-svc-price {
  font-size: 0.78rem;
  font-weight: 700;
  color: #4b2456;
}
.cfg-svc-price.free {
  color: #2e7d32;
}

/* Cloud Init — native <details>, no JS */
.cfg-cloudinit-details summary {
  list-style: none;
}
.cfg-cloudinit-details summary::-webkit-details-marker {
  display: none;
}
.cfg-cloudinit-details[open] .cfg-chevron {
  transform: rotate(180deg);
}
.cfg-cloudinit-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff8e6;
  border: 1px solid #f0d98c;
  color: #8a6d1f;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ── Features section ── */
.vps-features-section {
  background: #f8f4fc;
  padding: 70px 0;
}
.vps-features-section .section-heading {
  text-align: center;
  color: #2d0035;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
}
.vps-features-section .section-sub {
  text-align: center;
  color: #888;
  margin-bottom: 48px;
}
.feature-card {
  background: #fff;
  border: 1px solid #e8dff0;
  border-radius: 12px;
  padding: 28px 24px;
  height: 100%;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 1px 6px rgba(45, 0, 53, 0.05);
}
.feature-card:hover {
  border-color: #4b2456;
  box-shadow: 0 4px 20px rgba(75, 36, 86, 0.1);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(75, 36, 86, 0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b2456;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card h4 {
  color: #2d0035;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
}
.feature-card p {
  color: #666;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

/* ── CTA ── */
.vps-cta {
  background: #4b2456;
  padding: 70px 0;
  text-align: center;
}
.vps-cta h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
}
.vps-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .vps-hero h1 {
    font-size: 1.8rem;
  }
  .vwz-period-card {
    min-width: 95px;
    padding: 22px 10px 18px;
  }
  .vwz-period-price {
    font-size: 1.3rem;
  }
  .vwz-spec {
    padding: 4px 10px;
    font-size: 0.8rem;
  }
  .vwz-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .vwz-btn-continue,
  .vwz-btn-back {
    justify-content: center;
  }
  .vwz-connector {
    max-width: 40px;
    margin: 0 8px 22px;
  }
}
@media (max-width: 900px) {
  .cfg-os-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cfg-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .cfg-grid {
    grid-template-columns: 1fr;
  }
  .cfg-full {
    grid-column: 1;
  }
  .cfg-os-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cfg-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Step 3: Review & Order ── */
.rv-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}
.rv-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.rv-right {
  min-width: 0;
  position: sticky;
  top: 16px;
  align-self: start;
}

.rv-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: "Inter", sans-serif;
}
.rv-section-title i {
  color: #4b2456;
  font-size: 0.8rem;
}

.rv-plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1.5px solid #e0d4ec;
  border-left: 4px solid #4b2456;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 1px 6px rgba(45, 0, 53, 0.06);
}
.rv-plan-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.rv-plan-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #2d0035;
  font-family: "Inter", sans-serif;
}
.rv-plan-specs {
  font-size: 0.78rem;
  color: #999;
}
.rv-plan-period {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: #f4eef8;
  border: 1.5px solid #ddd0e8;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #4b2456;
  font-family: "Inter", sans-serif;
  flex-shrink: 0;
}

.rv-cfg-list {
  background: #fff;
  border: 1.5px solid #e0d4ec;
  border-radius: 14px;
  overflow: hidden;
}
.rv-cfg-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid #f0e8f8;
}
.rv-cfg-row:last-child {
  border-bottom: none;
}
.rv-cfg-label {
  font-size: 0.83rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rv-cfg-label i {
  color: #4b2456;
  font-size: 0.78rem;
  width: 14px;
  text-align: center;
}
.rv-cfg-val {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d0035;
  font-family: "Inter", sans-serif;
  text-align: right;
}
.rv-vol-line {
  font-size: 0.8rem;
  font-weight: 500;
  color: #2d0035;
  font-family: "Inter", sans-serif;
}
.rv-vol-line + .rv-vol-line {
  margin-top: 3px;
}

.rv-price-card {
  background: #fff;
  border: 1.5px solid #e0d4ec;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(45, 0, 53, 0.08);
  position: static;
}
.rv-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rv-qty-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #2d0035;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  gap: 7px;
}
.rv-qty-label i {
  color: #4b2456;
}
.rv-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4eef8;
  border-radius: 10px;
  padding: 4px 6px;
}
.rv-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  border: 1.5px solid #ddd0e8;
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
  color: #4b2456;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  line-height: 1;
}
.rv-qty-btn:hover {
  background: #4b2456;
  color: #fff;
  border-color: #4b2456;
}
.rv-qty-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #2d0035;
  font-family: "Inter", sans-serif;
  min-width: 20px;
  text-align: center;
}
.rv-qty-note {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4b2456;
  background: rgba(75, 36, 86, 0.08);
  border-radius: 20px;
  padding: 2px 8px;
  margin-left: 6px;
  font-family: "Inter", sans-serif;
}
.rv-price-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  font-family: "Inter", sans-serif;
}
.rv-price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 0.85rem;
  color: #555;
  border-bottom: 1px dashed #f0e8f8;
}
.rv-price-line:last-child {
  border-bottom: none;
}
.rv-price-line span:last-child {
  font-weight: 600;
  color: #2d0035;
}
.rv-price-divider {
  height: 2px;
  background: #f0e8f8;
  margin: 14px 0;
  border-radius: 2px;
}
.rv-price-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2d0035;
  margin-bottom: 4px;
  font-family: "Inter", sans-serif;
}
.rv-price-grand {
  font-size: 1.8rem;
  font-weight: 800;
  color: #2d0035;
  font-family: "Inter", sans-serif;
}
.rv-price-period-note {
  font-size: 0.75rem;
  color: #bbb;
  margin-bottom: 22px;
  text-align: right;
}
.rv-order-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 15px;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  font-family: "Inter", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}
.rv-order-note {
  font-size: 0.72rem;
  color: #bbb;
  text-align: center;
  margin: 0;
}
.rv-order-error {
  background: #fde8e8;
  border: 1px solid #e57373;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: #c62828;
  font-weight: 500;
  margin-bottom: 12px;
  text-align: center;
}

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

/* ── No offers available ── */
.vps-no-offers-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
}
.vps-no-offers-card {
  text-align: center;
  background: #fff;
  border: 1.5px solid #e8dff2;
  border-radius: 18px;
  padding: 60px 48px;
  max-width: 480px;
  box-shadow: 0 4px 32px rgba(77, 32, 96, 0.07);
}
.vps-no-offers-icon {
  font-size: 3rem;
  color: #c9a8e0;
  margin-bottom: 1.2rem;
}
.vps-no-offers-card h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #2d0035;
  margin-bottom: 0.75rem;
}
.vps-no-offers-card p {
  color: #7a6a85;
  font-size: 0.97rem;
  line-height: 1.6;
}

/* ── Arabic / RTL overrides ── */

/* Technical fields: keep content LTR regardless of page direction */
.arabic .cfg-input,
.arabic .cfg-textarea,
.arabic .cfg-mono {
  direction: ltr;
  text-align: left;
}

/* Prices and numeric values: always LTR */
.arabic .vwz-period-price,
.arabic .cfg-addon-price,
.arabic .cfg-svc-price,
.arabic .rv-price-grand,
.arabic .rv-price-line span:last-child {
  direction: ltr;
  unicode-bidi: embed;
}

/* Plan card: flip the left accent stripe to the right */
.arabic .rv-plan-card {
  border-left: 1.5px solid #e0d4ec;
  border-right: 4px solid #4b2456;
}

/* Spacing: flip physical margins that are direction-dependent */
.arabic .rv-qty-note {
  margin-left: 0;
  margin-right: 6px;
}
.arabic .cfg-optional-badge {
  margin-left: 0;
  margin-right: 6px;
}
.arabic .wvz-period-price .period-sym {
  margin-left: 0;
  margin-right: 1px;
}

/* Feature cards: align icon to the right (reading start in Arabic) */
.arabic .feature-icon {
  margin-bottom: 16px;
  margin-right: 0;
}
.arabic .feature-card h4,
.arabic .feature-card p {
  text-align: right;
}
