.ms-donation {
  padding: clamp(1.2rem, 4vw, 2.8rem);
  border: 1px solid #d5ded3;
  border-radius: var(--ms-card-radius, 24px);
  background: white;
  max-width: 840px;
  margin: 1.5rem auto;
  color: #173b29;
}
.ms-donation fieldset {
  border: 0;
  padding: 0;
  margin: 1.4rem 0;
}
.ms-donation legend {
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.ms-donation label {
  display: grid;
  gap: 0.4rem;
}
.ms-donation .ms-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.ms-amounts label {
  position: relative;
  cursor: pointer;
}
.ms-amounts input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.ms-amounts span {
  padding: 0.7rem 1.1rem;
  border: 2px solid #b8cbbd;
  border-radius: 50px;
  font-weight: 700;
}
.ms-amounts input:checked + span {
  background: var(--ms-primary, #075733);
  border-color: var(--ms-primary, #075733);
  color: #fff;
}
.ms-amounts input:focus-visible + span {
  outline: 3px solid #c66a12;
  outline-offset: 3px;
}
.ms-donation input,
.ms-donation select,
.ms-donation textarea {
  font: inherit;
  max-width: 100%;
  padding: 0.75rem;
  border: 1px solid #93aa98;
  border-radius: 9px;
  min-width: 0;
}
.ms-donation .ms-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.ms-donation .ms-full {
  grid-column: 1/-1;
}
.ms-donation .ms-check {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.ms-donation .ms-check input {
  margin-top: 0.4rem;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.ms-donation-compact .ms-form-fields {
  grid-template-columns: 1fr;
}
.ms-donation-result:not(:empty) {
  padding: 1rem;
  background: #f5efda;
  border-radius: 10px;
  margin: 1rem 0;
}
.ms-donation .msd-button-outline {
  background: transparent;
  color: var(--ms-primary, #075733);
  border: 2px solid currentColor;
}
.ms-donation .msd-button-accent {
  background: #e88a31;
  color: #163b29;
}
.ms-donation .ms-payment-note {
  font-size: 0.9rem;
  margin: 1.3rem 0;
}
.ms-donation-status {
  overflow-wrap: anywhere;
}
.ms-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ms-donation .ms-notice {
  padding: 1rem;
  border-radius: 10px;
  background: #f6edcf;
}
.ms-donation .ms-button {
  font: inherit;
  cursor: pointer;
  padding: 0.9rem 1.5rem;
  border-radius: 50px;
}
.ms-donation [disabled] {
  opacity: 0.65;
  cursor: wait;
}
@media (max-width: 600px) {
  .ms-donation .ms-form-fields {
    grid-template-columns: 1fr;
  }
  .ms-donation {
    padding: 1.2rem;
  }
  .ms-donation .ms-button {
    width: 100%;
  }
}
