.ada-converter-wrap {
  max-width: 780px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.ada-converter-page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ada-converter-page-desc {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.ada-converter-disclaimer {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #888;
  font-style: italic;
}

/* --- App shell --- */
#ada-app {
  font-family: inherit;
}

.ada-step { display: none; }
.ada-step.active { display: block; }

/* --- Drop zone --- */
.ada-drop-zone {
  border: 2px dashed #ccc;
  border-radius: 10px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  color: #555;
}
.ada-drop-zone:hover,
.ada-drop-zone.drag-over {
  background: #f7f7f7;
  border-color: #999;
}
.ada-drop-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0.75rem 0 0.25rem;
}
.ada-drop-sub {
  font-size: 0.875rem;
  color: #777;
  margin: 0;
}

/* --- Progress --- */
.ada-section-title { font-weight: 600; margin-bottom: 0.5rem; }
.ada-progress-bar {
  height: 6px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
  margin: 0.5rem 0;
}
.ada-progress-fill {
  height: 100%;
  background: #4a3fb5;
  border-radius: 3px;
  transition: width 0.3s;
  width: 0%;
}
.ada-log { font-size: 0.8rem; color: #888; margin: 0.25rem 0 0; }

/* --- Toolbar --- */
.ada-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --- Buttons --- */
.ada-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #4a3fb5;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
}
.ada-btn-primary:hover  { background: #3a2fa5; }
.ada-btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* --- Stats grid --- */
.ada-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 10px;
  margin: 1rem 0 1.5rem;
}
.ada-stat {
  background: #f5f5f5;
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
}
.ada-stat-val { font-size: 1.5rem; font-weight: 600; }
.ada-stat-lbl { font-size: 0.75rem; color: #777; margin-top: 2px; }

/* --- Labels --- */
.ada-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
  margin: 1.5rem 0 0.5rem;
}

/* --- Block list --- */
.ada-block-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  margin-bottom: 4px;
  font-size: 0.8rem;
  background: #fff;
}
.ada-block-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #333;
}
.ada-block-page { font-size: 0.7rem; color: #aaa; min-width: 36px; text-align: right; }
.ada-more { font-size: 0.75rem; color: #aaa; margin: 6px 0 0; }

/* --- Tag badges --- */
.ada-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  font-family: monospace;
}
.tag-h1 { background: #eeecfe; color: #3c3489; }
.tag-h2 { background: #e0f4ed; color: #085041; }
.tag-h3 { background: #e9f3dd; color: #27500a; }
.tag-p  { background: #f2f2f2; color: #666; }
.tag-li { background: #faeeda; color: #633806; }
.tag-figure { background: #faece7; color: #712b13; }

/* --- Alt text inputs --- */
.ada-alt-row { margin-bottom: 12px; }
.ada-alt-label { display: block; font-size: 0.8rem; color: #666; margin-bottom: 4px; }
.ada-alt-input {
  width: 100%;
  box-sizing: border-box;
  font-size: 0.875rem;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

/* --- Issues / checklist --- */
.ada-issue-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  padding: 7px 0;
  border-bottom: 1px solid #f0f0f0;
}
.ada-issue-row:last-child { border-bottom: none; }
.ada-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  font-weight: 600;
  margin-top: 1px;
}
.badge-warn { background: #fff3cd; color: #856404; }
.badge-ok   { background: #d1e7dd; color: #155724; }

/* --- Reset link --- */
.ada-reset-link { margin-top: 1.5rem; font-size: 0.875rem; }
.ada-reset-link a { color: #4a3fb5; }

/* Add these to your ada-converter.css */

.ada-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff3cd;
  color: #856404;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.ada-ocr-page-row {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.8rem;
}

.ada-ocr-page-label { color: #555; }

.ada-ocr-page-bar {
  height: 4px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.ada-ocr-page-fill {
  height: 100%;
  background: #4a3fb5;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.ada-ocr-page-status {
  font-size: 0.75rem;
  color: #888;
  text-align: right;
}