.alert-react {
  display: flex;
  align-items: center;
  -webkit-box-align: center;
  justify-content: space-between;
  padding: 20px;

  &.no-margin {
    margin-bottom: 0 !important;
  }

  b {
    font-weight: bold;
    font-family: Inter, "Open Sans", sans-serif !important;
    letter-spacing: 0.05em;
  }
}

.alert-react > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  -webkit-box-align: center;
  color: #052527;
  font-family: Inter, "Open Sans", sans-serif !important;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  height: 24px;

  .dismiss-header {
    cursor: pointer;
    display: flex;
    align-items: center;
  }
}

.alert-react .tag {
  display: flex;
  flex-direction: row;
  -webkit-box-align: center;
  align-items: center;
  width: fit-content;
  text-align: center;
  white-space: nowrap;
}

.alert-react p {
  width: fit-content;
  vertical-align: baseline;
  margin: 0 15px 0 0;
  text-overflow: ellipsis;
  overflow: hidden;
  font-family: Inter, "Open Sans", sans-serif !important;
}

.alert-react .btn {
  white-space: normal;
}

.alert-react .btn:not(.no-arrow)::after {
  content: " → ";
}

.alert-react.alert-danger {
  background: #FFE6E6;
  color: black;
}

.alert-react.alert-pink {
  background: #fff3f9;
  color: black;
}

.alert-react.alert-warning {
  background: #fff0bb;
  color: black;
}

.alert-react .tag-danger {
  background: #AA3742;
  color: white;
  font-family: Inter, "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  border-radius: 4px;
  padding: 4px 8px;
}

.alert-react .tag-pink {
  background: #CD2265;
  color: white;
  font-family: Inter, "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  border-radius: 4px;
  padding: 4px 8px;
}

.alert-react .tag-warning {
  background: #7a5d04;
  color: white;
  font-family: Inter, "Open Sans", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  border-radius: 4px;
  padding: 4px 8px;
}

.alert-react .btn-primary {
  background: #052527;
  color: white;
  border-radius: 4px;
  padding: 4px 16px;
  line-height: 24px;
  font-family: Inter, "Open Sans", sans-serif;
  font-size: 16px;
  white-space: nowrap;
}

.alert-notice {
  background: #D9FFFF;
}

@media (max-width: 767px) {
  .alert-react .tag {
    display: none;
  }
}

@media (max-width: 1023px) {
  .alert-react .btn:not(.no-arrow) > b {
    display: none;
  }
  .alert-react > div {
    height: auto;
  }
}

.alert-notice .header-link {
  cursor: pointer;
  padding-right: 20px;
  font-weight: 400;
}

.alert .dismiss-header {
  cursor: pointer;
  padding-right: 15px;
  font-size: 28px;
}

.alert .description .tag {
  height: 24px
}
