/* ===============================
   Layout samo za e-učenje stranice
   (body_class = ucenje-body)
   =============================== */

:root {
    --as-blue: #417690;
    --as-blue-dark: #2f596b;
    --as-blue-deep: #2a4a58;
    --as-yellow: #f5dd5d;
    --as-red: #ba2121;
    --as-green: #2f8f5b;
    --as-page: #f4f7f9;
    --as-panel: #ffffff;
    --as-line: #dfe7eb;
    --as-text: #22313a;
    --as-muted: #60707a;
    --as-radius: 8px;
    --as-shadow: 0 1px 2px rgba(26, 45, 56, .08), 0 10px 24px rgba(26, 45, 56, .08);
}

.ucenje-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--as-page);
    color: var(--as-text);
}

.ucenje-body>.site-header {
    flex-shrink: 0;
}

/* Glavni sadržaj: kolona centrirana, fiksna širina unutra */
.ucenje-body>.site-main {
    flex: 1 0 auto;
    box-sizing: border-box;
    margin-top: 0;
    padding: 24px 16px 0;
    /* bez donjeg paddinga, traka naleže na footer */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Sve unutar site-main (poruke, forma sa pitanjem, izveštaj...)
   ima istu širinu – "polje za pitanje" */
.ucenje-body>.site-main>* {
    width: 960px;
    max-width: 100%;
}

.ucenje-body>.site-footer {
    flex-shrink: 0;
}

/* ===============================
   Header za e-učenje (2 trake, stil kao admin)
   =============================== */

/* Sam header (dvobojni bar) */
body>header.site-header {
    background: #3c728b !important;
    margin-bottom: 0;
    border-bottom: none;
}

/* Gornja traka – brand (tekst + logo) */
body>header.site-header .site-header-top {
    background: transparent !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    height: 54px;
    box-sizing: border-box;
}

/* logo + naslov skroz levo (kao footer) */
.ucenje-body .site-header-top {
    max-width: none;
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
}

/* Donja traka — navigacija (Početna / Admin / Učenje / Pitanja...)
   Ide od ivice do ivice */
body>header.site-header .site-header-nav {
    background: #2a4a58 !important;
    color: #ffffff !important;
    display: flex;
    align-items: center;

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 8px 16px;
    box-sizing: border-box;
}

/* Linkovi u donjoj traci */
.site-header .nav {
    display: flex;
    gap: 12px;
    padding: 0;
}

.site-header-nav .nav a {
    color: #ffffff !important;
    text-decoration: none;
    font-size: .95rem;
}

.site-header-nav .nav a:hover {
    text-decoration: underline;
}

/* Naslov "Pitanja za teorijski ispit" */
.ucenje-nav-title {
    color: #ffffff;
    font-weight: 650;
    font-size: 1rem;
    white-space: nowrap;
}

/* ===============================
   E-učenje — stranica Pitanje
   =============================== */

/* Gornja traka pitanja:
   levo: Pitanje X/N + info, desno: timer + obeležavanje */
.ucenje-question-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
}

