/* Lía CV Tier 1 — ATS Clásico + toolbar premium */

/* ── Contenedor general del CV ── */
.cv-ats-wrap {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* ── Toolbar: "Mi CV optimizado / PDF / Copiar todo" ── */
.cv-ats-toolbar {
  padding: 14px 20px;
  background: #fff;
  border-bottom: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cv-ats-label {
  font-size: 14px;
  font-weight: 600;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -.01em;
}

.cv-ats-label a,
.cv-ats-label span[style*="cursor"] {
  font-size: 12px;
  font-weight: 400;
  color: #94A3B8;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .15s;
}

.cv-ats-label a:hover,
.cv-ats-label span[style*="cursor"]:hover {
  color: #7C3AED;
}

/* ── Botón PDF ── */
.cv-pdf-btn {
  background: linear-gradient(135deg,#EC4899 0%,#8B5CF6 50%,#6D28D9 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: .01em;
}
.cv-pdf-btn:hover { opacity: .88; transform: translateY(-1px); }
.cv-pdf-btn:active { transform: translateY(0); }

/* ── Botón Copiar todo / Regenerar ── */
.cv-regenerate {
  background: none;
  border: 1px solid #E2E8F0;
  color: #64748B;
  font-size: 12px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
}
.cv-regenerate:hover {
  border-color: #7C3AED;
  color: #7C3AED;
  background: rgba(124,58,237,.04);
}

/* ── Botones Editar (inline en secciones) ── */
.cv-edit-btn {
  background: none;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 3px 10px;
  cursor: pointer;
  color: #94A3B8;
  font-size: 11px;
  flex-shrink: 0;
  transition: all .15s;
  white-space: nowrap;
}
.cv-edit-btn:hover {
  border-color: #7C3AED;
  color: #7C3AED;
  background: rgba(124,58,237,.04);
}

/* ── ATS Clásico centrado ── */
.cv-ats-doc {
  padding: 36px 32px;
  font-family: 'Arial', Helvetica, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}
@media (max-width: 500px) { .cv-ats-doc { padding: 22px 18px; } }

.ats-name { font-size: 26px; font-weight: 800; text-align: center; letter-spacing: -.2px; margin-bottom: 6px; color: #1B2A4A; line-height: 1.1; }
.ats-contact { font-size: 12px; text-align: center; color: #4A4A4A; margin-bottom: 7px; }
.ats-headline-text { font-size: 14px; font-weight: 600; text-align: center; margin-bottom: 18px; color: #2C3E50; }
.ats-divider { border: none; border-top: 1.5px solid #1B2A4A; margin-bottom: 14px; margin-top: 2px; }
.ats-section { margin-bottom: 22px; }
.ats-section-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: #1B2A4A; margin-bottom: 9px; padding-bottom: 4px; border-bottom: 1px solid #D0D8E4; }
.ats-body-text { font-size: 13px; color: #222; line-height: 1.65; }
.ats-exp-item { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #EAEEF2; }
.ats-exp-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.ats-exp-title { font-size: 13.5px; font-weight: 700; color: #1B2A4A; }
.ats-exp-date { font-size: 11.5px; color: #666; font-style: italic; margin-top: 1px; }
.ats-exp-body { font-size: 13px; color: #222; margin-top: 4px; line-height: 1.6; }
.ats-bullet-list { margin: 7px 0 0 20px; list-style: disc; }
.ats-bullet-list li { font-size: 12.5px; color: #222; line-height: 1.62; margin-bottom: 4px; }

@media print { #lia-print-only { padding: 12mm 18mm !important; line-height: 1.6 !important; } }
