.progress-container {
  margin-top: 15px;
  position: relative;
  height: 20px;
}

.progress-bar {
  width: 0px;
  height: 100%;
  background-color: #2ecc71;
  border-radius: 5px;
  transition: width 0.3s;
}

.progress-text {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  color: #333;
  font-size: 14px;
  display: none;
}

.file-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.file-name {
  color: rgb(19, 2, 255);
}

.clear-button {
  padding: 5px 12px;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: none;
}

.clear-button:hover {
  background-color: #c0392b;
}

.preview-container img {
  max-width: 100%;
  max-height: 150px;
  cursor: pointer;
  margin-top: 15px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
}

.close {
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  position: absolute;
  top: 15px;
  right: 25px;
  cursor: pointer;
}

.loading-container {
  display: none;
  /* margin: 40px 0 10px auto; */
}

.loader {
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 5px solid #008248;
  width: 22px;
  height: 22px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}