.sellqro-public-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 680px;
  color: inherit;
}

.sellqro-public-form * {
  box-sizing: border-box;
}

.sellqro-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sellqro-public-form > h2 {
  margin: 0 0 .35rem;
  color: #172b4d;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.sellqro-form-description {
  margin-bottom: .85rem;
  color: #5f6b7a;
}

.sellqro-form-description > :last-child {
  margin-bottom: 0;
}

.sellqro-public-form form {
  display: grid;
  gap: .8rem;
  max-width: 100%;
}

.sellqro-field {
  display: grid;
  gap: .3rem;
  min-width: 0;
}

.sellqro-field label,
.sellqro-field legend {
  color: #243b53;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.3;
}

.sellqro-field label > span[aria-hidden="true"],
.sellqro-field legend > span[aria-hidden="true"] {
  color: #b42318;
}

.sellqro-field input:not([type=checkbox]):not([type=radio]),
.sellqro-field select,
.sellqro-field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 42px;
  padding: .55rem .72rem;
  border: 1px solid #bac5d2;
  border-radius: 8px;
  background: #fff;
  color: #172b4d;
  box-shadow: 0 1px 2px rgba(16, 42, 67, .04);
  font: inherit;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.sellqro-field input::placeholder,
.sellqro-field textarea::placeholder {
  color: #7b8794;
  opacity: 1;
}

.sellqro-field input:not([type=checkbox]):not([type=radio]):hover,
.sellqro-field select:hover,
.sellqro-field textarea:hover {
  border-color: #8fa3b8;
}

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

.sellqro-phone {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  gap: .65rem;
}

.sellqro-phone > div {
  display: grid;
  gap: .3rem;
}

.sellqro-captcha {
  display: grid;
  grid-template-columns: minmax(120px, max-content) minmax(100px, 180px);
  gap: .65rem;
  align-items: center;
}

.sellqro-captcha strong {
  color: #243b53;
  font-size: 1rem;
  letter-spacing: .02em;
}

.sellqro-choice {
  display: flex !important;
  gap: .55rem;
  align-items: flex-start;
  margin: .45rem 0;
  font-weight: 400 !important;
}

.sellqro-choice input {
  flex: 0 0 auto;
  margin-top: .25rem;
}

.sellqro-submit {
  min-height: 42px;
  width: max-content;
  max-width: 100%;
  padding: .58rem 1.15rem;
  border: 1px solid #064db7;
  border-radius: 8px;
  background: linear-gradient(135deg, #0b63e6, #0754c9);
  color: #fff;
  box-shadow: 0 6px 15px rgba(11, 99, 230, .2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.sellqro-submit:hover {
  background: linear-gradient(135deg, #0754c9, #0643a8);
  box-shadow: 0 8px 18px rgba(11, 99, 230, .26);
  transform: translateY(-1px);
}

.sellqro-submit:disabled {
  cursor: wait;
  opacity: .7;
  transform: none;
}

.sellqro-submit[aria-busy="true"] {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.sellqro-submit[aria-busy="true"]::after {
  width: .85rem;
  height: .85rem;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  content: "";
  animation: sellqro-submit-spin .75s linear infinite;
}

@keyframes sellqro-submit-spin {
  to { transform: rotate(360deg); }
}

.sellqro-noscript-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.sellqro-noscript-page {
  margin: 0;
  padding: clamp(1rem, 4vw, 3rem);
  background: #f4f7fb;
  color: #172b4d;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.sellqro-noscript-shell {
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid #d7e0ea;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 42, 67, .08);
}

.sellqro-noscript-shell > h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 4vw, 1.85rem);
  line-height: 1.2;
}

.sellqro-noscript-home {
  margin: 1rem 0 0;
}

.sellqro-public-form :focus-visible {
  border-color: #0b63e6 !important;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 3px rgba(11, 99, 230, .2) !important;
}

.sellqro-field-error,
.sellqro-form-feedback.is-error {
  color: #b42318;
}

.sellqro-field-error {
  font-size: .875rem;
}

.sellqro-field-error:empty {
  display: none;
}

.sellqro-form-feedback:empty {
  display: none;
}

.sellqro-form-feedback.is-error,
.sellqro-form-feedback.is-success,
.sellqro-success {
  display: block;
  margin-bottom: 1rem;
  padding: .9rem 1rem;
  border-radius: 7px;
}

.sellqro-form-feedback.is-success {
  border: 1px solid #a8dbc5;
  border-left: 4px solid #0f8a5f;
  background: #e9f8f1;
  color: #176446;
}

.sellqro-form-feedback.is-error {
  border: 1px solid #f0b7b2;
  border-left: 4px solid #b42318;
  background: #fff1f0;
}

.sellqro-success {
  border: 1px solid #a8dbc5;
  border-left: 4px solid #0f8a5f;
  background: #e9f8f1;
  color: #176446;
}

.sellqro-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 520px) {
  .sellqro-captcha {
    grid-template-columns: 1fr;
  }

  .sellqro-phone {
    grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  }

  .sellqro-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sellqro-public-form * {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .sellqro-submit[aria-busy="true"]::after {
    animation: none;
  }
}