.ucenje-question-left {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.ucenje-question-right {
    display: flex;
    flex-direction: row;
    /* checkbox i sat u istom redu */
    align-items: center;
    gap: 8px;
}

/* malo očistimo marginu da ne gura gore/dole */
.oznaci-pitanje {
    margin-top: 0;
    text-align: left;
}

.oznaci-pitanje label {
    font-size: .95rem;
}

.q-head {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Brojač pitanja i sat – plava pločica + UNUTRAŠNJA bela linija */

.ucenje-body .q-head-main,
.ucenje-body .q-timer {
    background-color: #3c728b;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 1.6rem;
    font-weight: 600;
    box-sizing: border-box;
    display: inline-block;

    position: relative;
    /* za pseudo-element ispod */
}

/* Sat – fiksna širina da se ne širi kad vreme raste */
.ucenje-body .q-timer {
    width: 120px;
    /* po potrebi 110/130 */
    text-align: center;
}

/* Unutrašnja bela linija, uvučena ~2px ka unutra */
.ucenje-body .q-head-main::after,
.ucenje-body .q-timer::after {
    content: "";
    position: absolute;
    inset: 3px;
    /* uvučeno sa svih strana (oko 1 mm na ekranu) */
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 7px;
    /* malo manji radius da prati oblik */
    pointer-events: none;
    /* da ne smeta klikovima */
}

.q-head-info {
    font-size: .95rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.q-head-info em {
    font-style: italic;
    color: #555;
}

/* SREDIŠNJI BLOK – tekst + odgovori + objašnjenje */

.q-main-block {
    margin-top: 8px;
    padding-top: 4px;
    border-bottom: 1px solid #eee;
}

/* da duge reči / URL-ovi ne šire blok */
.q-main-block .q-text,
.q-main-block .q-option span {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.q-text {
    margin-bottom: 10px;
}

/* Slike u pitanjima (vežba + simulacija) – smanjene + ram */
.ucenje-body img.q-image {
    max-width: 520px !important;
    /* širina slike */
    max-height: 360px !important;
    width: auto !important;
    height: auto !important;

    /* RAM oko slike */
    padding: 4px;
    /* razmak između slike i rama */
    background: #ffffff;
    /* bela pozadina unutar rama */
    border: 2px solid #b0b8c1;
    /* malo jači, sivkast okvir */
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    /* blaga senka da iskoči */

    display: block;
    margin-top: 8px;
    object-fit: contain;
}

/* Na mobilnom dozvolimo malo šire */
@media (max-width: 640px) {
    .ucenje-body img.q-image {
        max-width: 100% !important;
        max-height: 220px !important;
    }
}



/* Opcije (odgovori) */

.q-options {
    margin-top: 4px;
}

/* Svaka opcija kao jedan blok u kojem je input levo, tekst desno */
.q-option {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 6px 0;
    padding: 6px 8px;
    border-radius: 6px;
    transition:
        background-color .15s ease,
        border-left-color .15s ease;
}

.q-option input {
    margin-top: 3px;
}

.q-option span {
    flex: 1;
}

/* Bojenje odgovora kada se prikazuje rešenje */
.q-option-correct {
    background-color: #e6ffed;
    border-left: 4px solid #19a974;
}

.q-option-wrong-selected {
    background-color: #ffecec;
    border-left: 4px solid #e74c3c;
}

/* Feedback poruke */
.q-feedback {
    margin-top: 8px;
}

.q-feedback-bad {
    color: #c62828;
}

/* Panel objašnjenja */
.q-objasnjenje-panel {
    display: none;
    /* JS ga pali/gasi */
    margin-top: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
}

/* ===============================
   Navigaciona dugmad (Prethodno / Sledeće / Objašnjenje / Izveštaj / Izlaz)
   – svetlosiva traka koja naleže na footer
   =============================== */

.nav-dugmad {
    margin-top: 24px;
    margin-bottom: 0;
    padding: 8px 12px;
    background: #fafafa;
    /* svetlosiva traka */
    border-top: 1px solid #ddd;
    border-radius: 8px 8px 0 0;
    /* blago zaobljen vrh trake */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    /* levo / centar / desno */
    gap: 8px;
    box-sizing: border-box;
}

/* grupe dugmadi u traci */
.nav-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.nav-group-left {
    justify-content: flex-start;
}

.nav-group-center {
    justify-content: center;
}

.nav-group-right {
    justify-content: flex-end;
}

/* Pojedinačna dugmad */

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    min-height: 38px;
    border-radius: 6px;
    border: none;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    font-weight: 500;
    color: #fff;
    transition:
        background-color .15s ease,
        transform .1s ease;
    appearance: none;
}

.nav-btn-primary {
    background-color: #3879ce;
}

.nav-btn-primary:hover {
    background-color: #366a9b;
}

.nav-btn-exit {
    background-color: #c0392b;
}

.nav-btn-exit:hover {
    background-color: #a03226;
}

.nav-btn-secondary {
    background-color: #27ae60;
}

.nav-btn-secondary:hover {
    background-color: #1d924e;
}

/* Žuto dugme "Izveštaj" */
.nav-btn-report {
    background-color: #f5dd5d;
    color: #2a2a2a;
}

.nav-btn-report:hover {
    background-color: #e2ca49;
}

.nav-btn:active {
    transform: translateY(1px);
}

.nav-arrow {
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

/* ===============================
   Vežba završena i druga dugmad
   =============================== */

.ucenje-btn-secondary {
    background: #777 !important;
    margin-left: 8px;
}

/* ===============================
   Izveštaj
   =============================== */

.report-summary {
    margin-bottom: 10px;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.report-table th,
.report-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

/* Sva polja osim prve kolone centrirana */
.report-table th:not(:first-child),
.report-table td:not(:first-child) {
    text-align: center;
}

.report-table thead {
    background: #f4f7f9;
}

.report-table th {
    font-weight: 600;
}

.report-table tfoot td {
    font-weight: 600;
    background: #f9fafb;
}

/* Ikonice u izveštaju */
.report-icon {
    display: inline-block;
    min-width: 18px;
    text-align: center;
    font-size: 1rem;
}

.report-icon-ok {
    color: #2e7d32;
}

.report-icon-bad {
    color: #c62828;
}

.report-icon-skip {
    color: #555;
}

/* Značka za obeleženo pitanje (samo simbol) */
.report-icon-flag {
    color: #f5dd5d;
}

/* Rezultat u tabeli "Moji rezultati" ispod 85% — crveno */
.rez-nizak {
    color: #c62828;
    font-weight: 600;
}

/* Akciona dugmad u "Moji rezultati" – razmak između njih */
.rez-akcije {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* ===============================
   Liste oblasti/podoblasti
   =============================== */

.ucenje-title {
    margin-bottom: 8px;
}

.ucenje-list {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 0;
}

.ucenje-item {
    margin: 6px 0;
}

.ucenje-item a {
    text-decoration: none;
    font-weight: 600;
    color: #1f4f7a;
}

.ucenje-item a:hover {
    text-decoration: underline;
}

.ucenje-item-meta {
    color: #666;
    font-size: .9rem;
    margin-left: 4px;
}

.ucenje-item-empty {
    color: #666;
    font-style: italic;
}

/* ===============================
   Footer samo za ucenje-stranice
   =============================== */

.ucenje-body .site-footer {
    background-color: #3c728b;
    color: #ffffff;
    text-align: left;
    padding: 4px 0;
    /* visina footera na ucenje stranicama */
    border-top: 1px solid #eee;
}

.ucenje-body .site-footer p {
    margin: 0;
}

.ucenje-body .site-footer .container {
    max-width: none;
    margin: 0;
    padding-left: 16px;
    padding-right: 16px;
}

/* ===============================
   Header brand specifično za ucenje-body
   =============================== */

.ucenje-body .site-header .brand {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 0px 0;
    font-size: 1.7rem;
    font-weight: 300;
    text-decoration: none;
    color: #f5dd5d !important;
    /* žućkasta i "pregazi" sve ostalo */
}

.ucenje-body .site-header .brand-logo {
    display: inline-block;
    height: 30px;
    width: auto;
    vertical-align: middle;
}

/* ===============================
   Traka sa dugmadima ponaša se kao gornji deo footera
   =============================== */

/* Formu na stranici sa pitanjem razvlačimo u kolonu,
   a nav-dugmad guramo na dno forme (samim tim i na dno site-main).
   Footer je odmah ispod – traka + footer su uvek zajedno. */
.ucenje-body>.site-main>form {
    display: flex;
    flex-direction: column;
    flex: 1 0 auto;
}

/* Ovo gura sivu traku sa dugmadima na dno forme / sadržaja,
   pa ona nalegne na footer, bez praznog prostora između. */
.ucenje-body>.site-main>form .nav-dugmad {
    margin-top: auto;
    /* pregazi margin-top:24px gore i spusti traku na dno */
}

/* ===========================
   Navigacija / user meni
   =========================== */

.site-header-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* tri kolone: levo, centar, desno */
.nav-left,
.nav-center,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}

/* levo: Početna/Admin/Učenje */
.nav-left {
    justify-content: flex-start;
}

/* centar: naslov */
.nav-center {
    justify-content: center;
}

/* desno: korisnik */
.nav-right {
    justify-content: flex-end;
    gap: 12px;
}

/* linkovi levo i desno – BELO u headeru */
.nav-left a,
.nav-right a {
    text-decoration: none;
    font-weight: 500;
    color: #ffffff !important;
}

.nav-left a:hover,
.nav-right a:hover {
    text-decoration: underline;
}

/* Pozdrav levo od linkova (Ćao, admin!) */
.nav-user-greeting {
    font-size: 0.9rem;
    opacity: 0.9;
    color: #ffffff;
}

/* Sekundarni linkovi (Prijava / Moji rezultati / Odjava) */
.nav-link-secondary {
    font-size: 0.9rem;
}

/* Forma za odjavu da stoji u liniji, bez viška margina */
.nav-logout-form {
    margin: 0;
}

/* Dugme za odjavu izgleda kao običan link u headeru */
.nav-logout-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #ffffff !important;
    cursor: pointer;
    text-decoration: none;
}

.nav-logout-button:hover {
    text-decoration: underline;
}

/* Osnovni stil za generička .btn dugmad (koriste se npr. na login formi) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 14px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-sm {
    padding: 5px 12px;
    font-size: 0.85rem;
}

/* ===========================
   Auth / Login stranica
   =========================== */

.ucenje-auth-wrapper {
    min-height: calc(100vh - 140px);
    /* da se odvoji od header+footer */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.ucenje-auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 28px 24px 24px;
}

.ucenje-auth-card h1 {
    font-size: 1.6rem;
    margin: 0 0 6px;
    text-align: center;
}

.auth-subtitle {
    margin: 0 0 20px;
    text-align: center;
    color: #555;
    font-size: 0.95rem;
}

.auth-alert {
    background: #f3f3f3;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    border: 1px solid #e0e0e0;
}

.auth-alert-error {
    background: #ffe5e5;
    border-color: #ffb3b3;
    color: #a80000;
}

.auth-info {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-row label {
    font-weight: 600;
    font-size: 0.9rem;
}

.form-row input[type="text"],
.form-row input[type="password"] {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 8px 10px;
    font-size: 0.95rem;
}

.form-row input[type="text"]:focus,
.form-row input[type="password"]:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.2);
}

/* Primarno dugme kao u e-učenju */
.btn-primary {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background: #0b5ed7;
    border-color: #0b5ed7;
}

.auth-submit {
    margin-top: 8px;
    width: 100%;
}

.auth-links {
    margin-top: 14px;
    text-align: center;
    font-size: 0.9rem;
}

.auth-links a {
    color: #0d6efd;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-footer-link {
    margin-top: 18px;
    text-align: center;
    font-size: 0.85rem;
}

.auth-footer-link a {
    color: #555;
    text-decoration: none;
}

.auth-footer-link a:hover {
    text-decoration: underline;
}

/* ===========================
   Jezički switcher u headeru
   =========================== */

/* Omotač za dropdown */
.nav-lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    font-size: 0.8rem;
}

/* Trenutni jezik (npr. SR + strelica) – bez pozadine/kutije */
.nav-lang-current {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    /* bez paddinga = nema "kutije" */
    border: none;
    /* bez okvira */
    background: transparent;
    /* bez pozadine */
    cursor: pointer;
    font: inherit;
    color: #fff;
    /* bela slova da se vide u headeru */
}

/* Mala strelica (obrnuti trougao) pored oznake jezika */
.nav-lang-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #fff;
    /* bela strelica, bez box-a */
}

/* Padajući meni sa jezicima */
.nav-lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 4px;
    min-width: 90px;
    padding: 4px 0;
    background: #417690;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 50;
}

