.alert, .alert > * {
  box-sizing: border-box;
}

.alert {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.25), 0px 2px 1px 0px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  line-height: 20px;

  background-repeat: no-repeat;
  background-size: 200px;
  background-position: calc(100% + 50px) calc(100% + 50px);
  background-color: rgba(255, 255, 255, 0.8);
  background-blend-mode: lighten;
}

.alert__header {
  display: flex;
  gap: 4px;
}

.alert__title {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}

.alert__buttons {
  display: flex;
  gap: 12px;
}

.alert__button {
  outline: none;
  border: none;
  padding: 4px 16px;
  border-radius: 4px;
  font-size: 16px;
  line-height: 24px;
  color: white;
  background-color: #70D8C1;
}

.alert__button:disabled {
  opacity: 0.5;
}

.alert__button:not(:disabled):hover {
  opacity: 0.8;
}

.alert__button--secondary {
  background-color: transparent;
  color: #2C6ECB;
  padding-left: 0;
  padding-right: 0;
}

.alert__footer {
  background-color: #FFF5DD;
  margin: 0px -24px -24px -24px;
  padding: 24px;
}

.alert__footer:empty {
  display: none;
}

.alert:has(.alert__footer:not(:empty)) {
  background-image: none !important;
}