.m21-survey-wrapper {
  --m21-primary: #0a7f5a;
  --m21-primary-dark: #056447;
  --m21-surface: #ffffff;
  --m21-bg: #f5f7f6;
  --m21-border: #d7dfdb;
  --m21-text: #172026;
  --m21-wash: rgba(10, 127, 90, 0.045);
  --m21-wash-strong: rgba(10, 127, 90, 0.08);
  color: var(--m21-text);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}

.m21-survey-wrapper {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
}

.m21-survey-form {
  max-width: 920px;
  margin: 0 auto;
}

.m21-survey-cover img {
  width: 100%;
  border-radius: 14px;
  max-height: 300px;
  object-fit: cover;
  margin-bottom: 16px;
  display: block;
}

.m21-survey-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(247,252,249,0.98) 100%);
  border: 1px solid var(--m21-border);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.m21-survey-header h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.m21-survey-header p {
  margin: 0;
  color: #4b5b54;
  line-height: 1.5;
}

.m21-question,
.m21-contact-fields,
.m21-consent-block {
  background: var(--m21-wash);
  border: 1px solid rgba(23, 32, 38, 0.09);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 14px;
  backdrop-filter: blur(4px);
}

.m21-contact-fields {
  background: linear-gradient(180deg, rgba(10, 127, 90, 0.05) 0%, rgba(10, 127, 90, 0.03) 100%);
}

.m21-question-title {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
  font-size: 1.04rem;
  line-height: 1.45;
  color: #10231a;
}

.m21-question-description {
  color: #5f6d67;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.m21-required {
  color: #d63638;
  margin-left: 4px;
  font-weight: 800;
}

.m21-field-inline {
  display: block;
  margin-bottom: 12px;
}

.m21-field-inline:last-child {
  margin-bottom: 0;
}

.m21-field-inline span {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.m21-question input[type="text"],
.m21-question input[type="email"],
.m21-question input[type="number"],
.m21-question input[type="date"],
.m21-question input[type="tel"],
.m21-field-inline input[type="text"],
.m21-field-inline input[type="email"],
.m21-field-inline input[type="number"],
.m21-field-inline input[type="date"],
.m21-field-inline input[type="tel"],
.m21-question textarea,
.m21-question select {
  width: 100%;
  border: 1px solid #b8c9c2;
  border-radius: 10px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  box-sizing: border-box;
  color: var(--m21-text);
}

.m21-question textarea {
  min-height: 120px;
  resize: vertical;
}

.m21-options,
.m21-stars,
.m21-scale-options {
  display: grid;
  gap: 10px;
}

.m21-options label,
.m21-stars label,
.m21-scale-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(23, 32, 38, 0.09);
  background: rgba(255, 255, 255, 0.72);
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.m21-options label:hover,
.m21-stars label:hover,
.m21-scale-options label:hover {
  background: var(--m21-wash-strong);
  border-color: rgba(10, 127, 90, 0.25);
}

.m21-options input,
.m21-stars input,
.m21-scale-options input {
  margin: 0;
}

.m21-scale-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #5f6d67;
}

.m21-consent-block label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.m21-honeypot {
  position: absolute;
  left: -9999px;
}

.m21-btn {
  background: var(--m21-primary);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: background-color 140ms ease, transform 140ms ease;
}

.m21-btn:hover {
  background: var(--m21-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.m21-form-message {
  margin-top: 12px;
  font-weight: 700;
}

.m21-form-message.m21-error,
.m21-error {
  color: #9f1d1d;
}

.m21-form-message.m21-success {
  color: #116329;
}

.cps-feedback-error {
  padding: 14px 16px;
  border-radius: 14px;
  background: #ffe2dd;
  color: #8a1f11;
}

@media (max-width: 768px) {
  .m21-survey-header,
  .m21-question,
  .m21-contact-fields,
  .m21-consent-block {
    padding: 16px;
  }

  .m21-options label,
  .m21-stars label,
  .m21-scale-options label {
    align-items: flex-start;
  }
}
