/* CV builder gallery (web/pages/cv_builder.php) */
.cv-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.cv-steps li {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--vdomn-border);
  border-radius: 12px;
  padding: 12px 14px;
}

.cv-steps span {
  flex: 0 0 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--vdomn-light);
  color: var(--vdomn-blue);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cv-steps strong {
  display: block;
  font-size: 14px;
  color: var(--vdomn-dark);
}

.cv-steps small {
  color: var(--vdomn-muted);
  font-size: 12px;
}

.cv-tpl {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--vdomn-border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.cv-tpl:hover {
  box-shadow: 0 12px 30px rgba(7, 27, 73, .1);
  transform: translateY(-2px);
}

/* A4 page preview: the sample is rendered at 794px wide and scaled down by JS */
.cv-thumb {
  --cv-scale: .33;
  position: relative;
  display: block;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  background: #f3f7fc;
  border-bottom: 1px solid var(--vdomn-border);
}

.cv-thumb iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 794px;
  height: 1123px;
  border: 0;
  background: #fff;
  transform: scale(var(--cv-scale));
  transform-origin: 0 0;
  pointer-events: none;
}

.cv-tpl-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.cv-tpl-body h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--vdomn-dark);
  margin: 0;
}

.cv-badge {
  font-size: 11px;
  font-weight: 700;
  color: #137a3a;
  background: #e8f7ee;
  border-radius: 20px;
  padding: 3px 9px;
  white-space: nowrap;
}

.cv-best {
  color: var(--vdomn-blue);
  font-weight: 600;
  font-size: 12px;
  margin-top: 4px;
}

.cv-tpl-body p {
  font-size: 13px;
  color: var(--vdomn-muted);
  margin: 8px 0 14px;
}

.cv-ticks li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
}

.cv-ticks li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: #198754;
}
