:host {
  display: block;
}

.alert__info-wrapper {
  display: flex;
  padding: 16px 24px;
  font-family: var(--ifx-font-family);
  box-shadow: 0px 6px 9px 0px rgba(29, 29, 29, 0.1019607843);
}
.alert__info-wrapper .info__text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.alert__info-wrapper .info__text-wrapper .info__headline-wrapper {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alert__info-wrapper .info__text-wrapper .info__headline-wrapper,
.alert__info-wrapper .info__text-wrapper .info__description-wrapper {
  color: #1D1D1D;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
}
.alert__info-wrapper .info__text-wrapper .info__headline-wrapper ::slotted(p),
.alert__info-wrapper .info__text-wrapper .info__description-wrapper ::slotted(p) {
  padding: 0;
  margin: 0;
}
.alert__info-wrapper .info__text-wrapper .info__description-wrapper {
  font-weight: 400;
}
.alert__info-wrapper .close-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.alert__info-wrapper .close-icon-wrapper button {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #1d1d1d;
  height: 24px;
  width: 24px;
}
.alert__info-wrapper .close-icon-wrapper button:focus {
  outline: 2px solid #0a8276;
  outline-offset: 2px;
}

.alert {
  display: flex;
  border: 1px solid #0a8276;
  border-radius: 1px;
  color: #1d1d1d;
  background-color: #ffffff;
  font-family: var(--ifx-font-family);
  box-shadow: 0px 6px 9px 0px rgba(29, 29, 29, 0.1019607843);
}
.alert .close-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}
.alert .close-icon-wrapper button {
  all: unset;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #1d1d1d;
  height: 24px;
  width: 24px;
}
.alert .close-icon-wrapper button:focus {
  outline: 2px solid #0a8276;
  outline-offset: 2px;
}
.alert .icon-wrapper {
  position: relative;
  min-width: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a8276;
}
.alert .alert-text {
  font-size: 16px;
  width: 100%;
  padding: 12px 0px 12px 12px;
  color: #1d1d1d;
  white-space: pre-wrap;
  /* wraps text at spaces and within words */
  word-wrap: break-word;
  /* breaks text within a word if necessary */
  overflow-wrap: anywhere;
  /* breaks text at arbitrary points when needed */
}
.alert.primary {
  border: 1px solid #0a8276;
}
.alert.primary .icon-wrapper {
  background-color: #0a8276;
  color: #ffffff;
}
.alert.success {
  border: 1px solid #4ca460;
}
.alert.success .icon-wrapper {
  background-color: #4ca460;
  color: #ffffff;
}
.alert.danger {
  border: 1px solid #cd002f;
}
.alert.danger .icon-wrapper {
  background-color: #cd002f;
  color: #ffffff;
}
.alert.warning {
  border: 1px solid #e16b25;
}
.alert.warning .icon-wrapper {
  background-color: #e16b25;
  color: #ffffff;
}

.close-icon-wrapper ifx-icon:hover {
  cursor: pointer;
}