/* Professional storefront server configure — Global / Gaming / Dedicated */
.sc-page {
  --sc-green: var(--brand-primary);
  --sc-green-dark: #6fa02c;
  --sc-slate: #386870;
  --sc-ink: #0f1f24;
  --sc-muted: #5a7278;
  --sc-line: #d7e2e5;
  --sc-soft: #f4f8f8;
  --sc-card: #ffffff;
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(var(--brand-primary-rgb), 0.12), transparent 55%),
    radial-gradient(700px 360px at 0% 0%, rgba(56, 104, 112, 0.10), transparent 50%),
    linear-gradient(180deg, #f7fbfb 0%, #eef4f5 100%);
  padding: 28px 0 72px;
  min-height: 70vh;
}
.sc-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
  color: var(--sc-ink);
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
}

.sc-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sc-slate);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.sc-back:hover { color: var(--sc-green-dark); }
.sc-steps {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.sc-steps span {
  font-size: 12px;
  font-weight: 700;
  color: var(--sc-muted);
  background: rgba(255,255,255,.7);
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  padding: 7px 12px;
}
.sc-steps .is-done {
  color: var(--sc-slate);
  background: #e8f0f2;
  border-color: #9bb8be;
}
.sc-steps .is-active {
  color: #3f6212;
  background: #f2f8e6;
  border-color: #b7dc7a;
}

.sc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.sc-hero {
  margin: 0 0 18px;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8f4 100%);
  border: 1px solid var(--sc-line);
  box-shadow: 0 10px 30px rgba(26, 43, 50, 0.05);
}
.sc-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  background: var(--sc-slate);
}
.sc-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--sc-ink);
}
.sc-hero p {
  margin: 0;
  color: var(--sc-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 56ch;
}

.sc-card {
  background: var(--sc-card);
  border: 1px solid var(--sc-line);
  border-radius: 16px;
  padding: 20px 22px 22px;
  margin: 0 0 16px;
  box-shadow: 0 8px 24px rgba(26, 43, 50, 0.04);
}
.sc-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #b7cdd3;
}
.sc-card-head h2 {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--sc-ink);
}
.sc-card-head p {
  margin: 0;
  font-size: 13px;
  color: var(--sc-muted);
}
.sc-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f0f2;
  color: var(--sc-slate);
  flex-shrink: 0;
  font-size: 16px;
}
.sc-card-icon.is-slate { background: #e8f0f2; color: var(--sc-slate); }
.sc-card-icon.is-green { background: #f2f8e6; color: #5f8a22; }
.sc-card-icon.is-amber { background: #fff7e8; color: #b45309; }

.sc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.sc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sc-field-full { grid-column: 1 / -1; }
.sc-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
}
.sc-lock-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--sc-slate);
  background: #e8f0f2;
  border-radius: 999px;
  padding: 3px 8px;
}
.sc-field input[type="text"],
.sc-field input[type="password"],
.sc-field select {
  width: 100%;
  height: 46px;
  border: 1px solid #c9d6da;
  border-radius: 10px;
  padding: 0 14px;
  background: #fff;
  color: var(--sc-ink);
  font-size: 14px;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-shadow: none;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.sc-field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23386870' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  padding-left: 14px;
}
.sc-field input:focus,
.sc-field select:focus {
  border-color: var(--sc-green);
  box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.18);
}
.sc-field input.sc-locked,
.sc-field input.sc-locked:focus {
  background: #f1f5f6;
  color: #64748b;
  border-color: #e2e8f0;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.sc-form select::-ms-expand { display: none; }
.sc-form .select-css,
.sc-form .select2-container,
.sc-form .chosen-container { display: none !important; }

.sc-ssl-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.sc-ssl-head {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 18px 10px;
  direction: ltr;
  text-align: left;
  background: linear-gradient(180deg, #fcfdfd, #f8fafc);
}
.sc-ssl-head strong {
  display: block;
  font-size: 16px;
  color: #111827;
  margin-bottom: 6px;
}
.sc-ssl-head p {
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.55;
}
.sc-ssl-head a { color: #2563eb; font-size: 13px; font-weight: 600; }
.sc-ssl-art {
  width: 74px;
  height: 58px;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}
.sc-ssl-lock {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #facc15;
  color: #166534;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: inset 0 0 0 2px #fff;
}
.sc-ssl-list { direction: ltr; }
.sc-ssl-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 16px;
  border-top: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background .15s ease;
}
.sc-ssl-row:hover { background: #f8fafc; }
.sc-ssl-row.is-active { background: #f0f7ff; }
.sc-ssl-row input { position: absolute; opacity: 0; pointer-events: none; }
.sc-ssl-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: inline-block;
  position: relative;
}
.sc-ssl-row.is-active .sc-ssl-check,
.sc-ssl-row:has(input:checked) .sc-ssl-check {
  border-color: var(--sc-slate);
  background: var(--sc-slate);
}
.sc-ssl-row.is-active .sc-ssl-check::after,
.sc-ssl-row:has(input:checked) .sc-ssl-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.sc-ssl-name { color: #1f2937; font-size: 14px; font-weight: 600; }
.sc-ssl-price { color: #374151; font-size: 13px; font-weight: 700; white-space: nowrap; }

.sc-help {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, #fff8e8, #fef3c7);
  border: 1px solid #f5d78e;
  color: #78350f;
  font-size: 14px;
}
.sc-help-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f59e0b;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.sc-help a { color: #1d4ed8; font-weight: 800; }

.sc-billing { display: grid; gap: 10px; }
.sc-bill-opt {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 14px 14px;
  border: 1px solid var(--sc-line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.sc-bill-opt:hover { border-color: #b7dc7a; }
.sc-bill-opt.is-active {
  border-color: var(--sc-green);
  background: #f7fbef;
  box-shadow: inset 0 0 0 1px var(--sc-green);
}
.sc-bill-opt input { position: absolute; opacity: 0; pointer-events: none; }
.sc-bill-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  position: relative;
}
.sc-bill-opt.is-active .sc-bill-radio {
  border-color: var(--sc-green);
  background: var(--sc-green);
}
.sc-bill-opt.is-active .sc-bill-radio::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #fff;
}
.sc-bill-text strong {
  display: block;
  font-size: 13px;
  color: var(--sc-ink);
  line-height: 1.45;
}
.sc-bill-text small {
  display: block;
  margin-top: 3px;
  color: var(--sc-muted);
  font-size: 12px;
}
.sc-bill-price {
  font-size: 15px;
  font-weight: 800;
  color: var(--sc-slate);
  white-space: nowrap;
}

.sc-side { position: sticky; top: 18px; }
.sc-summary {
  background: #fff;
  border: 1px solid var(--sc-line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(26, 43, 50, 0.06);
}
.sc-summary-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sc-line);
}
.sc-summary-top span {
  font-size: 12px;
  font-weight: 700;
  color: var(--sc-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sc-summary-top strong {
  font-size: 16px;
  color: var(--sc-ink);
  line-height: 1.35;
}
.sc-summary-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.sc-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13px;
}
.sc-summary-list li span { color: var(--sc-muted); }
.sc-summary-list li b { color: var(--sc-ink); font-weight: 700; text-align: right; }
.sc-summary-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
  background: var(--sc-soft);
  color: var(--sc-slate);
  font-size: 12px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.sc-summary-note i { margin-top: 2px; }

.sc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-actions-side { flex-direction: column; }
.sc-actions-mobile { display: none; margin-top: 8px; }
.sc-btn {
  height: 46px;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.sc-btn:hover { transform: translateY(-1px); }
.sc-btn-block { width: 100%; }
.sc-btn-primary { background: var(--sc-green); color: #fff; }
.sc-btn-primary:hover { background: var(--sc-green-dark); }
.sc-btn-ghost {
  background: #fff;
  color: var(--sc-slate);
  border: 1px solid #cbd5e1;
}
.sc-btn-ghost:hover {
  border-color: var(--sc-green);
  color: #588a1f;
}

@media (max-width: 991px) {
  .sc-layout { grid-template-columns: 1fr; }
  .sc-side { position: static; order: -1; }
  .sc-actions-side { display: none; }
  .sc-actions-mobile { display: flex; }
}
@media (max-width: 767px) {
  .sc-hero { padding: 18px; }
  .sc-hero h1 { font-size: 22px; }
  .sc-grid-2 { grid-template-columns: 1fr; }
  .sc-ssl-head { flex-direction: column; }
  .sc-actions-mobile { flex-direction: column; }
  .sc-btn { width: 100%; }
  .sc-steps span { font-size: 11px; padding: 6px 9px; }
}

.sc-os-hint {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: #475569;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
}
.sc-os-hint.is-win {
  color: #1e3a8a;
  background: #eff6ff;
  border-color: #93c5fd;
}
.sc-card .ovh-os-price-note {
  margin: 0 0 14px;
}
