.cs-address-field-error {
  position: relative;
}

.cs-address-field-error > span:first-child {
  color: #a40020 !important;
  font-weight: 900 !important;
}

.cs-address-field-error input,
.cs-address-field-error select,
input.cs-address-field-error,
select.cs-address-field-error {
  border-color: #ff174f !important;
  outline: 3px solid rgba(255, 23, 79, .34) !important;
  outline-offset: 2px;
  background: linear-gradient(135deg, #fff 0%, #fff2f5 100%) !important;
  box-shadow: 0 0 0 4px rgba(255, 23, 79, .18), 0 0 22px rgba(255, 23, 79, .62) !important;
  animation: cs-address-error-breathe 1.65s ease-in-out infinite;
}

.cs-address-guidance-card {
  display: grid;
  grid-column: 1 / -1;
  gap: 7px;
  width: 100%;
  margin: 8px 0 14px;
  padding: 14px 16px;
  border: 2px solid #ff174f;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff 0%, #fff0f4 100%);
  color: #5d0014;
  box-shadow: 0 0 0 4px rgba(255, 23, 79, .12), 0 14px 34px rgba(128, 0, 30, .18);
}

.cs-address-guidance-card[hidden] {
  display: none !important;
}

.cs-address-guidance-badge {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 26px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ff174f;
  color: #fff;
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cs-address-guidance-card strong {
  color: #750019;
  font-size: 1rem;
}

.cs-address-guidance-card p {
  margin: 0;
  color: #5d0014;
  line-height: 1.45;
}

.cs-address-guidance-example {
  font-weight: 850;
}

@keyframes cs-address-error-breathe {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 23, 79, .15), 0 0 13px rgba(255, 23, 79, .4); }
  50% { box-shadow: 0 0 0 6px rgba(255, 23, 79, .28), 0 0 30px rgba(255, 23, 79, .78); }
}

@media (prefers-reduced-motion: reduce) {
  .cs-address-field-error input,
  .cs-address-field-error select,
  input.cs-address-field-error,
  select.cs-address-field-error {
    animation: none;
  }
}
