.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-alert {
  display: none;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: var(--automart-bdr-radius);
  font-family: var(--automart-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5em;
  animation: formAlertFadeIn 0.35s ease-out;
}

.form-alert.is-visible {
  display: flex;
}

.form-alert__icon {
  display: inline-flex;
  flex: 0 0 24px;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  color: var(--automart-on-base);
}

.form-alert--success {
  background: rgba(var(--automart-base-rgb), 0.14);
  border: 1px solid var(--automart-base);
  color: var(--automart-white);
}

.form-alert--success .form-alert__icon {
  background: var(--automart-base);
  color: var(--automart-on-base);
}

.form-alert--error {
  background: rgba(205, 70, 70, 0.16);
  border: 1px solid #cd4646;
  color: #ffd6d6;
}

.form-alert--error .form-alert__icon {
  background: #cd4646;
  color: var(--automart-white);
}

@keyframes formAlertFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .form-alert {
    animation: none;
  }
}

.site-footer__credit {
  margin: 0;
  font-size: 13px;
  line-height: 1.5em;
  color: rgba(var(--automart-white-rgb), 0.80);
}

.site-footer__credit a {
  color: rgba(var(--automart-white-rgb), 0.80);
  font-weight: 500;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
}

.site-footer__credit a:hover {
  color: var(--automart-white);
}
