.asswp-newsletter-form {
  width: 100%;
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

.asswp-newsletter-form h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

.asswp-form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.asswp-privacy-consent {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.asswp-privacy-consent .asswp-privacy-consent-checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: end;
  gap: 8px;
}

.asswp-privacy-consent .asswp-privacy-consent-checkbox input {
  width: 18px;
  height: 18px;
  border: 1px solid #d6dadb;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px;
  min-width: 18px;
}

.asswp-privacy-consent .asswp-privacy-consent-checkbox input[type="checkbox"]:checked::after {
    content: "✔";
    position: absolute;
    left: 3px;
    top: -1px;
    font-size: 14px;
    color: var(--color-primary);
}

.asswp-newsletter-form input {
  width: 100%;
  padding: 6px 16px;
  background-color: #eff3f5;
  color: #333;
  border: 1px solid #d6dadb;
  border-radius: 4px;
}

.asswp-newsletter-form input[type="submit"] {
  border: 1px solid #d6dadb;
  border-radius: 4px;
  cursor: pointer;
  padding: 8px 16px;
  width: max-content;
}

.asswp-newsletter-form .alert {
  padding: 10px;
}

@media screen and (max-width: 768px) {
  .asswp-privacy-consent-checkbox,
  .asswp-privacy-consent {
    flex-direction: column;
  }

  .asswp-privacy-consent-checkbox {
    text-align: left;
    align-items: top;
    line-height: 100%;
  }

  .asswp-form-fields {
    grid-template-columns: 1fr;
  }

  .asswp-newsletter-form input[type="submit"] {
    width: 100%;
  }
}
