@import "../../settings/includes/colors";

.c-fileuploader {
  width: 435px;
  min-height: 256px;
  height: 100%;
  background-color: $White;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 2px solid transparent;
  padding: 16px;

  &__input {
    display: none;
  }

  &__icon {
    line-height: 1em;
  }

  &__message,
  &__filename {
    font-weight: bold;
  }

  &__message {
    font-size: 1em;
    color: $Fiord;
    margin-bottom: 1em;
  }

  &__filename {
    font-size: 0.875em;
    color: $Pacific;
    line-height: 1.33em;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
  }

  &__remove {
    margin-left: 8px;
    cursor: pointer;
  }

  &--drop,
  &--ready {
    background-color: rgba($Pacific, 0.1);
  }

  &--drop {
    border-color: $Pacific;
    border-style: dashed;
  }

  &--hover {
    position: relative;

    &::after {
      content: '';
      width: 100%;
      height: 100%;
      position: absolute;
    }
  }

  &--success {
    background-color: rgba($Paradiso, 0.1);
  }

  &--error {
    background-color: rgba($Demask, 0.1);
  }
}
