.doc2scan-tool {
  position: fixed;
  top: 15vh;
  left: 0;
  z-index: 999;
  overflow-y: scroll;
  height: 85vh !important;
  width: 100%;
  background: transparent;
}

.doc2scan-panel {
  width: 100%;
  min-height: 85vh !important;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  box-sizing: border-box;
}

.doc2scan-status,
.doc2scan-result {
  width: 100%;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}

.doc2scan-status img {
  width: 120px;
  height: 10px;
  object-fit: contain;
}

#doc2scan-status-text {
  color: #1f2937;
  font-size: 15px;
  font-weight: 600;
}

.doc2scan-complete-icon {
  width: 56px;
  height: 56px;
}

.doc2scan-result h2 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  font-weight: 700;
}

#outputCanvas {
  width: min(230px, 70vw);
  height: auto;
  max-height: 320px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(17, 24, 39, 0.15);
  background: #fff;
  transition: transform 0.2s ease;
}

#outputCanvas:hover {
  transform: scale(1.02);
}

#downloadButton {
  min-width: 210px;
  height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 8px;
  background: #1b2fe7;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(27, 47, 231, 0.3);
  transition: all 0.2s ease;
}

#downloadButton:hover {
  background: #1425bd;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27, 47, 231, 0.4);
}

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

.box-border {
  display: none;
}

@media (min-width: 1025px) {
  .doc2scan-tool {
    padding-left: 240px !important;
    padding-right: 240px !important;
  }
}