/*!
 * jQuery DragDrop FileUpload v1.0.0
 * https://www.linkedin.com/in/priyan-ethi-062713104/
 *
 * Copyright 2024 Priyan
 * Released under the MIT license
 *
 * Developed for customized personal usage and published for public users.
 */

.upload-wrapper {
  width: 100%;
  text-align: center;
  font-family: system-ui;

  background-color: #e3e3e3;
  border-radius: 25px;
  padding: 5px 0px;
  margin: 10px 0px;
}

.upload-container {
  padding: 100px;
  position: relative;
  cursor: pointer;
  color: #7d7d7d !important;
}

.upload-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.2em;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
}

.upload-img {
  width: 50px;
  height: 50px;
  opacity: 0.7;
  margin-bottom: 5px;
}

#file-list {
  list-style: none;
  padding: 0px 10px;
  margin: 0px;
}

#file-list li {
  background: #a7a7a7;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  padding: 10px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  overflow: auto;
}

.file-icon {
  width: 24px;
  height: 24px;
}

.file-name {
  font-size: 1em;
  color: #3a3939;
  margin-left: 10px;
}

.file-size {
  font-size: 0.8em;
  color: #666;
  margin-left: 10px;
}

.remove-file {
  width: 25px;
  cursor: pointer;
  margin-left: auto;
}

.remove-file:hover {
  transform: scale(1.2);
}

#alert-list {
  list-style: none;
  padding: 0px 10px;
  margin: 0px;
}

#alert-list li {
  background: #ff8888;
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
  padding: 10px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  overflow: auto;
}

.remove-alert {
  width: 25px;
  cursor: pointer;
  margin-left: auto;
}
