/* Adorio CV generator: a look modelled on Indeed (white, one strong blue, clear buttons), Inter only */
/* The hidden attribute always wins over display rules (e.g. .btn), otherwise hidden buttons show up */
[hidden] { display: none !important; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter/Inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter/Inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("../fonts/inter/Inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter/Inter-Bold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 800; font-display: swap; src: url("../fonts/inter/Inter-ExtraBold.woff2") format("woff2"); }

:root {
  --blue: #2557a7; --blue-dark: #164081; --blue-soft: #e9f0f7; --blue-line: #d0e0f0;
  --ink: #2d2d2d; --text: #424242; --muted: #6f6f6f; --line: #d4d2d0; --line-soft: #e4e2e0;
  --bg: #ffffff; --bg-soft: #f9f9f9; --logo: #1a1ac1;
  --ok: #1f7a3a; --ok-soft: #e8f4ec; --warn: #9a5b00; --warn-soft: #fff5e0; --bad: #b3261e; --bad-soft: #fdecea;
  --radius: 8px; --shadow: 0 1px 3px rgba(0,0,0,.08), 0 6px 20px rgba(0,0,0,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: "Inter", Arial, sans-serif; color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Zaglavlje */
.site-header { background: #fff; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 50; }
.site-header__in { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 28px; }
.site-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.site-logo svg { width: 96px; height: auto; display: block; }
.site-logo span { font-size: 13px; color: var(--muted); font-weight: 600; border-left: 1px solid var(--line); padding-left: 10px; }
.site-nav { display: flex; gap: 26px; flex: 1; justify-content: center; }
.site-nav > a { color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 21px 0 19px; border-bottom: 3px solid transparent; }
.site-nav > a:hover { text-decoration: none; border-bottom-color: var(--line); }
.site-nav > a.is-active { border-bottom-color: var(--blue); }
.site-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; }
@media (max-width: 760px) { .site-nav { display: none; } .site-header__in { gap: 12px; } }

/* Gumbi */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--radius); padding: 10px 18px; font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none !important; line-height: 1.2; white-space: nowrap; background: #fff; color: var(--blue); border-color: var(--blue); }
.btn:hover { background: var(--blue-soft); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { border-color: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--sm { padding: 7px 12px; font-size: 14px; }
.btn--lg { padding: 14px 24px; font-size: 16px; }
.btn--danger { color: var(--bad); border-color: var(--line); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
/* Icons in buttons, and rows of buttons: every button in a row is as wide as the widest one; on a phone they stack.
   In a row either every button has an icon or none does. (The class twice: it wins over the older flex rows.) */
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.btn--sm .ico { width: 16px; height: 16px; }
/* a button that is only an icon (its text is in title and aria-label): square, all the same size */
.btn.btn--icon { width: 38px; height: 38px; padding: 0; flex: none; }
.btn.btn--icon .ico { width: 18px; height: 18px; }
.btn--danger.btn--icon:hover { background: #fdecea; border-color: #f6c9c4; }
.btn-row.btn-row { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; max-width: 100%; vertical-align: middle; }
/* set by btnrows.js when a text does not fit: first the icons go, then the texts may wrap */
.btn-row--noicons .ico { display: none; }
/* set by btnrows.js on phones: a button alone on its line sits in the middle */
.btn.btn--centre { display: flex; width: fit-content; margin-left: auto; margin-right: auto; align-self: center; justify-self: center; }
.btn-row--wrap > .btn, .btn-row--wrap > form > .btn { white-space: normal; text-align: center; line-height: 1.25; }
.btn-row > .btn, .btn-row > form > .btn { width: 100%; }
.btn-row > form { display: flex; margin: 0; min-width: 0; }
.btn-row.btn-row--fill { display: grid; grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
@media (max-width: 600px) {
  .btn-row.btn-row:not(.btn-row--keep) { display: grid; grid-auto-flow: row; grid-template-columns: 1fr; width: 100%; }
}

/* Stranica */
.page { max-width: 1200px; margin: 0 auto; padding: 32px 20px 64px; }
.page--narrow { max-width: 460px; padding-top: 48px; }
.page h1 { font-size: 30px; line-height: 1.2; margin: 0 0 8px; letter-spacing: -.01em; }
.lead { color: var(--text); font-size: 17px; margin: 0 0 24px; }
.muted { color: var(--muted); font-size: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.notice { background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; font-size: 14px; }
.notice--bad { background: var(--bad-soft); border-color: #f3c7c3; color: var(--bad); }

/* Forme */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: 14px; }
.input { width: 100%; border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; background: #fff; font-size: 15px; }
.input:focus { border-color: var(--blue); outline: 2px solid var(--blue-line); outline-offset: 0; }
.field .error { color: var(--bad); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin-bottom: 16px; }
.check input { margin-top: 3px; accent-color: var(--blue); }
.form-foot { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Naslovnica */
.hero { background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); }
.hero__in { max-width: 1200px; margin: 0 auto; padding: 56px 20px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 14px; }
.hero p { font-size: 18px; color: var(--text); margin: 0 0 26px; max-width: 34em; }
.hero__starts { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__proof { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }
.hero__visual img { width: 100%; max-width: 420px; border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow); background: #fff; display: block; margin-left: auto; }
@media (max-width: 860px) { .hero__in { grid-template-columns: 1fr; } .hero h1 { font-size: 34px; } .hero__visual { display: none; } }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 40px 0; }
.steps3 h3 { margin: 0 0 6px; font-size: 17px; }
.steps3 p { margin: 0; color: var(--text); font-size: 14.5px; }
@media (max-width: 760px) { .steps3 { grid-template-columns: 1fr; } }

/* Template gallery (filters on the left, like job filters) */
.gallery { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
.filters h2 { font-size: 15px; margin: 0 0 10px; }
.filters fieldset { border: 0; border-bottom: 1px solid var(--line-soft); margin: 0 0 14px; padding: 0 0 14px; }
.filters legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: 14px; padding: 3px 0; cursor: pointer; }
.filters input { accent-color: var(--blue); }
/* Compact filters: everything visible without scrolling */
.filters fieldset { margin-bottom: 10px; padding-bottom: 10px; }
.filters legend { margin-bottom: 5px; }
.filters label { font-size: 13.5px; padding: 2px 0; gap: 6px; }
.filters select.input { padding: 7px 10px; font-size: 14px; }
.filters__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.filters__grid legend { grid-column: 1 / -1; }
.filters__row { display: flex; flex-wrap: wrap; gap: 0 10px; }
.filters__row label { white-space: nowrap; }
.filters__row legend { flex-basis: 100%; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.page--wide { max-width: 1480px; }
@media (max-width: 860px) { .tgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Hover to zoom (mouse only): a large preview next to the card */
.tzoom { position: fixed; z-index: 80; width: min(610px, 60vw); aspect-ratio: 210 / 297; background: #fff; border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 18px 50px rgba(15, 20, 40, .28); overflow: hidden; pointer-events: none; cursor: pointer; opacity: 0; transform: scale(.97);
  transition: opacity .12s ease, transform .12s ease; }
.tzoom.is-on { opacity: 1; transform: none; pointer-events: auto; }
.tzoom__use { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); box-shadow: 0 6px 18px rgba(20, 40, 90, .3); }
.tzoom.is-busy { opacity: .6; }
.tzoom img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@media (prefers-reduced-motion: reduce) { .tzoom { transition: none; } }
.tmore { text-align: center; margin: 24px 0 0; }
.tcard { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .15s; }
.tcard:hover { box-shadow: var(--shadow); }
.tcard__img { aspect-ratio: 210 / 297; background: var(--bg-soft); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.tcard__body { padding: 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.tcard__name { font-weight: 700; }
.tcard__meta { font-size: 13px; color: var(--muted); }
.tcard form { margin-top: auto; padding-top: 8px; }
.tcard .btn { width: 100%; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line-soft); color: var(--text); }
.badge--ok { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.badge--warn { background: var(--warn-soft); border-color: transparent; color: var(--warn); }
.filters__toggle { display: none; }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr; gap: 16px; }
  .filters { position: static; max-height: none; overflow: visible; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .filters__toggle { display: inline-flex; }
  .filters__body { display: none; flex-basis: 100%; order: 3; }
  .filters.is-open .filters__body { display: block; }
  #filter-count { margin: 0; }
}
/* Phone: the on/off filters are a list of switches (name on the left, switch on the right); on a computer they stay tick boxes */
@media (max-width: 860px) {
  .filters__grid { grid-template-columns: 1fr; }
  .filters label:has(input[type=checkbox]) { flex-direction: row-reverse; justify-content: space-between; gap: 12px; padding: 10px 2px; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
  .filters__row:has(input[type=checkbox]) { display: grid; }
  .filters input[type=checkbox] { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 13px; background: #c8ccd3; cursor: pointer; transition: background .15s; }
  .filters input[type=checkbox]::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
  .filters input[type=checkbox]:checked { background: var(--blue); }
  .filters input[type=checkbox]:checked::after { transform: translateX(18px); }
  .filters input[type=checkbox]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
}

/* My documents (a list like a job list) */
.doclist { display: flex; flex-direction: column; gap: 12px; }
/* My documents: every resume and letter is a card of the same size with a small picture; the picture opens the editor,
   the ⋯ menu copies, downloads or deletes */
.doccards { display: flex; gap: 18px; overflow-x: auto; margin: 0 -20px 8px; padding: 4px 20px 16px; scroll-snap-type: x proximity; scroll-padding-inline: 20px; -webkit-overflow-scrolling: touch; }
/* three cards fill the row (more scroll sideways), so the thumbnail is big enough to read the resume */
.doccards > .doccard { flex: 0 0 calc((100% - 36px) / 3); width: calc((100% - 36px) / 3); min-width: 0; scroll-snap-align: start; }   /* a long title must not widen its card */
.doccard { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.doccard:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(20, 40, 90, .08); }
.doccard__thumb { display: block; position: relative; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 12px 12px 0 0; border-bottom: 1px solid var(--line-soft); background: #fff; --s: .24; }
.doccard__thumb iframe { position: absolute; top: 0; left: 0; width: 794px; height: 1123px; border: 0; transform-origin: 0 0; transform: scale(var(--s)); pointer-events: none; background: #fff; }
.doccard__badge { position: absolute; left: 8px; top: 8px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; }
.doccard__foot { display: flex; align-items: flex-start; gap: 4px; padding: 10px 6px 12px 14px; }
.doccard__info { flex: 1; min-width: 0; color: inherit; text-decoration: none !important; }
.doccard__info strong { display: block; font-size: 15px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.doccard__info span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.doccard__menu { position: relative; flex: none; }
.doccard__menu summary { list-style: none; }
.doccard__menu summary::-webkit-details-marker { display: none; }
.doccard__menu .ico { width: 20px; height: 20px; stroke-width: 2.6; }
.doccard__pop { position: fixed; z-index: 60; display: grid; min-width: 190px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .14); }
.doccard__pop form { margin: 0; }
.doccard__pop button, .doccard__pop a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; border-radius: 6px; background: none; color: var(--ink); font: inherit; font-size: 14.5px; text-align: left; text-decoration: none !important; cursor: pointer; }
.doccard__pop button:hover, .doccard__pop a:hover { background: var(--bg-soft); }
.doccard__pop .ico { color: var(--muted); }
.doccard__pop .is-danger, .doccard__pop .is-danger .ico { color: var(--bad); }
.doccard--new { margin: 0; border-style: dashed; border-width: 2px; }
.doccard--new button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 100%; padding: 20px; background: none; border: 0; border-radius: 12px; color: var(--ink); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; }
.doccard--new .ico { width: 30px; height: 30px; color: var(--muted); }
.doccard--new:hover .ico { color: var(--blue); }
@media (max-width: 600px) { .doccards { gap: 12px; } .doccards > .doccard { flex-basis: calc((100% - 12px) / 2); width: calc((100% - 12px) / 2); } .doccard__foot { padding-left: 10px; } }
.docrow { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: #fff; }
.docrow:hover { border-color: var(--blue); }
.docrow--child { margin-left: 32px; }
.docrow__main { flex: 1; min-width: 0; }
.docrow__link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 16px; color: inherit; text-decoration: none !important; }
.docrow__title { font-weight: 700; font-size: 17px; color: var(--ink); }
.docrow__meta { font-size: 13.5px; color: var(--muted); }
.empty { text-align: center; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); }


/* ---- Shared by the newer screens ---- */
.page--wide { max-width: 1400px; }
.pagehead { display: flex; gap: 16px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-bottom: 20px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row-center { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.h2 { font-size: 20px; margin: 32px 0 12px; }
.h3 { font-size: 16px; margin: 0 0 12px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.muted-h { color: var(--muted); font-weight: 500; }
.count { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line-soft); font-size: 12px; font-weight: 600; text-align: center; color: var(--text); vertical-align: middle; }
.error { color: var(--bad); font-size: 13px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--blue); cursor: pointer; font: inherit; font-size: inherit; }
.linkbtn:hover { text-decoration: underline; }
.pre { white-space: pre-wrap; margin: 6px 0; }
.warnbox { background: var(--warn-soft); color: var(--warn); border-radius: var(--radius); padding: 8px 12px; font-size: 14px; margin: 8px 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius); box-shadow: var(--shadow); z-index: 100; font-size: 14px; max-width: calc(100vw - 32px); }
.dialog { border: 0; border-radius: 12px; padding: 24px; width: min(620px, calc(100vw - 32px)); box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.dialog::backdrop { background: rgba(0,0,0,.35); }
.dialog h2 { margin-top: 0; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.seg label { display: flex; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; font-size: 14px; cursor: pointer; }
.seg label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); font-weight: 600; }
.seg input { accent-color: var(--blue); }
.pill { display: inline-block; flex: none; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 12px; white-space: nowrap; }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--bad { background: var(--bad-soft); color: var(--bad); }
.pill--info { background: var(--blue-soft); color: var(--blue-dark); }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 14px; font-size: 13px; font-weight: 600; background: var(--bg-soft); border: 1px solid var(--line-soft); }
.chip--ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.chip--bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.kw { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.bar { height: 8px; background: var(--line-soft); border-radius: 4px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--blue); border-radius: 4px; }
.bar--ok span { background: var(--ok); }
.bar--warn span { background: #d98a00; }
.bar--bad span { background: var(--bad); }
.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--blue-line); border-top-color: var(--blue); border-radius: 50%; animation: spin .8s linear infinite; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }
.busy { display: flex; align-items: center; font-weight: 600; }
/* Header, right side: language, notifications, the apps menu (3x3 dots, like Google's apps) and Sign in / the account */
.site-actions { gap: 6px; }
.hdr-pop { position: relative; }
.hdr-pop > summary { list-style: none; cursor: pointer; }
.hdr-pop > summary::-webkit-details-marker { display: none; }
.hdr-icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.hdr-icon .ico { width: 20px; height: 20px; }
.hdr-icon .ico path[d^="M5 5h.01"] { stroke-width: 3.4; }
.hdr-icon:hover, .hdr-pop[open] > .hdr-icon { background: #eef0f3; }
.hdr-badge { position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--bad); color: #fff; font-size: 11px; font-weight: 700; line-height: 17px; text-align: center; }
.hdr-lang { display: flex; align-items: center; gap: 5px; height: 40px; padding: 0 10px; border-radius: 20px; color: var(--ink); font-size: 14px; font-weight: 600; }
.hdr-lang:hover, .lang-menu[open] > .hdr-lang { background: #eef0f3; }
.hdr-caret { font-size: 10px; color: var(--muted); }
.hdr-signin { margin-left: 8px; padding: 9px 20px; border-radius: 8px; background: #1b1b1b; color: #fff !important; font-size: 14.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none !important; }
.hdr-signin:hover { background: #3a3a3a; }
.hdr-user { margin-left: 6px; }
.hdr-user > summary { display: flex; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; border-radius: 24px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.hdr-user > summary:hover, .hdr-user[open] > summary { background: #eef0f3; }
.hdr-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.hdr-user__name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: 0 12px 34px rgba(0, 0, 0, .14); }
.hdr-menu__title { margin: 0; padding: 12px 16px 8px; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hdr-list { min-width: 240px; padding: 0 6px 6px; }
.hdr-list a, .hdr-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--ink); font: inherit; font-size: 14.5px; text-align: left; text-decoration: none !important; cursor: pointer; }
.hdr-list a:hover, .hdr-list button:hover { background: var(--bg-soft); }
.hdr-list .ico { color: var(--muted); }
.hdr-list form { margin: 0; border-top: 1px solid var(--line-soft); margin-top: 4px; padding-top: 4px; }
.hdr-notes { width: 330px; padding-bottom: 8px; }
.hdr-note { display: flex; gap: 10px; padding: 10px 16px; color: var(--ink); font-size: 14px; line-height: 1.4; text-decoration: none !important; }
.hdr-note:hover { background: var(--bg-soft); }
.hdr-note::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: var(--blue); }
.hdr-note small { display: block; color: var(--muted); font-size: 12.5px; }
.hdr-empty { margin: 0; padding: 4px 16px 10px; color: var(--muted); font-size: 14px; }
.hdr-apps { display: grid; grid-template-columns: repeat(3, 104px); gap: 4px; padding: 14px; }
.hdr-apps form { margin: 0; }
.hdr-app { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 12px 4px 10px; border: 0; border-radius: 12px; background: none; color: var(--ink); font: inherit; font-size: 13px; line-height: 1.25; text-align: center; text-decoration: none !important; cursor: pointer; }
.hdr-app:hover { background: #f1f4f9; }
/* The app pictures (app_art(), resources/app-art.json): lift a little on hover, like the home page feature art */
.hdr-app__pic { display: contents; }
.hdr-app__art { display: block; width: 52px; height: 52px; filter: drop-shadow(0 6px 8px rgba(26, 26, 193, .14)); transition: transform .2s ease; }
.hdr-app:hover .hdr-app__art, .hdr-app:focus-visible .hdr-app__art { transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) { .hdr-app__art { transition: none; } }
/* Icon tiles everywhere (apps menu, Tools, feature cards, dashboard, ATS check), Adorio's own look in the logo blue:
   a soft rounded tile with a light blue gradient and a fine inner edge, the line icon in the logo blue and a small dot
   in the corner like the dot of the "i" in the logo. On hover the tile turns solid blue and the icon white. */
.hdr-app__ico, .tile .tile__icon, .ats-point__icon { --tile: 46px; position: relative; display: grid; place-items: center; width: var(--tile); height: var(--tile); border-radius: 32% !important; color: #1a1ac1 !important;
  background: linear-gradient(150deg, #f5f6ff 0%, #e4e6ff 100%) !important;
  box-shadow: inset 0 0 0 1px rgba(26, 26, 193, .10), inset 0 1px 0 rgba(255, 255, 255, .9), 0 8px 16px -10px rgba(26, 26, 193, .45);
  transition: background .18s, color .18s, box-shadow .18s, transform .18s; }
.hdr-app__ico::after, .tile .tile__icon::after, .ats-point__icon::after { content: ""; position: absolute; top: 15%; right: 15%; width: 12%; height: 12%; min-width: 4px; min-height: 4px; border-radius: 50%; background: #1a1ac1; transition: background .18s; }
.hdr-app__ico .ico, .tile__icon .ico, .ats-point__icon svg { width: 50% !important; height: 50% !important; stroke-width: 1.8; }
.tile .tile__icon, .ats-point__icon, .nav-tool .hdr-app__ico { --tile: 42px; }
.hdr-app:hover .hdr-app__ico, .nav-tool:hover .hdr-app__ico, .tile:hover .tile__icon { background: linear-gradient(150deg, #3434e0 0%, #1a1ac1 100%) !important; color: #fff !important; box-shadow: 0 10px 18px -10px rgba(26, 26, 193, .8); transform: translateY(-1px); }
.hdr-app:hover .hdr-app__ico::after, .nav-tool:hover .hdr-app__ico::after, .tile:hover .tile__icon::after { background: #fff; }
@media (max-width: 1060px) { .site-nav { display: none; } .site-actions { margin-left: auto; } }
@media (max-width: 600px) {
  .site-header__in { padding: 0 12px; }
  .site-logo svg { width: 84px; }
  .site-logo span, .hdr-user__name, .hdr-user .hdr-caret, .hdr-lang .hdr-caret { display: none; }
  .site-actions { gap: 0; }
  .hdr-lang { padding: 0 8px; }
  .hdr-signin { margin-left: 4px; padding: 8px 14px; }
  .hdr-user { margin-left: 2px; }
  .hdr-user > summary { padding: 4px; }
  /* Phones: the menus open across the width under the header */
  .hdr-pop { position: static; }
  .site-header__in { position: relative; }
  .hdr-menu, .lang-menu ul { left: 10px; right: 10px; top: calc(100% + 4px); width: auto; }
  .hdr-apps { grid-template-columns: repeat(3, 1fr); }
}
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.tile:hover { border-color: var(--blue); text-decoration: none; box-shadow: var(--shadow); }
.tile span { color: var(--text); font-size: 14px; }
.tile .tile__icon { margin-bottom: 8px; }
/* four tiles: one row on a wide screen, two by two below that */
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } }
.hero--slim .hero__in { padding: 40px 20px; }
.hero__in--one { grid-template-columns: 1fr; }
.prose h2 { font-size: 20px; margin-top: 28px; }
.prose li { margin-bottom: 6px; }

/* ---- Prilagodba oglasu ---- */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin: 16px 0; }
.coverage__label { font-size: 14px; color: var(--muted); font-weight: 600; }
.coverage__num { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.coverage__note { grid-column: 1 / -1; margin: 0; }
@media (max-width: 640px) { .coverage { grid-template-columns: 1fr; } }
.qcard .qcard__q { font-weight: 700; margin: 0 0 2px; }
.qcard textarea { margin-bottom: 10px; }
.scard__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.scard__state { margin-left: auto; font-weight: 700; font-size: 13px; color: var(--ok); }
.scard.is-dismissed { opacity: .6; }
.scard.is-dismissed .scard__state { color: var(--muted); }
.scard.is-accepted, .scard.is-edited { border-color: var(--ok); }
.scard__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.scard textarea { margin-top: 6px; }
.diff { display: grid; gap: 8px; }
.diff__old, .diff__new { border-radius: var(--radius); padding: 10px 12px; font-size: 14.5px; }
.diff__old { background: var(--bg-soft); color: var(--text); }
.diff__new { background: var(--ok-soft); color: #173d23; }
.diff__lbl { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: 2px; }
.reqs { border: 1px solid var(--line); border-radius: var(--radius); }
.req { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.req:last-child { border-bottom: 0; }
.req .pill { min-width: 108px; text-align: center; }
.req__text { font-weight: 600; }
.req__ev { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
@media (max-width: 560px) { .req { flex-direction: column; gap: 6px; } }
.actionbar { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); margin: 28px -20px 0; padding: 14px 20px; display: flex; gap: 10px; flex-wrap: wrap; z-index: 20; }

/* ---- Motivacijsko pismo ---- */
.letter-ed__top { display: flex; align-items: center; gap: 12px; padding: 10px 20px; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; background: #fff; }
.letter-ed__top .ed-title { max-width: 360px; font-weight: 700; flex: 1; min-width: 0; }
@media (max-width: 640px) {
  .letter-ed__top { padding: 8px 12px; gap: 6px 8px; }
  .letter-ed__top .ed-title { max-width: none; border-color: transparent; padding: 6px 4px; }
  .letter-ed__actions { margin-left: 0; flex-basis: 100%; }
  .letter-ed__actions .btn { flex: 1; justify-content: center; }
}
.letter-ed__actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.ed-back { font-size: 20px; color: var(--ink); padding: 4px 8px; }
.ed-status { font-size: 13px; color: var(--muted); }
.ed-status.is-error, .ed-status.is-conflict { color: var(--bad); }
.ed-banner { background: var(--blue-soft); padding: 8px 20px; font-size: 14px; }
.letter-ed__body { display: grid; grid-template-columns: minmax(360px, 520px) 1fr; align-items: start; }
/* The form scrolls on its own and stays in view under the site header while the page scrolls along the A4 preview,
   so no empty space opens up under it when the window is low or zoomed in */
.letter-form { padding: 16px 20px 60px; border-right: 1px solid var(--line-soft); overflow-y: auto; position: sticky; top: 65px; height: calc(100vh - 65px); max-height: calc(100vh - 65px); }
.lf-block { border-bottom: 1px solid var(--line-soft); padding: 14px 0 18px; }
.lf-block h2 { font-size: 16px; margin: 0 0 8px; }
.lf-opt { font-size: 13px; font-weight: 400; }
.lf-block summary { cursor: pointer; }
.tones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 14px; }
.tone { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; cursor: pointer; text-align: center; font-weight: 600; font-size: 14px; }
.tone input { position: absolute; opacity: 0; pointer-events: none; }
.tone:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-dark); }
.tone:has(input:focus-visible) { outline: 2px solid var(--blue); }
.paras { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.para { display: flex; gap: 6px; align-items: flex-start; }
.para textarea { flex: 1; }
.para__tools { display: flex; flex-direction: column; }
.sigpad { width: 100%; max-width: 420px; aspect-ratio: 3 / 1; border: 1px dashed var(--line); border-radius: var(--radius); background: #fff; touch-action: none; cursor: crosshair; display: block; margin-bottom: 8px; }
.input--color { height: 42px; padding: 4px; }
.letter-preview { background: var(--bg-soft); padding: 20px; display: flex; justify-content: center; }
.letter-preview iframe { width: 794px; max-width: 100%; height: 1123px; border: 0; background: #fff; box-shadow: var(--shadow); }
@media (max-width: 980px) { .letter-ed__body { grid-template-columns: 1fr; } .letter-form { position: static; height: auto; max-height: none; border-right: 0; } .letter-preview iframe { height: 900px; } }

/* ---- ATS ---- */
.ats-head { display: flex; gap: 24px; align-items: center; margin-bottom: 16px; }
.ats-head h1 { margin: 0 0 4px; }
.score { --c: var(--blue); width: 104px; height: 104px; flex: none; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #fff 78%, transparent 80% 100%), conic-gradient(var(--c) calc(var(--p) * 1%), var(--line-soft) 0); }
.score span { font-size: 32px; font-weight: 800; line-height: 1; }
.score small { color: var(--muted); font-size: 12px; }
.score--ok { --c: var(--ok); }
.score--warn { --c: #d98a00; }
.score--bad { --c: var(--bad); }
.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px 24px; margin: 8px 0 12px; }
.cat__row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 4px; }
.findings { border: 1px solid var(--line); border-radius: var(--radius); }
.finding { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); align-items: flex-start; }
.finding:last-child { border-bottom: 0; }
.finding .pill { min-width: 96px; text-align: center; }
.atstext { margin: 24px 0; }
.atstext summary { cursor: pointer; }
.atstext pre { white-space: pre-wrap; font-family: inherit; font-size: 13px; background: var(--bg-soft); padding: 14px; border-radius: var(--radius); max-height: 480px; overflow: auto; }
.cta { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--blue-soft); border-color: var(--blue-line); margin: 24px 0 12px; }

/* ---- Tracker ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.stat { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.stat strong { display: block; font-size: 24px; }
.stat span { font-size: 13px; color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.reminders { margin-bottom: 18px; }
.rem { display: flex; gap: 12px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px; }
.rem:last-of-type { border-bottom: 0; }
.rem__when { color: var(--muted); min-width: 84px; font-variant-numeric: tabular-nums; }
.rem__title { flex: 1; }
.rem.is-due .rem__when { color: var(--bad); font-weight: 700; }
.board { display: grid; grid-template-columns: repeat(6, minmax(210px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 12px; }
.col { background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 10px; min-height: 240px; display: flex; flex-direction: column; }
.col.is-over { border-color: var(--blue); background: var(--blue-soft); }
.col__head { font-size: 14px; margin: 2px 4px 10px; display: flex; justify-content: space-between; align-items: center; }
.col__list { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.kcard { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; color: var(--ink); cursor: grab; }
.kcard:hover { border-color: var(--blue); text-decoration: none; }
.kcard.is-drag { opacity: .5; }
.kcard__role { font-weight: 700; font-size: 14.5px; }
.kcard__co { font-size: 13px; color: var(--text); }
.kcard__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; font-size: 12px; }
.twocols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 860px) { .twocols { grid-template-columns: 1fr; } }
.input--status { min-width: 180px; font-weight: 700; }
.interview { border-bottom: 1px solid var(--line-soft); padding: 10px 0; }
.subform { margin-top: 10px; }
.subform--inline { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }
.subform--inline textarea { flex: 1; }
.note { border-bottom: 1px solid var(--line-soft); padding: 8px 0; }
.contact { padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0 0 14px; border-left: 2px solid var(--line-soft); }
.timeline li { padding: 4px 0 4px 14px; position: relative; font-size: 14px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 10px; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
details > summary.btn { list-style: none; display: inline-flex; }
details > summary.btn::-webkit-details-marker { display: none; }

/* ---- Dijeljeni CV ---- */
body.bare { background: var(--bg-soft); }
.sharebar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.sharedoc { display: flex; justify-content: center; padding: 20px; }
.sharedoc iframe { width: 820px; max-width: 100%; height: calc(100vh - 110px); min-height: 700px; border: 0; background: #fff; box-shadow: var(--shadow); }
@media (max-width: 560px) { .rem { flex-wrap: wrap; gap: 4px 12px; } .rem__title { flex-basis: 100%; order: -1; } .rem__when { min-width: 0; } }

/* Import page: a drop zone for the file, a tab for pasted text, and a progress view while the server works */
.imp { max-width: 720px; }
.imp-card { background: #fff; border: 1px solid var(--line-soft); border-radius: 14px; box-shadow: var(--shadow); padding: 24px; }
.imp-body { display: flex; flex-direction: column; gap: 18px; }
.imp-tabs { display: inline-flex; align-self: flex-start; gap: 4px; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 10px; }
.imp-tab { border: 0; background: transparent; padding: 7px 14px; border-radius: 7px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; }
.imp-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.imp-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 36px 20px; border: 2px dashed var(--blue-line); border-radius: 12px;
  background: linear-gradient(180deg, #fbfdff, var(--blue-soft)); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.imp-drop:hover { border-color: var(--blue); }
.imp-drop:focus-within { outline: 2px solid var(--blue); outline-offset: 2px; }
.imp-drop.is-over { border-color: var(--blue); border-style: solid; background: var(--blue-soft); transform: scale(1.01); }
.imp-drop__icon { width: 46px; height: 46px; color: var(--blue); margin-bottom: 4px; transition: transform .2s; }
.imp-drop.is-over .imp-drop__icon { transform: translateY(-4px); }
.imp-drop__title { font-weight: 600; font-size: 16px; color: var(--ink); }
.imp-drop__link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.imp-drop__hint { font-size: 13px; color: var(--muted); }
@media (hover: none) { .imp-drop__desktop { display: none; } .imp-drop__link { text-transform: capitalize; } }
.imp-file { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #fff; animation: imp-in .2s ease-out; }
.imp-file__badge { flex: none; width: 44px; height: 52px; border-radius: 6px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; letter-spacing: .04em; }
.imp-file__badge.is-docx { background: #2b5797; }
.imp-file__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.imp-file__info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.imp-file__info .muted { font-size: 13px; }
.imp-file__remove { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 18px; line-height: 1; cursor: pointer; color: var(--muted); }
.imp-file__remove:hover { background: var(--bad-soft); color: var(--bad); border-color: #f3c7c3; }
.imp-error { margin: 0; color: var(--bad); font-size: 14px; }
.imp-text { min-height: 220px; resize: vertical; }
.imp-submit { width: 100%; }
.imp-small { margin: 0; font-size: 13px; text-align: center; }
.imp-progress { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 18px 0 6px; text-align: center; animation: imp-in .25s ease-out; }
.imp-progress__title { margin: 0; font-size: 20px; }
/* A sheet of paper with text lines and a scan line moving over it */
.imp-scan { position: relative; width: 92px; height: 116px; border-radius: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 18px 14px; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.imp-scan span { display: block; height: 7px; border-radius: 4px; background: var(--blue-soft); animation: imp-line 1.8s ease-in-out infinite; }
.imp-scan span:nth-child(1) { width: 70%; background: var(--blue-line); } .imp-scan span:nth-child(2) { animation-delay: .15s; }
.imp-scan span:nth-child(3) { width: 85%; animation-delay: .3s; } .imp-scan span:nth-child(4) { animation-delay: .45s; } .imp-scan span:nth-child(5) { width: 60%; animation-delay: .6s; }
.imp-scan i { position: absolute; left: 0; right: 0; top: 0; height: 26px; background: linear-gradient(180deg, transparent, rgba(37,87,167,.22), transparent); animation: imp-scanline 1.8s ease-in-out infinite; }
.imp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; text-align: left; min-width: 260px; }
.imp-steps li { position: relative; padding-left: 32px; color: var(--muted); font-size: 15px; transition: color .2s; }
.imp-steps li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.imp-steps li.is-active { color: var(--ink); font-weight: 600; }
.imp-steps li.is-active::before { border-color: var(--blue-line); border-top-color: var(--blue); animation: imp-spin .8s linear infinite; }
.imp-steps li.is-done { color: var(--ink); }
.imp-steps li.is-done::before { border-color: var(--ok); background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
@keyframes imp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes imp-line { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes imp-scanline { 0% { transform: translateY(-30px); } 100% { transform: translateY(120px); } }
@keyframes imp-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .imp-scan span, .imp-scan i, .imp-steps li.is-active::before, .imp-file, .imp-progress { animation: none; } .imp-drop, .imp-drop__icon { transition: none; } }
@media (max-width: 560px) { .imp-card { padding: 18px 16px; } .imp-drop { padding: 28px 16px; } }
/* Language of the site: a small menu in the header */
.lang-menu { position: relative; }
.lang-menu summary { list-style: none; gap: 5px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary span { font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; box-shadow: var(--shadow); }
.lang-menu a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); font-size: 14px; }
.lang-menu a:hover { background: var(--blue-soft); text-decoration: none; }
.lang-menu a.is-active { font-weight: 700; color: var(--blue); }
/* Letter page on a phone: a button that jumps to the preview under the form, and back up again */
.letter-jump { display: none; }
@media (max-width: 900px) {
  .letter-jump { display: inline-flex; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; padding: 10px 16px;
    border-radius: 99px; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
  .letter-jump:hover { text-decoration: none; }
}
/* ATS check page: the optional job ad folds open, three short points under the form */
.imp-more { border: 1px solid var(--line-soft); border-radius: 10px; background: var(--bg-soft); padding: 12px 14px; }
.imp-more summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.imp-more summary .muted { font-weight: 400; }
.imp-more[open] summary { margin-bottom: 10px; }
.imp-more .imp-text { min-height: 160px; background: #fff; }
.ats-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0 0; }
.ats-point { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }   /* the icon above the text */
.ats-point__icon { flex: none; }
.ats-point h3 { margin: 0 0 4px; font-size: 15px; }
.ats-point p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .ats-points { grid-template-columns: 1fr; } }
/* Letter page: the short guide at the top of the form */
/* Our confirm dialog */
.modal-back { position: fixed; inset: 0; z-index: 200; background: rgba(20, 20, 30, .45); display: grid; place-items: center; padding: 16px; animation: modal-fade .15s ease-out; }
.modal-back.is-leaving { opacity: 0; transition: opacity .15s; }
.modal { width: 100%; max-width: 420px; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25); padding: 22px 22px 18px; animation: modal-in .18s ease-out; }
.modal__title { margin: 0 0 8px; font-size: 19px; }
.modal__text { margin: 0 0 20px; color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
.modal__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.btn--danger-solid { background: var(--bad); color: #fff; border-color: var(--bad); }
.btn--danger-solid:hover { background: #8f1f18; }
@keyframes modal-fade { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .modal-back, .modal { animation: none; } }
@media (max-width: 420px) { .modal__actions .btn { flex: 1; } }
/* AI allowance: the bar in the quota dialog and in the account settings */
.quota__bar { height: 8px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.quota__bar span { display: block; height: 100%; border-radius: inherit; background: var(--blue); }
.quota__bar.is-warn span { background: var(--warn); }
.quota__bar.is-full span { background: var(--bad); }
.quota__nums { margin: 6px 0 18px; font-size: 13px; }
.modal.quota .quota__bar span { background: var(--bad); }
/* Plan in the account settings: the monthly count of each feature */
.plan-uses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan-uses li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: 14px; }
.plan-uses .quota__bar { grid-column: 1 / -1; height: 6px; }
.plan-badge { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--line-soft); color: var(--ink); }
.plan-badge--pro { background: var(--blue); color: #fff; }
/* /admin/premium */
.adm-wrap { overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table td { padding: 12px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.adm-actions .input { width: auto; min-width: 120px; padding-top: 6px; padding-bottom: 6px; }
.adm-tag { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--line-soft); }
.adm-tag--on { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 640px) { .adm-table td { display: block; border: 0; padding: 4px 0; } .adm-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-soft); } .adm-actions { justify-content: flex-start; } }
.lf-note { margin: -6px 0 12px; font-size: 13px; }

/* Resume examples by job (/examples, /primjeri) */
.btn--block { width: 100%; }
.ex h1 { margin-bottom: 8px; }
.ex-search { max-width: 420px; margin: 0 0 28px; }
.ex-group { margin-bottom: 44px; }
.ex-group h2 { font-size: 20px; margin: 0 0 12px; }
.ex-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.ex-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink); text-decoration: none !important; }
.ex-card__img { display: block; aspect-ratio: 210 / 297; overflow: hidden; border-radius: 6px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1), 0 8px 24px rgba(0,0,0,.08); transition: transform .2s, box-shadow .2s; }
.ex-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.ex-card:hover .ex-card__img { transform: translateY(-3px); box-shadow: 0 2px 6px rgba(0,0,0,.12), 0 14px 32px rgba(0,0,0,.12); }
.ex-card__body { display: flex; flex-direction: column; gap: 6px; }
.ex-card__body strong { font-size: 21px; line-height: 1.25; }
.ex-card__body span { color: var(--text); font-size: 15px; line-height: 1.5; }
.ex-card:hover .ex-card__body strong { color: var(--blue); }
@media (max-width: 900px) { .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } .ex-card__body strong { font-size: 18px; } }
/* Phone: every job group is a row that scrolls sideways, the next card peeks in at the edge */
@media (max-width: 600px) {
  .ex-group { margin-bottom: 28px; }
  .ex-grid { display: flex; gap: 14px; overflow-x: auto; margin: 0 -20px; padding: 4px 20px 14px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ex-grid::-webkit-scrollbar { display: none; }
  .ex-grid > li { flex: 0 0 72%; scroll-snap-align: start; }
  .ex-grid > li[hidden] { display: none; }
  .ex-card { gap: 10px; }
  .ex-card__body strong { font-size: 17px; }
  .ex-card__body span { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
.ex-none { margin: 8px 0 24px; }
.ex-cta { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 12px; }
.ex-crumbs { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.ex-intro { max-width: 760px; }
.ex-top { display: grid; grid-template-columns: minmax(0, 640px) 320px; gap: 40px; align-items: start; margin-bottom: 36px; }
.ex-doc { position: relative; aspect-ratio: 210 / 297; max-width: 640px; width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: var(--shadow); }
.ex-doc iframe { position: absolute; top: 0; left: 0; width: 794px; height: 1123px; border: 0; transform-origin: 0 0; transform: scale(var(--s, .7)); pointer-events: none; }
.ex-side { position: sticky; top: 84px; display: grid; gap: 12px; }
.ex-side h2 { font-size: 18px; margin: 0; }
.ex-side p { margin: 0; }
.ex-side__links { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.ex-body { max-width: 780px; display: grid; gap: 30px; }
.ex-body h2 { font-size: 21px; margin: 0 0 12px; }
.ex-body h3 { font-size: 16px; margin: 0 0 6px; }
.ex-block { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 16px; background: #fff; margin-bottom: 10px; }
.ex-block p { margin: 0; }
.ex-block ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.ex-chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ex-chips li { background: var(--blue-soft); color: var(--blue-dark); border-radius: 16px; padding: 4px 12px; font-size: 14px; }
.ex-tips { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.ex-related { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
@media (max-width: 860px) {
  .ex-top { grid-template-columns: minmax(0, 1fr); }
  .ex-side { position: static; }
  .ex-block { flex-direction: column; }
}

/* Continue with Google / Apple */
/* Log-in page: one card, the email first (like the big job sites) */
.auth { max-width: 480px; margin: 0 auto; padding: 40px 16px 56px; }
.auth__card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; }
.auth__title { font-size: 24px; line-height: 1.25; margin: 0 0 6px; }
.auth__sub { font-size: 17px; color: var(--text); margin: 0 0 16px; }
.auth__legal { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.auth__legal a, .auth__check a { color: var(--blue); text-decoration: underline; }
.social { display: grid; gap: 12px; }
.social__btn { display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; min-height: 48px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; font-size: 16px; text-decoration: none !important; transition: background .15s, border-color .15s; }
.social__btn svg { position: absolute; left: 16px; }
.social__btn:hover { background: var(--bg-soft); border-color: #c9ced6; }
.auth__or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; margin: 22px 0 14px; }
.auth__or::before, .auth__or::after { content: ""; flex: 1; border-top: 1px solid var(--line-soft); }
.auth__req { font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.auth__label { display: block; font-weight: 700; font-size: 16px; margin: 0 0 6px; }
.auth__input { min-height: 48px; border-radius: 10px; font-size: 16px; margin-bottom: 14px; }
.auth__input[aria-invalid="true"] { border-color: var(--bad); }
.auth__error { color: var(--bad); font-size: 14px; margin: -8px 0 12px; }
.auth__go { width: 100%; min-height: 50px; border-radius: 10px; font-size: 17px; gap: 8px; margin-top: 4px; }
.auth__who { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin: 0 0 18px; color: var(--text); }
.auth__who span { font-weight: 600; overflow-wrap: anywhere; }
.auth__check { margin: 0 0 14px; }
.auth__links { text-align: center; margin: 14px 0 0; font-size: 14px; }
.auth__foot { text-align: center; font-size: 13px; margin: 16px 0 0; }
@media (max-width: 480px) { .auth { padding-top: 20px; } .auth__card { padding: 22px 16px; } .auth__title { font-size: 21px; } }

/* Comparison with other resume builders */
.cmp-table-wrap { overflow-x: auto; margin: 8px 0 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.cmp-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14.5px; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.cmp-table thead th { background: var(--bg-soft); font-size: 13px; color: var(--muted); font-weight: 700; }
.cmp-table tbody th { white-space: nowrap; font-weight: 700; }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-us { background: var(--blue-soft); }
.cmp-src { display: block; font-size: 12px; font-weight: 400; margin-top: 4px; }
.cmp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cmp-grid h2 { font-size: 20px; margin: 0 0 12px; }
.cmp-list { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }
.cmp-note { margin-top: 24px; }
@media (max-width: 760px) { .cmp-grid { grid-template-columns: minmax(0, 1fr); } }

/* Inside the resume editor (Cover letter and Matching tabs): no site header above, so the letter form sticks to the top */
.is-embed .letter-form { top: 0; height: 100vh; max-height: 100vh; }
.is-embed .letter-ed .ed-back { display: none; }
.is-embed main > .page { padding-top: 24px; }

/* Home page: the heading in the middle with the real editor under it, in a browser window */
.hero--centre { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); border-bottom: 0; overflow: hidden; }
.hero__in--centre { display: block; max-width: 1100px; padding: 64px 20px 0; text-align: center; }
.hero--centre h1 { font-size: 52px; max-width: 16em; margin: 0 auto 16px; }
.hero--centre p { margin: 0 auto 28px; max-width: 40em; }
.hero--centre .hero__starts { justify-content: center; margin: 0 auto; width: fit-content; }
.hero--centre .hero__proof { justify-content: center; }
.hero__shot { margin: 44px auto 0; border: 1px solid #d9dde3; border-bottom: 0; border-radius: 14px 14px 0 0; overflow: hidden; background: #fff; box-shadow: 0 24px 60px rgba(20, 40, 90, .16); }
.hero__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #f1f3f6; border-bottom: 1px solid #e2e5ea; }
.hero__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d5d9df; }
.hero__bar i:first-child { background: #ff6159; } .hero__bar i:nth-child(2) { background: #ffbd2e; } .hero__bar i:nth-child(3) { background: #28c941; }
.hero__bar span { flex: 1; max-width: 340px; margin: 0 auto; padding: 3px 10px; border-radius: 6px; background: #fff; color: var(--muted); font-size: 12px; text-align: center; }
.hero__shot img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) { .hero--centre h1 { font-size: 36px; } .hero__in--centre { padding-top: 40px; } .hero__shot { margin-top: 30px; border-radius: 10px 10px 0 0; } .hero__bar { height: 24px; } .hero__bar i { width: 8px; height: 8px; } .hero__bar span { font-size: 10px; padding: 1px 8px; } }

/* Home page: templates that stand for every look, in a row that slides (arrows on computers, a swipe on phones) */
.tpick { margin: 16px 0 56px; text-align: center; }
.tpick h2 { font-size: 34px; letter-spacing: -.01em; margin: 0 0 10px; }
.tpick__lead { max-width: 38em; margin: 0 auto 28px; color: var(--text); font-size: 16.5px; }
.tpick__wrap { position: relative; }
.tpick__row { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; text-align: left; }
.tpick__row::-webkit-scrollbar { display: none; }
.tpick__card { flex: 0 0 calc((100% - 3 * 28px) / 3.5); min-width: 0; scroll-snap-align: start; }
.tpick__img { position: relative; margin: 0; aspect-ratio: 210 / 297; border: 1px solid var(--line-soft); border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .06); transition: box-shadow .15s, transform .15s; }
.tpick__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpick__use { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; transition: opacity .15s; box-shadow: 0 6px 18px rgba(20, 40, 90, .3); }
.tpick__card:hover .tpick__img, .tpick__card:focus-within .tpick__img { box-shadow: 0 10px 28px rgba(20, 40, 90, .16); transform: translateY(-2px); }
.tpick__card:hover .tpick__use, .tpick__use:focus-visible { opacity: 1; }
.tpick__card h3 { margin: 16px 0 4px; font-size: 20px; }
.tpick__card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.tpick__arrow { position: absolute; top: calc(50% - 70px); z-index: 2; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: var(--shadow); color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.tpick__arrow:hover { border-color: var(--blue); color: var(--blue); }
.tpick__arrow:disabled { opacity: 0; pointer-events: none; }
.tpick__arrow--prev { left: -18px; } .tpick__arrow--next { right: 8px; }
@media (max-width: 1100px) { .tpick__card { flex-basis: calc((100% - 2 * 28px) / 2.5); } }
@media (max-width: 860px) { .tpick__card { flex-basis: calc((100% - 16px) / 2.3); } .tpick__row { gap: 16px; } .tpick h2 { font-size: 26px; } }
@media (max-width: 600px) { .tpick__card { flex-basis: 72%; } .tpick__arrow { display: none; } .tpick__use { opacity: 1; padding: 8px 14px; font-size: 14px; } }
.tpick__all { margin: 8px 0 0; font-weight: 600; }

/* Header: the Tools menu (opens on hover, or on a click for touch screens) */
.nav-tools { position: relative; display: flex; }
.nav-tools__btn { display: flex; align-items: center; gap: 6px; padding: 21px 0 19px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--ink); font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.nav-tools__panel { position: fixed; left: 50%; top: 64px; z-index: 60; display: none; width: min(1000px, calc(100vw - 32px)); transform: translateX(-50%); grid-template-columns: 1.15fr 1fr 1fr; padding: 22px 8px; background: #fff; border: 1px solid var(--line-soft); border-radius: 0 0 16px 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, .14); }
.nav-tools__main, .nav-tools__col { padding: 0 22px; }
.nav-tools__col { border-left: 1px solid var(--line-soft); }
.nav-tools__main { display: grid; gap: 4px; align-content: start; }
.nav-tools__col h3 { margin: 6px 0 12px; font-size: 18px; font-weight: 600; }
.nav-tools__item { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 14.5px; text-align: left; text-decoration: none !important; cursor: pointer; }
.nav-tools__item span { color: var(--muted); font-size: 20px; line-height: 1; }
.nav-tools__item:hover { color: var(--blue); }
.nav-tools__item:hover span { color: var(--blue); }
.nav-tools__all { display: inline-block; margin-top: 10px; color: var(--blue); font-size: 14px; text-decoration: underline; }
.nav-tools:hover .nav-tools__panel, .nav-tools.is-open .nav-tools__panel { display: grid; }
.nav-tools:hover .nav-tools__btn, .nav-tools.is-open .nav-tools__btn { border-bottom-color: var(--line); }
.nav-tools__panel form { margin: 0; }
.nav-tool { display: flex; align-items: flex-start; gap: 12px; width: 100%; padding: 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font: inherit; text-align: left; text-decoration: none !important; cursor: pointer; }
.nav-tool:hover { background: #f3f6fb; }
.nav-tool .hdr-app__ico { flex: none; }
.nav-tool strong { display: block; font-size: 16px; }
.nav-tool small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.4; }

/* Footer: dark, with columns of links (the first one is the same list as the Tools menu) */
.site-footer { margin-top: 48px; background: #0d1b33; color: #b9c3d6; font-size: 14px; }
.site-footer__cols { max-width: 1200px; margin: 0 auto; padding: 48px 20px 28px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.site-footer h2 { margin: 0 0 14px; color: #7f8ba3; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-footer nav a, .site-footer__link { display: block; width: auto; margin: 0 0 10px; padding: 0; border: 0; background: none; color: #fff; font: inherit; font-size: 14.5px; font-weight: 500; text-align: left; cursor: pointer; }
.site-footer nav form { margin: 0; }
.site-footer nav a:hover, .site-footer__link:hover { color: #9cc0ff; text-decoration: none; }
.site-footer__in { max-width: 1200px; margin: 0 auto; padding: 24px 20px 32px; border-top: 1px solid rgba(255, 255, 255, .12); display: grid; gap: 10px; }
.site-footer__logo svg { width: 92px; height: auto; display: block; }
.site-footer__logo path { fill: #fff; }
.site-footer__in p { margin: 0; color: #c9d2e3; line-height: 1.6; }
.site-footer__in span { color: #7f8ba3; font-size: 13px; }
@media (max-width: 1000px) { .site-footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .site-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .site-footer__cols { grid-template-columns: 1fr; gap: 22px; } }

/* Home page: the main tools, six in a grid */
.feats { margin: 64px 0; text-align: center; }
.feats h2, .exfind h2 { font-size: 32px; letter-spacing: -.01em; margin: 0 0 32px; }
.feats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; }
.feat { display: flex; flex-direction: column; align-items: center; max-width: 340px; margin: 0 auto; }
/* The illustrations (templates/partials/feat-art.php): they lift a little on hover, the ATS light scans the paper */
.feat__art { display: block; width: 132px; height: 110px; margin-bottom: 14px; filter: drop-shadow(0 10px 14px rgba(26, 26, 193, .14)); transition: transform .25s ease; }
.feat:hover .feat__art { transform: translateY(-4px); }
.feat__dot { transform-box: fill-box; transform-origin: center; transition: transform .25s ease; }
.feat:hover .feat__dot { transform: scale(1.35); }
.feat__scan { animation: feat-scan 3.2s ease-in-out infinite alternate; }
@keyframes feat-scan { from { transform: translateY(-18px); } to { transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) { .feat__scan { animation: none; } .feat__art, .feat__dot { transition: none; } }
.feat h3 { margin: 0 0 8px; font-size: 20px; }
.feat p { margin: 0; color: var(--text); line-height: 1.55; }
.feats__cta { margin-top: 40px; }
@media (max-width: 860px) { .feats__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 560px) { .feats__grid { grid-template-columns: 1fr; } .feats h2, .exfind h2 { font-size: 25px; } }

/* Home page: resume examples, a search by job title and the industries */
.exfind { margin: 64px 0; text-align: center; }
.exfind__search { position: relative; max-width: 100%; margin: 0 0 18px; }
.exfind__search > .ico { position: absolute; left: 18px; top: 17px; width: 20px; height: 20px; color: var(--blue); pointer-events: none; }
.exfind__search input { width: 100%; height: 54px; padding: 0 18px 0 50px; border: 1px solid var(--blue-line); border-radius: 10px; font-size: 16px; background: #fff; }
.exfind__search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.exfind__hits { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20; margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line-soft); border-radius: 10px; box-shadow: 0 12px 30px rgba(0, 0, 0, .12); text-align: left; }
.exfind__hits a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); }
.exfind__hits a:hover, .exfind__hits a.is-on { background: var(--blue-soft); text-decoration: none; }
.exfind__cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: left; }
.exfind__cat { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px; border-radius: 10px; background: #f6f8fc; color: var(--ink); font-weight: 600; font-size: 15px; }
.exfind__cat .ico { width: 24px; height: 24px; color: #8c96a8; flex: none; }
.exfind__cat:hover { background: var(--blue-soft); text-decoration: none; }
.exfind__cat:hover .ico { color: var(--blue); }
@media (max-width: 860px) { .exfind__cats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .exfind__cats { grid-template-columns: 1fr; } }

/* Pricing: Free and Premium side by side (home page and /pricing) */
.pricing { margin: 64px 0; text-align: center; }
.pricing h1, .pricing h2 { font-size: 36px; line-height: 1.15; margin: 0 0 10px; }
.pricing__sub { margin: 0 auto 32px; color: var(--muted); font-size: 17px; }
.pricing__plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 24px; text-align: left; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line-soft); border-radius: 16px; background: #fff; }
.plan--premium { border: 2px solid var(--blue); box-shadow: 0 14px 40px rgba(37, 99, 235, .12); }
.plan h3 { margin: 0 0 8px; font-size: 20px; }
.plan__badge { position: absolute; top: -13px; right: 24px; padding: 4px 12px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 12.5px; font-weight: 700; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 8px; }
.plan__price b { font-size: 44px; line-height: 1; }
.plan__price span { color: var(--muted); }
.plan__about { margin: 0 0 20px; color: var(--text); min-height: 3em; }
.plan form { margin: 0; }
.plan__cta { width: 100%; justify-content: center; }
.plan__cta:disabled { opacity: .6; cursor: default; }
.plan__list { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.plan__list li { display: flex; align-items: flex-start; gap: 10px; line-height: 1.45; }
.plan__list .ico { width: 18px; height: 18px; flex: none; margin-top: 1px; color: #16a34a; }
.plan__all { font-weight: 600; }
.pricing-page .pricing { margin-top: 24px; }
@media (max-width: 720px) { .pricing__plans { grid-template-columns: 1fr; } .pricing h1, .pricing h2 { font-size: 28px; } }

/* Frequently asked questions: on the home page (title on the left) and on their own page */
.faqbox { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; margin: 64px 0 0; padding: 48px; border-radius: 16px; background: #f4f5f7; }
.faqbox h2 { font-size: 38px; line-height: 1.15; margin: 0 0 22px; }
.faq { display: grid; gap: 6px; }
.faq__item { border: 1px solid transparent; border-radius: 12px; }
.faq__item[open] { background: #fff; border-color: var(--line-soft); box-shadow: 0 6px 20px rgba(0, 0, 0, .06); }
.faq__item summary { display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before { content: "▾"; flex: none; width: 14px; color: var(--muted); font-size: 13px; transition: transform .15s; transform: rotate(-90deg); }
.faq__item[open] summary::before { transform: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__item p { margin: 0; padding: 0 18px 16px 44px; color: var(--text); line-height: 1.6; }
/* FAQ page: the heading and the questions in the middle of the page */
.faqpage { max-width: 860px; margin-left: auto; margin-right: auto; }
.faqpage > h1, .faqpage > .lead { text-align: center; }
.faq--page { max-width: none; margin-top: 32px; }
.faq--page .faq__item { border-color: var(--line-soft); }
@media (max-width: 860px) { .faqbox { grid-template-columns: 1fr; padding: 28px 18px; gap: 18px; } .faqbox h2 { font-size: 28px; margin-bottom: 14px; } .faq__item p { padding-left: 18px; } }

/* About page */
.about { max-width: 1200px; margin: 0 auto; padding: 0 20px 24px; }
.about__hero { max-width: 820px; margin: 0 auto; padding: 64px 0 36px; text-align: center; }
.about__eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.about__hero h1 { margin: 0 0 16px; font-size: 44px; line-height: 1.12; }
.about__lead { margin: 0; color: var(--text); font-size: 19px; line-height: 1.6; }
.about__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 8px 0 56px; }
.about__stats div { padding: 22px; border-radius: 14px; background: #f4f6fb; text-align: center; }
.about__stats b { display: block; font-size: 34px; line-height: 1.1; color: var(--ink); }
.about__stats span { color: var(--muted); font-size: 14.5px; }
.about__family { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 36px 40px; border-radius: 16px; background: #0d1b33; color: #c9d2e3; }
.about__family h2 { margin: 0 0 10px; color: #fff; font-size: 26px; }
.about__family p { margin: 0 0 8px; max-width: 720px; line-height: 1.6; }
.about__family .btn { flex: none; background: #fff; color: #0d1b33; border-color: #fff; }
.about__sec { margin: 64px 0 0; }
.about__sec > h2 { margin: 0 0 24px; font-size: 30px; text-align: center; }
.about__who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about__who div { padding: 22px; border: 1px solid var(--line-soft); border-radius: 14px; }
.about__who h3 { margin: 0 0 8px; font-size: 17px; }
.about__who p { margin: 0; color: var(--text); line-height: 1.55; font-size: 14.5px; }
.about__values { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; max-width: 900px; margin: 0 auto; }
.about__values div { display: flex; gap: 12px; align-items: flex-start; }
.about__values .ico { flex: none; width: 22px; height: 22px; margin-top: 2px; color: #16a34a; }
.about__values p { margin: 0; color: var(--text); line-height: 1.6; }
.about__cta { margin: 72px 0 0; padding: 48px 24px; border-radius: 16px; background: var(--blue-soft); text-align: center; }
.about__cta h2 { margin: 0 0 8px; font-size: 30px; }
.about__cta p { margin: 0 0 22px; color: var(--text); }
.about__cta .btn-row { justify-content: center; }
.about__cta form { margin: 0; }
@media (max-width: 900px) { .about__stats, .about__who { grid-template-columns: 1fr 1fr; } .about__family { flex-direction: column; align-items: flex-start; } }
@media (max-width: 560px) { .about__hero h1 { font-size: 32px; } .about__lead { font-size: 17px; } .about__values { grid-template-columns: 1fr; } .about__family { padding: 28px 22px; } .about__sec > h2, .about__cta h2 { font-size: 25px; } }

/* Interview preparation */
.iv-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.iv__q { font-size: 18px; line-height: 1.35; margin: 10px 0 8px; }
.iv__why, .iv__tip { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.iv__answer { margin-top: 12px; background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: 8px; padding: 10px 14px; }
.iv__answer summary { font-weight: 600; cursor: pointer; }
.iv__answer p { margin: 8px 0 0; line-height: 1.55; }
.iv__check { color: var(--warn); font-size: 13px; }
.iv-ask { margin: 0; padding: 16px 16px 16px 36px; line-height: 1.6; }

/* Europass page */
.ep-frame { background: #eceae8; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.ep-frame iframe { display: block; width: 100%; max-width: 820px; height: 1160px; margin: 0 auto; border: 0; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
/* "Premium" next to a feature (Tools menu, dialogs): the same pill as "Coming soon" on the pricing cards */
.nav-tool__pro, .premium-tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11.5px; font-style: normal; font-weight: 700; line-height: 1.5; vertical-align: 1px; }
.modal .premium-tag { margin: 0 0 10px; }
.buy-form { display: inline; margin: 0; }
.plan__note { max-width: 760px; margin: 18px auto 0; color: var(--muted); font-size: 13px; text-align: center; }
/* Settings -> Usage */
.usage-item { display: grid; gap: 8px; }
.usage-item h2 { margin: 0; font-size: 17px; }
.usage-item p { margin: 0; }
.usage-item .quota__bar { height: 10px; }
