/*
 * eAnkete – javni dio (2026)
 * Učitava se POSLIJE bootstrap.min.css i style.css u frontend-layout i frontend-iframe-layout.
 * Boje su iz logoa: plava #0050C0 (osnovna), narandžasta #F06000 (naglasci).
 */

:root {
	--ea-blue: #0050C0;
	--ea-blue-dark: #0040A0;
	--ea-blue-soft: #EEF4FF;
	--ea-orange: #F06000;
	--ea-ink: #0B1F44;
	--ea-text: #1F2A3B;
	--ea-muted: #5E6B7D;
	--ea-line: #E3E8F0;
	--ea-field: #CBD3DE;
	--ea-bg: #F4F7FC;
	--ea-danger: #B3261E;
	--ea-danger-bg: #FDEDEC;
	--ea-success: #1E6B34;
	--ea-success-bg: #E6F4EA;
	--ea-radius: 14px;
	--ea-font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body.ea { background: var(--ea-bg); color: var(--ea-text); font-family: var(--ea-font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
body.ea h1, body.ea h2, body.ea h3, body.ea h4 { font-family: var(--ea-font); color: var(--ea-ink); }
body.ea a { color: var(--ea-blue); }
body.ea a:hover { color: var(--ea-blue-dark); }
body.ea :focus-visible { outline: 3px solid var(--ea-blue); outline-offset: 2px; }

/* ---------- Zaglavlje ---------- */
.ea-header { background: #fff; border-bottom: 1px solid var(--ea-line); position: relative; z-index: 30; }
.ea-header-in { max-width: 1140px; margin: 0 auto; padding: 8px 20px; display: flex; align-items: center; gap: 20px; }
.ea-logo { display: flex; align-items: center; flex: none; }
.ea-logo img { height: 52px; width: auto; display: block; }
.ea-nav { display: flex; align-items: center; gap: 4px; flex: 1; margin: 0; padding: 0; list-style: none; }
.ea-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ea-text) !important; font-weight: 600; font-size: 15px; text-decoration: none !important; }
.ea-nav a:hover { background: var(--ea-blue-soft); color: var(--ea-blue-dark) !important; }
.ea-nav .active a { color: var(--ea-blue) !important; background: var(--ea-blue-soft); }
.ea-tools { display: flex; align-items: center; gap: 8px; flex: none; }
.ea-lang { position: relative; }
.ea-lang > button { height: 38px; padding: 0 12px; border: 1px solid var(--ea-line); border-radius: 8px; background: #fff; font-weight: 700; font-size: 13px; color: var(--ea-ink); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.ea-lang .dropdown-menu { min-width: 160px; border-radius: 10px; border-color: var(--ea-line); box-shadow: 0 10px 30px rgba(11, 31, 68, .12); padding: 6px; }
.ea-lang .dropdown-menu a { border-radius: 6px; padding: 8px 12px; }
.ea-login { height: 38px; padding: 0 16px; border-radius: 8px; background: var(--ea-blue); color: #fff !important; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; text-decoration: none !important; }
.ea-login:hover { background: var(--ea-blue-dark); }
.ea-burger { display: none; width: 42px; height: 42px; border: 1px solid var(--ea-line); border-radius: 8px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 900px) {
	.ea-header-in { flex-wrap: wrap; gap: 8px 12px; }
	.ea-logo img { height: 42px; }
	.ea-burger { display: inline-flex; margin-left: auto; }
	.ea-nav { order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; display: none; padding: 6px 0 4px; }
	.ea-nav.is-open { display: flex; }
	.ea-tools { order: 2; }
	.ea-login { display: none; }
	.ea-nav .ea-nav-login { display: block; }
}
.ea-nav .ea-nav-login { display: none; }

/* ---------- Podnožje ---------- */
.ea-promo { max-width: 1140px; margin: 40px auto 0; padding: 0 20px; }
.ea-promo img { border-radius: 12px; }
.ea-footer { margin-top: 40px; background: #fff; border-top: 1px solid var(--ea-line); }
.ea-footer-in { max-width: 1140px; margin: 0 auto; padding: 28px 20px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; font-size: 14px; color: var(--ea-muted); }
.ea-footer-in img { height: 40px; width: auto; }
.ea-footer-cols { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.ea-footer-col b { display: block; color: var(--ea-ink); margin-bottom: 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.ea-footer-col a { display: block; color: var(--ea-muted) !important; padding: 2px 0; }
.ea-footer-col a:hover { color: var(--ea-blue) !important; }
.ea-copy { width: 100%; border-top: 1px solid var(--ea-line); padding-top: 14px; font-size: 13px; }

/* ---------- Glavna kartica (koriste je anketa, test i rezultati) ---------- */
body.ea .form-body.container,
body.ea .form-body { max-width: 780px; width: auto; margin: 28px auto 0; padding: 28px 28px 24px; background: #fff; border: 1px solid var(--ea-line); border-radius: 18px; box-shadow: 0 1px 2px rgba(11, 31, 68, .04); }
body.ea .form-body > .row { margin-left: 0; margin-right: 0; }
body.ea .form-body img.img-responsive { border-radius: 12px; }
@media (max-width: 600px) {
	body.ea .form-body.container, body.ea .form-body { margin: 12px 10px 0; padding: 20px 16px; border-radius: 14px; }
}

/* ---------- Anketa ---------- */
.ea-intro { margin: -28px -28px 20px; padding: 26px 28px 20px; border-bottom: 1px solid var(--ea-line); position: relative; }
.ea-intro::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 18px 18px 0 0; background: linear-gradient(90deg, #0040B0, #0080F0 60%, var(--ea-orange)); }
.ea-cover { margin: -28px -28px 0; }
.ea-cover img { width: 100%; height: auto; display: block; border-radius: 18px 18px 0 0 !important; }
.ea-cover + .ea-intro { margin-top: 0; }
.ea-cover + .ea-intro::before { border-radius: 0; }
.ea-title { margin: 6px 0 8px; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.ea-subtitle { margin: 0 0 8px; font-size: 18px; font-weight: 500; color: var(--ea-muted); }
.ea-desc { color: #3D4A5C; }
.ea-desc p:last-child { margin-bottom: 0; }
.ea-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ea-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: var(--ea-blue-soft); color: var(--ea-blue-dark); font-size: 13px; font-weight: 600; }
.ea-reqnote { font-size: 13px; color: var(--ea-muted); margin-top: 10px; }
.ea-req { color: #C0362C; font-weight: 700; }
@media (max-width: 600px) {
	.ea-intro { margin: -20px -16px 16px; padding: 20px 16px 16px; }
	.ea-cover { margin: -20px -16px 0; }
	.ea-title { font-size: 24px; }
}

.ea-progress { position: sticky; top: 0; z-index: 20; background: #fff; margin: 0 -28px 16px; padding: 10px 28px; border-bottom: 1px solid var(--ea-line); display: flex; align-items: center; gap: 14px; }
.ea-progress span { font-size: 13px; font-weight: 600; color: #3A4556; white-space: nowrap; }
.ea-progress-track { flex: 1; height: 8px; border-radius: 4px; background: #EEF1F6; overflow: hidden; }
.ea-progress-fill { height: 8px; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--ea-blue), var(--ea-orange)); transition: width .25s; }
@media (max-width: 600px) { .ea-progress { margin: 0 -16px 12px; padding: 8px 16px; } }

/* [hidden] mora pobijediti display:flex – inače se skrivene poruke ipak vide */
.ea-alert[hidden], .ea-card[hidden], [hidden] { display: none !important; }
.ea-alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; margin: 0 0 16px; font-size: 15px; }
.ea-alert-danger { background: var(--ea-danger-bg); border: 1px solid #F2B8B5; color: #8C1D18; }
.ea-alert-info { background: var(--ea-blue-soft); border: 1px solid #C9DAF8; color: var(--ea-blue-dark); }
.ea-alert-warn { background: #FDF0E3; border: 1px solid #F0C99A; color: #8A4B0F; }

.ea-section-title { margin: 8px 0 12px; font-size: 18px; font-weight: 700; }
.ea-group { margin: 26px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ea-line); font-size: 19px; font-weight: 700; color: var(--ea-ink); }

.ea-q { border: 1.5px solid var(--ea-line); border-radius: var(--ea-radius); padding: 20px 22px; margin-bottom: 14px; background: #fff; scroll-margin-top: 70px; }
.ea-q.has-error { border-color: #E5938D; }
.ea-q-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.ea-q-num { flex: none; min-width: 30px; height: 30px; border-radius: 15px; background: var(--ea-blue-soft); color: var(--ea-blue-dark); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.ea-q-title { margin: 3px 0 0 !important; font-size: 18px !important; line-height: 1.4; font-weight: 600 !important; color: var(--ea-ink); }
.ea-q-desc { color: #3D4A5C; margin: -4px 0 12px 42px; }
.ea-q-media { margin: 0 0 12px; }
.ea-q-media img { max-width: 100%; height: auto; border-radius: 10px; }
.ea-video { position: relative; width: 100%; max-width: 640px; padding-top: 56.25%; }
.ea-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.ea-q-note { font-size: 14px; color: var(--ea-muted); margin-top: 10px; }
.ea-q-error { display: none; margin-top: 10px; color: var(--ea-danger); font-size: 14px; font-weight: 600; }
.ea-q.has-error .ea-q-error { display: block; }
@media (max-width: 600px) { .ea-q { padding: 16px 14px; } .ea-q-desc { margin-left: 0; } }

/* Odgovori iz partiala (check_type, text, matrice) unutar pitanja */
.ea-q .row { margin-left: 0; margin-right: 0; padding: 0 !important; }
.ea-q .row > [class*="col-"] { padding-left: 0; padding-right: 0; float: none; width: auto; }
.ea-q .option-card { position: relative; display: flex !important; align-items: center; gap: 14px; min-height: 54px; padding: 0 16px !important; margin-bottom: 8px; border: 1.5px solid #D5DCE6; border-radius: 12px; background: #fff; cursor: pointer; transition: border-color .12s, background .12s; }
.ea-q .option-card:hover { border-color: #7FA6E8; }
.ea-q .option-card input[type="radio"], .ea-q .option-card input[type="checkbox"] { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ea-blue); cursor: pointer; }
.ea-q .option-card label { flex: 1; margin: 0; padding: 14px 0; font-weight: 500; font-size: 16px; line-height: 1.4; cursor: pointer; }
.ea-q .option-card label::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; }
.ea-q .option-card:has(input:checked) { border: 2px solid var(--ea-blue); background: var(--ea-blue-soft); }
.ea-q .option-card:has(input:checked) label { font-weight: 600; color: var(--ea-ink); }
.ea-q .option-card:has(input:focus-visible) { outline: 3px solid var(--ea-blue); outline-offset: 2px; }
.ea-q .option-card + .col-md-9 { margin: -2px 0 10px 52px; }
.ea-q label { font-weight: 500; }

body.ea .form-control { height: 48px; padding: 10px 14px; border: 1.5px solid var(--ea-field); border-radius: 10px; font-size: 16px; box-shadow: none; }
body.ea textarea.form-control { height: auto; min-height: 110px; line-height: 1.5; }
body.ea .form-control:focus { border-color: var(--ea-blue); box-shadow: 0 0 0 4px rgba(0, 80, 192, .14); }
body.ea select.form-control { padding-right: 36px; }
body.ea .input-group-addon { border: 1.5px solid var(--ea-field); border-radius: 10px; background: #F7F9FC; }
body.ea .input-group .form-control:first-child { border-right: 0; }

.ea-q .table-responsive { border: 0; margin: 0; }
.ea-q table.table { margin: 0; border-collapse: separate; border-spacing: 0 6px; }
.ea-q table.table th { border: 0 !important; font-size: 13px; font-weight: 600; color: var(--ea-muted); text-align: center; vertical-align: bottom; padding: 4px 6px; }
.ea-q table.table td { border: 0 !important; vertical-align: middle; text-align: center; padding: 8px 6px; background: #F7F9FC; }
.ea-q table.table td:first-child { text-align: left; font-weight: 600; color: var(--ea-ink); border-radius: 10px 0 0 10px; padding-left: 12px; background: #F7F9FC; }
.ea-q table.table td:last-child { border-radius: 0 10px 10px 0; }
.ea-q table.table input[type="radio"], .ea-q table.table input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--ea-blue); cursor: pointer; }
.ea-q table.table .form-control { min-width: 110px; }
.ea-q table.table-striped > tbody > tr:nth-of-type(odd) { background: none; }
.ea-q .add-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 8px 14px; border-radius: 8px; background: var(--ea-blue-soft) !important; color: var(--ea-blue-dark) !important; font-weight: 600; }

.ea-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 8px; }
.ea-contact .full { grid-column: 1 / -1; }
.ea-contact label { font-weight: 600; font-size: 14px; margin-bottom: 6px; display: block; color: #3A4556; }
.ea-contact .has-error .form-control { border-color: #E5938D; }
@media (max-width: 600px) { .ea-contact { grid-template-columns: 1fr; } }

.ea-submit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--ea-line); }
.ea-submit small { color: var(--ea-muted); font-size: 13px; max-width: 380px; }
.ea-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 34px; border: 0; border-radius: 12px; background: var(--ea-blue); color: #fff !important; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none !important; box-shadow: 0 6px 16px rgba(0, 80, 192, .22); }
.ea-btn:hover { background: var(--ea-blue-dark); }
.ea-btn[disabled] { opacity: .7; cursor: progress; }
.ea-btn-secondary { height: 46px; padding: 0 20px; background: #fff; color: var(--ea-ink) !important; border: 1.5px solid var(--ea-field); box-shadow: none; font-size: 15px; }
.ea-btn-secondary:hover { background: #F4F7FC; }
@media (max-width: 600px) {
	.ea-submit { position: sticky; bottom: 0; z-index: 20; background: #fff; margin: 16px -16px -20px; padding: 12px 16px 16px; border-radius: 0 0 14px 14px; box-shadow: 0 -6px 16px rgba(11, 31, 68, .06); }
	.ea-submit .ea-btn { width: 100%; }
	.ea-submit small { order: 2; }
}

.ea-closed { text-align: center; padding: 20px 10px; }

/* Hvala */
.ea-thanks { text-align: center; padding: 26px 10px 10px; }
.ea-thanks-icon { width: 76px; height: 76px; border-radius: 38px; background: var(--ea-success-bg); color: var(--ea-success); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ea-thanks h1 { margin: 0 0 8px; font-size: 28px; font-weight: 700; }
.ea-thanks p { color: #3D4A5C; max-width: 520px; margin: 0 auto 6px; }
.ea-thanks .ea-desc { text-align: left; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ea-line); }
.ea-promo-box { margin-top: 22px; padding: 16px 18px; border-radius: 12px; background: var(--ea-blue-soft); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; text-align: left; }
.ea-promo-box span { color: var(--ea-blue-dark); font-weight: 600; }

/* Stare Bootstrap poruke i dugmad unutar kartice (test, rezultati) */
body.ea .form-body .alert { border-radius: 12px; }
body.ea .form-body .btn-success, body.ea .form-body .btn-primary { background: var(--ea-blue); border-color: var(--ea-blue); border-radius: 10px; font-weight: 700; padding: 10px 20px; }
body.ea .form-body .btn-success:hover, body.ea .form-body .btn-primary:hover { background: var(--ea-blue-dark); border-color: var(--ea-blue-dark); }
body.ea .symbol.required { color: #C0362C; font-weight: 700; }

/* Oglasi ispod kartice */
.ea-ads { max-width: 780px; margin: 24px auto 0; padding: 0 10px; }

/* Iframe */
body.ea-iframe { background: transparent; }
body.ea-iframe .form-body.container, body.ea-iframe .form-body { margin-top: 12px; }
.ea-iframe-foot { text-align: center; padding: 14px 0 10px; font-size: 12px; color: var(--ea-muted); }
.ea-iframe-foot img { height: 24px; width: auto; vertical-align: middle; }

/* ---------- Narandžasto dugme (tekst čitljiv: kontrast 5,2:1) ---------- */
.ea-btn-orange { background: #B84A00; }
.ea-btn-orange:hover { background: #9E3F00; }
.ea-btn-ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .65); box-shadow: none; }
.ea-btn-ghost:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Poziv na akciju (naslovna i liste) ---------- */
.ea-cta { max-width: 1140px; margin: 36px auto 0; padding: 0 20px; }
.ea-cta-in { background: linear-gradient(135deg, #0B2C6E, #0050C0); color: #fff; border-radius: 18px; padding: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.ea-cta-in h2 { color: #fff !important; margin: 0; font-size: 22px; font-weight: 700; max-width: 640px; line-height: 1.35; }
.ea-cta-in .ea-btn { height: 50px; }

/* ---------- Naslovna ---------- */
.ea-hero { background: linear-gradient(135deg, #0B2C6E 0%, #0050C0 55%, #0A6FE0 100%); color: #fff; overflow: hidden; }
.ea-hero-in { max-width: 1140px; margin: 0 auto; padding: 56px 20px 60px; display: flex; flex-wrap: wrap; align-items: center; gap: 36px 56px; }
.ea-hero-text { flex: 1 1 460px; min-width: 0; }
.ea-hero h1 { color: #fff !important; margin: 0 0 14px; font-size: 42px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.ea-hero p { color: #DCE7FA; font-size: 19px; line-height: 1.55; margin: 0 0 24px; max-width: 560px; }
.ea-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ea-hero-points { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #EAF1FD; font-size: 15px; }
.ea-hero-points li::before { content: "✓"; color: #FFB27A; font-weight: 700; margin-right: 8px; }
.ea-hero-card { flex: 0 1 380px; background: #fff; color: var(--ea-ink); border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px rgba(4, 18, 48, .35); transform: rotate(-1.5deg); }
.ea-hc-bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ea-blue), var(--ea-orange)); width: 60%; margin-bottom: 16px; }
.ea-hc-q { font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.ea-hc-opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #D5DCE6; border-radius: 12px; margin-bottom: 8px; font-size: 15px; }
.ea-hc-opt span { width: 20px; height: 20px; border-radius: 10px; border: 2px solid #A9B4C4; flex: none; }
.ea-hc-opt.on { border: 2px solid var(--ea-blue); background: var(--ea-blue-soft); font-weight: 600; }
.ea-hc-opt.on span { border: 6px solid var(--ea-blue); }
.ea-hc-btn { margin-top: 12px; height: 46px; border-radius: 10px; background: var(--ea-blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
	.ea-hero-in { padding: 36px 20px 40px; }
	.ea-hero h1 { font-size: 32px; }
	.ea-hero p { font-size: 17px; }
	.ea-hero-card { display: none; }
}

/* Postojeći sadržaj naslovne (tekstovi iz prevoda) u novom ruhu */
.ea-home .index_page_content { background: none !important; padding: 0 !important; }
.ea-home .index_page_content > .container { max-width: 1140px; width: auto; padding: 0 20px; }
.ea-home .index_page_article { margin: 28px 0 0 !important; background: #fff; border: 1px solid var(--ea-line); border-radius: 18px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; }
.ea-home .index_page_article > [class*="col-"] { float: none; padding: 28px 32px; }
.ea-home .index_article_image { text-align: center; background: #F7F9FD; align-self: stretch; display: flex; align-items: center; justify-content: center; flex: 1 1 380px; }
.ea-home .index_article_text { flex: 1 1 420px; }
.ea-home .index_article_image img { max-width: 100%; height: auto; max-height: 340px; }
.ea-home .index_article_text h2, .ea-home .index_article_text h3 { margin-top: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.ea-home .index_article_text p { color: #3D4A5C; font-size: 16px; line-height: 1.65; }
.ea-home .index_article_text ul { list-style: none; padding: 0; }
.ea-home .index_article_text li { padding: 4px 0 4px 28px; position: relative; }
.ea-home .index_article_text li::before { content: "✓"; position: absolute; left: 4px; color: var(--ea-blue); font-weight: 700; }
.ea-home .glyphs_wrapper .index_page_article, .ea-home .glyphs_wrapper > .container > .row { background: none; border: 0; }
.ea-home .glyphs_wrapper { margin-top: 40px !important; }
.ea-home .glyphs_title h2 { text-align: center; font-size: 26px; font-weight: 700; margin: 0 0 20px; }
.ea-home .glyphs_wrapper .row:last-child { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; }
.ea-home .glyphs_wrapper .row:last-child > div { float: none; width: auto; margin: 0; flex: 0 1 190px; background: #fff; border: 1px solid var(--ea-line); border-radius: 14px; padding: 18px 12px; text-align: center; font-weight: 600; color: var(--ea-ink); }
.ea-home .glyphs_wrapper img { height: 56px; width: auto; margin-bottom: 8px; }
@media (max-width: 600px) { .ea-home .index_page_article > [class*="col-"] { padding: 20px; } }

/* ---------- Pomoć, privatnost, uslovi ---------- */
.ea-doc-hero { background: linear-gradient(135deg, #0B2C6E 0%, #0050C0 60%, #0A6FE0 100%); color: #fff; }
.ea-doc-hero-in { max-width: 1140px; margin: 0 auto; padding: 36px 20px 30px; }
.ea-doc-hero h1 { color: #fff !important; margin: 0 0 8px; font-size: 34px; font-weight: 700; letter-spacing: -0.015em; }
.ea-doc-hero p { margin: 0; color: #DCE7FA; font-size: 17px; max-width: 760px; }
.ea-doc-hero mark { background: #FFE58A; color: #3A2A00; padding: 0 4px; border-radius: 4px; }
.ea-doc { max-width: 1140px; margin: 0 auto; padding: 28px 20px 0; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.ea-doc-toc { flex: 1 1 220px; position: sticky; top: 16px; background: #fff; border: 1px solid var(--ea-line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.ea-doc-toc b { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--ea-muted); margin: 0 0 6px 8px; }
.ea-doc-toc a { padding: 7px 10px; border-radius: 8px; color: #3A4556 !important; font-weight: 600; font-size: 14.5px; text-decoration: none !important; }
.ea-doc-toc a:hover { background: var(--ea-blue-soft); color: var(--ea-blue-dark) !important; }
.ea-doc-dl { margin-top: 8px; border-top: 1px solid var(--ea-line); border-radius: 0 !important; padding-top: 12px !important; display: flex; align-items: center; gap: 8px; color: var(--ea-blue) !important; }
.ea-doc-body { flex: 999 1 560px; min-width: 0; background: #fff; border: 1px solid var(--ea-line); border-radius: 18px; padding: 8px 32px 28px; }
.ea-doc-body > section { padding-top: 20px; scroll-margin-top: 16px; }
.ea-doc-body > section + section { border-top: 1px solid var(--ea-line); margin-top: 20px; }
.ea-doc-body h2 { font-size: 24px; font-weight: 700; margin: 4px 0 12px; }
.ea-doc-body h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.ea-doc-body p, .ea-doc-body li { font-size: 16px; line-height: 1.7; color: #2B3748; }
.ea-legal ul { padding-left: 22px; }
.ea-legal li { margin-bottom: 6px; }
.ea-doc-summary { margin-top: 20px; background: var(--ea-blue-soft); border-radius: 14px; padding: 16px 20px; }
.ea-doc-summary b { display: block; margin-bottom: 6px; color: var(--ea-blue-dark); }
.ea-doc-summary li b { display: inline; margin: 0; color: inherit; }
.ea-checks { list-style: none; padding: 0 !important; margin: 0; }
.ea-checks li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.ea-checks li::before { content: "✓"; position: absolute; left: 2px; color: var(--ea-blue); font-weight: 700; }
.ea-doc-note { color: var(--ea-muted); font-size: 14px; margin-top: 16px; }
mark.ea-todo { background: #FFE58A; color: #3A2A00; padding: 0 4px; border-radius: 4px; }
.ea-steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 18px; }
.ea-steps li { counter-increment: s; position: relative; padding: 4px 0 10px 44px; }
.ea-steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 15px; background: var(--ea-blue); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.ea-faq { display: flex; flex-direction: column; gap: 8px; }
.ea-faq details { border: 1px solid var(--ea-line); border-radius: 12px; background: #fff; }
.ea-faq details[open] { border-color: #BFD3F5; }
.ea-faq summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 600; color: var(--ea-ink); position: relative; font-size: 16px; }
.ea-faq summary::-webkit-details-marker { display: none; }
.ea-faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ea-blue); border-bottom: 2px solid var(--ea-blue); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
.ea-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.ea-faq details > div { padding: 0 16px 16px; color: #3D4A5C; line-height: 1.65; }
.ea-price-table { border: 1px solid var(--ea-line); border-radius: 10px; overflow: hidden; max-width: 460px; }
.ea-price-table div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 14px; }
.ea-price-table div + div { border-top: 1px solid var(--ea-line); }
.ea-price-table div:nth-child(odd) { background: #F7F9FC; }
.ea-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.ea-contact-card { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--ea-line); border-radius: 14px; color: var(--ea-text) !important; text-decoration: none !important; }
.ea-contact-card:hover { border-color: #7FA6E8; box-shadow: 0 4px 14px rgba(11, 31, 68, .07); }
.ea-contact-card b { display: block; font-size: 13px; color: var(--ea-muted); font-weight: 600; }
.ea-cc-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--ea-blue-soft); color: var(--ea-blue); display: flex; align-items: center; justify-content: center; }
@media (max-width: 900px) {
	.ea-doc-toc { position: static; flex-basis: 100%; flex-direction: row; flex-wrap: wrap; }
	.ea-doc-toc b { width: 100%; }
	.ea-doc-dl { border-top: 0; margin-top: 0; padding-top: 7px !important; }
	.ea-doc-body { padding: 4px 18px 22px; }
	.ea-doc-hero h1 { font-size: 28px; }
}

/* Polje-zamka za botove (ljudi ga ne vide) */
.ea-hp { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* ---------- Test: zaglavlje i rezultati ---------- */
.ts-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.tr-score { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, #F5F8FE, #EEF4FF); border: 1px solid #DCE6F8; margin: 6px 0 18px; }
.tr-ring { --p: 0; width: 132px; height: 132px; border-radius: 50%; flex: none; display: grid; place-items: center;
	background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--tr-c, var(--ea-blue)) calc(var(--p) * 1%), #DDE5F2 0); }
.tr-ring b { font-size: 30px; font-weight: 700; color: var(--ea-ink); font-variant-numeric: tabular-nums; }
.tr-ring.good { --tr-c: #2E7D32; } .tr-ring.mid { --tr-c: #B26A00; } .tr-ring.low { --tr-c: #B3261E; }
.tr-stats { flex: 1 1 240px; display: grid; gap: 10px; }
.tr-stat { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid #DCE6F8; font-size: 15px; }
.tr-stat:last-child { border-bottom: 0; padding-bottom: 0; }
.tr-stat span { color: var(--ea-muted); }
.tr-stat b { color: var(--ea-ink); font-variant-numeric: tabular-nums; }
.tr-q { border-left-width: 5px !important; }
.tr-q.ok { border-left-color: #2E7D32 !important; } .tr-q.part { border-left-color: #B26A00 !important; } .tr-q.bad { border-left-color: #B3261E !important; }
.tr-a { display: flex; align-items: flex-start; gap: 10px; padding: 9px 12px; border-radius: 10px; margin-bottom: 6px; background: #F7F9FC; font-size: 15px; }
.tr-a i { width: 18px; text-align: center; margin-top: 3px; flex: none; }
.tr-a.picked-ok { background: #E6F4EA; color: #1E6B34; font-weight: 600; }
.tr-a.picked-bad { background: #FDEDEC; color: #8C1D18; }
.tr-a.missed { background: #fff; border: 1.5px dashed #9CC9A8; color: #1E6B34; }
.tr-a small { margin-left: auto; padding-left: 10px; font-size: 12px; opacity: .85; white-space: nowrap; }
.tr-pts { text-align: right; font-size: 14px; color: var(--ea-muted); margin-top: 8px; }
.tr-pts b { color: var(--ea-ink); }

/* Ilustracije sekcija (prozirna pozadina, 1000x850) */
.ea-home .index_article_image picture { display: block; width: 100%; max-width: 480px; margin: 0 auto; }
.ea-home .index_article_image picture img { width: 100%; height: auto; max-height: none; display: block; }
.ea-home .index_article_image:has(picture) { background: #fff; padding: 12px 20px !important; }   /* slike imaju bijelu pozadinu */

@media print {
	.ea-header, .ea-footer, .ea-promo, .ea-ads, .ea-progress, .ea-submit { display: none !important; }
	body.ea { background: #fff; }
	body.ea .form-body { border: 0; box-shadow: none; margin: 0; padding: 0; }
	.ea-q { break-inside: avoid; }
}
@media (prefers-reduced-motion: reduce) { .ea-progress-fill { transition: none; } }
