body {
  font-family: system-ui, sans-serif;
  background: #f4f6f8;
}

.container {
  max-width: 700px;
  margin: 30px auto;
  background: white;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

h1, h3 {
  text-align: center;
}

#dropzone {
  border: 2px dashed #bbb;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  position: relative;
}

#dropzone input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

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

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 14px;
  margin-bottom: 8px;

  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e3e6ea;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);

  cursor: grab;
  transition: box-shadow 0.2s, transform 0.2s;
}

.file-item:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}

.file-item:active {
  cursor: grabbing;
  background: #f8fafc;
}

.file-name {
  flex: 1;
  font-size: 14px;
  color: #1f2937; /* deutlich dunkler als Hintergrund */
  word-break: break-word;
}

label {
  display: block;
  margin: 15px 0;
}

input[type="text"] {
  width: 100%;
  padding: 8px;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  background: #007bff;
  color: white;
  cursor: pointer;
}

button:disabled {
  background: #aaa;
}

/* PDF Viewer */
.pdf-viewer {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  background: #fafafa;
}

#pdfCanvas {
  width: 100%;
  height: auto;
}

/* Thumbnails */
#thumbnails {
  display: flex;
  overflow-x: auto;
  gap: 8px;
  margin-top: 10px;
}

.thumbnail {
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
}

.thumbnail.active {
  border-color: #007bff;
}


.remove-btn {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2563eb; /* klassisches UI-Blau */
  border: none;
  border-radius: 8px;

  color: #ffffff;
  font-size: 20px;
  line-height: 1;

  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.remove-btn:hover {
  background: #1d4ed8;
}

.remove-btn:active {
  transform: scale(0.95);
}

