@charset "UTF-8";
.file {
  display: flex;
  -moz-column-gap: 2rem;
       column-gap: 2rem;
  padding-bottom: 2.6rem;
}
.file .list-files {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  max-width: 100%;
}
.file .list-files:empty {
  display: none;
}
.file .list-files .preview-file {
  flex: none;
  position: relative;
}
.file .list-files .preview-file .img-wrapper {
  height: 9.6rem;
  width: 9.6rem;
  border-radius: 0.8rem;
  overflow: hidden;
}
.file .list-files .preview-file .name {
  font-size: 1rem;
  width: 9.6rem;
  max-height: 2.6rem;
  margin-top: 0.8rem;
  word-wrap: break-word;
}
.file .list-files .preview-file--img .img-wrapper img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.file .list-files .preview-file--doc .img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f7;
}
.file .list-files .preview-file--doc .img-wrapper img {
  width: 4rem;
}
.file .list-files .preview-file .btn-del-file {
  height: 2.4rem;
  width: 2.4rem;
  border-radius: 50%;
  background-color: #0161d9;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzIgMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDd2MThNNyAxNmgxOCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMnB4IiBjbGFzcz0ic3Ryb2tlLTAwMDAwMCI+PC9wYXRoPjwvc3ZnPg==");
  background-size: 90%;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.file .list-files .preview-file .btn-del-file:hover {
  transform: rotate(135deg);
}
.file .drop-zone {
  height: 6rem;
  min-width: 42rem;
  border: 0.1rem dashed #a7a7aa;
  border-radius: 0.8rem;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.6rem 0 2.6rem;
  font-size: 1.6rem;
  position: relative;
}
.file .drop-zone:hover, .file .drop-zone.active {
  background: #f5f5f7;
}
.file .drop-zone:before {
  content: "Нажмите или перетяните в поле";
  display: block;
  position: absolute;
  bottom: -3rem;
  left: 0;
  color: #76767a;
}
.file .drop-zone:after {
  content: "";
  display: block;
  height: 3.2rem;
  width: 3.2rem;
  background-color: #0161d9;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMzIgMzIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTE2IDd2MThNNyAxNmgxOCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMnB4IiBjbGFzcz0ic3Ryb2tlLTAwMDAwMCI+PC9wYXRoPjwvc3ZnPg==");
  background-size: 75%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}
.file .drop-zone input {
  display: none;
}
.file .drop-zone--big {
  height: 9.6rem;
  min-width: 9.6rem;
  padding: 0;
  justify-content: center;
}
.file .drop-zone--big span, .file .drop-zone--big:before {
  display: none;
}

@media screen and (max-width: 719px) {
  .file .drop-zone {
    min-width: auto;
    width: 100%;
  }
}