/* Strane naloga na sajtu (prijava, zahtev za nalog, lozinka, moj nalog) — važi za svaku temu, koristi njene boje ako ih ima */
.acc { max-width: 620px; margin: 24px auto 48px; }
.acc h2 { font-size: 1.1rem; margin: 18px 0 8px; }
.acc-form { display: grid; gap: 14px; background: var(--paper, #fff); border: 1px solid var(--line, #dde4e8); border-radius: var(--radius, 10px); padding: 20px; }
.acc-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.acc-form input:not([type=checkbox]), .acc-form textarea {
    font: inherit; font-weight: 400; width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 8px;
    border: 1px solid var(--line, #c9d3da); background: var(--bg, #fff); color: var(--ink, #17232c); }
.acc-form input:focus-visible, .acc-form textarea:focus-visible { outline: 3px solid var(--accent, #e07a1f); outline-offset: 1px; }
.acc-form .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 600; }
.acc-row { display: grid; gap: 14px; }
@media (min-width: 640px) { .acc-row { grid-template-columns: 1fr 1fr; } }
.acc-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.acc-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.acc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.acc-msg { padding: 12px 14px; border-radius: 8px; border: 1px solid; }
.acc-msg.ok { background: rgba(25, 135, 84, .08); border-color: rgba(25, 135, 84, .4); }
.acc-msg.err { background: rgba(220, 53, 69, .08); border-color: rgba(220, 53, 69, .45); }
.acc-links { margin-top: 16px; }
.acc-card { background: var(--paper, #fff); border: 1px solid var(--line, #dde4e8); border-radius: var(--radius, 10px); padding: 16px 20px; margin-bottom: 16px; }
.acc-members { margin: 0; padding-left: 20px; }
.acc-inline { display: inline; }
.acc-inline .btn { cursor: pointer; font: inherit; font-weight: 600; }
.nav .nav-account { white-space: nowrap; }

/* napomena o registraciji (22/10/2026) */
.acc-note { background: #f3f7fb; border-left: 4px solid var(--accent, #0a6ebd); padding: 12px 14px; margin: 0 0 18px; font-size: .95rem; line-height: 1.5; }
.acc-note a { font-weight: 700; overflow-wrap: anywhere; }

/* obaveštenja (faza 1, 29/10/2026): push na uređaju, želje po vrsti, uređaji */
.acc-link { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.acc-link:hover strong, .acc-link:focus-visible strong { text-decoration: underline; }
.acc-back { margin: 0 0 6px; }
.acc-push-state { font-weight: 600; }
.acc-push-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.acc-push-btns .btn, .acc-prefs .btn, .acc-devices .btn { cursor: pointer; font: inherit; font-weight: 600; }
.acc-prefs table { width: 100%; border-collapse: collapse; margin: 8px 0 14px; }
.acc-prefs th { font-size: .85rem; text-align: center; padding: 6px 4px; white-space: nowrap; }
.acc-prefs td { padding: 10px 4px; border-top: 1px solid var(--line, #dde4e8); vertical-align: top; }
.acc-prefs td + td { text-align: center; width: 64px; }
.acc-prefs input[type=checkbox] { width: 20px; height: 20px; }
.acc-devices { list-style: none; margin: 0; padding: 0; }
.acc-devices li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line, #dde4e8); }
.acc-devices li:first-child { border-top: 0; }
.acc-this { font-size: .8rem; background: rgba(25, 135, 84, .12); color: #146c43; border-radius: 10px; padding: 1px 8px; }
.btn.small { padding: 4px 10px; font-size: .85rem; }
.small { font-size: .85rem; }
.acc [hidden] { display: none !important; } /* tema daje .btn display — sakriveno dugme mora ostati sakriveno */
/* Moj nalog → Zahtevi (faza 2, 29/10/2026) */
.acc-rq fieldset { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.acc-rq legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.acc-rq .btn, .acc-rq-list .btn { cursor: pointer; font: inherit; font-weight: 600; }
.acc-rq-list { list-style: none; margin: 0; padding: 0; }
.acc-rq-list li { padding: 10px 0; border-top: 1px solid var(--line, #dde4e8); display: grid; gap: 4px; overflow-wrap: anywhere; }
.acc-rq-list li:first-child { border-top: 0; }
.acc-rq-list .acc-inline { margin-top: 4px; }
.acc-rq-st { display: inline-block; font-size: .8em; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.acc-rq-st.pending { color: #8a5a00; background: rgba(255, 193, 7, .15); border-color: rgba(255, 193, 7, .6); }
.acc-rq-st.approved { color: #146c43; background: rgba(25, 135, 84, .1); border-color: rgba(25, 135, 84, .45); }
.acc-rq-st.rejected { color: #b02a37; background: rgba(220, 53, 69, .08); border-color: rgba(220, 53, 69, .45); }
.acc-rq-st.cancelled { color: inherit; opacity: .7; }
.acc-rq .acc-check > span { min-width: 0; flex: 1 1 auto; white-space: normal; overflow-wrap: anywhere; }
/* Moj nalog → Uplatnice (faza 3, 29/10/2026) */
.acc-slip-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.acc-slip-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; border-bottom: 1px dashed var(--line, #dde4e8); }
.acc-slip-lines li span:last-child { white-space: nowrap; font-weight: 600; }
.acc-slip-body { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.acc-slip-body dl { margin: 0; flex: 1 1 240px; min-width: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; }
.acc-slip-body dt { color: var(--muted, #6c757d); }
.acc-slip-body dd { margin: 0; overflow-wrap: anywhere; }
.acc-slip-body .mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.acc-slip-body .big { font-size: 1.15em; font-weight: 700; }
.acc-qr { margin: 0; text-align: center; flex: 0 0 auto; max-width: 100%; }
.acc-qr svg { width: 220px; max-width: 100%; height: auto; display: block; margin: 0 auto 4px; }
@media (max-width: 420px) { .acc-slip-body dl { grid-template-columns: 1fr; gap: 0 0; } .acc-slip-body dd { margin-bottom: 6px; } }
/* Pomoć za roditelje (faza 5, 29/10/2026) */
.acc-help { float: right; margin: 0 0 8px 12px; font-size: .9rem; }
.acc-help a { display: inline-block; padding: 4px 12px; border: 1px solid var(--line, #dde4e8); border-radius: 999px; text-decoration: none; }
.help .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.help-search { display: flex; gap: 8px; margin: 0 0 20px; flex-wrap: wrap; }
.help-search input { flex: 1 1 220px; min-width: 0; padding: 10px 12px; font: inherit; border: 1px solid var(--line, #c9d3da); border-radius: 8px; }
.help-search .btn, .help-fb .btn { cursor: pointer; font: inherit; font-weight: 600; }
.help-topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.help-topics .acc-card { margin: 0; }
.help-list { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.help-list li { overflow-wrap: anywhere; }
.help-answer { overflow-wrap: anywhere; }
.help-answer ul, .help-answer ol { padding-left: 1.2em; }
.help-answer li { margin-bottom: 6px; }
.help-fb-q { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

/* Prijave za takmičenja (01/11/2026) */
.acc-ce-cond { margin: .25rem 0 .75rem; padding-left: 1.1rem; }
.acc-ce-members { list-style: none; margin: .75rem 0 0; padding: 0; }
.acc-ce-members > li { border-top: 1px solid rgba(0, 0, 0, .1); padding: .75rem 0; }
.acc-ce-members .acc-rq-head { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.acc-ce-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: flex-end; margin-top: .5rem; }
.acc-ce-form label { flex: 1 1 14rem; min-width: 0; margin: 0; }
.acc-ce-form input[type=text] { width: 100%; }
.acc-ce-btns { display: flex; flex-wrap: wrap; gap: .4rem; }
.acc-ce-qs { flex: 1 1 100%; }
.acc-ce-q { display: block; border: 0; padding: 0; margin: 0 0 .6rem; }
.acc-ce-q legend { font-weight: 600; margin-bottom: .2rem; }
.acc-ce-q input[type=text] { width: 100%; }
.acc-ce-disc { margin-top: .4rem; }
.acc-ce-disc ul { margin: .2rem 0 0; padding-left: 1.1rem; }

/* Profil (01/11/2026): slika, isečak u krugu */
.acc-pf-row { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.acc-pf-cur img, .acc-pf-ini { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; border: 1px solid #dfe6ea; }
.acc-pf-ini { background: hsl(var(--av-h, 200) 55% 40%); color: #fff; font-size: 2rem; font-weight: 700; }
.acc-pf-crop { display: grid; gap: 10px; justify-items: center; margin: 4px 0 12px; }
.acc-pf-canvas { width: min(280px, 100%); aspect-ratio: 1; border-radius: 50%; touch-action: none; cursor: grab; box-shadow: 0 0 0 4px #e6ecf0; background: #f3f6f8; }
.acc-pf-canvas:active { cursor: grabbing; }
.acc-pf-tools { display: flex; gap: 10px; align-items: center; width: min(280px, 100%); }
.acc-pf-tools input[type=range] { flex: 1; }
.acc-pf-tools .btn { padding: 6px 12px; font-size: 1.1rem; line-height: 1; }

/* Poruke (01/11/2026): kartice, nepročitano */
.acc-tabs { display: flex; gap: 6px; border-bottom: 2px solid #e6ecf0; margin: 0 0 16px; flex-wrap: wrap; }
.acc-tabs a { padding: 10px 14px; text-decoration: none; color: #4a5a66; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.acc-tabs a[aria-current] { color: #0a6c9a; border-bottom-color: #0a6c9a; }
.acc-n { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #d62839; color: #fff; font-size: .72rem; line-height: 20px; text-align: center; }
.acc-readall { margin: 0 0 12px; }
.acc-mi { padding: 0; }
.acc-mi > summary { list-style: none; cursor: pointer; display: flex; gap: 10px; align-items: baseline; padding: 14px 16px; flex-wrap: wrap; }
.acc-mi > summary::-webkit-details-marker { display: none; }
.acc-mi-dot { width: 9px; height: 9px; border-radius: 50%; background: transparent; flex-shrink: 0; align-self: center; }
.acc-mi.unread .acc-mi-dot { background: #d62839; }
.acc-mi.unread .acc-mi-s { font-weight: 700; }
.acc-mi-s { flex: 1; min-width: 12em; }
.acc-mi-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.acc-mi > .acc-mi-body, .acc-mi > p, .acc-mi-q, .acc-mi-a { margin: 0 16px 14px; }
.acc-mi-a { border-left: 3px solid #0a6c9a; padding-left: 12px; }
.acc-new > summary { cursor: pointer; padding: 2px 0; }
.acc-new[open] > summary { margin-bottom: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acc-pf-ini.acc-av-ph { position: relative; overflow: visible; background: #dfe7ec; place-items: end center; }
.acc-pf-ini.acc-av-ph svg { width: 88%; height: 88%; fill: #9aabb7; border-radius: 0 0 50% 50%; }
.acc-pf-ini .acc-dd-warn { position: absolute; width: 28px; height: 28px; line-height: 28px; font-size: 1rem; bottom: 0; right: 0; }

/* Porudžbine (P2) */
.acc-order-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.acc-st { margin-left: auto; padding: 3px 10px; border-radius: 12px; font-size: .78rem; font-weight: 700; background: #e7f0f6; color: #0a5a80; }
.acc-st-potvrdjena, .acc-st-narucena { background: #e7f0f6; color: #0a5a80; }
.acc-st-spremna, .acc-st-stigla { background: #e3f4ea; color: #1b6b3a; }
.acc-st-preuzeta { background: #eceff1; color: #4a5a66; }
.acc-st-otkazana, .acc-st-odbijena, .acc-st-reklamacija { background: #fde8ea; color: #9b1c2c; }
.acc-order-items { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 6px; }
.acc-order-items li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed #e6ecf0; padding-bottom: 6px; }
.acc-order-total { text-align: right; margin: 6px 0; }
.acc-pay { margin: 6px 0; padding: 8px 12px; border-radius: 6px; background: #f3f6f8; font-size: .92rem; }
.acc-pay.due { background: #fff1d6; }
.acc-complain { margin: 8px 0; }
.acc-complain > summary { cursor: pointer; font-weight: 600; color: #9b1c2c; }

/* Pločice sa svim stavkama menija profila (Profil i Moj nalog, 04/11/2026) */
.acc-tiles { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin: 0 0 20px; }
.acc-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 108px; padding: 16px 10px;
    background: var(--paper, #fff); border: 1px solid var(--line, #dde4e8); border-radius: var(--radius, 10px); color: inherit; text-decoration: none; text-align: center;
    font-weight: 700; font-size: .95rem; line-height: 1.25; transition: border-color .15s, box-shadow .15s, transform .15s; }
.acc-tile svg { width: 30px; height: 30px; color: var(--accent, #0a6c9a); }
.acc-tile:hover, .acc-tile:focus-visible { border-color: var(--accent, #0a6c9a); box-shadow: 0 6px 18px rgba(1, 28, 44, .1); transform: translateY(-2px); outline: none; }
.acc-tile.is-on { border-color: var(--accent, #0a6c9a); box-shadow: inset 0 -3px 0 var(--accent, #0a6c9a); }
.acc-tile-n { position: absolute; top: 8px; right: 8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #d62839; color: #fff; font-size: .75rem; line-height: 22px; box-sizing: border-box; }
@media (max-width: 480px) { .acc-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .acc-tile { min-height: 96px; font-size: .9rem; } }
@media (prefers-reduced-motion: reduce) { .acc-tile { transition: none; } .acc-tile:hover { transform: none; } }
.acc-pf-ini.acc-av-ini { position: relative; overflow: visible; width: 96px; height: 96px; font-size: 2rem; border: 0; box-shadow: none; } /* inicijali umesto slike (04/11/2026) */
.acc-pf-ini .acc-dd-warn { bottom: 2px; right: 2px; width: 24px; height: 24px; line-height: 24px; font-size: .9rem; }

/* Traka „Podešenost naloga“ i provera podataka dece (04/11/2026) */
.acc-ap { clear: both; background: var(--paper, #fff); border: 1px solid var(--line, #dde4e8); border-radius: var(--radius, 10px); padding: 14px 18px; margin: 0 0 16px; }
.acc-ap.is-done { border-color: #b7e0c4; background: #f3fbf5; }
.acc-ap-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.acc-ap-top h2 { margin: 0; font-size: 1.05rem; }
.acc-ap-pct { font-size: 1.25rem; color: var(--accent, #0a6c9a); }
.acc-ap.is-done .acc-ap-pct { color: #1f8a4c; }
.acc-ap-bar { height: 10px; border-radius: 5px; background: #e6ecf0; overflow: hidden; margin: 8px 0 10px; }
.acc-ap-bar span { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #0a6c9a, #2adefd); transition: width .4s; }
.acc-ap.is-done .acc-ap-bar span { background: #1f8a4c; }
.acc-ap-msg { margin: 0 0 6px; font-size: .92rem; }
.acc-ap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 16px; font-size: .92rem; }
.acc-ap-list li { display: flex; gap: 8px; align-items: baseline; }
.acc-ap-list li.is-done { color: #5b6b77; }
.acc-ap-ok { color: #1f8a4c; font-weight: 800; }
.acc-ap-no { color: #c62828; font-weight: 800; }
.acc-ap-m { border-top: 1px solid var(--line, #dde4e8); padding: 12px 0 4px; }
.acc-ap-m:first-of-type { border-top: 0; }
.acc-ap-m h3 { margin: 0 0 6px; font-size: 1rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.acc-ap-chk { font-size: .8rem; font-weight: 600; color: #1f8a4c; }
.acc-ap-chk.is-old { color: #a15c00; }
.acc-ap-dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 10px; font-size: .92rem; }
.acc-ap-dl dt { color: #5b6b77; }
.acc-ap-dl dd { margin: 0; overflow-wrap: anywhere; }
.acc-ap-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.acc-ap-change { flex: 1 1 260px; }
.acc-ap-change > summary { list-style: none; display: inline-block; cursor: pointer; }
.acc-ap-change > summary::-webkit-details-marker { display: none; }
.acc-ap-change[open] > summary { margin-bottom: 8px; }
.acc-inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; }
.acc-inline-form label { flex: 1 1 220px; }
@media (max-width: 480px) { .acc-ap-dl { grid-template-columns: 1fr; gap: 0 0; } .acc-ap-dl dd { margin-bottom: 6px; } }
@media (prefers-reduced-motion: reduce) { .acc-ap-bar span { transition: none; } }
.acc .btn-outline { background: transparent; color: var(--accent, #0a6c9a); box-shadow: inset 0 0 0 2px currentColor; }
.acc-pay-instr { white-space: pre-line; margin: 4px 0 8px; } /* uputstvo za plaćanje porudžbine (v3) */
