/* ZIP.ba — generator CV-a (1.13.0). Obrazac je kao „Objavi posao” (site.css); ovdje samo ono što je novo. */

.form-intro .crumbs { padding: 0 0 12px; }
#cvForm .field { align-content: start; }
#cvForm .grid2 { margin-bottom: 14px; }
.cv-grid3 > .field:last-child { margin-bottom: 14px; }
#cvForm .grid2:last-child { margin-bottom: 0; }
.cv-help { margin: -6px 0 12px; }
.notice .link, .small-print .link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }

/* Poslovi i škole: kartica po stavci */
.cv-items { display: grid; gap: 12px; margin-bottom: 12px; }
.cv-item { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 6px; background: #fafbfc; }
.cv-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.cv-item-head b { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cv-item-head .link { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13.5px; padding: 4px; }
.cv-item-head .link:hover { color: var(--red-ink); }
.cv-items .cv-item:only-child .cv-item-head .link { display: none; }
.cv-grid3 { display: grid; gap: 0 12px; grid-template-columns: 1fr 1fr; }
.cv-grid3 > :first-child { grid-column: 1 / -1; }
.cv-item .field textarea { min-height: 84px; }

/* Fotografija */
.cv-photo { display: flex; align-items: center; gap: 12px; }
.cv-photo input { flex: 1; min-width: 0; }
.cv-photo-prev { width: 54px; height: 72px; border-radius: 10px; background: var(--well); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--faint); }
.cv-photo-prev img { width: 100%; height: 100%; object-fit: cover; }

/* Izgled i boja */
.cv-designs { display: grid; gap: 10px; margin-bottom: 16px; }
.cv-design { position: relative; display: flex; gap: 14px; align-items: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.cv-design:hover { border-color: #c9ced8; }
.cv-design:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255, 212, 0, .55); }
.cv-design input { position: absolute; opacity: 0; pointer-events: none; }
.cv-design > span:last-child { display: grid; gap: 2px; }
.cv-design b { font-size: 16px; }
.cv-design small { color: var(--muted); font-size: 13.5px; }
.cv-design:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Mala skica izgleda (boja prati izbor ispod: --cv) */
.cv-mini { --cv: #ffd400; position: relative; flex: none; width: 66px; height: 88px; border-radius: 6px; background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-1); }
.cv-mini i { position: absolute; display: block; border-radius: 2px; }
.cv-mini.moderni .a { left: 0; right: 0; top: 0; height: 22px; background: var(--cv); border-radius: 0; }
.cv-mini.moderni .b { left: 0; top: 22px; bottom: 0; width: 22px; background: color-mix(in srgb, var(--cv) 16%, #fff); border-radius: 0; }
.cv-mini.moderni .c { left: 28px; right: 6px; top: 30px; height: 4px; background: #c9ced8; }
.cv-mini.moderni .d { left: 28px; right: 14px; top: 40px; height: 4px; background: #dfe3e9; }
.cv-mini.moderni .e { left: 28px; right: 10px; top: 50px; height: 4px; background: #dfe3e9; }
.cv-mini.klasicni .a { left: 7px; right: 26px; top: 8px; height: 6px; background: #1a1d24; }
.cv-mini.klasicni .b { left: 7px; right: 7px; top: 22px; height: 2px; background: var(--cv); }
.cv-mini.klasicni .c { left: 7px; right: 10px; top: 30px; height: 4px; background: #c9ced8; }
.cv-mini.klasicni .d { left: 7px; right: 18px; top: 40px; height: 4px; background: #dfe3e9; }
.cv-mini.klasicni .e { left: 7px; right: 14px; top: 50px; height: 4px; background: #dfe3e9; }
.cv-colors { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-color { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; cursor: pointer; font-size: 14px; font-weight: 600; }
.cv-color input { position: absolute; opacity: 0; pointer-events: none; }
.cv-color span { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.cv-color:has(input:checked) { border-color: var(--ink); }
.cv-color:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.cv-actions { display: grid; gap: 10px; margin-top: 4px; }

@media (min-width: 640px) {
  .cv-grid3 { grid-template-columns: 2fr 1fr 1fr; }
  .cv-grid3 > :first-child { grid-column: auto; }
  .cv-designs { grid-template-columns: 1fr 1fr; }
  .cv-actions { grid-template-columns: auto auto; justify-content: start; }
}
