.c-alert {
  min-width: 240px;
  min-height: 40px;
  padding: 8px 16px;

  &--hide {
    display: none;
  }

  &--transition {
    &--fade {
      &-enter-active,
      &-leave-active {
        transition: opacity 0.2s;
      }

      &-enter,
      &-leave-to {
        opacity: 0;
      }
    }
  }

  &__text {
    flex: 1;
  }

  &__button {
    width: 12px;
    height: auto;
    margin-left: 8px;

    &:focus {
      outline: none;
    }
  }

  &__icon {
    min-width: 18px;
    margin-right: 8px;
  }
}
