/* -------Upload file-------- */
.uploadArea,.upload-area {
    border: 2px dashed #ccc;
    padding: 1rem;
    width: 100%;
    height: auto;
    text-align: center;
    /* line-height: 160px; */
    border-radius: 0.375rem;
    /* margin-bottom: 20px; */
    outline: none;
    position: relative;
    cursor: pointer;
  }
  .btn-browse{
    position: relative;
  }
  .btn-browse .fileInput{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
  }
  .uploadArea.dragover, .upload-area.dragover {
    border-color: #7367f0;
    color: #7367f0;
  }
  .uploadArea:focus,
  .upload-area:focus {
    border-color: #7367f0;
  }
  .previewContainer {
    margin: 2px 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .file-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    padding: 5px;
    width: 100px;
  }
  .file-item img,
  .file-item iframe {
    max-width: 100px;
    max-height: 100px;
  }
  .file-item .file-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .file-item .file-icon img {
    max-width: 100px;
    max-height: 100px;
  }
  .file-item .file-name {
    margin-top: 5px;
    text-align: center;
  }
  .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: rgba(250, 57, 57, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .remove-btn i {
    font-size: 14px;
  }
  .file-name {
    word-wrap: break-word;
    max-width: 100px;
    white-space: pre-wrap;
  }

  .imagePreviewContainer .file-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}
