/* Зона загрузки файла (общий блок, как в настройках профиля). */

.file-dropzone-wrap {
  position: relative;
}

.file-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-sizing: border-box;
  width: 100%;
  padding: 2rem 1rem;
  border-radius: 4px;
  border: 1px solid #037cbd;
  background: #f4fafd;
  cursor: pointer;
  text-align: center;
  font-size: 1rem;
  line-height: 1.35;
  color: #252a2f;
  position: relative;
  transition: background 0.15s;
}

.file-dropzone:hover {
  background: #ddeffa;
}

.file-dropzone__icon {
  flex-shrink: 0;
}

.file-dropzone__text {
  min-width: 0;
}

.file-dropzone__link {
  color: #037cbd;
}

.file-dropzone__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
}

.file-dropzone__input input[type="file"] {
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-dropzone-chosen {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-sizing: border-box;
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 4px;
  border: 1px solid #037cbd;
  background: #f4fafd;
}

.file-dropzone-chosen__icon {
  flex-shrink: 0;
}

.file-dropzone-chosen__label {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #acb9c1;
}

.file-dropzone-chosen__name {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #252a2f;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-dropzone-chosen__remove {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: #dc2626;
  padding: 0.2rem;
  border-radius: 4px;
}

.file-dropzone-chosen__remove:hover {
  background: #fef2f2;
}
