/* OCR tool styles: drop surface, file list, result area. */
/* Drop-surface base (border, background, upload icon) lives in workspace-ui.css. */

/* Section: drop surface (layout differences only) — legacy markup */
#ocr-drop {
  min-height: 290px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
}
#ocr-drop strong {
  font-family: var(--display);
  font-size: 24px;
}
#ocr-drop span:not(.upload-icon) {
  font-size: 14px;
  color: var(--muted);
}

/* Unificado con vectorizar/pdf-unir: #ocr-drop usa el mismo estilo que #drop */
.files-panel #ocr-drop {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(104, 107, 130, 0.35);
  border-radius: 16px;
  background: rgba(148, 151, 169, 0.04);
  transition: 0.2s;
  padding: 24px;
  text-align: center;
  gap: 0;
  cursor: pointer;
}
.files-panel #ocr-drop:hover {
  border-color: #7132f5;
}
.files-panel #ocr-drop.drag {
  background: rgba(133, 91, 251, 0.16);
  border-color: #7132f5;
}
.files-panel #ocr-drop h3 {
  font-size: 28px;
  line-height: 1.29;
  letter-spacing: -0.5px;
  font-weight: 700;
  margin: 20px 0 0;
  font-family: var(--display);
}
.files-panel #ocr-drop p {
  font-size: 16px;
  margin-bottom: 24px;
  color: var(--muted);
}
.files-panel #ocr-drop small {
  font-size: 12px;
  color: var(--muted);
  display: block;
  margin-top: 20px;
  line-height: 1.5;
}
.ui-shell .files-panel #ocr-drop {
  min-height: 290px;
  background: rgba(148, 151, 169, 0.04);
  border: 1.5px dashed rgba(104, 107, 130, 0.3);
}
.ui-shell .files-panel #ocr-drop h3 {
  font-size: 24px;
  letter-spacing: -0.5px;
  margin-top: 16px;
}
.ui-shell .files-panel #ocr-drop p {
  font-size: 14px;
}
#ocr-choose,
.ui-shell #ocr-choose {
  background: #7132f5;
  color: #fff;
  border-color: #5741d8;
}
#ocr-choose:hover,
.ui-shell #ocr-choose:hover {
  background: #5b1ecf;
  color: #fff;
  border-color: #5741d8;
}

/* Section: file list and result */
#ocr-list {
  margin-top: 16px;
}
.ocr-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.ocr-file-info {
  flex: 1;
  min-width: 0;
}
.ocr-file-info strong {
  display: block;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ocr-file-info span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.ocr-file button {
  flex-shrink: 0;
  padding: 6px 9px;
}
#ocr-result {
  display: block;
  width: 100%;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font: 14px/1.5 monospace;
  resize: vertical;
}
.secondary-settings {
  position: sticky;
  top: 16px;
}
.secondary-settings h2 {
  font-size: 20px;
  color: var(--text);
}
.secondary-settings .primary {
  justify-content: center;
}
@media (max-width: 768px) {
  .secondary-settings {
    position: static;
  }
}
