/* VPS Order page (wizard) */
.vps-order-page .wizard-step .step-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 1rem;
}

.vps-order-page .wizard-step .step-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13,110,253,.12);
  color: var(--bs-primary);
  font-weight: 700;
  flex: 0 0 auto;
}

.vps-order-page .select-card {
  width: 100%;
  border: 1px solid #e7eaee;
  border-radius: 14px;
  background: #fff;
  padding: 14px 14px;
  text-align: left;
  transition: all .2s ease;
  position: relative;
}

.vps-order-page .select-card:hover {
  border-color: rgba(13,110,253,.35);
  box-shadow: 0 8px 18px rgba(16,24,40,.08);
  transform: translateY(-1px);
}

.vps-order-page .select-card .checkmark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dfe3e8;
  color: transparent;
  background: #fff;
  flex: 0 0 26px;
  flex-shrink: 0;
}

.vps-order-page .select-card.active {
  border-color: rgba(13,110,253,.8);
  box-shadow: 0 10px 22px rgba(13,110,253,.10);
}

.vps-order-page .select-card.active .checkmark {
  border-color: rgba(13,110,253,.8);
  background: var(--bs-primary);
  color: #fff;
}

/* OS cards: same style as locations + version select */
.vps-order-page .select-card.os-card{
  /* keep base .select-card look (like locations) */
  background: #fff;
  border-width: 1px;
  padding: 14px 14px;
  min-height: 96px;
}
.vps-order-page .select-card.os-card .checkmark{
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}
.vps-order-page .select-card.os-card.active .checkmark{
  border-color: rgba(13,110,253,.8);
  background: var(--bs-primary);
  color: #fff;
}
.vps-order-page .select-card.os-card .checkmark i{
  font-size: 1.05rem;
  line-height: 1;
}
.vps-order-page .select-card.os-card .checkmark{
  border-width: 1px;
}
.vps-order-page .os-card__icon{
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.vps-order-page .os-card__icon img{
  width: 46px;
  height: 46px;
  display:block;
  object-fit: contain;
}
.vps-order-page .os-card__text{ display:grid; gap: 2px; }
.vps-order-page .os-card__name{
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
  line-height: 1.05;
  color: #111827;
}
.vps-order-page .os-card__version{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  color: rgba(17, 24, 39, .45);
  font-size: 1.05rem;
  line-height: 1.2;
  position: relative;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 12px;
  background: #f1f5f9;
}
.vps-order-page .os-card__version--select{
  cursor: pointer;
}
.vps-order-page .os-card__select{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
}

@media (max-width: 575.98px){
  .vps-order-page .select-card.os-card{ padding: 14px 14px; min-height: 92px; }
  .vps-order-page .os-card__name{ font-size: 1.35rem; }
  .vps-order-page .os-card__version{ font-size: 1rem; }
}

/* Location flags */
.vps-order-page .loc-flag{
  width: 38px;
  height: 28px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.10);
  background: #fff;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vps-order-page .loc-flag img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Slider styling like S3 calculator */
.vps-order-page .s3-range {
  --pct: 0%;
  background:
    linear-gradient(90deg, #6f42c1 0%, #0d6efd 50%, #20c997 100%) 0/var(--pct) 100% no-repeat,
    #e9ecef;
  border-radius: 999px;
  height: 0.5rem;
}
.vps-order-page .s3-range::-webkit-slider-runnable-track {
  height: 0.5rem;
  background: transparent;
  border-radius: 999px;
}
.vps-order-page .s3-range::-moz-range-track {
  height: 0.5rem;
  background: transparent;
  border-radius: 999px;
}
.vps-order-page .s3-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  margin-top: -0.35rem;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(13,110,253,.7);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.vps-order-page .s3-range::-moz-range-thumb {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  background: #fff;
  border: 2px solid rgba(13,110,253,.7);
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}

.vps-order-page .summary-breakdown{
  display:grid;
  gap: 6px;
  margin-bottom: 12px;
}
.vps-order-page .summary-breakdown__row{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: .95rem;
}
.vps-order-page .summary-breakdown__row .label{ color: rgba(17, 24, 39, .60); }
.vps-order-page .summary-breakdown__row .value{ font-weight: 700; color: #111827; white-space: nowrap; }
.vps-order-page .summary-breakdown__row .value.muted{ font-weight: 600; color: rgba(17,24,39,.55); }

.vps-order-page .summary-list {
  display: grid;
  gap: 14px;
}

.vps-order-page .summary-item {
  display: grid;
  gap: 2px;
}

.vps-order-page .sticky-summary {
  position: sticky;
  top: 18px;
}

.vps-order-page .vps-order-select{
  border: 1px solid rgba(15, 23, 42, .12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
.vps-order-page .vps-order-select:focus{
  border-color: rgba(13,110,253,.45);
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.15);
}

.vps-order-page .vps-qty-control{
  display:flex;
  align-items: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(15, 23, 42, .12);
  overflow: hidden;
  height: 38px;
}
.vps-order-page .vps-qty-control .btn-qty{
  width: 56px;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 0;
  background: transparent;
  color: rgba(17,24,39,.65);
  font-size: 1.5rem;
  padding: 0;
}
.vps-order-page .vps-qty-control .btn-qty:active{
  background: rgba(13,110,253,.08);
}
.vps-order-page .vps-qty-control .qty-divider{
  width: 1px;
  height: 60%;
  background: rgba(15, 23, 42, .12);
}
.vps-order-page .vps-qty-control .qty-input{
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 800;
  color: #111827;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.vps-order-page .vps-qty-control .qty-input:focus{
  outline: none;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .vps-order-page .sticky-summary {
    position: static;
  }
}

/* Step 1 mobile layout */
@media (max-width: 575.98px) {
  .vps-order-page .step-type__wrap {
    flex-direction: column;
    align-items: flex-start !important;
  }
  .vps-order-page .step-type__price {
    width: 100%;
    text-align: left !important;
    border-top: 1px solid rgba(15, 23, 42, .08);
    padding-top: 12px;
    margin-top: 10px;
  }
  .vps-order-page .step-type__price .h4 {
    font-size: 1.6rem;
  }
}
