@media (max-width: 576px) {
  #documentUploadModal .modal-dialog {
    margin: 1rem;
  }
}

#documentUploadModal .doc-upload-dropzone {
  width: 100%;
  border: 3px dashed #9ec5fe;
  background: #ffffff;
  border-radius: 14px;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #0d6efd;
  transition: all .2s ease;
}

#documentUploadModal .doc-upload-dropzone:hover {
  border-color: #0d6efd;
  background: #f5f9ff;
  transform: translateY(-1px);
}

#documentUploadModal .doc-upload-modal-shell {
  border-radius: 16px;
  overflow: hidden;
}

#documentUploadModal .doc-upload-icon {
  width: 46px;
  height: 46px;
}

#documentUploadModal .doc-upload-title {
  font-size: 1rem;
  font-weight: 600;
}

#documentUploadModal .doc-upload-subtitle {
  font-size: .88rem;
  color: #6c757d;
}

#documentUploadModal .doc-upload-hint {
  font-size: .78rem;
  color: #8a94a6;
}

#documentUploadModal .doc-upload-surface {
  background: linear-gradient(135deg, #f8fbff 0%, #f1f6ff 100%);
}

#documentUploadModal .doc-upload-modal-title {
  color: #202939;
}

#documentUploadModal .btn-close:focus,
#documentUploadModal .btn-close:focus-visible,
#documentUploadModal .btn-close:active {
  outline: none;
  box-shadow: none;
}

[data-bs-theme="dark"] #documentUploadModal .modal-content {
  background: #1f2630;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .5) !important;
}

[data-bs-theme="dark"] #documentUploadModal .doc-upload-surface {
  background: linear-gradient(135deg, #222a35 0%, #1b222c 100%);
}

[data-bs-theme="dark"] #documentUploadModal .doc-upload-modal-title {
  color: #eef3fa;
}

[data-bs-theme="dark"] #documentUploadModal .btn-close {
  filter: invert(1) grayscale(100%);
}

[data-bs-theme="dark"] #documentUploadModal .doc-upload-dropzone {
  border-color: #4b5f78;
  background: #273140;
  color: #8fc0ff;
}

[data-bs-theme="dark"] #documentUploadModal .doc-upload-dropzone:hover {
  border-color: #76abff;
  background: #2d384a;
}

[data-bs-theme="dark"] #documentUploadModal .doc-upload-subtitle {
  color: #c5d0df;
}

[data-bs-theme="dark"] #documentUploadModal .doc-upload-hint {
  color: #96a6bc;
}
