.file-upload-wrapper {
  position: relative;
  width: 100%;
}

.file-input-container {
  position: relative;
  width: 100%;
}

.file-input-hidden {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

.file-input-label {
  display: flex;
  align-items: center;
  padding: 20px 18px;
  font-size: 16px;
  line-height: 14px;
  color: #9A9A9A;
  border: 1px solid #E5E8ED;
  box-sizing: border-box;
  background: #fff;
  max-height: 54px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.file-input-label:hover {
  border-color: #22539c;
  color: #22539c;
}

.file-input-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  color: #9A9A9A;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.file-input-label:hover .file-input-icon {
  color: #22539c;
}

.file-input-text {
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Состояние с выбранным файлом */
.file-input-selected .file-input-label {
  color: #000;
  border-color: #22539c;
  background-color: #f8f9fa;
}

.file-input-selected .file-input-icon {
  color: #22539c;
}

/* Состояние drag & drop */
.file-input-drag-over {
  border-color: #22539c !important;
  background-color: #f0f8ff !important;
  color: #22539c !important;
}

.file-input-drag-over .file-input-icon {
  color: #22539c !important;
}

/* Состояние ошибки */
.has-error .file-input-label {
  border-color: #DF3135;
  color: #DF3135;
}

.has-error .file-input-icon {
  color: #DF3135;
}

/* Адаптивность */
@media only screen and (max-width: 549px) {
  .file-input-label {
    padding: 16px 14px;
  }
  
  .file-input-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
  }
}