.demo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.demo-field--full { grid-column: 1 / -1; }
.demo-field label,
.demo-legend {
  color: #273746;
  font-size: 0.92rem;
  font-weight: 700;
}

.demo-name-fields,
.demo-radio-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.demo-name-fields legend,
.demo-radio-group legend {
  margin-bottom: 0.45rem;
  color: #273746;
  font-size: 0.92rem;
  font-weight: 700;
}

.demo-name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.demo-name-grid label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.55rem;
}

.demo-radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.demo-radio-options label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
}

.demo-radio-options input { width: auto; }

.demo-field input,
.demo-field select,
.demo-field textarea {
  box-sizing: border-box;
  padding: 0.85rem 1rem;
  border: 1px solid #d6dee5;
  border-radius: 10px;
  background: #fff;
  color: #1f2933;
  font: inherit;
  font-weight: 500;
}

.demo-field textarea {
  min-height: 130px;
  resize: vertical;
}

.demo-field input:focus,
.demo-field select:focus,
.demo-field textarea:focus {
  outline: 3px solid rgba(110, 180, 207, 0.2);
  border-color: #6eb4cf;
}

.demo-required {
  color: #b8335f;
  font-size: 0.75rem;
}

.demo-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.7;
}

.demo-consent input { margin-top: 0.35rem; }
.demo-submit { border: 0; cursor: pointer; }
.demo-submit:disabled { cursor: not-allowed; opacity: 0.55; }

.demo-status {
  display: none;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
}

.demo-status.is-success {
  display: block;
  background: #eaf8f1;
  color: #176447;
}

.demo-status.is-error {
  display: block;
  background: #fff0f2;
  color: #9d2449;
}

.demo-help {
  color: #687785;
  font-size: 0.82rem;
  line-height: 1.7;
}

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

@media (max-width: 680px) {
  .demo-form { grid-template-columns: 1fr; }
  .demo-field--full { grid-column: auto; }
  .demo-name-grid { grid-template-columns: 1fr; }
}
