/* ================================================================
   IMAGE CONVERTER — COMPONENT STYLESHEET
   webeasier.com/tools/image-converter/
   ================================================================ */

/* ── Hero ──────────────────────────────────────────────────────── */
.cv-hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 45%, #f0fdf4 100%);
  padding: 3rem 0 2.25rem;
  position: relative;
  overflow: hidden;
}
.cv-hero::before {
  content: "";
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(14,165,233,.09) 0%, transparent 70%);
  top: -170px; right: -120px;
  pointer-events: none;
}
.cv-hero::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(99,102,241,.07) 0%, transparent 70%);
  bottom: -100px; left: -80px;
  pointer-events: none;
}
.cv-breadcrumb {
  list-style: none; padding: 0; margin: 0 0 .9rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem;
  font-size: .8125rem; color: #94a3b8;
}
.cv-breadcrumb a { color: #64748b; }
.cv-breadcrumb a:hover { color: var(--color-primary); }
.cv-breadcrumb .sep { color: #cbd5e1; font-size: .6rem; }
.cv-headline { color: #0f172a; font-weight: 800; line-height: 1.18; }
.cv-subhead { color: #475569; font-size: 1.05rem; max-width: 600px; margin: .7rem 0 1.2rem; }
.cv-badges { display: flex; flex-wrap: wrap; gap: .45rem; }
.cv-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 99px;
  padding: .28rem .75rem; font-size: .775rem; font-weight: 600; color: #334155;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.cv-badge .bi { color: #22c55e; font-size: .75rem; }

/* ── Tool Section ──────────────────────────────────────────────── */
.cv-tool-section {
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
  padding: 2rem 0 4rem;
}

/* ── Upload Zone ───────────────────────────────────────────────── */
.cv-upload-zone {
  border: 2.5px dashed #bae6fd;
  border-radius: 20px;
  background: #f8fafc;
  padding: 2.75rem 2rem;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  text-align: center;
  min-height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cv-upload-zone:hover,
.cv-upload-zone.drag-over {
  border-color: #0ea5e9;
  background: #f0f9ff;
  box-shadow: 0 0 0 4px rgba(14,165,233,.08);
}
.cv-upload-zone input[type="file"] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
  z-index: 1;
}
.cv-upload-icon {
  width: 5rem; height: 5rem;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  border-radius: 22px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 8px 24px rgba(14,165,233,.3);
  flex-shrink: 0;
}
.cv-upload-icon .bi { font-size: 2.25rem; color: #fff; }
.cv-upload-title { font-size: 1.15rem; font-weight: 700; color: #0f172a; margin-bottom: .35rem; }
.cv-upload-sub { font-size: .875rem; color: #64748b; margin-bottom: 1.1rem; }
.cv-format-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin-bottom: 1rem; }
.cv-format-pill {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 7px;
  padding: .18rem .55rem; font-size: .7rem; font-weight: 700;
  color: #475569; letter-spacing: .03em;
}
.cv-or-divider {
  display: flex; align-items: center; gap: .7rem;
  color: #94a3b8; font-size: .8rem; font-weight: 600;
  margin: .75rem 0; width: 100%; max-width: 320px;
}
.cv-or-divider::before, .cv-or-divider::after {
  content: ""; flex: 1; height: 1px; background: #e2e8f0;
}
.cv-url-row {
  display: flex; gap: .5rem; width: 100%; max-width: 440px;
  position: relative; /* ensure URL inputs sit above the file input */
  z-index: 2;
}
.cv-url-input {
  flex: 1; border: 1.5px solid #e2e8f0; border-radius: 9px;
  padding: .45rem .75rem; font-size: .8125rem; font-weight: 500;
  color: #1e293b; outline: none; font-family: inherit;
  background: #fff; transition: border-color .14s;
}
.cv-url-input:focus { border-color: #0ea5e9; }
.cv-url-btn {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff; border: none; border-radius: 9px;
  padding: .45rem 1rem; font-size: .8125rem; font-weight: 700;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: opacity .15s;
}
.cv-url-btn:hover { opacity: .88; }

/* ── Presets ───────────────────────────────────────────────────── */
.cv-presets-row {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem;
}
.cv-preset-btn {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 9px;
  padding: .38rem .9rem; font-size: .775rem; font-weight: 600;
  color: #334155; cursor: pointer; font-family: inherit;
  transition: all .15s; display: flex; align-items: center; gap: .35rem;
}
.cv-preset-btn:hover, .cv-preset-btn.active {
  border-color: #0ea5e9; background: #f0f9ff; color: #0284c7;
}
.cv-preset-btn .bi { font-size: .8rem; }

/* ── Settings Panel ────────────────────────────────────────────── */
.cv-settings-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 1.35rem; margin-bottom: 1.1rem;
}
.cv-settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.cv-setting-group { display: flex; flex-direction: column; gap: .3rem; }
.cv-setting-label {
  font-size: .68rem; font-weight: 700; color: #94a3b8;
  text-transform: uppercase; letter-spacing: .07em;
}
.cv-select {
  border: 1.5px solid #e2e8f0; border-radius: 9px;
  padding: .45rem .65rem; font-size: .8125rem; font-weight: 600;
  color: #1e293b; cursor: pointer; outline: none;
  font-family: inherit; background: #fff; transition: border-color .14s;
}
.cv-select:focus { border-color: #0ea5e9; }
.cv-number-input {
  border: 1.5px solid #e2e8f0; border-radius: 9px;
  padding: .45rem .65rem; font-size: .8125rem; font-weight: 600;
  color: #1e293b; outline: none; font-family: inherit; background: #fff;
  transition: border-color .14s; width: 100%;
}
.cv-number-input:focus { border-color: #0ea5e9; }
.cv-quality-wrap { display: flex; align-items: center; gap: .6rem; }
.cv-quality-slider {
  flex: 1; height: 6px; border-radius: 99px; cursor: pointer;
  -webkit-appearance: none; appearance: none; outline: none; border: none;
  background: linear-gradient(to right, #0ea5e9, #2563eb);
}
.cv-quality-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2.5px solid #0ea5e9; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.cv-quality-slider::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; border: 2.5px solid #0ea5e9; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.cv-quality-val {
  font-size: .875rem; font-weight: 800; color: #0ea5e9; min-width: 32px; text-align: right;
}
.cv-toggle-row { display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; padding-top: .4rem; }
.cv-toggle {
  position: relative; display: inline-flex; align-items: center;
  cursor: pointer; gap: .45rem; font-size: .8rem; font-weight: 600; color: #475569;
}
.cv-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cv-toggle-track {
  width: 36px; height: 20px; background: #cbd5e1; border-radius: 99px;
  transition: background .2s; flex-shrink: 0; position: relative;
}
.cv-toggle-track::after {
  content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; top: 3px; left: 3px; transition: left .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.cv-toggle input:checked ~ .cv-toggle-track { background: #0ea5e9; }
.cv-toggle input:checked ~ .cv-toggle-track::after { left: 19px; }
.cv-section-divider {
  height: 1px; background: #f1f5f9; margin: 1rem 0;
}
.cv-settings-subtitle {
  font-size: .775rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .06em;
  margin-bottom: .65rem; display: flex; align-items: center; gap: .4rem;
}
.cv-settings-subtitle .bi { color: #0ea5e9; font-size: .85rem; }

/* ── Multi-Format Export ───────────────────────────────────────── */
.cv-multi-format { display: flex; flex-wrap: wrap; gap: .4rem; }
.cv-format-check {
  display: inline-flex; align-items: center; gap: .3rem;
  background: #f8fafc; border: 1.5px solid #e2e8f0; border-radius: 8px;
  padding: .28rem .65rem; font-size: .775rem; font-weight: 600; color: #334155;
  cursor: pointer; transition: all .15s;
}
.cv-format-check input { accent-color: #0ea5e9; width: 14px; height: 14px; cursor: pointer; }
.cv-format-check:has(input:checked) { border-color: #0ea5e9; background: #f0f9ff; color: #0284c7; }

/* ── Action Bar ────────────────────────────────────────────────── */
.cv-action-bar {
  display: flex; flex-wrap: wrap; gap: .65rem; align-items: center; margin-bottom: 1.25rem;
}
.cv-btn-convert {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff; border: none; border-radius: 11px;
  padding: .7rem 1.6rem; font-size: .9rem; font-weight: 700;
  cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
  transition: opacity .15s, transform .15s; font-family: inherit;
  box-shadow: 0 4px 16px rgba(14,165,233,.3);
}
.cv-btn-convert:hover { opacity: .88; transform: translateY(-1px); }
.cv-btn-convert:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cv-btn-secondary {
  background: #fff; color: #334155; border: 1.5px solid #e2e8f0; border-radius: 11px;
  padding: .68rem 1.2rem; font-size: .85rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: .45rem;
  transition: all .15s; font-family: inherit;
}
.cv-btn-secondary:hover { border-color: #0ea5e9; color: #0284c7; background: #f0f9ff; }
.cv-btn-secondary:disabled { opacity: .45; cursor: not-allowed; }
.cv-btn-clear {
  background: transparent; color: #ef4444; border: 1.5px solid #fecaca; border-radius: 11px;
  padding: .68rem 1.1rem; font-size: .85rem; font-weight: 600;
  cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  transition: all .15s; font-family: inherit; margin-left: auto;
}
.cv-btn-clear:hover { background: #fef2f2; }

/* ── Queue List ────────────────────────────────────────────────── */
.cv-queue-empty {
  text-align: center; padding: 3rem 1rem; color: #94a3b8;
  font-size: .9rem;
}
.cv-queue-empty .bi { font-size: 2.5rem; display: block; margin-bottom: .6rem; color: #cbd5e1; }
.cv-queue-item {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1rem; margin-bottom: .75rem; transition: box-shadow .2s;
}
.cv-queue-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.cv-item-header {
  display: flex; align-items: flex-start; gap: .75rem;
}
.cv-item-thumb {
  width: 52px; height: 52px; object-fit: cover; border-radius: 8px;
  border: 1px solid #f1f5f9; flex-shrink: 0; background: #f8fafc;
}
.cv-item-info { flex: 1; min-width: 0; }
.cv-item-name {
  font-size: .8375rem; font-weight: 700; color: #1e293b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: .15rem;
}
.cv-item-meta { font-size: .75rem; color: #94a3b8; }
.cv-item-actions {
  display: flex; gap: .45rem; flex-shrink: 0; flex-wrap: wrap; align-items: center;
}
.cv-item-btn {
  background: transparent; border: 1.5px solid #e2e8f0; border-radius: 8px;
  padding: .3rem .7rem; font-size: .75rem; font-weight: 600; color: #475569;
  cursor: pointer; font-family: inherit; transition: all .15s;
  display: inline-flex; align-items: center; gap: .25rem;
}
.cv-item-btn:hover { border-color: #0ea5e9; color: #0284c7; background: #f0f9ff; }
.cv-item-btn.danger { border-color: #fecaca; color: #ef4444; }
.cv-item-btn.danger:hover { background: #fef2f2; }
.cv-item-btn.download { background: linear-gradient(135deg, #0ea5e9, #2563eb); color: #fff; border-color: transparent; }
.cv-item-btn.download:hover { opacity: .88; }
.cv-progress-bar-wrap {
  margin-top: .7rem; background: #f1f5f9; border-radius: 99px; height: 6px; overflow: hidden;
}
.cv-progress-bar {
  height: 100%; background: linear-gradient(90deg, #0ea5e9, #2563eb);
  border-radius: 99px; transition: width .3s ease; width: 0%;
}
.cv-status-badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .72rem; font-weight: 700; border-radius: 6px;
  padding: .18rem .55rem;
}
.cv-status-badge.queued { background: #f1f5f9; color: #64748b; }
.cv-status-badge.converting { background: #e0f2fe; color: #0284c7; }
.cv-status-badge.done { background: #dcfce7; color: #16a34a; }
.cv-status-badge.error { background: #fef2f2; color: #ef4444; }
.cv-status-badge.warning { background: #fefce8; color: #ca8a04; }

/* ── Stats Row ─────────────────────────────────────────────────── */
.cv-stats-row {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem;
}
.cv-stat-pill {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 7px;
  padding: .2rem .55rem; font-size: .72rem; font-weight: 600; color: #475569;
}
.cv-stat-pill.green { background: #f0fdf4; border-color: #bbf7d0; color: #16a34a; }
.cv-stat-pill.blue { background: #eff6ff; border-color: #bfdbfe; color: #2563eb; }
.cv-stat-pill.orange { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }

/* ── Batch Summary ─────────────────────────────────────────────── */
.cv-batch-summary {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1.5px solid #bbf7d0; border-radius: 14px;
  padding: 1.1rem 1.35rem; margin-bottom: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
}
.cv-summary-stat { text-align: center; }
.cv-summary-num {
  font-size: 1.5rem; font-weight: 800; color: #15803d; line-height: 1;
}
.cv-summary-lbl { font-size: .72rem; font-weight: 600; color: #4ade80; margin-top: .1rem; }

/* Before/After comparison feature removed */

/* ── Conversion Dashboard ──────────────────────────────────────── */
.cv-dashboard {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px;
  padding: 1.35rem; margin-bottom: 1.25rem;
}
.cv-dashboard-title {
  font-size: .9rem; font-weight: 700; color: #0f172a;
  margin-bottom: 1rem; display: flex; align-items: center; gap: .4rem;
}
.cv-dashboard-title .bi { color: #0ea5e9; }
.cv-dashboard-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
}
.cv-dash-card {
  background: #f8fafc; border: 1px solid #f1f5f9; border-radius: 12px;
  padding: .85rem 1rem; text-align: center;
}
.cv-dash-icon { font-size: 1.4rem; margin-bottom: .3rem; }
.cv-dash-num { font-size: 1.1rem; font-weight: 800; color: #0f172a; line-height: 1.2; }
.cv-dash-lbl { font-size: .7rem; font-weight: 600; color: #94a3b8; margin-top: .15rem; }
.cv-quality-meter {
  margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #f1f5f9;
}
.cv-meter-label {
  font-size: .75rem; font-weight: 700; color: #64748b;
  margin-bottom: .4rem; display: flex; justify-content: space-between;
}
.cv-meter-track { height: 10px; background: #f1f5f9; border-radius: 99px; overflow: hidden; }
.cv-meter-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, #22c55e, #0ea5e9);
  transition: width .4s ease;
}

/* ── Recommendation Engine ─────────────────────────────────────── */
.cv-recommend-card {
  background: linear-gradient(135deg, #eff6ff, #f0f9ff);
  border: 1.5px solid #bfdbfe; border-radius: 14px; padding: 1.1rem 1.35rem;
  margin-bottom: 1.1rem;
}
.cv-recommend-title {
  font-size: .85rem; font-weight: 700; color: #1e40af;
  margin-bottom: .75rem; display: flex; align-items: center; gap: .4rem;
}
.cv-recommend-title .bi { color: #3b82f6; }
.cv-recommend-grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.cv-rec-item {
  background: #fff; border: 1.5px solid #bfdbfe; border-radius: 10px;
  padding: .5rem .85rem; cursor: pointer; transition: all .15s;
}
.cv-rec-item:hover, .cv-rec-item.best { border-color: #2563eb; background: #eff6ff; }
.cv-rec-format { font-size: .85rem; font-weight: 800; color: #1e40af; }
.cv-rec-reason { font-size: .7rem; color: #64748b; margin-top: .1rem; }
.cv-rec-badge {
  display: inline-block; background: #2563eb; color: #fff;
  font-size: .62rem; font-weight: 700; border-radius: 5px;
  padding: .08rem .4rem; margin-top: .2rem;
}

/* ── Safety Warnings ───────────────────────────────────────────── */
.cv-warn-list { display: flex; flex-direction: column; gap: .45rem; }
.cv-warn-item {
  display: flex; align-items: flex-start; gap: .5rem;
  background: #fefce8; border: 1px solid #fef08a; border-radius: 9px;
  padding: .55rem .75rem; font-size: .79rem; color: #854d0e;
}
.cv-warn-item .bi { color: #ca8a04; font-size: .9rem; flex-shrink: 0; margin-top: .05rem; }
.cv-warn-item.error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.cv-warn-item.error .bi { color: #ef4444; }
.cv-warn-item.info { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
.cv-warn-item.info .bi { color: #0ea5e9; }

/* ── Responsive Pack ───────────────────────────────────────────── */
.cv-resp-pack {
  background: #fff8f1; border: 1.5px solid #fed7aa; border-radius: 14px;
  padding: 1rem 1.35rem; margin-bottom: 1.1rem;
}
.cv-resp-title { font-size: .85rem; font-weight: 700; color: #c2410c; margin-bottom: .5rem; }
.cv-resp-grid { display: flex; flex-wrap: wrap; gap: .4rem; }
.cv-resp-item {
  background: #fff; border: 1px solid #fed7aa; border-radius: 8px;
  padding: .28rem .65rem; font-size: .75rem; font-weight: 600; color: #7c3aed;
}

/* ── Size Predictor ────────────────────────────────────────────── */
.cv-predictor {
  display: flex; align-items: center; gap: .65rem; flex-wrap: wrap;
  background: #f8fafc; border: 1px dashed #bae6fd; border-radius: 10px;
  padding: .55rem .9rem; font-size: .8rem; color: #334155; font-weight: 500;
}
.cv-predictor .bi { color: #0ea5e9; }
.cv-predictor strong { color: #0284c7; }

/* ── Session History ───────────────────────────────────────────── */
.cv-history-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1.1rem 1.35rem; margin-bottom: 1.25rem;
}
.cv-history-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: .85rem;
}
.cv-history-title { font-size: .875rem; font-weight: 700; color: #0f172a; }
.cv-history-list { display: flex; flex-direction: column; gap: .4rem; }
.cv-history-item {
  display: flex; align-items: center; gap: .65rem;
  padding: .45rem .65rem; background: #f8fafc; border-radius: 9px;
  font-size: .78rem;
}
.cv-history-thumb {
  width: 32px; height: 32px; object-fit: cover; border-radius: 6px;
  background: #e2e8f0;
}
.cv-history-info { flex: 1; min-width: 0; }
.cv-history-name {
  font-weight: 600; color: #1e293b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cv-history-meta { color: #94a3b8; font-size: .7rem; }

/* ── SEO Content Sections ──────────────────────────────────────── */
.cv-content-section { background: #fff; padding: 4rem 0; }
.cv-content-section:nth-child(even) { background: #f8fafc; }
.cv-section-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: #2563eb;
  background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 99px;
  padding: .22rem .75rem; margin-bottom: .65rem;
}
.cv-section-h2 { font-size: 1.6rem; font-weight: 800; color: #0f172a; margin-bottom: .6rem; }
.cv-section-lead { font-size: 1rem; color: #475569; line-height: 1.75; }

/* Format Comparison Table */
.cv-format-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.cv-format-table th {
  background: #f8fafc; padding: .65rem .9rem; text-align: left;
  font-size: .72rem; font-weight: 700; color: #64748b;
  text-transform: uppercase; letter-spacing: .05em;
  border-bottom: 2px solid #e2e8f0;
}
.cv-format-table td {
  padding: .65rem .9rem; border-bottom: 1px solid #f1f5f9;
  color: #334155; vertical-align: middle;
}
.cv-format-table tr:last-child td { border-bottom: none; }
.cv-format-table tr:hover td { background: #f8fafc; }
.cv-check { color: #22c55e; font-weight: 700; }
.cv-cross { color: #94a3b8; }
.cv-best-badge {
  display: inline-block; background: #2563eb; color: #fff;
  font-size: .65rem; font-weight: 700; border-radius: 5px;
  padding: .1rem .45rem; margin-left: .35rem; vertical-align: middle;
}

/* ── FAQ ───────────────────────────────────────────────────────── */
.cv-faq-item {
  border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden;
  margin-bottom: .65rem;
}
.cv-faq-q {
  width: 100%; background: #fff; border: none; padding: 1rem 1.25rem;
  text-align: left; font-size: .9rem; font-weight: 600; color: #1e293b;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-family: inherit; transition: background .15s;
}
.cv-faq-q:hover { background: #f8fafc; }
.cv-faq-q .bi { transition: transform .25s; color: #94a3b8; flex-shrink: 0; font-size: .85rem; }
.cv-faq-item.open .cv-faq-q .bi { transform: rotate(180deg); }
.cv-faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s;
  background: #f8fafc; border-top: 1px solid transparent;
  font-size: .875rem; color: #475569; line-height: 1.75; padding: 0 1.25rem;
}
.cv-faq-item.open .cv-faq-a {
  max-height: 500px; padding: 1rem 1.25rem; border-top-color: #f1f5f9;
}

/* ── Internal Links Grid ───────────────────────────────────────── */
.cv-ilinks-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem;
}
.cv-ilink-card {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 12px;
  padding: .85rem 1rem; text-decoration: none; transition: all .2s;
  display: flex; align-items: center; gap: .6rem;
}
.cv-ilink-card:hover {
  border-color: #0ea5e9; background: #f0f9ff;
  box-shadow: 0 4px 16px rgba(14,165,233,.1); text-decoration: none;
}
.cv-ilink-icon {
  width: 36px; height: 36px; background: linear-gradient(135deg, #0ea5e9, #2563eb);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cv-ilink-icon .bi { font-size: .9rem; color: #fff; }
.cv-ilink-text strong { display: block; font-size: .8rem; font-weight: 700; color: #1e293b; }
.cv-ilink-text span { font-size: .72rem; color: #94a3b8; }

/* ── Trust Section ─────────────────────────────────────────────── */
.cv-trust-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem;
}
.cv-trust-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 1.25rem; text-align: center;
}
.cv-trust-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .75rem; border-radius: 14px; font-size: 1.5rem;
}
.cv-trust-icon.blue { background: #eff6ff; color: #2563eb; }
.cv-trust-icon.green { background: #f0fdf4; color: #16a34a; }
.cv-trust-icon.purple { background: #f5f3ff; color: #7c3aed; }
.cv-trust-icon.orange { background: #fff7ed; color: #c2410c; }
.cv-trust-h { font-size: .875rem; font-weight: 700; color: #0f172a; margin-bottom: .3rem; }
.cv-trust-p { font-size: .8rem; color: #64748b; }

/* ── Spinner ───────────────────────────────────────────────────── */
@keyframes cv-spin { to { transform: rotate(360deg); } }
.cv-spinner {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff;
  border-radius: 50%; animation: cv-spin .6s linear infinite;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .cv-settings-grid { grid-template-columns: 1fr 1fr; }
  .cv-btn-convert { width: 100%; justify-content: center; }
  .cv-btn-clear { margin-left: 0; }
  .cv-compare-labels { display: none; }
  .cv-dashboard-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cv-settings-grid { grid-template-columns: 1fr; }
  .cv-hero { padding: 2rem 0 1.5rem; }
}
