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

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

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

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

.foxy-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);
}

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

.foxy-support-modal__title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #0f172a;
}

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

.foxy-support-choice,
.foxy-support-submit,
.foxy-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;
}

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

.foxy-support-choice:hover {
  background: #eef2ff;
  border-color: #c7d2fe;
}

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

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

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

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

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

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

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

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

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

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

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

.foxy-support-submit {
  width: 100%;
  background: linear-gradient(135deg, #ea580c, #f97316);
  color: #fff;
}

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

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

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

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