.alert {
  display: flex;
  align-items: center;
  width: 100%;
  color: black;
  padding: 13px 13px 13px 0;
  background-color: #ffffff;
  border-radius: 3px;
  border: 1px solid var(--grey-color);
}

.alert-title {
  padding: 0 1em;
  width: 100%;
  font-weight: 600;
  font-size: 1.1em;
}
.alert-icon {
  margin: -14px 0 -14px 0;
  padding: 16px;
  font-size: 1.2em;
  color: #ffffff;
  width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-icon > i {
  opacity: 0.6;
}

.alert-icon-warning {
  background-color: var(--warning-color);
}

.alert-icon-error {
  background-color: var(--error-color);
}

.alert-icon-success {
  background-color: var(--success-color);
}

.alert-icon-info {
  background-color: var(--question-color);
}

.actions {
  display: flex;
}

.actions > button:last-child {
  margin-left: 1em;
}

@media only screen and (max-width: 480px) {
  .alert {
    flex-direction: column;
    margin-bottom: 1em;
  }

  .alert-icon {
    display: none;
  }

  .actions {
    display: flex;
    flex-direction: column;
    margin-top: 1em;
    width: 100%;
  }

  .actions > button:last-child {
    margin-top: 0.5em;
    margin-left: 0;
  }
}
