:root {
  color-scheme: dark;
  --ps-bg: #0b0d12;
  --ps-panel: #171a21;
  --ps-panel-soft: #1e222b;
  --ps-border: #303643;
  --ps-text: #f6f7fb;
  --ps-muted: #a7afbf;
  --ps-orange: #f47b20;
  --ps-orange-soft: rgba(244, 123, 32, .14);
  --ps-green: #39d98a;
  --ps-red: #ff6b72;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% -20%, rgba(244,123,32,.14), transparent 35rem),
    var(--ps-bg);
  color: var(--ps-text);
}

button, input, select, textarea { font: inherit; }
a { color: inherit; }

.support-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: 28px 0 36px;
}

.support-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.support-brand { display: inline-flex; }
.support-brand img { display: block; width: 174px; height: auto; }
.support-header-copy { display: grid; gap: 2px; }
.support-header-copy strong { font-size: 1rem; }
.support-header-copy span, .support-secure { color: var(--ps-muted); font-size: .8rem; }
.support-secure { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.support-secure > span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(57,217,138,.13);
  color: var(--ps-green);
  line-height: 1;
}

.support-card {
  padding: clamp(24px, 5vw, 46px);
  border: 1px solid var(--ps-border);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(31,35,44,.98), rgba(19,22,29,.98));
  box-shadow: 0 26px 80px rgba(0,0,0,.28);
}

.support-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-bottom: 34px; }
.support-progress span { height: 4px; border-radius: 999px; background: #353b47; }
.support-progress span.active { background: var(--ps-orange); }
.support-step-label { margin-bottom: 8px; color: var(--ps-orange); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(1.65rem, 5vw, 2.35rem); letter-spacing: -.035em; }
.support-lead { margin: 12px 0 27px; color: var(--ps-muted); line-height: 1.55; }
.support-lead strong { color: var(--ps-text); }

.support-form { display: grid; gap: 12px; }
.support-form > label { margin-top: 8px; color: #d8dce5; font-size: .84rem; font-weight: 700; }
.support-form label small { color: var(--ps-muted); font-weight: 500; }
input, select, textarea {
  width: 100%;
  border: 1px solid #404754;
  border-radius: 13px;
  outline: 0;
  background: #11141a;
  color: var(--ps-text);
  transition: border-color .16s ease, box-shadow .16s ease;
}
input, select { min-height: 52px; padding: 0 16px; }
textarea { min-height: 142px; padding: 15px 16px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { border-color: var(--ps-orange); box-shadow: 0 0 0 4px rgba(244,123,32,.13); }
::placeholder { color: #747d8d; }

.support-issues { display: grid; gap: 10px; margin-bottom: 11px; }
.support-issue {
  display: grid;
  grid-template-columns: 43px 1fr;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px;
  border: 1px solid #3a404c;
  border-radius: 15px;
  background: #151820;
  color: var(--ps-text);
  text-align: left;
  cursor: pointer;
}
.support-issue:hover, .support-issue.selected { border-color: var(--ps-orange); background: var(--ps-orange-soft); }
.support-issue-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: rgba(244,123,32,.14);
  color: #ff9a50;
  font-size: 1.25rem;
  line-height: 1;
}
.support-issue.danger .support-issue-icon { background: rgba(255,107,114,.13); color: var(--ps-red); }
.support-issue span:last-child { display: grid; gap: 4px; }
.support-issue small { color: var(--ps-muted); }

.support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.support-button.primary {
  margin-top: 12px;
  border-color: rgba(249,115,22,.38);
  background: #20232b;
  color: #fed7aa;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.support-button.primary:hover {
  border-color: rgba(249,115,22,.62);
  background: rgba(249,115,22,.14);
  color: #ffedd5;
  box-shadow: 0 12px 28px rgba(0,0,0,.26);
}
.support-button.primary:focus-visible {
  outline: 2px solid rgba(249,115,22,.72);
  outline-offset: 2px;
}
.support-button.whatsapp {
  display: flex;
  width: min(100%, 320px);
  margin-inline: auto;
  border-color: rgba(57,217,138,.45);
  background: rgba(57,217,138,.09);
  color: #7aefb4;
}
.support-button.ghost { width: 100%; border-color: #3b424e; background: transparent; color: var(--ps-muted); }
.support-inline-form { margin-top: 10px; }
.support-divider { display: flex; align-items: center; gap: 14px; margin: 25px 0 17px; color: #7f8795; font-size: .77rem; }
.support-divider::before, .support-divider::after { content: ""; flex: 1; height: 1px; background: var(--ps-border); }

.support-alert, .support-qr-notice { margin-bottom: 23px; border-radius: 14px; }
.support-alert { padding: 13px 15px; border: 1px solid; line-height: 1.45; }
.support-alert.info { border-color: rgba(69,156,255,.42); background: rgba(69,156,255,.1); color: #b9d8ff; }
.support-alert.error { border-color: rgba(255,107,114,.45); background: rgba(255,107,114,.1); color: #ffb8bc; }
.support-qr-notice { display: flex; align-items: center; gap: 13px; padding: 14px; border: 1px solid rgba(244,123,32,.42); background: var(--ps-orange-soft); }
.support-qr-notice > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ps-orange); color: #1b0b02; font-size: 1.35rem; line-height: 1; }
.support-qr-notice div { display: grid; gap: 3px; }
.support-qr-notice small { color: var(--ps-muted); line-height: 1.35; }

.support-otp { display: grid; grid-template-columns: repeat(6, 1fr); gap: 9px; margin: 5px 0 11px; }
.support-otp input { min-width: 0; padding: 0; text-align: center; font-size: 1.55rem; font-weight: 800; }
.support-file { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 74px; margin: 0 !important; border: 1px dashed #555e6d; border-radius: 13px; background: rgba(255,255,255,.02); cursor: pointer; }
.support-file:hover { border-color: var(--ps-orange); color: #ffab6c; }
.support-file > span:first-child { font-size: 1.35rem; line-height: 1; }
.support-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.support-success { display: grid; justify-items: center; text-align: center; }
.support-success-icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 20px; border-radius: 50%; background: rgba(57,217,138,.13); color: var(--ps-green); font-size: 2rem; line-height: 1; }
.support-protocol { display: block; margin: 0 0 14px; padding: 11px 16px; border-radius: 11px; background: #101319; color: #ffab6c; font-size: 1.1rem; letter-spacing: .05em; }
.support-success .support-button { width: 100%; }

.support-footer { display: flex; justify-content: space-between; gap: 18px; padding: 19px 6px 0; color: #77808f; font-size: .74rem; }
.support-footer a:hover { color: #c5cad3; }

@media (max-width: 640px) {
  .support-shell { width: min(100% - 20px, 760px); padding-top: 16px; }
  .support-header { grid-template-columns: 1fr auto; gap: 10px; }
  .support-brand img { width: 146px; }
  .support-header-copy { display: none; }
  .support-card { border-radius: 19px; }
  .support-footer { display: grid; justify-content: center; text-align: center; }
}

@media (max-width: 390px) {
  .support-otp { gap: 6px; }
  .support-otp input { min-height: 47px; font-size: 1.3rem; }
}
