* {
  font-size: 14px;
}

.ProgressInfo {
  background-color: #fff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  width: 100%;
  text-align: center;
}

.ProgressInfo div {
  font-size: 16px;
  font-weight: 600;
  color: #334155;
}

.ProgressInfo img {
  height: 50px;
  width: 50px;
  margin-bottom: 20px;
  object-fit: contain;
}

.custom-select {
  background: #fff url("/assets/arrowdown.webp") right 17px center/10px 10px no-repeat;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  height: 45px;
  padding: 10px 16px;
  font-size: 14px;
  color: #1e293b;
  transition: all 0.2s ease;
}

.custom-select:focus {
  border-color: #1b2fe7;
  box-shadow: 0 0 0 3px rgba(27, 47, 231, 0.15);
  outline: none;
}

.pdf-options {
  display: none;
  width: 100%;
  padding: 30px;
  background-color: #fff;
  font-size: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.pdf-options svg {
  width: 75px;
  margin-top: 30px;
}

.pdf-options label {
  display: block;
  text-align: left;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
  margin-top: 18px;
  margin-bottom: 6px;
}

#file-name {
  margin-top: 7px;
  font-weight: 600;
  font-size: 18px;
  color: #0f172a;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.box {
  min-height: auto !important;
  width: 100%;
  background-color: transparent !important;
}

.box-border {
  display: none;
  position: absolute;
  inset: 15px !important;
  border: 1px dashed rgba(0, 0, 0, 0.15);
}

.feature-card-img {
  height: 35px;
  width: 35px;
  object-fit: contain;
}

.boxes {
  color: #fff;
  background: #1b2fe7;
  border-radius: 0;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 15px 24px;
  height: 54px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 800;
  border-right: 1px solid #ffffff;
}

.boxes svg,
#dropbox svg,
#filepicker svg {
  height: 24px !important;
  width: 24px !important;
}

.file-pick-dropdown {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  background: #1b2fe7;
  height: 54px;
  z-index: 10;
  border-left: 1px solid rgb(134 124 124 / 55%);
  padding: 13px 20px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  color: #fff;
  cursor: pointer;
}

.file-pick-dropdown i {
  margin: 0;
}

.file-picker-dropdown {
  width: 213px;
  position: absolute;
  background: #fff;
  top: 111%;
  right: 0px;
  display: none;
  border-radius: 4px;
  box-shadow: rgb(0 0 0 / 20%) 0px 3px 1px -2px,
    rgb(0 0 0 / 14%) 0px 2px 2px 0px, rgb(0 0 0 / 12%) 0px 1px 5px 0px;
}

.file-picker-dropdown button {
  color: #000000;
}

.arrow-sign {
  font-size: 18px;
}

.file-picker-dropdown svg {
  height: 24px;
  width: 24px;
}

.file-picker-dropdown button,
.file-picker-dropdown a {
  border: none;
  width: 100%;
  border-radius: 4px;
  text-align: left;
  background: #fff;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  padding: 15px 24px;
  list-style: none;
  height: 54px;
}

.file-picker-dropdown button:hover {
  background: #e9e4e4;
}

#downloadButton svg {
  height: 25px;
}

.dropinfo {
  margin-top: 14px;
  font-size: 18px;
  color: #000;
}

.input-cont {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

button {
  width: 170px;
  height: 40px;
  font-size: 16px;
  background: #1b2fe7;
  color: #fff;
  border: none;
  outline: none;
}

#options-button {
  width: 100%;
  height: 48px;
  font-size: 16px;
  background: #1b2fe7;
  color: #fff;
  border: none;
  outline: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  margin-top: 24px;
}

#options-button:hover {
  background: #1525b8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(27, 47, 231, 0.25);
}

#options-button:active {
  transform: translateY(0);
}

.download-section {
  padding: 40px 20px;
  background-color: #fff;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

.download-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}

.download-section button {
  width: 150px;
  height: 45px;
  font-size: 15px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
}

#preview {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
}

#preview:hover {
  background: #e2e8f0;
}

#download {
  background: #1b2fe7;
  color: #fff;
  border: none;
}

#download:hover {
  background: #1525b8;
  box-shadow: 0 4px 12px rgba(27, 47, 231, 0.25);
}

.preview {
  padding: 15px;
  background-color: #f8f9fa;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow-y: auto;
  height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.preview img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  border: 1px solid #ddd;
  display: block;
}

.loading-pages {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  flex-direction: column;
}

.loading-pages img {
  height: 25px;
}

/* Constrain workspace container to center and not overlap side ads on desktops */
@media (min-width: 1025px) {
  #workspace {
    max-width: calc(100% - 480px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}