/* Prikaz menija na hover / focus */
.nav-lang-switch:hover .nav-lang-menu,
.nav-lang-switch:focus-within .nav-lang-menu {
    display: block;
}

/* Linkovi unutar dropdowna */
.nav-lang-menu .nav-link-secondary {
    display: block;
    padding: 4px 10px;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    color: #fff;
    /* bela slova unutra */
}

/* Hover stanje za stavke u meniju */
.nav-lang-menu .nav-link-secondary:hover {
    background: #222;
}

/* (opciono) naglašavanje aktivnog jezika u listi */
.nav-lang-menu .nav-link-secondary.is-active {
    font-weight: 600;
    background: #222;
}


/* (opciono) naglašavanje aktivnog jezika u listi */
.nav-lang-menu .nav-link-secondary.is-active {
    font-weight: 600;
    background: #222;
}

/* =========================================================
   OBJAŠNJENJE + REFERENCA (UI polish)
   - samo izgled (ne menja logiku)
   ========================================================= */

/* Panel objašnjenja (odvojen od odgovora) */
.q-objasnjenje-panel {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px dashed #ddd;
}

/* Glavni tekst objašnjenja */
.explanation-text {
    font-size: 0.95rem;
    line-height: 1.55;
    color: #2f2f2f;
    margin: 0 0 8px 0;
}

/* Wrap oko reference/citata */
.explanation-ref-wrap {
    margin-top: 6px;
}

/* Link "Referenca" */
.law-reference {
    color: #1a73e8;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    outline: none;
}

/* Ikonica ispred reference */
.law-reference::before {
    content: "▸";
    display: inline-block;
    font-size: 0.95em;
    transform: translateY(-0.5px);
    transition: transform 0.2s ease;
}

/* Rotacija strelice kad je otvoreno */
.law-reference[aria-expanded="true"]::before {
    transform: rotate(90deg) translateY(-0.5px);
}

/* Hover/Focus (pristupačno) */
.law-reference:hover {
    text-decoration: underline;
}

.law-reference:focus {
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.18);
    border-radius: 6px;
}

/* Kutija zakonskog citata (izgleda kao "blockquote") */
.law-citation {
    margin-top: 4px;
    padding: 6px 8px;
    border-left: 4px solid #1a73e8;
    background: #f8f9fb;
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
    border-radius: 6px;
    white-space: normal;
    /* čuva nove redove iz DB/JSON-a */
}

/* KLJUČ: sakrivanje citata kad je hidden */
.law-citation.hidden {
    display: none !important;
}

/* Ako negde ima globalna .hidden, neka bude sigurno */
.hidden {
    display: none !important;
}

/* <details> stil (ako ikad dođe HTML/accordion format u citatu) */
.law-citation details {
    background: transparent;
}

/* Summary kao link */
.law-citation summary {
    cursor: pointer;
    font-weight: 600;
    color: #1a73e8;
    list-style: none;
    margin: 0 0 6px 0;
    outline: none;
}

/* Sakrij default marker */
.law-citation summary::-webkit-details-marker {
    display: none;
}

/* Custom strelica u summary */
.law-citation summary::before {
    content: "▸";
    display: inline-block;
    margin-right: 6px;
    transition: transform 0.2s ease;
}

.law-citation details[open] summary::before {
    transform: rotate(90deg);
}

/* Unutar details-a */
.law-citation details p {
    margin: 6px 0;
}

.law-citation details ul {
    margin: 6px 0 0 18px;
}

.law-citation details li {
    margin: 4px 0;
}

/* Opcionalno: badge (radi samo ako ubaciš <span class="law-badge">ZOBS</span>) */
.law-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    background: #eef3ff;
    color: #1a73e8;
    margin-left: 8px;
    transform: translateY(-1px);
}

/* Print stil */
@media print {
    .q-objasnjenje-panel {
        display: block !important;
        border-top: 1px solid #bbb;
    }

    .law-reference {
        color: #000 !important;
        text-decoration: none !important;
    }

    .law-reference::before {
        content: "" !important;
    }

    .law-citation {
        background: transparent !important;
        border-left: 3px solid #000 !important;
        border-radius: 0 !important;
    }

    .law-citation.hidden,
    .hidden {
        display: block !important;
    }

    .nav-dugmad,
    #btn-objasnjenje,
    .oznaci-pitanje,
    .q-timer {
        display: none !important;
    }
}

/* Bonus: Blagi akcenat za "negativan" feedback */
.q-feedback.q-feedback-bad {
    margin-top: 10px;
    padding: 8px 12px;
    border-left: 4px solid #d93025;
    background: #fff4f4;
    border-radius: 6px;
}


/* ===========================
   Dvojezični prikaz pitanja
   =========================== */

.q-text-help {
    margin-top: 6px;
    color: #5f6b75;
    font-size: 0.98rem;
    line-height: 1.5;
}

.q-option-help {
    margin-top: 4px;
    color: #5f6b75;
    font-size: 0.9rem;
    line-height: 1.45;
}

.nav-lang-switch-help .nav-lang-current {
    opacity: 0.95;
}

.nav-lang-switch-help .nav-lang-menu {
    min-width: 110px;
}

/* =========================================================
   Auto skola visual refresh for e-learning and auth pages
   ========================================================= */

.ucenje-body a {
    color: var(--as-blue-dark);
}

.ucenje-body a:hover {
    color: #223f4c;
}

body>header.site-header {
    box-shadow: 0 2px 8px rgba(0, 0, 0, .14);
}

body>header.site-header .site-header-top {
    min-height: 54px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body>header.site-header .site-header-nav {
    min-height: 42px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.ucenje-body .site-header .brand {
    letter-spacing: 0;
}

.ucenje-body .site-header .brand span {
    line-height: 1.1;
}

.nav-left a,
.nav-right a,
.nav-logout-button,
.nav-lang-current {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
}

.ucenje-body .nav-left {
    display: none;
}

.ucenje-body .nav-center {
    justify-content: flex-start;
}

.nav-left a,
.nav-right a {
    border-radius: 6px;
}

.nav-left a:hover,
.nav-right a:hover,
.nav-logout-button:hover {
    color: var(--as-yellow) !important;
    text-decoration: none;
}

.nav-lang-current:focus,
.nav-left a:focus,
.nav-right a:focus,
.nav-logout-button:focus {
    outline: 2px solid rgba(245, 221, 93, .6);
    outline-offset: 3px;
}

.nav-lang-menu {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 0 0 var(--as-radius) var(--as-radius);
    overflow: hidden;
}

.ucenje-title,
.ucenje-body h2 {
    margin: 0 0 14px;
    color: #22313a;
    font-weight: 700;
    letter-spacing: 0;
}

.ucenje-title {
    font-size: clamp(1.35rem, 1.1rem + .7vw, 1.9rem);
    line-height: 1.2;
}

.ucenje-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
}

.ucenje-item {
    margin: 0;
    border: 1px solid var(--as-line);
    border-radius: var(--as-radius);
    background: var(--as-panel);
    box-shadow: 0 1px 1px rgba(26, 45, 56, .04);
    overflow: hidden;
}

.ucenje-item a {
    display: block;
    padding: 14px 16px 6px;
    color: #284d5d;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.ucenje-item a:hover {
    background: #f8fbfd;
    color: #1e3e4c;
    text-decoration: none;
}

.ucenje-item-link {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
}

.ucenje-item-number {
    flex: 0 0 auto;
}

.ucenje-item-title {
    min-width: 0;
}

.ucenje-item-details {
    margin: 0 16px 8px 40px;
    color: #344b5d;
    font-size: .98rem;
    line-height: 1.45;
}

.ucenje-item-details summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 2px 0;
    color: #2f6f8f;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.ucenje-item-details summary::-webkit-details-marker {
    display: none;
}

