/* Talents Sea — CV builder: the "no CV?" band (cvp-), the wizard extras (cvb-) and the result page (cvd-).
   Loaded after jobs.css, so the --pv- tokens are already in scope. */

/* ============ the band ============ */
.cvp { position: relative; overflow: hidden; background: linear-gradient(180deg, #F2F8F7 0%, #FFFFFF 100%); color: #0E181D; border-bottom: 1px solid #E4EAEB; padding: 64px 0 68px; }
.cvp__glow { position: absolute; inset-inline-start: -8%; top: -55%; width: 780px; height: 780px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(107,202,186,.30), rgba(107,202,186,0) 62%); filter: blur(30px); }
.cvp__in { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }

.cvp__pill { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--pv-sand);
  background: rgba(243,207,179,.12); border: 1px solid rgba(243,207,179,.3); border-radius: 999px; padding: 7px 16px; }
.cvp__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--pv-sand); box-shadow: 0 0 0 4px rgba(243,207,179,.2); }
.cvp h2 { margin: 18px 0 0; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.24; font-weight: 600; letter-spacing: -.5px; color: #0E181D; }
.cvp p { margin: 16px 0 0; font-size: clamp(16px, 1.25vw, 18.5px); line-height: 1.85; color: rgba(14,24,29,0.72); max-width: 54ch; }
.cvp__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 28px; }
.cvp__meta { font-size: 14.5px; color: rgba(14,24,29,0.55); }
.cvp__facts { display: flex; gap: 34px; margin: 30px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(14,24,29,0.084); }
.cvp__facts li { display: flex; flex-direction: column; gap: 2px; }
.cvp__facts b { font-size: 30px; font-weight: 600; color: var(--pv-teal); line-height: 1; }
.cvp__facts span { font-size: 14px; color: rgba(14,24,29,0.55); }

/* ---- the drifting papers ---- */
.cvp__stage { position: relative; height: 420px; }
.cvp__paper { position: absolute; width: 210px; height: 290px; border-radius: 12px; background: #fff; padding: 16px 14px;
  display: flex; flex-direction: column; gap: 7px; overflow: hidden;
  box-shadow: 0 30px 70px -22px rgba(0,0,0,.72), 0 0 0 1px rgba(14,24,29,0.07); }
.cvp__paper--a { inset-inline-end: 16%; top: 42px; z-index: 3; animation: cvpFloatA 9s ease-in-out infinite; }
.cvp__paper--b { inset-inline-end: 42%; top: 96px; z-index: 2; transform: rotate(-7deg); animation: cvpFloatB 11s ease-in-out infinite; }
.cvp__paper--c { inset-inline-end: 2%; top: 122px; z-index: 1; transform: rotate(6deg); animation: cvpFloatC 13s ease-in-out infinite; }
@keyframes cvpFloatA { 50% { transform: translateY(-18px) rotate(1.5deg); } }
@keyframes cvpFloatB { 50% { transform: translateY(-11px) rotate(-9.5deg); } }
@keyframes cvpFloatC { 50% { transform: translateY(-22px) rotate(8deg); } }

