.px-support-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.px-support-modal.is-hidden {
  display: none;
}

body.px-support-open {
  overflow: hidden;
}

.px-support-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.px-support-modal__panel {
  position: relative;
  width: min(100%, 480px);
  max-height: min(92vh, 720px);
  overflow: auto;
  padding: 24px 22px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

.px-support-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #f5f3ff;
  color: #4c1d95;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.px-support-modal__title {
  margin: 0 0 16px;
  font-family: "Syne", "IBM Plex Sans", system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0f172a;
}

.px-support-choices {
  display: grid;
  gap: 10px;
}

.px-support-choice,
.px-support-submit,
.px-support-ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.px-support-choice {
  width: 100%;
  background: #faf5ff;
  color: #0f172a;
  border: 1px solid #e9d5ff;
}

.px-support-choice:hover {
  background: #f5f3ff;
  border-color: #c4b5fd;
}

.px-support-back {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: #64748b;
  font: inherit;
  cursor: pointer;
}

.px-support-form {
  display: grid;
  gap: 14px;
}

.px-support-field,
.px-support-fieldset {
  display: grid;
  gap: 8px;
}

.px-support-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.px-support-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
}

.px-support-input,
.px-support-textarea,
.px-support-file {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font: inherit;
  color: #0f172a;
  background: #fff;
}

.px-support-input:focus,
.px-support-textarea:focus {
  outline: none;
  border-color: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
}

.px-support-textarea {
  resize: vertical;
  min-height: 96px;
}

.px-support-radio {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #0f172a;
}

.px-support-radio input {
  accent-color: #7c3aed;
}

.px-support-hint {
  margin: 0;
  font-size: 0.82rem;
  color: #64748b;
}

.px-support-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 0.9rem;
}

.px-support-error.is-hidden,
.px-support-step.is-hidden,
.is-hidden {
  display: none !important;
}

.px-support-submit {
  width: 100%;
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: #fff;
}

.px-support-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.px-support-submit--link {
  margin-bottom: 10px;
}

.px-support-ok {
  width: 100%;
  background: #0f172a;
  color: #fff;
}

.px-support-lead {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.5;
}

.px-support-auth-sso {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.px-support-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.px-support-auth-btn--vk {
  background: #f8fafc;
}

.px-support-auth-btn--yandex {
  background: #fff;
}

.px-support-auth-btn:hover {
  border-color: #c4b5fd;
  background: #faf5ff;
}

.px-support-auth-btn__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #0077ff;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.px-support-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 0.84rem;
}

.px-support-divider::before,
.px-support-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}

.px-support-auth-form {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.px-support-link-btn {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #64748b;
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  cursor: pointer;
}

.px-support-link-btn:hover {
  color: #7c3aed;
}
