.cdp-newsletter-form,
.cdp-newsletter-form * {
  box-sizing: border-box;
}

.cdp-newsletter-form {
  width: 100%;
  margin: 0;
}

.cdp-newsletter-form__row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.055);
}

.cdp-newsletter-form__email {
  min-width: 0;
  min-height: 50px;
  padding: 0 17px;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: transparent !important;
  color: #ffffff !important;
  font: inherit;
  font-size: 13px;
  box-shadow: none !important;
}

.cdp-newsletter-form__email::placeholder {
  color: rgba(255,255,255,.45);
}

.cdp-newsletter-form__email:focus {
  box-shadow: inset 0 0 0 1px #8ed7db !important;
}

.cdp-newsletter-form__button {
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.14);
  border-radius: 0;
  background: #18a9b4;
  color: #ffffff;
  cursor: pointer;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: background-color .2s ease, opacity .2s ease;
}

.cdp-newsletter-form__button:hover,
.cdp-newsletter-form__button:focus-visible {
  background: #1598a2;
  outline: none;
}

.cdp-newsletter-form__button:disabled {
  cursor: wait;
  opacity: .65;
}

.cdp-newsletter-form__consent {
  margin-top: 11px;
  display: grid;
  grid-template-columns: 15px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: rgba(255,255,255,.47);
  font-size: 9px;
  line-height: 1.55;
  cursor: pointer;
}

.cdp-newsletter-form__consent input {
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  accent-color: #18a9b4;
}

.cdp-newsletter-form__consent a {
  color: #8ed7db;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cdp-newsletter-form__status {
  min-height: 18px;
  margin-top: 9px;
  color: rgba(255,255,255,.64);
  font-size: 10px;
  line-height: 1.5;
}

.cdp-newsletter-form__status.is-success {
  color: #a8ecef;
}

.cdp-newsletter-form__status.is-error {
  color: #ffd1d1;
}

.cdp-newsletter-form__trap,
.cdp-newsletter-form__sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cdp-newsletter-notice {
  position: fixed;
  z-index: 999999;
  right: 22px;
  bottom: 22px;
  max-width: min(420px, calc(100vw - 36px));
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.16);
  background: #0d3033;
  color: #ffffff;
  box-shadow: 0 18px 50px rgba(5,32,35,.24);
  font-size: 13px;
  line-height: 1.55;
}

.cdp-newsletter-notice--success {
  border-left: 4px solid #18a9b4;
}

.cdp-newsletter-notice--error {
  border-left: 4px solid #c95f5f;
}

@media (max-width: 560px) {
  .cdp-newsletter-form__row {
    grid-template-columns: 1fr;
  }

  .cdp-newsletter-form__button {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
  }

  .cdp-newsletter-notice {
    right: 18px;
    bottom: 18px;
    left: 18px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cdp-newsletter-form__button {
    transition: none;
  }
}
