.file-item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
  padding: 10px;
  gap: 5px;

  .thumbnail {
    width: 40px;
    background-size: cover;
    background-position: center;

    img {
      width: 40px;
      height: auto;
    }
  }


  .content {
    flex: 1;
    align-content: center;
    width: 200px;

    h5 {
      font-weight: 500;
      color: #414651;
      font-size: 14px;
      margin-bottom: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 180px;
    }

    p {
      font-size: 12px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 180px;
    }
  }

  input[type=checkbox] {
    position: absolute;
    top: 0;
    right: 10px;
  }

  &.card-type {
    width: 200px;
    flex-direction: column;
    align-items: center;

    @include media-breakpoint-down(sm) {
      width: 185px !important;
    }

    .thumbnail {
      width: 100%;
      height: 150px;
      overflow: hidden;

      img {
        height: 150px;
        width: auto;
      }
    }

    .content {
      width: 100%;

      p {
        margin-bottom: 0;
      }

    }
  }
}

.file-manager {
  overflow: hidden;

  margin: 0;
  padding: 0;

  .file-manager-header-header {
    flex-wrap: wrap !important;

    @include media-breakpoint-down(sm) {
      flex-wrap: wrap !important;

      .actions {
        margin-top: 1rem;
        display: flex;
        justify-content: end;
        width: 100%;
      }
    }


  }

  .body {
    height: calc(100vh - 150px);
    overflow: auto;

    .empty-files {
      text-align: center;
      width: 100%;

      p {
        margin-top: 30vh;
        text-align: center;
        font-size: 4rem;
        text-transform: capitalize;
        color: lighten($black, 70%)
      }
    }
  }

  .footer {
    p {
      font-size: 13px;
      padding: 5px;
    }
  }
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;

  i {
    font-size: 38px;
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 10px;
  }

  p {
    font-size: 14px;
    margin-bottom: 0;
  }
}