.ucenje-item-details summary::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid currentColor;
    transition: transform .16s ease;
}

.ucenje-item-details[open] summary::before {
    transform: rotate(90deg);
}

.ucenje-item-detail-text {
    margin-top: 4px;
    padding: 10px 12px;
    border-left: 3px solid #d6e3ea;
    border-radius: 6px;
    background: #f8fbfd;
    color: #274458;
}

.ucenje-item-meta {
    display: block;
    margin: 0;
    padding: 0 16px 14px;
    color: var(--as-muted);
    font-size: .88rem;
}

.ucenje-item-empty {
    padding: 16px;
    color: var(--as-muted);
}

.ucenje-simulacija-link {
    margin: 18px 0 0;
}

.ucenje-back-actions {
    margin: 18px 0 0;
}

.ucenje-simulacija-btn,
.sim-start-btn,
.ucenje-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: var(--as-radius);
    background: var(--as-blue);
    border: 1px solid var(--as-blue);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .08);
}

.ucenje-simulacija-btn:hover,
.sim-start-btn:hover,
.ucenje-back-btn:hover {
    background: var(--as-blue-dark);
    border-color: var(--as-blue-dark);
    color: #fff !important;
    text-decoration: none;
}

.ucenje-question-bar,
.q-main-block,
.report-summary,
.sim-wrapper {
    background: var(--as-panel);
    border: 1px solid var(--as-line);
    border-radius: var(--as-radius);
    box-shadow: 0 1px 2px rgba(26, 45, 56, .06);
}

.ucenje-question-bar {
    padding: 12px 14px;
    margin-bottom: 12px;
}

.q-main-block {
    margin-top: 0;
    padding: 16px;
    border-bottom: 1px solid var(--as-line);
}

.q-text p {
    margin-top: 0;
    font-size: 1.05rem;
    line-height: 1.55;
}

.q-option {
    border: 1px solid #e8eef2;
    background: #fbfcfd;
    padding: 10px 12px;
    border-radius: var(--as-radius);
}

.q-option:hover {
    background: #f6fafc;
    border-color: #cfe0e7;
}

.q-option input {
    accent-color: var(--as-blue);
}

.q-option-correct {
    background-color: #edf8f1;
    border-color: #bfdfcc;
    border-left: 4px solid var(--as-green);
}

.q-option-wrong-selected {
    background-color: #fff1f1;
    border-color: #efc5c5;
    border-left: 4px solid var(--as-red);
}

.ucenje-body .q-head-main,
.ucenje-body .q-timer {
    background: var(--as-blue);
    border-radius: var(--as-radius);
}

.q-head-info {
    color: var(--as-text);
}

.q-head-info em,
.q-text-help,
.q-option-help {
    color: var(--as-muted);
}

.oznaci-pitanje label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #354b56;
}

.nav-dugmad {
    background: #eef3f6;
    border: 1px solid var(--as-line);
    border-bottom: none;
}

.nav-btn {
    border-radius: 6px;
    border: 1px solid transparent;
    font-weight: 700;
    min-height: 40px;
    letter-spacing: 0;
}

.nav-btn-primary,
.btn-primary {
    background: var(--as-blue);
    border-color: var(--as-blue);
}

.nav-btn-primary:hover,
.btn-primary:hover {
    background: var(--as-blue-dark);
    border-color: var(--as-blue-dark);
}

.nav-btn-secondary {
    background: var(--as-green);
    border-color: var(--as-green);
}

.nav-btn-secondary:hover {
    background: #247448;
    border-color: #247448;
}

.nav-btn-exit {
    background: var(--as-red);
    border-color: #8c1212;
}

.nav-btn-exit:hover {
    background: #a41515;
    border-color: #7a0f0f;
}

.nav-btn-report {
    background: var(--as-yellow);
    border-color: #d7bf3e;
    color: #22313a;
}

.report-summary {
    padding: 14px 16px;
    line-height: 1.65;
}

.report-table {
    background: var(--as-panel);
    border: 1px solid var(--as-line);
    border-radius: var(--as-radius);
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(26, 45, 56, .05);
}

.report-table th {
    background: #eef3f6;
    color: #284d5d;
}

.report-table th,
.report-table td {
    border-bottom: 1px solid var(--as-line);
}

.report-table a {
    font-weight: 700;
    text-decoration: none;
}

.report-table a:hover {
    text-decoration: underline;
}

.sim-wrapper {
    padding: 22px;
    margin-bottom: 28px;
}

.sim-description {
    margin: 12px 0 8px;
    font-size: 1rem;
    line-height: 1.55;
}

.sim-note,
.sim-preview-note {
    color: var(--as-muted);
}

.sim-start-form {
    margin: 18px 0 24px;
}

.sim-divider {
    margin: 24px 0 20px;
    border: none;
    border-top: 1px solid var(--as-line);
}

.sim-preview-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.sim-preview-item {
    padding: 12px;
    border-radius: var(--as-radius);
    border: 1px solid var(--as-line);
    background: #f8fbfd;
}

.sim-preview-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.sim-preview-label {
    font-weight: 700;
    color: #284d5d;
}

.sim-preview-meta {
    color: var(--as-muted);
    font-size: .82rem;
}

.sim-preview-text {
    line-height: 1.5;
}

.ucenje-auth-wrapper {
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 46px 16px 36px;
}

.ucenje-auth-card {
    width: 100%;
    max-width: 460px;
    padding: 0;
    overflow: hidden;
    background: var(--as-panel);
    border: 1px solid var(--as-line);
    border-radius: var(--as-radius);
    box-shadow: var(--as-shadow);
}

.ucenje-auth-card.auth-card-wide {
    max-width: 620px;
}

.auth-card-heading {
    padding: 18px 22px;
    background: var(--as-blue);
    color: #fff;
}

.auth-kicker {
    margin: 0 0 4px;
    color: var(--as-yellow);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.auth-card-heading h1,
.ucenje-auth-card h1 {
    margin: 0;
    color: #fff;
    text-align: left;
    font-size: 1.45rem;
    line-height: 1.2;
    font-weight: 650;
}

.auth-card-body {
    padding: 22px;
}

.auth-subtitle {
    margin: 0 0 18px;
    color: var(--as-muted);
    text-align: left;
    line-height: 1.5;
}

.auth-alert {
    border-radius: var(--as-radius);
    border: 1px solid #dfe7eb;
    background: #f5f8fa;
    color: #28404c;
}

.auth-alert-error,
.auth-alert.error {
    background: #fff1f1;
    border-color: #efc5c5;
    color: #8c1212;
}

.auth-alert-success,
.auth-alert.success {
    background: #edf8f1;
    border-color: #bfdfcc;
    color: #23613d;
}

.auth-form {
    gap: 14px;
}

.auth-form .form-row {
    margin: 0;
}

.ucenje-auth-card .form-row label {
    color: #2b3f49;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
    width: 100%;
    border-radius: 6px;
    border: 1px solid #cbd8de;
    padding: 10px 11px;
    font-size: 1rem;
    color: #22313a;
    background: #fff;
}

.form-row input[type="text"]:focus,
.form-row input[type="email"]:focus,
.form-row input[type="password"]:focus,
.form-row input[type="tel"]:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--as-blue);
    box-shadow: 0 0 0 3px rgba(65, 118, 144, .18);
}

.auth-submit {
    min-height: 42px;
    margin-top: 6px;
    border-radius: 6px;
}

.auth-links,
.auth-footer-link,
.auth-alt-action {
    text-align: center;
    color: var(--as-muted);
}

