body.woocommerce-account .woocommerce-notices-wrapper:empty {
  display: none;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  margin: 0 0 24px;
  padding: 16px 18px 16px 52px;
  border: 1px solid #d7dce1;
  border-left-width: 4px;
  background: #f7f8f9;
  color: #171717;
  font-family: var(--e-global-typography-text-font-family, Arial, sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  list-style: none;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message {
  border-color: #bbf7d0;
  border-left-color: #16a34a;
  background: #f0fdf4;
  color: #14532d;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info {
  border-color: #fed7aa;
  border-left-color: #f26522;
  background: #fff7ed;
  color: #7c2d12;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error {
  display: grid;
  gap: 12px;
  border-color: #fecaca;
  border-left-color: #dc2626;
  background: #fef2f2;
  color: #7f1d1d;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error > li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error > li + li {
  padding-top: 12px;
  border-top: 1px solid #fecaca;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message::before,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info::before,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error::before {
  display: inline-flex;
  position: absolute;
  top: 16px;
  left: 16px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message::before {
  content: "\2713";
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info::before {
  content: "i";
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error::before {
  content: "!";
}

body.woocommerce-account .woocommerce-notices-wrapper .button.wc-forward {
  display: inline-flex;
  position: static;
  float: none;
  grid-column: 2;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 76px;
  min-height: 36px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font-family: var(--e-global-typography-accent-font-family, Arial, sans-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transform: none;
}

body.woocommerce-account .woocommerce-notices-wrapper .button.wc-forward:hover,
body.woocommerce-account .woocommerce-notices-wrapper .button.wc-forward:focus-visible {
  border-color: #171717;
  background: #171717;
  color: #fff;
  transform: none;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message .button.wc-forward {
  color: #14532d !important;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info .button.wc-forward {
  color: #7c2d12 !important;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error .button.wc-forward {
  color: #7f1d1d !important;
}

body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message .button.wc-forward:hover,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message .button.wc-forward:focus-visible,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info .button.wc-forward:hover,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info .button.wc-forward:focus-visible,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error .button.wc-forward:hover,
body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error .button.wc-forward:focus-visible {
  color: #fff !important;
}

@media (max-width: 767px) {
  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message,
  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info,
  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error > li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message,
  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info,
  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error {
    margin-bottom: 20px;
    padding: 14px 14px 14px 48px;
    font-size: 14px;
  }

  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-message::before,
  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-info::before,
  body.woocommerce-account .woocommerce-notices-wrapper > .woocommerce-error::before {
    top: 14px;
    left: 14px;
  }

  body.woocommerce-account .woocommerce-notices-wrapper .button.wc-forward {
    order: 2;
    grid-column: 1;
    min-width: 0;
    min-height: 34px;
    padding: 0 12px;
  }
}
