.context-column {
  max-width: 50ch;
  white-space: normal;
  word-break: break-word;
}

@media (min-width: 1400px) {
  .context-column {
    max-width: 80ch;
  }
}

@media (min-width: 1920px) {
  .context-column {
    max-width: 100ch;
  }
}

.context-column strong {
  display: block;
  margin-bottom: 4px;
}

.relevance-cell {
  text-align: center;
  font-size: 1.2em;
  vertical-align: middle;
}

.relevance-cell.not_evaluated {
  background-color: white;
}

.relevance-cell.not_relevant {
  background-color: #f8d7da;
}

.relevance-cell.relevant {
  background-color: #d4edda;
}

.dropdown-scroll {
  max-height: 200px;
  overflow-y: auto;
}

.table-responsive {
  font-size: 0.9rem;
}

@media (min-width: 1400px) {
  .table-responsive {
    font-size: 1rem;
  }
}

.upload-form-container {
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .upload-form-container {
    max-width: 100%;
  }
}

/* Resizable table columns */
#evaluation-table th {
  position: relative;
  user-select: none;
}

#evaluation-table th .resizer {
  position: absolute;
  top: 0;
  right: 0;
  width: 5px;
  cursor: col-resize;
  user-select: none;
  height: 100%;
  background: transparent;
}

#evaluation-table th .resizer:hover {
  background: #007bff;
}

#evaluation-table th.resizing {
  border-right: 2px solid #007bff;
}

#evaluation-table {
  table-layout: fixed;
  width: 100%;
}

/* Drag and drop zone */
.drop-zone {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: #f8f9fa;
}

.drop-zone:hover {
  border-color: #007bff;
  background-color: #e7f3ff;
}

.drop-zone.dragover {
  border-color: #007bff;
  background-color: #e7f3ff;
  border-style: solid;
}

.drop-zone-content {
  pointer-events: none;
}

.drop-zone svg {
  color: #6c757d;
}
