.as-field-help,
.as-field-message {
  display: block;
  min-height: 0;
  color: #667b8d;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}

.as-field-message:empty {
  display: none;
}

.as-field-message.is-notice {
  position: relative;
  padding-left: 18px;
  color: #7a5a20;
}

.as-field-message.is-notice::before {
  content: "!";
  position: absolute;
  top: 0;
  left: 2px;
  font-weight: 700;
}

.as-field-message.is-error {
  padding: 7px 9px;
  border-left: 3px solid #b53b34;
  border-radius: 4px;
  background: #fff3f2;
  color: #8d2d29;
}

[data-as-address-field][aria-invalid="true"],
[data-as-address-country][aria-invalid="true"] {
  border-color: #b53b34;
  box-shadow: 0 0 0 3px rgba(181, 59, 52, .1);
}

.as-postal-field {
  position: relative;
}

.as-postal-suggestions {
  position: absolute;
  z-index: 40;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  max-width: min(420px, 90vw);
  max-height: 230px;
  overflow-y: auto;
  border: 1px solid #9fb9c8;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(22, 58, 77, .16);
}

.as-postal-suggestions[hidden] {
  display: none;
}

.as-postal-suggestions__option {
  display: block;
  width: 100%;
  padding: 9px 11px;
  border: 0;
  border-bottom: 1px solid #dce8ee;
  background: #fff;
  color: #173b4d;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.as-postal-suggestions__option:last-child {
  border-bottom: 0;
}

.as-postal-suggestions__option:hover,
.as-postal-suggestions__option:focus,
.as-postal-suggestions__option.is-active {
  outline: 0;
  background: #e7f5fa;
}