.auth-alt-action {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--as-line);
    font-size: .92rem;
}

.auth-links a,
.auth-footer-link a,
.auth-alt-action a {
    color: var(--as-blue-dark);
    font-weight: 700;
    text-decoration: none;
}

.auth-links a:hover,
.auth-footer-link a:hover,
.auth-alt-action a:hover {
    text-decoration: underline;
}

.auth-help {
    color: var(--as-muted);
    font-size: .86rem;
    margin-top: 4px;
}

.errorlist {
    margin: 6px 0 0;
    padding-left: 18px;
    color: #8c1212;
    font-size: .9rem;
}

@media (max-width: 640px) {
    .ucenje-body>.site-main {
        padding: 14px 10px 0;
    }

    .ucenje-title {
        font-size: 1.35rem;
    }

    .ucenje-item a {
        padding: 13px 14px 6px;
    }

    .ucenje-item-meta {
        padding: 0 14px 13px;
    }

    .ucenje-question-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 10px;
    }

    .ucenje-question-left,
    .ucenje-question-right,
    .q-head {
        width: 100%;
    }

    .q-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ucenje-question-right {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .ucenje-body .q-head-main,
    .ucenje-body .q-timer {
        font-size: 1.15rem;
        padding: 7px 12px;
    }

    .ucenje-body .q-timer {
        width: 112px;
    }

    .q-main-block {
        padding: 12px;
    }

    .q-text p {
        font-size: 1rem;
    }

    .q-option {
        padding: 11px 10px;
    }

    .nav-dugmad {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
        border: 1px solid var(--as-line);
        border-radius: var(--as-radius) var(--as-radius) 0 0;
    }

    .nav-group {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .nav-btn,
    .btn {
        width: 100%;
        min-height: 44px;
    }

    .report-summary {
        padding: 12px;
    }

    .report-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }

    .report-table th,
    .report-table td {
        padding: 8px 10px;
    }

    .sim-wrapper {
        padding: 16px 12px 18px;
    }

    .sim-start-btn,
    .ucenje-simulacija-btn {
        width: 100%;
        min-height: 44px;
        text-align: center;
    }

    .sim-preview-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ucenje-auth-wrapper {
        min-height: auto;
        padding: 18px 10px 24px;
    }

    .ucenje-auth-card {
        max-width: 100%;
    }

    .auth-card-heading,
    .auth-card-body {
        padding: 18px 16px;
    }

    .auth-card-heading h1,
    .ucenje-auth-card h1 {
        font-size: 1.3rem;
    }
}

/* =========================================================
   Admin-aligned header/footer refresh
   ========================================================= */

.ucenje-body {
    background: #f7f9fb;
}

.ucenje-body>.site-main {
    padding-top: 36px;
}

body>header.site-header {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-bottom: 1px solid #d7e2ea;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06);
}

body>header.site-header .site-header-top {
    width: 100%;
    max-width: none;
    min-height: 58px;
    height: auto;
    margin: 0;
    padding: 10px 22px;
    background: #ffffff !important;
    border-bottom: 1px solid #e3ebf1;
    box-sizing: border-box;
}

.ucenje-body .site-header .brand {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 14px;
    padding: 0;
    color: #1f2937 !important;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.2;
}

.ucenje-body .site-header .brand::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: #cc2424;
    box-shadow: 0 0 0 4px rgba(204, 36, 36, .12);
    flex: 0 0 auto;
}

.ucenje-body .site-header .brand-main,
.ucenje-body .site-header .brand-main:visited {
    color: #1f2937 !important;
    text-decoration: none;
}

.ucenje-body .site-header .brand-main:hover {
    color: #0f172a !important;
    text-decoration: none;
}

body>header.site-header .site-header-nav {
    width: 100%;
    max-width: none;
    min-height: 54px;
    margin: 0;
    padding: 0 22px;
    background: #eef4f8 !important;
    color: #0b3853 !important;
    border-bottom: 1px solid #d7e2ea;
    box-shadow: none;
    box-sizing: border-box;
}

.site-header-nav {
    gap: 16px;
}

.ucenje-nav-title {
    color: #0b3853;
    font-size: 18px;
    font-weight: 500;
}

.nav-right {
    gap: 14px;
}

.nav-user-greeting {
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.nav-left a,
.nav-right a,
.nav-logout-button,
.nav-lang-current {
    color: #0b3853 !important;
    font-weight: 650;
}

.nav-left a:hover,
.nav-right a:hover,
.nav-logout-button:hover,
.nav-lang-current:hover {
    color: #2f596b !important;
    text-decoration: underline;
}

.nav-lang-current {
    min-height: 34px;
}

.nav-lang-caret {
    border-top-color: #0b3853;
}

.nav-lang-menu {
    right: 0;
    margin-top: 7px;
    background: #ffffff;
    border: 1px solid #cbd8de;
    border-radius: 7px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .15);
}

.nav-lang-menu .nav-link-secondary {
    color: #0b3853 !important;
    padding: 7px 11px;
}

.nav-lang-menu .nav-link-secondary:hover {
    color: #ffffff !important;
    background: #417690;
    text-decoration: none;
}

.ucenje-body .site-footer {
    background: #ffffff;
    color: #64748b;
    border-top: 1px solid #d7e2ea;
    box-shadow: 0 -1px 2px rgba(16, 24, 40, .03);
    padding: 10px 0;
}

.ucenje-body .site-footer .container {
    max-width: none;
    margin: 0;
    padding: 0 22px;
}

.ucenje-body .site-footer small {
    font-size: 13px;
}

/* =========================================================
   Auth card aligned with admin white header
   ========================================================= */

.ucenje-auth-card {
    border: 1px solid #d7e2ea;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 18px 34px rgba(15, 23, 42, .08);
}

.auth-card-heading {
    background: #ffffff;
    color: #1f2937;
    border-bottom: 1px solid #e3ebf1;
    padding: 22px 28px 18px;
}

.auth-kicker {
    color: #417690;
    letter-spacing: .03em;
}

.auth-card-heading h1,
.ucenje-auth-card h1 {
    color: #1f2937;
}

.auth-card-body {
    padding: 26px 28px 28px;
}

.auth-subtitle {
    color: #526575;
}

