html.balance-support-form-page,
body.balance-support-form-page {
  min-height: 100%;
  margin: 0;
  color: #f8fbff;
  font-family: Manrope, Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 30%, rgba(33, 133, 235, 0.34), transparent 22%),
    radial-gradient(circle at 86% 34%, rgba(66, 86, 174, 0.36), transparent 28%),
    linear-gradient(180deg, #223a59 0%, #203753 48%, #162943 100%);
  overflow-x: hidden;
}

body.balance-support-form-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 21%, rgba(185, 214, 255, 0.44) 0 4px, transparent 5px),
    radial-gradient(circle at 78% 34%, rgba(185, 214, 255, 0.62) 0 4px, transparent 5px),
    radial-gradient(circle at 94% 33%, rgba(185, 214, 255, 0.58) 0 5px, transparent 6px);
  z-index: 0;
}

.balance-support-form-page #allrecords {
  position: relative;
  z-index: 1;
  height: auto !important;
  overflow: visible !important;
}

.support-form-page {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

.support-form-page *,
.support-form-page *::before,
.support-form-page *::after {
  box-sizing: border-box;
}

.support-form-orbits {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.support-form-orbit {
  position: absolute;
  border: 1px solid rgba(166, 205, 255, 0.13);
  border-radius: 50%;
}

.support-form-orbit-one {
  top: 130px;
  right: -90px;
  width: 470px;
  height: 190px;
  transform: rotate(22deg);
}

.support-form-orbit-two {
  bottom: 120px;
  left: -170px;
  width: 420px;
  height: 150px;
  transform: rotate(18deg);
}

.support-form-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(180, 212, 255, 0.70);
}

.dot-one { top: 23%; right: 16%; }
.dot-two { bottom: 18%; left: 8%; }
.dot-three { top: 62%; right: 28%; }

.support-form-ghost {
  position: absolute;
  width: 180px;
  height: 96px;
  border: 1px solid rgba(154, 192, 238, 0.12);
  border-radius: 18px;
  background: rgba(89, 139, 201, 0.12);
}

.ghost-one { top: 25%; left: 17%; }
.ghost-two { right: 10%; bottom: 18%; }

.support-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(560px, 1.15fr);
  gap: 48px;
  align-items: start;
}

.support-form-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: rgba(231, 239, 250, 0.78);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.support-form-back:hover {
  color: #70c7ff;
}

.support-form-eyebrow {
  margin: 0 0 18px;
  color: #70c7ff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.support-form-intro h1 {
  max-width: 520px;
  margin: 0 0 22px;
  color: #f8fbff;
  font-size: clamp(42px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 800;
}

.support-form-lead {
  max-width: 520px;
  margin: 0 0 32px;
  color: rgba(231, 239, 250, 0.82);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 500;
}

.support-form-info,
.support-form-card {
  border: 1px solid rgba(74, 132, 255, 0.35);
  border-radius: 24px;
  background:
    radial-gradient(circle at 16% 0%, rgba(77, 133, 206, 0.22), transparent 42%),
    linear-gradient(180deg, rgba(18, 43, 82, 0.78), rgba(8, 22, 48, 0.82));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
}

.support-form-info {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.support-form-info article {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 20px 22px;
}

.support-form-info article + article {
  border-top: 1px solid rgba(145, 185, 255, 0.14);
}

.support-form-info h2 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.2;
}

.support-form-info p,
.support-form-card p,
.field-note,
.submit-note {
  color: rgba(231, 239, 250, 0.76);
}

.support-form-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.status-dot {
  width: 12px;
  height: 12px;
  margin-top: 5px;
  border-radius: 50%;
  background: #55f0a6;
}

.mini-icon {
  color: #3f82ff;
  font-weight: 900;
}

.support-form-card {
  padding: 44px;
}

.form-card-head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 34px;
}

.form-head-icon,
.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border: 1px solid rgba(90, 150, 255, 0.35);
  border-radius: 18px;
  color: #3f82ff;
  background: linear-gradient(135deg, rgba(47, 123, 255, 0.35), rgba(47, 123, 255, 0.08));
}

.form-head-icon svg,
.success-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.form-card-head h2,
.success-state h2 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.15;
}

.form-card-head p,
.success-state p {
  margin: 0;
  font-size: 16px;
  line-height: 1.45;
}

.form-grid {
  display: grid;
  gap: 24px;
}

.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field,
.contact-methods {
  display: block;
  margin-bottom: 20px;
}

.field > span,
.contact-methods legend {
  display: block;
  margin-bottom: 8px;
  color: #f8fbff;
  font-weight: 800;
}

