/* BOND VPN — общие стили служебных страниц (оплата, успех, доступ) */

body.page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
}

body.page-body .site-header { position: fixed; z-index: 50; top: 16px; left: 0; width: 100%; }

.page-shell {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 60px;
  position: relative;
  z-index: 2;
}

.panel-card {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 26px 26px;
  background: var(--panel);
  border-radius: 32px;
}
.panel-card--wide { max-width: 620px; }

.panel-status {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(214, 228, 74, .12);
  color: var(--lime);
  font-size: 26px;
}
.panel-status--wait { background: rgba(255, 255, 255, .06); color: #d8d8d2; }
.panel-status--error { background: rgba(255, 92, 92, .12); color: #ff7a7a; }

.panel-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 30px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  text-align: center;
}
.panel-lead {
  margin: 0 auto 18px;
  max-width: 420px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}
.panel-lead b, .panel-lead strong { color: var(--lime); font-weight: 700; }

.panel-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
}

.info-note {
  margin-bottom: 22px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(214, 228, 74, .08);
  color: #dfe6ac;
  font-size: 13px;
  line-height: 1.5;
}
.info-note--warn { background: rgba(255, 176, 60, .1); color: #f2c98a; }

.data-box {
  margin-bottom: 10px;
  padding: 12px 18px;
  border-radius: 20px;
  background: var(--panel-light);
}
.data-box label {
  display: block;
  margin-bottom: 4px;
  color: #8f8f89;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.data-box .data-line { display: flex; align-items: center; gap: 10px; }
.data-box input,
.data-box textarea {
  flex: 1;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  resize: none;
}
.data-box textarea { min-height: 66px; line-height: 1.45; word-break: break-all; }
.data-box--key textarea { font-size: 13px; }

.icon-copy {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #262626;
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease;
}
.icon-copy:hover { background: #303030; }
.icon-copy:active { transform: scale(1.08); }
.icon-copy.is-done { background: var(--lime); color: #111; }

.panel-actions { display: flex; gap: 10px; margin-top: 18px; }
.panel-actions .button { flex: 1; }

.button--block {
  width: 100%;
  justify-content: center;
  padding: 2px 22px 0;
  min-height: 48px;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.button--square {
  width: 54px;
  min-height: 54px;
  flex: 0 0 auto;
  padding: 0;
  justify-content: center;
  gap: 0;
  font-size: 20px;
}
.button--square:active { transform: scale(1.08); }
.button[disabled] { opacity: .38; pointer-events: none; }

.panel-divider { height: 1px; margin: 18px 0; background: var(--line); }

.detail-list { display: grid; gap: 2px; margin-bottom: 16px; }
.detail-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--panel-light);
  font-size: 13px;
}
.detail-list span { color: var(--muted); }
.detail-list strong { font-weight: 700; text-align: right; }

.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.platform-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 18px;
  background: var(--panel-light);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 650;
  text-align: center;
  cursor: pointer;
  transition: background .2s ease, transform .15s ease;
}
.platform-card:hover { background: #232323; }
.platform-card:active { transform: scale(1.02); }
.platform-card iconify-icon { color: var(--lime); font-size: 19px; }
.platform-card--wide { grid-column: span 2; }

.section-label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.step { display: none; }
.step.is-active { display: block; animation: stepIn .35s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--panel-light);
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.back-link:hover { background: #232323; }

.instruction-body { color: #c2c2bc; font-size: 14px; line-height: 1.6; }
.instruction-body p { margin: 0 0 12px; }
.instruction-body strong { color: var(--text); }
.instruction-body .mono-box {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #101010;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: 14px;
  text-align: center;
}
.instruction-body .mono-box b { color: var(--lime); }

.spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(255, 255, 255, .12);
  border-top-color: var(--lime);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.page-foot {
  margin-top: 20px;
  color: #6f6f6a;
  font-size: 12px;
  text-align: center;
}
.page-foot a { color: var(--lime); }

@media (max-width: 760px) {
  body.page-body .site-header { top: 8px; }
  body.page-body .header-inner { min-height: 58px; padding: 5px 6px 5px 16px; border-radius: 20px; }
  .page-shell { align-items: flex-start; padding: 96px 16px 40px; }
  .panel-card { padding: 26px 20px; border-radius: 26px; }
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card--wide { grid-column: span 1; }
}