.cvp__band { display: block; height: 46px; margin: -16px -14px 6px; background: linear-gradient(110deg, #0E3A34, #2E8C7E); }
.cvp__band--dark { background: #0E181D; }
.cvp__ln { display: block; height: 7px; border-radius: 4px; background: #E4EAEB; }
.cvp__ln--t { height: 11px; width: 74%; background: #0E181D; }
.cvp__ln.center { margin-inline: auto; }
.cvp__ln.w95 { width: 95%; } .cvp__ln.w90 { width: 90%; } .cvp__ln.w88 { width: 88%; }
.cvp__ln.w85 { width: 85%; } .cvp__ln.w80 { width: 80%; } .cvp__ln.w75 { width: 75%; }
.cvp__ln.w70 { width: 70%; } .cvp__ln.w60 { width: 60%; } .cvp__ln.w55 { width: 55%; }
.cvp__rule { display: block; width: 46px; height: 2px; margin: 4px auto; background: #0E181D; }
.cvp__cols { display: flex; gap: 8px; margin-top: 4px; }
.cvp__cols em { flex: 1.5; height: 82px; border-radius: 6px; background: #EDF1F2; }
.cvp__cols u { flex: 1; height: 82px; border-radius: 6px; background: #E8F4F1; }
.cvp__tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.cvp__tags i { height: 15px; width: 44px; border-radius: 999px; background: #E8F4F1; }
.cvp__tags i:nth-child(2) { width: 58px; } .cvp__tags i:nth-child(3) { width: 36px; }
.cvp__shine { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(14,24,29,0.72) 50%, transparent 62%);
  transform: translateX(-120%); animation: cvpShine 6s ease-in-out 1.4s infinite; }
@keyframes cvpShine { 0%, 62% { transform: translateX(-120%); } 88%, 100% { transform: translateX(120%); } }

@media (prefers-reduced-motion: reduce) {
  .cvp__paper, .cvp__shine { animation: none; }
  .cvp__shine { display: none; }
}
@media (max-width: 980px) {
  .cvp__in { grid-template-columns: 1fr; gap: 26px; }
  .cvp__stage { height: 330px; order: 2; }
  .cvp__paper { width: 168px; height: 232px; }
  .cvp__paper--a { inset-inline-end: 28%; top: 20px; }
  .cvp__paper--b { inset-inline-end: 52%; top: 66px; }
  .cvp__paper--c { inset-inline-end: 6%; top: 84px; }
}
@media (max-width: 560px) {
  .cvp { padding: 48px 0 52px; }
  .cvp__facts { gap: 24px; }
  .cvp__stage { height: 290px; }
}

/* first band on the page: clear the floating nav */
.cvp--tight { padding-top: 132px; }
@media (max-width: 980px) { .cvp--tight { padding-top: 112px; } }

/* ============ wizard extras ============ */
.cvb-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.cvb-chip { display: inline-flex; align-items: center; gap: 8px; font: inherit; font-size: 14px; color: var(--pv-ink);
  background: #fff; border: 1px solid var(--pv-line); border-radius: 999px; padding: 7px 13px; cursor: pointer; transition: border-color .2s ease, color .2s ease; }
.cvb-chip:hover { border-color: #E08A7A; color: #C0553F; }
.cvb-sugg { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 12px; }
.cvb-sugg > span { font-size: 13.5px; color: var(--pv-muted); }
.cvb-sugg button { font: inherit; font-size: 13.5px; color: var(--pv-ink-3); background: var(--pv-line-2); border: 1px solid transparent;
  border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: all .2s ease; }
.cvb-sugg button:hover { background: var(--pv-tint); color: #14453E; }
.cvb-sugg button.is-on { background: #14453E; border-color: #14453E; color: #fff; }

/* ============ slim strip (jobs board, under the search) ============ */
.cvs { background: #F2F8F7; border-block: 1px solid rgba(107,202,186,.22); }
.cvs__in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding-block: 20px; }
.cvs__ic { display: flex; align-items: flex-end; gap: 3px; width: 38px; height: 38px; padding: 7px 6px; flex: none;
  border-radius: 10px; background: rgba(107,202,186,.14); border: 1px solid rgba(107,202,186,.3); }
.cvs__ic i { flex: 1; border-radius: 2px; background: var(--pv-teal); opacity: .9; animation: cvsBar 2.4s ease-in-out infinite; }
.cvs__ic i:nth-child(1) { height: 40%; }
.cvs__ic i:nth-child(2) { height: 75%; animation-delay: .25s; }
.cvs__ic i:nth-child(3) { height: 55%; animation-delay: .5s; }
@keyframes cvsBar { 50% { transform: scaleY(1.35); } }
.cvs__t { flex: 1; min-width: 240px; margin: 0; font-size: 15.5px; line-height: 1.6; color: rgba(14,24,29,0.66); }
.cvs__t b { display: inline; margin-inline-end: 8px; font-size: 17px; font-weight: 600; color: #0E181D; }
.cvs__go { display: inline-flex; align-items: center; gap: 9px; flex: none; font-size: 15px; font-weight: 600;
  color: #0B2A26 !important; background: linear-gradient(180deg, var(--pv-teal-2), var(--pv-teal));
  border-radius: 999px; padding: 11px 22px; transition: transform .22s var(--pv-ease), box-shadow .22s ease; }
.cvs__go:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -12px rgba(107,202,186,.8); }
@media (prefers-reduced-motion: reduce) { .cvs__ic i { animation: none; } }
@media (max-width: 560px) { .cvs__go { width: 100%; justify-content: center; } }

/* ============ offer card (inside the application form) ============ */
.cvo { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 14px;
  background: #F2F8F7; border: 1px solid #DCEBE8; border-radius: 18px; padding: 18px 20px; }
.cvo__ic { display: flex; align-items: flex-end; gap: 3px; width: 40px; height: 40px; padding: 8px 7px; flex: none;
  border-radius: 11px; background: rgba(107,202,186,.16); border: 1px solid rgba(107,202,186,.32); }
.cvo__ic i { flex: 1; border-radius: 2px; background: var(--pv-teal); }
.cvo__ic i:nth-child(1) { height: 40%; } .cvo__ic i:nth-child(2) { height: 78%; } .cvo__ic i:nth-child(3) { height: 56%; }
.cvo__t { flex: 1; min-width: 210px; display: flex; flex-direction: column; gap: 2px; }
.cvo__t b { font-size: 16.5px; font-weight: 600; color: #0E181D; }
.cvo__t span { font-size: 14.5px; line-height: 1.6; color: rgba(14,24,29,0.62); }
.cvo__go { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14.5px; font-weight: 600;
  color: #0B2A26 !important; background: var(--pv-teal); border-radius: 999px; padding: 10px 20px; transition: background .2s ease; }
.cvo__go:hover { background: var(--pv-teal-2); }

/* Every `display:` below would otherwise beat the UA rule for [hidden]; say it once for the whole builder. */
.cvb [hidden] { display: none; }

/* ---- work history ---- */
.cvb-exp { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--pv-line); }
.cvb-exp__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cvb-exp__head > span { font-size: 15px; font-weight: 600; color: var(--pv-ink); }
.cvb-exp__head i { color: #C0553F; font-style: normal; }
.cvb-fresh { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14.5px; color: var(--pv-ink-3);
  background: #fff; border: 1.5px solid var(--pv-line); border-radius: 999px; padding: 9px 16px; transition: all .2s ease; }
.cvb-fresh:hover { border-color: var(--pv-teal-d); color: var(--pv-ink); }
.cvb-fresh input { position: absolute; opacity: 0; pointer-events: none; }
.cvb-fresh span { display: inline-flex; align-items: center; gap: 9px; }
.cvb-fresh .c-ic { width: 18px; height: 18px; }
.cvb-fresh.is-on { background: #14453E; border-color: #14453E; color: #fff; }
.cvb-exp__rows { display: flex; flex-direction: column; gap: 12px; }
.cvb-exp__row { position: relative; display: grid; grid-template-columns: 1.4fr 1.4fr .7fr; gap: 12px;
  background: var(--pv-line-2); border-radius: 16px; padding: 16px; padding-inline-end: 44px; }
.cvb-exp__row .pv-f { margin: 0; }
.cvb-exp__del { position: absolute; inset-inline-end: 12px; inset-block-start: 12px; width: 26px; height: 26px; border-radius: 50%;
  border: 0; cursor: pointer; font: inherit; font-size: 13px; line-height: 1; color: var(--pv-muted); background: #fff; transition: all .2s ease; }
.cvb-exp__del:hover { background: #FBE7E2; color: #C0553F; }
.cvb-exp__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.cvb-exp__add { font: inherit; font-size: 14.5px; font-weight: 600; color: var(--pv-teal-d); background: transparent;
  border: 1.5px dashed #BCD9D2; border-radius: 12px; padding: 10px 18px; cursor: pointer; transition: all .2s ease; }
.cvb-exp__add:hover { background: var(--pv-tint); border-style: solid; }
.cvb-exp__total { font-size: 14px; color: var(--pv-muted); }
.cvb-exp.is-bad { border-top-color: #E0A99C; }
.cvb-exp.is-bad .cvb-exp__row { background: #FDF3F1; }
@media (max-width: 620px) { .cvb-exp__row { grid-template-columns: 1fr; } }

/* ---- design picker ---- */
.cvb-designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cvb-design { position: relative; display: flex; flex-direction: column; gap: 12px; cursor: pointer;
  border: 2px solid var(--pv-line); border-radius: 18px; padding: 14px; background: #fff; transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.cvb-design:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -20px rgba(14,24,29,.4); }
.cvb-design.is-on { border-color: var(--pv-teal-d); box-shadow: 0 0 0 4px var(--pv-tint); }
.cvb-design input { position: absolute; opacity: 0; pointer-events: none; }
.cvb-design__paper { position: relative; display: block; aspect-ratio: 210 / 297; border-radius: 10px; overflow: hidden;
  background: #F2F5F5; border: 1px solid var(--pv-line); }
.cvb-design__paper iframe { position: absolute; inset-inline-start: 0; top: 0; width: 794px; height: 1123px; border: 0;
  transform: scale(.303); transform-origin: top right; pointer-events: none; }
[dir="ltr"] .cvb-design__paper iframe { transform-origin: top left; }
.cvb-design__skel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 13.5px; color: var(--pv-muted); background: #F2F5F5; }
/* the `display:flex` above beats the UA rule for [hidden], so hide it explicitly */
.cvb-design__skel[hidden] { display: none; }
.cvb-design__meta { display: flex; flex-direction: column; gap: 2px; }
.cvb-design__meta b { font-size: 16.5px; font-weight: 600; color: var(--pv-ink); }
.cvb-design__meta small { font-size: 13.5px; color: var(--pv-muted); line-height: 1.5; }
/* down by the label, where the card is empty — over the paper it would sit on the candidate's name */
.cvb-design__tick { position: absolute; inset-block-end: 18px; inset-inline-start: 18px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--pv-teal-d); color: #fff; display: grid; place-items: center; font-size: 15px; opacity: 0; transform: scale(.6); transition: all .22s ease; }
.cvb-design.is-on .cvb-design__tick { opacity: 1; transform: scale(1); }
.cvb-note { display: flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 14px; color: var(--pv-muted); }
@media (max-width: 860px) { .cvb-designs { grid-template-columns: 1fr; } .cvb-design__paper iframe { transform: scale(.42); } }

/* ============ result page ============ */
.cvd-tick { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 20px; border-radius: 50%;
  background: rgba(107,202,186,.16); border: 1px solid rgba(107,202,186,.45); color: var(--pv-teal); font-size: 26px; }
.cvd-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.cvd-main { background: #fff; border: 1px solid var(--pv-line); border-radius: 22px; padding: 30px 32px; }
.cvd-dl { width: 100%; }
.cvd-file { margin: 12px 0 0; font-size: 14px; color: var(--pv-muted); text-align: center; }
.cvd-next { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--pv-line); }
.cvd-next > b { display: block; font-size: 17px; font-weight: 600; color: var(--pv-ink); margin-bottom: 14px; }
.cvd-next ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.cvd-next li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.cvd-next li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--pv-tint); color: #14453E;
  display: grid; place-items: center; font-size: 14px; font-weight: 600; }
.cvd-next li b { display: block; font-size: 15.5px; font-weight: 600; color: var(--pv-ink); }
.cvd-next li span { font-size: 14.5px; line-height: 1.7; color: var(--pv-ink-3); }
.cvd-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 860px) { .cvd-grid { grid-template-columns: 1fr; } }