.support-form-card input,
.support-form-card select,
.support-form-card textarea {
  width: 100% !important;
  border: 1px solid rgba(83, 143, 255, 0.35) !important;
  border-radius: 16px !important;
  background: rgba(8, 24, 52, 0.58) !important;
  color: #fff !important;
  font: 600 16px/1.35 Manrope, Arial, sans-serif !important;
  outline: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.support-form-card input,
.support-form-card select {
  height: 58px !important;
  padding: 0 20px !important;
}

.support-form-card textarea {
  min-height: 165px !important;
  resize: vertical;
  padding: 18px 20px !important;
}

.support-form-card input::placeholder,
.support-form-card textarea::placeholder {
  color: rgba(220, 230, 255, 0.55) !important;
}

.support-form-card input:focus,
.support-form-card select:focus,
.support-form-card textarea:focus {
  border-color: rgba(47, 123, 255, 0.95) !important;
  box-shadow:
    0 0 0 3px rgba(47, 123, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.support-form-card select {
  appearance: none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(220, 230, 255, 0.72) 50%),
    linear-gradient(135deg, rgba(220, 230, 255, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 26px,
    calc(100% - 18px) 26px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.support-form-card select option {
  color: #081831 !important;
  background: #f5f8ff !important;
}

.counter {
  display: block;
  margin-top: 6px;
  color: rgba(231, 239, 250, 0.62);
  font-size: 13px;
  text-align: right;
}

.field-note,
.contact-methods p,
.submit-note {
  margin: -2px 0 10px;
  font-size: 13px;
  line-height: 1.45;
}

.upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 74px;
  border: 1px dashed rgba(83, 143, 255, 0.42);
  border-radius: 16px;
  color: rgba(220, 230, 255, 0.72);
  cursor: pointer;
  background: rgba(7, 22, 48, 0.42);
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.upload-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: #3f82ff;
}

.upload-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.upload-zone:hover {
  border-color: rgba(47, 123, 255, 0.9);
  background: rgba(47, 123, 255, 0.08);
  box-shadow: 0 12px 34px rgba(47, 123, 255, 0.10);
}

.upload-zone input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.file-name {
  display: block;
  margin-top: 8px;
  color: #70c7ff;
}

.contact-methods {
  border: 0;
  padding: 0;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}

.contact-method-card {
  position: relative;
  display: flex;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(83, 143, 255, 0.28);
  border-radius: 16px;
  background: rgba(8, 24, 52, 0.58);
  cursor: pointer;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-method-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 123, 255, 0.75);
  box-shadow: 0 12px 34px rgba(47, 123, 255, 0.12);
}

.contact-method-card input {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-check {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(220, 230, 255, 0.45);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  transition: 0.2s ease;
}

.contact-method-icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 32px;
  height: 32px;
  margin-bottom: 12px;
  color: #3f82ff;
  font-weight: 900;
}

.contact-method-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.contact-method-text-icon {
  font-size: 19px;
  letter-spacing: 0;
}

.contact-method-max {
  width: auto;
  font-size: 15px;
}

.contact-method-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
  color: #fff;
  overflow-wrap: anywhere;
}

.contact-method-card:has(input:checked) {
  border-color: rgba(47, 123, 255, 1);
  background: rgba(47, 123, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(47, 123, 255, 0.12);
}

.contact-method-card:has(input:checked) .contact-check {
  border-color: #2f7bff;
  background: #2f7bff;
}

.contact-method-card:has(input:checked) .contact-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 10px 0 8px;
  color: rgba(231, 239, 250, 0.86);
  font-size: 14px;
  line-height: 1.45;
  position: relative;
  cursor: pointer;
}

.consent input {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: relative !important;
  display: inline-block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  flex: 0 0 18px !important;
  border: 1px solid rgba(220, 230, 255, 0.45);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: 0.2s ease;
}

.consent input::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  opacity: 0;
  transform: rotate(45deg);
}

.consent input:checked {
  border-color: #2f7bff;
  background: #2f7bff;
}

.consent input:checked::after {
  opacity: 1;
}

.consent a,
.submit-note a {
  color: #2f7bff !important;
  text-decoration: none !important;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 60px;
  margin-top: 18px;
  border: 0;
  border-radius: 16px;
  color: #fff !important;
  text-decoration: none !important;
  font: 800 17px/1 Manrope, Arial, sans-serif;
  cursor: pointer;
  background: linear-gradient(135deg, #3f82ff, #005eff);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.submit-button:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(47, 123, 255, 0.28);
}

.error,
.consent-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #ff8c8c;
  font-size: 13px;
}

.support-form-card .has-error input,
.support-form-card .has-error select,
.support-form-card .has-error textarea,
.contact-methods.has-error .method-grid,
.consent.has-error {
  border-color: rgba(255, 110, 110, 0.82);
}

.contact-methods.has-error .contact-method-card,
.consent.has-error input {
  border-color: rgba(255, 110, 110, 0.82);
}

.success-state {
  padding: 42px 0 16px;
  text-align: center;
}

.success-icon {
  margin: 0 auto 18px;
  color: #55f0a6;
}

.success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border: 1px solid rgba(145, 185, 255, 0.24);
  border-radius: 30px;
  color: #f8fbff !important;
  text-decoration: none !important;
}

.success-actions .telegram-link,
.success-actions .telegram-link:visited,
.success-actions .secondary-link,
.success-actions .secondary-link:visited {
  color: #fff !important;
}

@media (max-width: 1100px) {
  .support-form-layout {
    grid-template-columns: 1fr;
  }

  .support-form-page {
    padding-top: 96px;
  }
}

@media (max-width: 720px) {
  .support-form-page {
    width: min(100% - 28px, 1180px);
    padding: 86px 0 44px;
  }

  .support-form-card {
    padding: 24px;
  }

  .form-grid.two,
  .success-actions {
    grid-template-columns: 1fr;
  }

  .support-form-intro h1 {
    font-size: 40px;
  }
}
