/* Alerte — design FF.pen, id Pencil lz4ws, RgnHs */
.ff-alert {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--ff-space-3);
  width: 100%;
  padding: var(--ff-space-4);
  background-color: var(--ff-surface);
  border-style: solid;
  border-width: 0 0 0 4px;
  border-color: var(--ff-border-strong);
  border-radius: var(--ff-radius-s);
  color: var(--ff-text);
  font-family: var(--ff-font-body);
  line-height: normal;
}

.ff-alert--error {
  border-color: var(--ff-danger);
}

.ff-alert--success {
  border-color: var(--ff-ok);
}

.ff-alert__icon {
  flex: none;
  font-size: var(--ff-font-size-2xl);
  line-height: 1;
}

.ff-alert--error .ff-alert__icon,
.ff-alert--error .ff-alert__title {
  color: var(--ff-danger);
}

.ff-alert--success .ff-alert__icon,
.ff-alert--success .ff-alert__title {
  color: var(--ff-ok);
}

.ff-alert__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--ff-space-1);
  flex: 1 1 0;
  min-width: 0;
}

.ff-alert__title {
  font-size: var(--ff-font-size-m);
  font-weight: 700;
  line-height: normal;
}

.ff-alert__message {
  width: 100%;
  font-size: var(--ff-font-size-m);
  font-weight: 400;
  line-height: normal;
  color: var(--ff-text);
}
