.hidden {
  display: none !important;
}

.file-uploader .ant-btn {
  margin: 0 auto;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #3c4047;
  line-height: 14px;
  background: transparent;
  border: none;
  height: 36px;
  width: 100%;
}
.file-uploader .ant-btn:hover, .file-uploader .ant-btn:focus {
  color: #3c4047 !important;
  background-color: transparent !important;
}
.dark .file-uploader .ant-btn {
  color: #e3e3e3;
}
.dark .file-uploader .ant-btn:hover, .dark .file-uploader .ant-btn:focus {
  color: #e3e3e3 !important;
  background-color: transparent !important;
}

.file-uploader .ant-list {
  margin: 0 10px;
  border-top: 1px solid #c4c4c4;
}
.file-uploader .ant-list .ant-list-items {
  max-height: 120px;
  overflow: auto;
}
.file-uploader .ant-list .ant-list-item {
  gap: 12px;
  padding: 4px;
  font-size: 13px;
  line-height: 16px;
}
.file-uploader .ant-list .ant-list-item > div {
  flex: 1;
}
.file-uploader .ant-list .ant-list-item .file-name {
  max-width: 180px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.side-panel .file-uploader .ant-list .ant-list-item .file-name {
  max-width: 120px;
}

.dark .file-uploader .ant-list .ant-list-item .file-name {
  color: white;
}

.file-uploader .ant-list .ant-list-item .file-name.error {
  color: #ce0000;
}
.file-uploader .ant-list .ant-list-item .anticon {
  width: 12px;
}
.file-uploader .scanner-wrap {
  margin: 0 10px;
  padding-top: 10px;
  border-top: 1px solid #c4c4c4;
}
.file-uploader .status-tag {
  margin: 0;
  font-size: 12px;
  line-height: 10px;
  color: #8f8f8f;
  font-style: italic;
}
.file-uploader .ant-progress .ant-progress-text {
  color: #8f8f8f;
}
.file-uploader .info-text {
  color: #c4c4c4;
  font-size: 12px;
  line-height: 1.2;
}.drag-drop-box .custom-upload-container {
  width: 100%;
  padding: 0 0 0 13px;
}
.drag-drop-box .custom-upload-container .drop-zone {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  cursor: pointer;
}
.drag-drop-box .custom-upload-container .uploaded-file-item {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.drag-drop-box .custom-upload-container .uploaded-file-item > div {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.drag-drop-box .custom-upload-container .file-name {
  width: 154px;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.7);
}
.dark .drag-drop-box .custom-upload-container .file-name {
  color: rgba(255, 255, 255, 0.7);
}

.drag-drop-box .custom-upload-container .remove-file {
  cursor: pointer;
  font-weight: 500;
}

/* Container for the progress bar */
.progress-bar-container {
  margin-top: 8px;
  position: relative;
  width: 100%;
  height: 5px; /* Height of the progress bar */
  background-color: #f3f3f3; /* Background of progress container */
  border-radius: 3px;
  overflow: hidden;
}

/* The actual progress bar that changes width */
.progress-bar {
  height: 100%;
  transition: width 0.4s ease; /* Smooth transition */
}

/* Display the percentage value above the progress bar */
.progress-percentage {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 12px;
  color: #4caf50; /* Same as progress bar color */
}