body {
  font-family: 'Montserrat', sans-serif;
  display: grid;
  padding: 0;
  margin: 0;
  height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: #ddd;
}

.file-upload-form {
  width: fit-content;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-upload-label input {
  display: none;
}
.file-upload-label svg {
  height: 50px;
  fill: rgb(82, 82, 82);
  margin-bottom: 20px;
}
.file-upload-label {
  cursor: pointer;
  background-color: #ddd;
  padding: 30px 70px;
  border-radius: 40px;
  border: 2px dashed #999999;
  box-shadow: 0px 0px 200px -50px rgba(0, 0, 0, 0.719);
}
.file-upload-design {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.browse-button {
  background-color: rgb(82, 82, 82);
  padding: 5px 15px;
  border-radius: 10px;
  color: white;
  transition: all 0.3s;
}
.browse-button:hover {
  background-color: rgb(14, 14, 14);
}

#dropzone.dragover {
  border-color: rgb(82, 82, 82) !important;
}

.loader {
  width: 200px;
  height: 140px;
  background: #979794;
  box-sizing: border-box;
  position: relative;
  border-radius: 8px;
  perspective: 1000px;
  margin-left: 12px;
  display: none;
}

.loader:before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 10px;
  bottom: 10px;
  border-radius: 8px;
  background: #f5f5f5 no-repeat;
  background-size: 60px 10px;
  background-image: linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0);

  background-position:
    15px 30px,
    15px 60px,
    15px 90px,
    105px 30px,
    105px 60px,
    105px 90px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}
.loader:after {
  content: '';
  position: absolute;
  width: calc(50% - 10px);
  right: 10px;
  top: 10px;
  bottom: 10px;
  border-radius: 8px;
  background: #fff no-repeat;
  background-size: 60px 10px;
  background-image: linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0),
    linear-gradient(#ddd 100px, transparent 0);
  background-position:
    50% 30px,
    50% 60px,
    50% 90px;
  transform: rotateY(0deg);
  transform-origin: left center;
  animation: paging 1s linear infinite;
}

@keyframes paging {
  to {
    transform: rotateY(-180deg);
  }
}

.loading {
  color: #545454;
  display: inline-block;
  position: relative;
  font-size: 48px;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
  bottom: 30vh;
  display: none;
}
.loading::after {
  content: '';
  width: 5px;
  height: 5px;
  background: #adadad;
  position: absolute;
  bottom: 10px;
  box-sizing: border-box;
  animation: animloader 1s linear infinite;
}

@keyframes animloader {
  0% {
    box-shadow:
      10px 0 #adadad,
      20px 0 #adadad;
  }
  50% {
    box-shadow:
      10px 0 #ededed,
      20px 0 #adadad;
  }
  100% {
    box-shadow:
      10px 0 #ededed,
      20px 0 #ededed;
  }
}

.error-box {
  font-size: 1em;
  border-radius: 0.5em;
  padding: 1em 1.25em 1.25em;
  color: #545454;
  background-color: #f7f7f7;
  border: solid 1px #adadad;
  width: 80vw;
  box-shadow: 0px 0px 200px -40px rgba(0, 0, 0, 0.719);
  white-space: pre-line;
}

.error-box h2 {
  font-size: 1.4em;
  font-weight: normal;
  margin: 0 0 0.6em;
  opacity: 0.95;
}

.error-box p {
  font-size: 1em;
  margin: 0 0 0.5em;
  opacity: 0.85;
}

.error-box:before {
  content: '😈';
  float: right;
  font-size: 2.5em;
  padding: 0.15em 0.3em;
  font-weight: bold;
}

.btn {
  margin: 1em 0 0 0;
  font-size: 16px;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  color: #7b7b7b;
  border: solid 1px #7b7b7b;
  cursor: pointer;
}

.btn:hover {
  background: #f7f7f7;
}

.toast {
  display: none;
  background-color: #adadad;
  color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.toast:before {
  content: '✅';
  padding: 0.15em 0.3em;
}

.toast {
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #509af8;
  color: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0px 0px 5px -3px #111;
}

.success-message {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Roboto,
    Oxygen,
    Ubuntu,
    Cantarell,
    'Open Sans',
    'Helvetica Neue',
    sans-serif;
  font-weight: 500;
  font-size: 14px;
}
