/* PDF Pro — Convert tool premium UI */

/* Mode toggle — Standard / AI Smart */
.conv-mode-toggle {
  display: inline-flex;
  background: #f1f3f9;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
  align-self: flex-start;
  margin-bottom: 8px;
}
.conv-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--text-2, #475569);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .14s ease, color .14s ease, box-shadow .14s ease;
}
.conv-mode:hover { color: var(--text, #0f172a); }
.conv-mode.active {
  background: #fff;
  color: var(--text, #0f172a);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .08), 0 2px 6px rgba(73, 62, 229, .08);
}
.conv-mode.active[data-mode="smart"] {
  background: linear-gradient(135deg, #5d52ef 0%, #493ee5 50%, #7c3aed 100%);
  color: #fff;
  box-shadow: 0 2px 6px rgba(73, 62, 229, .28), 0 4px 14px rgba(124, 58, 237, .2);
}
.conv-mode-badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .22);
  color: inherit;
  border: 1px solid rgba(255, 255, 255, .32);
}
.conv-mode:not(.active) .conv-mode-badge {
  background: #ede9fe;
  color: #7c3aed;
  border-color: #d8d0fa;
}

/* Mode description under the toggle */
.conv-mode-desc {
  font-size: 12px;
  color: var(--text-3, #94a3b8);
  margin: 4px 0 14px;
  line-height: 1.5;
  max-width: 640px;
}
.conv-mode-desc strong { color: var(--text-2, #475569); font-weight: 600; }

/* Format card tweaks when Smart mode is active */
#convOptions.conv-mode-smart .conv-card {
  box-shadow: 0 0 0 0 transparent;
  transition: box-shadow .18s ease, border-color .18s ease;
}
#convOptions.conv-mode-smart .conv-card.selected {
  border-color: #c7c0f2;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, .14);
}
#convOptions.conv-mode-smart .conv-card .conv-card-name::after {
  content: '✦';
  color: #7c3aed;
  font-size: 11px;
  margin-left: 5px;
}

/* AI badge removed from cards — premium tone without AI-labeling per spec */

/* Progress substep label */
.conv-substep {
  font-size: 11px;
  color: var(--text-3, #94a3b8);
  margin-top: 3px;
  min-height: 14px;
}

@media (max-width: 640px) {
  .conv-mode { padding: 6px 11px; font-size: 11.5px; }
  .conv-mode-toggle { align-self: stretch; }
}