@media (max-width: 640px) {

    .auth-card-heading,
    .auth-card-body {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* =========================================================
   Admin-like utility row and breadcrumb row
   ========================================================= */

body>header.site-header .site-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-header-tools {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-left: auto;
}

.site-header-tools .nav-lang-switch {
    margin-right: 0;
}

.site-header-tools .nav-user-greeting,
.site-header-tools .nav-link-secondary,
.site-header-tools .nav-logout-button,
.site-header-tools .nav-lang-current {
    color: #64748b !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.site-header-tools .nav-link-secondary,
.site-header-tools .nav-logout-button {
    min-height: auto;
}

.site-header-tools .nav-link-secondary:hover,
.site-header-tools .nav-logout-button:hover,
.site-header-tools .nav-lang-current:hover {
    color: #0b3853 !important;
    text-decoration: none;
}

.site-header-tools .nav-lang-current {
    min-height: auto;
}

.site-header-tools .nav-lang-caret {
    border-top-color: #64748b;
}

body>header.site-header .site-header-nav {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    background: #eef4f8 !important;
}

.site-header-nav .nav-center {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-width: 0;
}

.ucenje-breadcrumb-home,
.ucenje-breadcrumb-separator,
.ucenje-nav-title {
    color: #0b3853;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.ucenje-breadcrumb-home {
    white-space: nowrap;
}

.ucenje-breadcrumb-separator {
    color: #7a8b97;
}

.ucenje-nav-title {
    white-space: normal;
}

/* =========================================================
   Auth forms: clean white card style
   ========================================================= */

.ucenje-auth-wrapper {
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 46px 16px 38px;
}

.ucenje-auth-card {
    width: 100%;
    max-width: 526px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

.ucenje-auth-card.auth-card-wide {
    max-width: 620px;
}

.auth-card-heading {
    padding: 42px 30px 10px;
    text-align: center;
    background: #ffffff;
    color: #000000;
    border-bottom: 0;
}

.auth-kicker {
    display: none;
}

.auth-card-heading h1,
.ucenje-auth-card h1 {
    margin: 0;
    color: #000000;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
}

.auth-card-body {
    padding: 14px 30px 34px;
}

.auth-subtitle {
    max-width: 460px;
    margin: 0 auto 28px;
    color: #26374a;
    font-size: 18px;
    line-height: 1.45;
    text-align: center;
}

.auth-form {
    gap: 20px;
}

.ucenje-auth-card .form-row label {
    margin-bottom: 7px;
    color: #000000;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.ucenje-auth-card .form-row input,
.ucenje-auth-card .form-row select,
.ucenje-auth-card .form-row textarea {
    min-height: 44px;
    padding: 10px 12px;
    color: #111827;
    background: #ffffff;
    border: 1px solid #c9cdd3;
    border-radius: 10px;
    font-size: 17px;
    line-height: 1.35;
    box-shadow: none;
}

.ucenje-auth-card .form-row input:focus,
.ucenje-auth-card .form-row select:focus,
.ucenje-auth-card .form-row textarea:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .22);
    outline: 0;
}

.ucenje-auth-card .btn-primary,
.auth-submit {
    min-height: 48px;
    margin-top: 8px;
    background: #0d6efd;
    border-color: #0d6efd;
    border-radius: 999px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    box-shadow: none;
}

.ucenje-auth-card .btn-primary:hover,
.ucenje-auth-card .btn-primary:focus,
.auth-submit:hover,
.auth-submit:focus {
    background: #0b5ed7;
    border-color: #0a58ca;
    color: #ffffff;
}

.auth-links {
    margin-top: 20px;
    text-align: center;
}

.auth-alt-action {
    margin-top: 18px;
    padding-top: 0;
    border-top: 0;
    color: #526071;
    font-size: 17px;
    text-align: center;
}

.auth-footer-link {
    margin-top: 18px;
    text-align: center;
}

.auth-links a,
.auth-alt-action a,
.auth-footer-link a {
    color: #0d6efd;
    font-weight: 400;
}

.auth-links a:hover,
.auth-alt-action a:hover,
.auth-footer-link a:hover {
    color: #0a58ca;
}

@media (max-width: 640px) {
    .ucenje-auth-wrapper {
        min-height: auto;
        padding: 24px 12px 30px;
    }

    .ucenje-auth-card {
        border-radius: 12px;
    }

    .auth-card-heading {
        padding: 34px 22px 8px;
    }

    .auth-card-heading h1,
    .ucenje-auth-card h1 {
        font-size: 28px;
    }

    .auth-card-body {
        padding: 12px 22px 30px;
    }

    .auth-subtitle {
        font-size: 17px;
    }

    .ucenje-auth-card .form-row label,
    .ucenje-auth-card .form-row input,
    .ucenje-auth-card .form-row select,
    .ucenje-auth-card .form-row textarea,
    .auth-alt-action,
    .ucenje-auth-card .btn-primary,
    .auth-submit {
        font-size: 16px;
    }
}

/* =========================================================
   Mobile hardening for e-learning and auth pages
   ========================================================= */

.ucenje-body,
.ucenje-body * {
    box-sizing: border-box;
}

.ucenje-body {
    overflow-x: hidden;
}

.ucenje-body>.site-main {
    width: 100%;
    max-width: 100vw;
}

.ucenje-body>.site-main>*,
.ucenje-body>.site-main>form {
    min-width: 0;
}

.ucenje-list,
.ucenje-item,
.ucenje-question-bar,
.q-main-block,
.q-options,
.q-option,
.nav-dugmad,
.report-summary,
.report-table,
.sim-wrapper,
.sim-preview-list,
.sim-preview-item,
.ucenje-auth-wrapper,
.ucenje-auth-card {
    max-width: 100%;
    min-width: 0;
}

.ucenje-item a,
.q-text,
.q-text p,
.q-option span,
.q-option-help,
.sim-description,
.sim-note,
.sim-preview-note,
.sim-preview-text,
.report-summary {
    overflow-wrap: anywhere;
    word-break: normal;
}

.ucenje-auth-card input,
.ucenje-auth-card select,
.ucenje-auth-card textarea {
    width: 100%;
}

@media (max-width: 760px) {
    .ucenje-body>.site-main {
        align-items: stretch;
        padding: 16px 12px 0 !important;
    }

    .ucenje-body>.site-main>*,
    .ucenje-body>.site-main>form {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ucenje-auth-wrapper {
        width: 100% !important;
        min-height: calc(100svh - 150px);
        align-items: flex-start !important;
        justify-content: center;
        padding: 24px 12px 28px !important;
    }

    .ucenje-auth-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        border-radius: 14px;
        box-shadow: 0 12px 28px rgba(15, 23, 42, .10);
    }

    .auth-card-heading {
        padding: 30px 18px 8px !important;
    }

    .auth-card-heading h1,
    .ucenje-auth-card h1 {
        font-size: clamp(24px, 7vw, 30px) !important;
    }

    .auth-card-body {
        padding: 12px 18px 28px !important;
    }

    .auth-subtitle {
        margin-bottom: 22px;
        font-size: 16px !important;
    }

    .ucenje-question-bar {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 10px !important;
        margin-bottom: 10px;
    }

    .ucenje-question-left,
    .ucenje-question-right,
    .q-head {
        width: 100%;
        min-width: 0;
    }

    .ucenje-question-right {
        justify-content: flex-start;
        align-items: stretch;
    }

    .oznaci-pitanje label {
        align-items: flex-start;
        line-height: 1.35;
    }

    .ucenje-body .q-head-main,
    .ucenje-body .q-timer {
        width: auto !important;
        max-width: 100%;
        font-size: 1.05rem !important;
        white-space: normal;
    }

    .q-main-block {
        padding: 12px !important;
    }

    .q-options {
        display: grid;
        gap: 10px;
    }

    .q-option {
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 8px;
        align-items: flex-start;
        padding: 12px 10px !important;
    }

    .q-option input {
        margin-top: 3px;
    }

    .nav-dugmad {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px;
        margin-top: 16px !important;
        padding: 10px !important;
        border-radius: var(--as-radius) var(--as-radius) 0 0;
    }

    .nav-group {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px;
    }

    .nav-btn,
    .btn,
    .sim-start-btn,
    .ucenje-simulacija-btn {
        width: 100%;
        min-height: 46px;
        white-space: normal;
        text-align: center;
    }

    .sim-wrapper {
        padding: 16px 12px !important;
        margin-bottom: 18px;
    }

    .sim-preview-header {
        display: grid;
        grid-template-columns: 1fr;
    }

    .report-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 420px) {
    .ucenje-body>.site-main {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .ucenje-title {
        font-size: 1.25rem;
    }

    .auth-card-body {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Mobile header and breadcrumb layout 2026-04-29 */
@media (max-width: 760px) {
    body>header.site-header .site-header-top {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        padding: 10px 14px 12px !important;
    }

    .ucenje-body .site-header .brand {
        width: 100%;
        min-width: 0;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important;
        font-size: 17px !important;
        line-height: 1.25 !important;
    }

    .ucenje-body .site-header .brand::before {
        width: 10px !important;
        height: 10px !important;
        flex: 0 0 auto;
    }

    .ucenje-body .site-header .brand-main {
        min-width: 0;
        line-height: 1.2;
        overflow-wrap: normal;
        word-break: normal;
    }

    .site-header-tools {
        width: 100%;
        margin-left: 0 !important;
        padding-left: 20px;
        justify-content: flex-start !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 7px 10px !important;
    }

    .site-header-tools .nav-user-greeting {
        flex-basis: 100%;
        margin: 0;
    }

    .site-header-tools .nav-user-greeting,
    .site-header-tools .nav-link-secondary,
    .site-header-tools .nav-logout-button,
    .site-header-tools .nav-lang-current {
        font-size: 11px !important;
        line-height: 1.35 !important;
    }

    body>header.site-header .site-header-nav {
        min-height: auto !important;
        padding: 9px 14px !important;
    }

    .site-header-nav .nav-center {
        width: 100%;
        min-width: 0;
        flex-wrap: wrap !important;
        gap: 3px 6px !important;
    }

    .ucenje-breadcrumb-home,
    .ucenje-breadcrumb-separator,
    .ucenje-nav-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .ucenje-nav-title {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .ucenje-list,
    .ucenje-item {
        width: 100%;
        min-width: 0;
    }

    .ucenje-item a {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word;
    }

    .ucenje-body .site-footer .container {
        padding: 0 14px;
    }
}

@media (max-width: 420px) {
    body>header.site-header .site-header-top {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .ucenje-body .site-header .brand {
        font-size: 16px !important;
    }

    .site-header-tools {
        padding-left: 18px;
        gap: 6px 8px !important;
    }

    .site-header-tools .nav-user-greeting,
    .site-header-tools .nav-link-secondary,
    .site-header-tools .nav-logout-button,
    .site-header-tools .nav-lang-current {
        font-size: 10.5px !important;
    }
}

/* Mobile question header layout 2026-04-29 */
.site-header-tools .nav-logout-form {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.site-header-tools .nav-logout-button {
    min-height: 0 !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    white-space: nowrap;
    vertical-align: baseline;
}

@media (max-width: 760px) {
    .ucenje-question-bar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        align-items: start !important;
        gap: 8px 10px !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    .ucenje-question-left {
        display: block !important;
        width: auto !important;
        min-width: 0 !important;
        justify-self: start !important;
    }

    .ucenje-question-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        justify-content: flex-start !important;
        justify-self: end !important;
        text-align: right !important;
        width: auto !important;
        min-width: 112px !important;
        gap: 7px !important;
        margin-top: 10px !important;
    }

    .q-head {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: auto !important;
        min-width: 0 !important;
        gap: 6px !important;
    }

    .ucenje-body .q-head-main,
    .ucenje-body .q-timer {
        width: auto !important;
        max-width: none !important;
        min-height: 40px;
        padding: 7px 12px !important;
        font-size: 1.05rem !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }

    .ucenje-body .q-timer {
        order: 1;
        align-self: flex-end !important;
        width: 112px !important;
        text-align: center;
    }

    .q-head-info {
        font-size: 12px !important;
        line-height: 1.35 !important;
        gap: 1px !important;
        text-align: left !important;
    }

    .q-head-info em {
        font-style: normal;
    }

    .oznaci-pitanje {
        order: 2;
        align-self: flex-end !important;
        margin: 0 !important;
        text-align: right;
    }

    .oznaci-pitanje label {
        display: inline-flex !important;
        align-items: flex-start !important;
        justify-content: flex-end;
        gap: 5px !important;
        max-width: 132px;
        font-size: 11.5px !important;
        line-height: 1.25 !important;
    }

    .oznaci-pitanje input {
        flex: 0 0 auto;
        margin-top: 1px;
    }
}

@media (max-width: 380px) {
    .ucenje-question-bar {
        grid-template-columns: minmax(0, 1fr) minmax(96px, auto) !important;
        gap: 7px 8px !important;
    }

    .ucenje-question-right {
        min-width: 96px !important;
        margin-top: 8px !important;
    }

    .ucenje-body .q-head-main,
    .ucenje-body .q-timer {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: .98rem !important;
    }

    .ucenje-body .q-timer {
        width: 96px !important;
    }

    .oznaci-pitanje label {
        max-width: 108px;
        font-size: 10.5px !important;
    }
}

/* Podoblasti: native collapsible detail text 2026-04-29 */
.ucenje-item .ucenje-item-link {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
}

.ucenje-item .ucenje-item-number {
    flex: 0 0 auto;
}

.ucenje-item .ucenje-item-title {
    min-width: 0;
}

.ucenje-item .ucenje-item-details {
    margin: 0 16px 8px 40px;
    color: #344b5d;
    font-size: .98rem;
    line-height: 1.45;
}

.ucenje-item .ucenje-item-details summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 2px 0;
    color: #2f6f8f;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.ucenje-item .ucenje-item-details summary::-webkit-details-marker {
    display: none;
}

.ucenje-item .ucenje-item-details summary::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid currentColor;
    transition: transform .16s ease;
}

.ucenje-item .ucenje-item-details[open] summary::before {
    transform: rotate(90deg);
}

.ucenje-item .ucenje-item-detail-text {
    margin-top: 4px;
    padding: 10px 12px;
    border-left: 3px solid #d6e3ea;
    border-radius: 6px;
    background: #f8fbfd;
    color: #274458;
}

@media (max-width:760px) {
    .ucenje-item .ucenje-item-details {
        margin-left: 16px;
    }
}

/* =========================================================
   Final visual polish 2026-04-30
   ========================================================= */

.ucenje-body {
    background: #f5f8fa;
}

.ucenje-body>.site-main {
    gap: 0;
}

.ucenje-title {
    width: 100%;
    margin-top: 0;
    letter-spacing: 0;
}

.ucenje-list {
    display: grid;
    gap: 12px;
    padding: 0;
}

.ucenje-item {
    border-color: #d7e2ea;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.ucenje-item a,
.ucenje-item .ucenje-item-link {
    min-height: 58px;
}

.ucenje-item-title {
    line-height: 1.32;
}

.ucenje-item-meta {
    line-height: 1.35;
}

.ucenje-item .ucenje-item-details summary {
    min-height: 30px;
}

.ucenje-back-actions {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.ucenje-back-btn {
    min-width: 150px;
}

.ucenje-auth-page .site-main {
    justify-content: flex-start;
}

.ucenje-auth-wrapper {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.ucenje-auth-card {
    margin-left: auto;
    margin-right: auto;
}

.ucenje-auth-card .auth-form {
    width: 100%;
}

.auth-alert,
.auth-info {
    border-radius: 8px;
}

.auth-card-body {
    overflow-wrap: anywhere;
}

.q-main-block {
    overflow: hidden;
}

.ucenje-body img.q-image {
    max-width: 100% !important;
}

.q-option {
    min-width: 0;
}

.q-option span {
    min-width: 0;
}

.site-header-tools .nav-lang-menu {
    z-index: 10020;
}

.site-header-tools .nav-logout-form {
    flex: 0 0 auto;
}

@media (min-width:761px) {
    .ucenje-auth-page .site-main {
        padding-top: 42px;
    }

    .ucenje-auth-wrapper {
        min-height: calc(100vh - 190px);
        padding: 0 16px 42px;
    }

    .ucenje-auth-card {
        max-width: 526px;
    }

    .ucenje-auth-card.auth-card-wide {
        max-width: 620px;
    }
}

@media (max-width:760px) {
    body>header.site-header .site-header-top {
        grid-template-columns: minmax(0, 1fr) !important;
        padding: 11px 16px 12px !important;
    }

    .ucenje-body .site-header .brand {
        font-size: 18px !important;
    }

    .ucenje-body .site-header .brand-main {
        white-space: normal;
    }

    .site-header-tools {
        padding-left: 18px !important;
        gap: 6px 10px !important;
    }

    .site-header-tools .nav-user-greeting {
        flex: 1 0 100%;
        max-width: 100%;
    }

    .site-header-tools .nav-link-secondary,
    .site-header-tools .nav-logout-button,
    .site-header-tools .nav-lang-current {
        white-space: nowrap !important;
    }

    .site-header-tools .nav-logout-form {
        display: inline-flex !important;
        align-items: center !important;
    }

    body>header.site-header .site-header-nav {
        padding: 10px 16px !important;
    }

    .ucenje-body>.site-main {
        padding-top: 16px !important;
    }

    .ucenje-auth-page .site-main {
        padding-top: 18px !important;
    }

    .ucenje-auth-wrapper {
        max-width: 560px !important;
        min-height: calc(100svh - 168px) !important;
        padding: 18px 10px 28px !important;
    }

    .ucenje-auth-card {
        max-width: 100% !important;
    }

    .auth-card-heading {
        padding-top: 28px !important;
    }

    .auth-subtitle {
        max-width: 100%;
    }

    .ucenje-title {
        margin-bottom: 14px;
        font-size: 1.7rem;
        line-height: 1.2;
    }

    .ucenje-list {
        gap: 12px;
    }

    .ucenje-item a,
    .ucenje-item .ucenje-item-link {
        padding: 16px 16px 8px !important;
    }

    .ucenje-item-meta {
        padding: 0 16px 16px !important;
    }

    .ucenje-item .ucenje-item-details {
        margin: 0 16px 12px 36px !important;
    }

    .ucenje-question-bar {
        align-items: start !important;
    }

    .ucenje-question-right {
        margin-top: 8px !important;
    }

    .oznaci-pitanje label {
        align-items: center !important;
    }

    .q-main-block {
        padding: 14px !important;
    }

    .q-text p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .q-option {
        min-height: 68px;
    }

    .ucenje-body img.q-image {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
    }
}

@media (max-width:420px) {
    body>header.site-header .site-header-top {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .site-header-tools {
        padding-left: 18px !important;
        gap: 5px 8px !important;
    }

    .site-header-tools .nav-user-greeting,
    .site-header-tools .nav-link-secondary,
    .site-header-tools .nav-logout-button,
    .site-header-tools .nav-lang-current {
        font-size: 10px !important;
    }

    .ucenje-auth-wrapper {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .auth-card-heading {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .auth-card-body {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .ucenje-body .q-head-main,
    .ucenje-body .q-timer {
        min-height: 38px;
    }
}

/* Simulation report answer review 2026-04-30 */
.sim-report-details {
    width: 100%;
    margin-top: 18px;
}

.sim-report-details h3 {
    margin: 0 0 6px;
    color: #1f2937;
    font-size: 1.25rem;
    line-height: 1.25;
}

.sim-report-details-note {
    margin: 0 0 12px;
    color: #526575;
    font-size: .95rem;
}

.sim-report-card-list {
    display: grid;
    gap: 10px;
}

.sim-report-card {
    overflow: hidden;
    border: 1px solid #d7e2ea;
    border-left: 4px solid #8aa8b8;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.sim-report-card.is-correct {
    border-left-color: #2f8f5b;
}

.sim-report-card.is-wrong {
    border-left-color: #ba2121;
}

.sim-report-card.is-skipped {
    border-left-color: #8aa8b8;
}

.sim-report-card summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 11px 14px;
    cursor: pointer;
    list-style: none;
}

.sim-report-card summary::-webkit-details-marker {
    display: none;
}

.sim-report-card summary::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #2f6f8f;
    transition: transform .16s ease;
}

.sim-report-card[open] summary::before {
    transform: rotate(90deg);
}

.sim-report-card-title {
    min-width: 0;
    color: #15384c;
    font-weight: 750;
}

.sim-report-card-status,
.sim-report-card-points {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 3px 9px;
    border-radius: 999px;
    background: #eef4f8;
    color: #284d5d;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}

.sim-report-card.is-correct .sim-report-card-status {
    background: #edf8f1;
    color: #236b43;
}

.sim-report-card.is-wrong .sim-report-card-status {
    background: #fff1f1;
    color: #9d1c1c;
}

.sim-report-card-body {
    padding: 0 14px 14px 35px;
}

.sim-report-question {
    margin: 0 0 12px;
    color: #102a3a;
    font-size: 1rem;
    line-height: 1.55;
}

.sim-report-image {
    margin: 8px 0 14px !important;
}

.sim-report-answer-list {
    display: grid;
    gap: 8px;
}

.sim-report-answer {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 11px;
    border: 1px solid #e4ebf0;
    border-radius: 8px;
    background: #fbfcfd;
}

.sim-report-answer.is-correct {
    border-color: #bfdfcc;
    background: #edf8f1;
}

.sim-report-answer.is-wrong-selected {
    border-color: #efc5c5;
    background: #fff1f1;
}

.sim-report-answer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #eef4f8;
    color: #284d5d;
    font-weight: 800;
    line-height: 1;
}

.sim-report-answer.is-correct .sim-report-answer-icon {
    background: #2f8f5b;
    color: #ffffff;
}

.sim-report-answer.is-wrong-selected .sim-report-answer-icon {
    background: #ba2121;
    color: #ffffff;
}

.sim-report-answer-text {
    min-width: 0;
    color: #22313a;
    line-height: 1.45;
}

.sim-report-answer .q-option-help {
    display: block;
}

.sim-report-answer-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px;
}

.sim-report-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 750;
    white-space: nowrap;
}

.sim-report-badge.is-selected {
    background: #e8f2f7;
    color: #2f596b;
}

.sim-report-badge.is-correct {
    background: #dff3e6;
    color: #236b43;
}

@media (max-width:760px) {
    .sim-report-card summary {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 7px 9px;
    }

    .sim-report-card-status,
    .sim-report-card-points {
        grid-column: 2;
        justify-self: start;
    }

    .sim-report-card-body {
        padding: 0 12px 12px;
    }

    .sim-report-answer {
        grid-template-columns: 24px minmax(0, 1fr);
    }

    .sim-report-answer-badges {
        grid-column: 2;
        justify-content: flex-start;
    }
}

/* =========================================================
   Dvojezično objašnjenje i reference
   - glavni jezik veći
   - pomoćni prevod manji
   ========================================================= */

.q-objasnjenje-panel .explanation-text {
    font-size: 1.05rem;
    line-height: 1.55;
}

.q-objasnjenje-panel .explanation-text-help,
.q-objasnjenje-panel .q-text-help {
    font-size: 0.92rem;
    line-height: 1.45;
}

/* Glavna referenca */
.q-objasnjenje-panel .law-reference {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Tekst propisa u citatu */
.q-objasnjenje-panel .law-citation {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Prevod teksta propisa unutar istog citata */
.q-objasnjenje-panel .law-citation .q-text-help,
.q-objasnjenje-panel .law-citation-help,
.q-objasnjenje-panel .law-citation-translation {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* =========================================================
   Dvojezični prikaz oblasti i podoblasti
   - glavni jezik veći
   - pomoćni prevod manji
   ========================================================= */

.ucenje-item-title-wrap {
    min-width: 0;
    display: block;
}

.ucenje-item-title-help,
.ucenje-title-help,
.ucenje-item-detail-help {
    display: block;
    color: var(--as-muted);
    font-weight: 400;
    font-size: 0.92rem;
    line-height: 1.4;
    margin-top: 4px;
}

.ucenje-title-help {
    width: 100%;
    margin-top: -8px;
    margin-bottom: 14px;
    font-size: 1rem;
}

.ucenje-item-detail-help {
    margin: 6px 16px 10px 40px;
    padding: 8px 12px;
    border-left: 3px solid #e1e9ef;
    border-radius: 6px;
    background: #fbfdfe;
}

@media (max-width:760px) {
    .ucenje-item-detail-help {
        margin-left: 16px;
    }
}
