/* Dražbe 365 – tema: mirna, svijetla, s tamnoplavim zaglavljem i teal/indigo naglascima */
:root {
    --ink: #1e293b;
    --muted: #64748b;
    --bg: #f3f6fb;
    --card: #ffffff;
    --line: #e2e8f0;
    --navy: #0f172a;
    --navy-2: #1e293b;
    --accent: #0e9aa7;
    --accent-2: #4f6bed;
    --accent-soft: #e6f6f8;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .06);
    --bs-primary: #4f6bed;
    --bs-primary-rgb: 79, 107, 237;
    --bs-link-color: #3f57c8;
    --bs-link-hover-color: #2e43a5;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--bg);
    --bs-body-font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --bs-border-color: var(--line);
}

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { background: var(--bg); color: var(--ink); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
h1, h2, h3, h4, h5 { letter-spacing: -.01em; }
.pre-wrap { white-space: pre-wrap; }
dt { font-weight: 600; color: #475569; }
dd { overflow-wrap: anywhere; }
a { text-underline-offset: 2px; }
:focus-visible { outline: 3px solid rgba(79, 107, 237, .45); outline-offset: 2px; border-radius: 6px; }

/* ---------- Zaglavlje ---------- */
.site-header { background: linear-gradient(90deg, var(--navy) 0%, #172554 100%); box-shadow: 0 2px 12px rgba(15, 23, 42, .25); position: sticky; top: 0; z-index: 1030; }
.site-header .navbar { padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand:hover { color: #fff; }
.brand-logo { height: 44px; width: 44px; border-radius: 12px; box-shadow: 0 4px 14px rgba(14, 154, 167, .45); }

/* ---------- Naslovni banner ---------- */
.hero-banner { display: block; margin-top: 1.25rem; }
.hero-banner img { width: 100%; height: auto; display: block; border-radius: 20px; box-shadow: 0 18px 50px rgba(15, 23, 42, .25); }
.hero-banner + .search-wrap { margin-top: 1.5rem; }
.hero-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; font-size: 1.35rem; font-weight: 800; }
.hero-brand img { border-radius: 12px; }
.hero-brand b { color: #22d3ee; }
.hero-title { font-weight: 800; font-size: clamp(1.4rem, 6vw, 1.9rem); line-height: 1.2; margin-bottom: .5rem; }
.brand small { font-weight: 500; opacity: .7; font-size: .7rem; display: block; line-height: 1; margin-top: 2px; letter-spacing: .04em; text-transform: uppercase; }
.site-header .nav-link { color: #cbd5e1; padding: .5rem .9rem; border-radius: 10px; font-weight: 500; }
.site-header .nav-link:hover, .site-header .nav-link.active { color: #fff; background: rgba(255, 255, 255, .1); }
.site-header .navbar-toggler { border-color: rgba(255, 255, 255, .3); }
.site-header .navbar-toggler-icon { filter: invert(1); }
.beta-pill { font-size: .65rem; font-weight: 600; color: #fde68a; border: 1px solid rgba(253, 230, 138, .5); border-radius: 99px; padding: .1rem .5rem; margin-left: .3rem; vertical-align: middle; }

/* ---------- Hero ---------- */
.hero { background: radial-gradient(1200px 400px at 85% -20%, rgba(79, 107, 237, .35), transparent 60%), radial-gradient(900px 400px at 0% 120%, rgba(14, 154, 167, .35), transparent 60%), linear-gradient(135deg, #0f172a, #1e2a5a); color: #fff; border-radius: 20px; padding: 2.2rem 1.5rem 5.5rem; margin-top: 1.25rem; position: relative; }
.hero h1 { font-weight: 800; font-size: clamp(1.6rem, 4.5vw, 2.5rem); }
.hero p { color: #cbd5e1; max-width: none; font-size: 1.05rem; }
.search-wrap { margin-top: -4.2rem; position: relative; z-index: 2; }

/* ---------- Kartice ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
.card-header { background: transparent; border-bottom: 1px solid var(--line); font-weight: 700; padding: .85rem 1.1rem; }
.card-header.sec { display: flex; align-items: center; gap: .6rem; }
.sec-num { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-size: .8rem; font-weight: 700; flex: none; }
.card-body { padding: 1.1rem; }

/* ---------- Obrasci ---------- */
.form-label { font-size: .8rem; font-weight: 600; color: #475569; margin-bottom: .25rem; }
.form-control, .form-select { border-radius: 10px; border-color: #cbd5e1; padding: .6rem .8rem; min-height: 44px; }
.form-control:focus, .form-select:focus { border-color: var(--accent-2); box-shadow: 0 0 0 .2rem rgba(79, 107, 237, .18); }
.form-select:disabled { background-color: #f1f5f9; color: #94a3b8; }
.btn { border-radius: 10px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.btn-sm { min-height: 34px; }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), #3b82f6); border: 0; box-shadow: 0 4px 14px rgba(79, 107, 237, .35); }
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, #3f57c8, #2f6fe0); }
.btn-outline-primary { color: #3f57c8; border-color: #b6c2f5; }
.btn-outline-primary:hover { background: #3f57c8; border-color: #3f57c8; }
.filter-card { padding: 1.1rem; }
.filter-title { font-weight: 700; margin-bottom: .75rem; display: flex; align-items: center; gap: .5rem; }
.filter-hint { font-size: .85rem; color: var(--muted); }
.reset-link { font-size: .85rem; }

/* ---------- Korak-po-korak (početna) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.step { display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.step b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); flex: none; }
.step div { font-size: .92rem; color: var(--muted); }
.step strong { display: block; color: var(--ink); }
.stat { text-align: center; padding: 1rem; }
.stat .n { font-size: 1.8rem; font-weight: 800; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--muted); font-size: .85rem; }

/* ---------- Rezultati ---------- */
.table { --bs-table-bg: transparent; margin-bottom: 0; }
.results-card { overflow: hidden; }
.results-card thead th { background: #f8fafc; color: #475569; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); white-space: nowrap; }
.results-card tbody tr:hover { background: #f8fbff; }
.badge { font-weight: 600; border-radius: 99px; padding: .4em .75em; }
.text-bg-success { background: #dcfce7 !important; color: #166534 !important; }
.text-bg-primary { background: #e0e7ff !important; color: #3730a3 !important; }
.text-bg-secondary { background: #e2e8f0 !important; color: #475569 !important; }
.text-bg-light { background: #f1f5f9 !important; color: #475569 !important; }
.pagination { --bs-pagination-border-radius: 10px; --bs-pagination-active-bg: var(--accent-2); --bs-pagination-active-border-color: var(--accent-2); gap: .25rem; }
.page-link { border-radius: 10px !important; min-width: 40px; text-align: center; border-color: var(--line); }
.breadcrumb { font-size: .9rem; margin-top: 1rem; }

/* ---------- Detalji ---------- */
.detail-head { margin: 1rem 0 1.25rem; }
.live-card { border-color: #86efac; background: linear-gradient(180deg, #f0fdf4, #fff 70%); }
.live-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; margin-right: .4rem; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .8rem; text-align: center; height: 100%; }
.kpi .v { font-size: 1.25rem; font-weight: 800; }
.kpi .t { font-size: .78rem; color: var(--muted); }
.price-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; margin-bottom: 1rem; }

/* ---------- Podnožje ---------- */
.site-footer { background: var(--navy); color: #94a3b8; margin-top: 3rem; font-size: .9rem; }
.site-footer a { color: #cbd5e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h6 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.logo-chip { background: #fff; border-radius: 12px; padding: .15rem .5rem; display: inline-flex; align-items: center; }
.logo-chip img { height: 52px; width: auto; display: block; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; }
.update-dot { display: inline-block; flex: none; width: .6rem; height: .6rem; border-radius: 50%; background: #10b981; margin-top: .35rem; box-shadow: 0 0 0 0 rgba(16,185,129,.55); animation: update-pulse 2s ease-in-out infinite; }
@keyframes update-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .update-dot { animation: none; } }

/* ---------- Pravne stranice ---------- */
.legal { max-width: 860px; }
.legal h2 { font-size: 1.15rem; margin-top: 2rem; }
.legal p, .legal li { color: #334155; line-height: 1.65; }

.filter-details > summary { list-style: none; cursor: pointer; }
.filter-details > summary::-webkit-details-marker { display: none; }
@media (min-width: 768px) { .filter-details > summary { display: none !important; } }

/* ---------- Mobilni prikaz ---------- */
@media (max-width: 767.98px) {
    .steps { grid-template-columns: 1fr; }
    .hero { border-radius: 16px; padding: 1.5rem 1.1rem 5rem; margin-top: .75rem; }
    .site-header .navbar-collapse { padding: .5rem 0 .75rem; }
    /* tablica rezultata postaje popis kartica */
    .results-card { background: transparent; border: 0; box-shadow: none; }
    .results-card table, .results-card tbody, .results-card tr, .results-card td { display: block; width: 100%; }
    .results-card thead { display: none; }
    .results-card tr { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: .9rem; margin-bottom: .8rem; }
    .results-card td { border: 0; padding: .2rem 0; min-width: 0 !important; text-align: left !important; }
    .results-card td[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-size: .8rem; font-weight: 600; }
    .results-card td.cell-btn { padding-top: .6rem; }
    .results-card td.cell-btn .btn { width: 100%; }
    .table-responsive { overflow: visible; }
    dt { margin-top: .5rem; }
}

/* ---------- Prijava administratora ---------- */
.login-wrap { min-height: calc(100vh - 330px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2.5rem 0 1.5rem; position: relative; }
.login-wrap::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none; background: radial-gradient(600px 300px at 20% 10%, rgba(79,107,237,.12), transparent 70%), radial-gradient(600px 300px at 85% 90%, rgba(14,154,167,.14), transparent 70%); }
.login-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 24px 60px rgba(15,23,42,.12); padding: 2rem 1.75rem 1.25rem; }
.login-top { text-align: center; margin-bottom: 1.5rem; }
.login-top h1 { font-size: 1.35rem; font-weight: 800; margin: .9rem 0 .25rem; }
.login-top p { color: var(--muted); font-size: .92rem; margin: 0; }
.login-icon { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 24px rgba(79,107,237,.35); }
.login-label { display: block; font-size: .8rem; font-weight: 600; color: #475569; margin: 1rem 0 .35rem; }
.login-field { position: relative; display: flex; align-items: center; }
.login-field > svg { position: absolute; left: 14px; color: #94a3b8; pointer-events: none; }
.login-field input { width: 100%; height: 48px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 0 46px 0 42px; font-size: 1rem; background: #f8fafc; transition: border-color .15s, box-shadow .15s, background .15s; }
.login-field input:focus { outline: 0; background: #fff; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(79,107,237,.15); }
.login-field:focus-within > svg { color: var(--accent-2); }
.login-eye { position: absolute; right: 6px; width: 36px; height: 36px; border: 0; background: transparent; color: #94a3b8; border-radius: 9px; display: grid; place-items: center; cursor: pointer; }
.login-eye:hover, .login-eye.on { color: var(--accent-2); background: #eef2ff; }
.login-btn { width: 100%; height: 50px; margin-top: 1.5rem; font-size: 1rem; }
.login-btn .spin { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.login-btn .spin[hidden] { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.login-alert { display: flex; align-items: center; gap: .55rem; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 12px; padding: .7rem .9rem; font-size: .9rem; margin-bottom: .5rem; }
.login-alert svg { flex: none; }
.login-foot { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; gap: .4rem; justify-content: center; align-items: center; flex-wrap: wrap; }
.login-by { margin-top: 1.25rem; color: var(--muted); font-size: .8rem; }
@media (max-width: 575.98px) { .login-card { padding: 1.5rem 1.15rem 1rem; border-radius: 16px; } .login-wrap { padding-top: 1.25rem; } }

.login-eye .eye-off { display: none; }
.login-eye.on .eye-off { display: block; }
.login-eye.on .eye-on { display: none; }

.site-footer a.admin-link { margin-left: .6rem; font-size: .75rem; color: #64748b; opacity: .8; }
.site-footer a.admin-link:hover { color: #cbd5e1; opacity: 1; }

/* ---------- Traka rezultata i tablica (v2) ---------- */
.result-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.result-count { display: inline-flex; align-items: baseline; gap: .5rem; color: var(--muted); font-size: .95rem; }
.result-count .num { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.sort-box { display: inline-flex; align-items: center; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; box-shadow: 0 1px 2px rgba(15,23,42,.04); overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sort-box:focus-within { border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(79,107,237,.15); }
.sort-box label { display: inline-flex; align-items: center; gap: .4rem; margin: 0; padding: 0 .8rem; height: 44px; background: #f1f5f9; color: #475569; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; border-right: 1px solid #e2e8f0; }
.sort-box select { border: 0; background-color: transparent; height: 44px; padding: 0 2.2rem 0 .85rem; font-size: .95rem; font-weight: 600; color: var(--ink); cursor: pointer; outline: 0; appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .75rem center; }

.results-table { border-collapse: separate; border-spacing: 0; }
.results-table thead th { padding: .85rem 1rem; background: #f8fafc; border-bottom: 1px solid var(--line); color: #64748b; font-size: .7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.results-table tbody td { padding: 1rem; border-bottom: 1px solid #eef2f7; vertical-align: middle; }
.results-table tbody tr:last-child td { border-bottom: 0; }
.results-table tbody tr { transition: background .12s; }
.results-table tbody tr:hover { background: #f5f8ff; }
.cell-main { min-width: 280px; max-width: 420px; }
.r-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 650; font-size: .95rem; line-height: 1.35; color: #1e3a8a; text-decoration: none; }
.r-title:hover { color: var(--accent-2); text-decoration: underline; }
.r-meta { margin-top: .3rem; font-size: .78rem; color: var(--muted); }
.r-meta span { opacity: .6; margin: 0 .15rem; }
.r-sub { font-size: .75rem; color: var(--muted); margin-top: .1rem; }
.type-chip { display: inline-block; padding: .25rem .65rem; border-radius: 8px; font-size: .8rem; font-weight: 650; white-space: nowrap; }
.t-nek { background: #e0f2fe; color: #075985; }
.t-pok { background: #fef3c7; color: #92400e; }
.t-ost { background: #f1f5f9; color: #475569; }
.cell-loc { min-width: 170px; }
.cell-loc .pin { float: left; margin: .22rem .45rem 0 0; color: var(--accent); }
.cell-loc > div { overflow: hidden; }
.loc-main { font-weight: 600; font-size: .9rem; }
.price-est { color: #64748b; font-size: .9rem; }
.price-start { font-weight: 800; font-size: 1rem; color: var(--ink); letter-spacing: -.01em; }
.status-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; }
.status-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.cell-status { white-space: nowrap; }
.go-btn { width: 38px; height: 38px; border-radius: 11px; border: 1px solid #cbd5e1; color: #475569; display: inline-grid; place-items: center; text-decoration: none; transition: all .15s; background: #fff; }
.go-btn:hover, .results-table tbody tr:hover .go-btn { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
@media (max-width: 767.98px) {
    .sort-box { width: 100%; }
    .sort-box select { flex: 1; min-width: 0; }
    .results-table tbody td { border-bottom: 0; padding: .2rem 0; }
    .results-table tbody tr:hover { background: var(--card); }
    .cell-main { max-width: none; min-width: 0; }
    .r-title { font-size: 1rem; }
    .cell-loc .pin { display: none; }
    .go-btn { width: 100%; height: 44px; display: flex; gap: .5rem; font-weight: 650; font-size: .95rem; margin-top: .4rem; align-items: center; justify-content: center; }
    .cell-status { display: flex !important; align-items: center; gap: .6rem; padding-top: .5rem !important; }
}

/* ---------- Upozorenja o rizicima, oznaka udjela ---------- */
.risk-box { background: #fffbeb; border: 1px solid #fcd34d; border-left: 5px solid #f59e0b; border-radius: 12px; padding: 1rem 1.15rem; margin-bottom: 1rem; color: #78350f; }
.risk-head { display: flex; align-items: center; gap: .5rem; font-weight: 800; margin-bottom: .5rem; color: #92400e; }
.risk-box ul { margin: 0; padding-left: 1.2rem; }
.risk-box li { margin-bottom: .55rem; }
.risk-quote { font-size: .82rem; font-style: italic; color: #92400e; opacity: .85; margin-top: .15rem; overflow-wrap: anywhere; }
.risk-note { font-size: .75rem; opacity: .8; margin-top: .25rem; }
.udio-chip { display: inline-block; margin-top: .35rem; margin-right: .4rem; padding: .1rem .5rem; border-radius: 6px; background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 700; border: 1px solid #fcd34d; }

/* ---------- Admin: navigacija i analitika ---------- */
.admin-tabs { display: flex; gap: .35rem; margin: 1rem 0 1.25rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.admin-tabs a { padding: .6rem 1rem; text-decoration: none; color: var(--muted); font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.admin-tabs a:hover { color: var(--ink); }
.admin-tabs a.active { color: var(--accent-2); border-bottom-color: var(--accent-2); }
.an-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.an-kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; box-shadow: var(--shadow); }
.an-kpi .v { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; display: flex; align-items: center; }
.an-kpi .l { color: var(--muted); font-size: .82rem; }
.an-delta { display: block; font-size: .72rem; color: var(--muted); margin-top: .25rem; }
.an-delta.up { color: #15803d; } .an-delta.down { color: #b91c1c; }
.an-chart { display: flex; align-items: flex-end; gap: 2px; height: 180px; padding-top: .5rem; }
.an-chart.hours { height: 140px; gap: 4px; }
.an-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.an-bars { flex: 1; width: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 1px; }
.an-bars i { display: block; flex: 1; max-width: 18px; border-radius: 3px 3px 0 0; min-height: 1px; }
.an-bars i.p { background: linear-gradient(180deg, var(--accent-2), #7c93f5); }
.an-bars i.v { background: linear-gradient(180deg, var(--accent), #5fd0d9); }
.an-col:hover .an-bars i { filter: brightness(.85); }
.an-hour { font-size: .65rem; color: var(--muted); margin-top: 2px; }
.an-legend { display: flex; gap: 1rem; font-size: .78rem; color: var(--muted); margin-top: .5rem; }
.an-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: .3rem; }
.an-legend i.p { background: var(--accent-2); } .an-legend i.v { background: var(--accent); }
.an-list { list-style: none; padding: 0; margin: 0; }
.an-list li { margin-bottom: .6rem; }
.an-row { display: flex; justify-content: space-between; gap: .75rem; font-size: .9rem; }
.an-name { overflow-wrap: anywhere; min-width: 0; }
.an-sub { font-size: .72rem; color: var(--muted); }
.an-num { font-weight: 700; font-variant-numeric: tabular-nums; }
.an-bar { height: 5px; border-radius: 3px; background: #eef2f7; margin-top: .25rem; overflow: hidden; }
.an-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-2), var(--accent)); border-radius: 3px; }

/* ---------- Česta pitanja ---------- */
.faq { margin-top: 3rem; max-width: none; }
.faq-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.faq-eyebrow { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0e7490; background: var(--accent-soft); border: 1px solid #a5e3ea; padding: .2rem .7rem; border-radius: 99px; }
.faq-head h2 { font-size: 1.9rem; font-weight: 800; color: var(--navy); margin: .7rem 0 .4rem; }
.faq-head p { color: #475569; margin: 0; }
.faq-grupa-head { display: flex; align-items: center; gap: .85rem; margin: 2rem 0 1rem; }
.faq-grupa-head h3 { font-size: 1.15rem; font-weight: 800; margin: 0; color: var(--navy); }
.faq-grupa-head span { font-size: .85rem; color: var(--muted); }
.faq-ico { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 8px 18px rgba(79,107,237,.25); }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1rem; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.1rem; margin: 0; transition: box-shadow .15s, border-color .15s; }
.faq details:hover { border-color: #c7d2fe; box-shadow: 0 6px 18px rgba(79,107,237,.1); }
.faq details[open] { border-color: #a5b4fc; box-shadow: 0 8px 22px rgba(79,107,237,.14); }
.faq summary { cursor: pointer; padding: 1rem 0; font-weight: 650; line-height: 1.4; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; line-height: 1; color: var(--accent-2); background: #eef2ff; transition: transform .2s, background .15s; }
.faq details[open] summary::after { content: "–"; background: var(--accent-2); color: #fff; }
.faq summary:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(79,107,237,.35); border-radius: 8px; }
.faq details p { color: #475569; margin: 0; padding: .1rem 0 1.15rem; line-height: 1.65; border-top: 1px solid var(--line); padding-top: .9rem; font-size: .95rem; }
.faq-cta { display: flex; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.25rem 1.5rem; border-radius: 16px; background: linear-gradient(135deg, #0f172a, #1e3a8a 70%, #0e7490); color: #e2e8f0; }
.faq-cta strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: .15rem; }
.faq-cta span { font-size: .9rem; color: #cbd5e1; }
.faq-cta a:not(.btn) { color: #93c5fd; }
@media (max-width: 767.98px) { .faq-grid { grid-template-columns: 1fr; } .faq-head h2 { font-size: 1.5rem; } .faq-cta .btn { width: 100%; } }

/* ---------- Traka: aktualnost podataka i napomena (iznad podnožja) ---------- */
.data-status { margin-top: 2.5rem; }
.ds-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .85rem; }
.ds-item { display: flex; gap: .8rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1.1rem; box-shadow: var(--shadow); }
.ds-fresh { border-left: 4px solid #10b981; background: linear-gradient(90deg, #f0fdf8, #fff 60%); }
.ds-info { border-left: 4px solid #f59e0b; background: linear-gradient(90deg, #fffbeb, #fff 60%); }
.ds-info > svg { flex: none; color: #d97706; margin-top: .1rem; }
.ds-title { font-weight: 700; font-size: .92rem; color: var(--ink); }
.ds-text { font-size: .83rem; color: #475569; line-height: 1.5; }
.ds-text a { font-weight: 600; }
.data-status + .site-footer { margin-top: 1.5rem; }

/* ---------- Paginacija (v2) ---------- */
.pager { margin: 1.75rem 0 .5rem; display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.pager-info { font-size: .85rem; color: var(--muted); }
.pager-info strong { color: var(--ink); }
.pager-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; }
.pager-list .gap { color: var(--muted); padding: 0 .25rem; user-select: none; }
.pager-btn { min-width: 42px; height: 42px; padding: 0 .85rem; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; background: #fff; border: 1px solid #d5deea; border-radius: 12px; color: #334155; font-weight: 600; font-size: .92rem; text-decoration: none; box-shadow: 0 1px 2px rgba(15,23,42,.05); transition: background .15s, border-color .15s, color .15s, transform .1s; }
.pager-btn:hover { background: #eef2ff; border-color: #b6c2f5; color: var(--accent-2); transform: translateY(-1px); }
.pager-btn.active { background: linear-gradient(135deg, var(--accent-2), #3b82f6); border-color: transparent; color: #fff; box-shadow: 0 6px 16px rgba(79,107,237,.35); pointer-events: none; }
.pager-list .disabled .pager-btn { opacity: .45; pointer-events: none; box-shadow: none; background: #f1f5f9; }
@media (max-width: 575.98px) { .pager-btn { min-width: 40px; height: 40px; padding: 0 .6rem; } .pager-list { gap: .3rem; } }

/* ---------- Stranice gradova ---------- */
.city-hero { margin-top: .5rem; padding: 1.5rem 1.5rem 1.25rem; background: linear-gradient(135deg, #0f172a, #1e2a5a); color: #fff; border-radius: 20px; box-shadow: 0 18px 50px rgba(15,23,42,.18); }
.city-hero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; margin-bottom: .6rem; }
.city-lead { color: #cbd5e1; max-width: 900px; line-height: 1.6; margin-bottom: 1.1rem; }
.city-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.city-kpis > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: .7rem .9rem; }
.city-kpis b { display: block; font-size: 1.15rem; font-weight: 800; }
.city-kpis span { font-size: .78rem; color: #94a3b8; }
.city-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-block; padding: .35rem .85rem; border-radius: 99px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #e2e8f0; text-decoration: none; font-size: .85rem; font-weight: 600; transition: background .15s; }
.chip:hover { background: rgba(255,255,255,.2); color: #fff; }
.chip.on { background: #fff; color: #1e3a8a; border-color: #fff; }
.city-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.city-links a { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .5rem .85rem; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .9rem; box-shadow: 0 1px 2px rgba(15,23,42,.04); transition: border-color .15s, transform .1s; }
.city-links a:hover { border-color: #b6c2f5; transform: translateY(-1px); color: var(--accent-2); }
.city-links i { font-style: normal; font-size: .75rem; font-weight: 700; background: #eef2ff; color: #3730a3; padding: .1rem .5rem; border-radius: 99px; }
.city-note { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; color: #475569; }
.city-note p { margin: 0; line-height: 1.65; }

.city-up { color: #cbd5e1; font-size: .9rem; margin: -.2rem 0 1rem; }
.city-up a { color: #fff; font-weight: 700; }

/* ===== E-obavijesti (prijava na mail listu) ===== */
.subscribe-box { display: grid; grid-template-columns: 1fr 1.1fr; gap: 1.5rem; align-items: center; background: linear-gradient(135deg, #0f172a, #1e3a8a 70%, #0e7490); color: #e2e8f0; border-radius: 20px; padding: 1.6rem 1.75rem; box-shadow: var(--shadow); }
.subscribe-box h2 { color: #fff; font-size: 1.3rem; font-weight: 800; margin: .5rem 0 .35rem; }
.subscribe-box p { margin: 0; color: #cbd5e1; font-size: .95rem; line-height: 1.55; }
.sb-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 99px; background: rgba(14,154,167,.18); color: #67e8f9; border: 1px solid rgba(103,232,249,.35); }
.notify-head .sb-badge { background: var(--accent-soft); color: #0e7490; border-color: #a5e3ea; }
.sb-row { display: flex; gap: .5rem; }
.sb-row input[type=email] { flex: 1; min-width: 0; height: 48px; border: 1px solid #cbd5e1; border-radius: 12px; padding: 0 1rem; font-size: 1rem; background: #fff; color: var(--ink); }
.sb-row input[type=email]:focus { outline: 0; box-shadow: 0 0 0 4px rgba(79,107,237,.35); }
.sb-row .btn { height: 48px; white-space: nowrap; padding: 0 1.3rem; }
.sb-consent, .sb-opt { display: flex; gap: .55rem; align-items: flex-start; font-size: .8rem; line-height: 1.45; margin-top: .65rem; color: #cbd5e1; cursor: pointer; }
.sb-opt { font-size: .88rem; margin: 0 0 .6rem; color: #e2e8f0; }
.sb-consent input, .sb-opt input { margin-top: .2rem; flex: none; width: 16px; height: 16px; }
.sb-consent a, .sb-opt a { color: #93c5fd; }
.sb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notify-page { max-width: 760px; margin: 0 auto; padding-bottom: 1rem; }
.notify-head h1 { font-size: 1.7rem; font-weight: 800; margin: .6rem 0 .5rem; }
.notify-head p { color: #475569; line-height: 1.65; }
.notify-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.25rem 1.4rem 1.5rem; box-shadow: var(--shadow); }
.notify-form .sb-consent { color: #475569; font-size: .85rem; }
.notify-form .sb-consent a { color: var(--bs-link-color); }
.opt-group { border: 0; padding: 0; margin: 0 0 1.25rem; min-width: 0; }
.opt-group legend { float: none; font-size: .9rem; font-weight: 700; color: var(--navy); padding: 0; margin-bottom: .55rem; }
.opt-group legend small { font-weight: 500; color: var(--muted); }
.opt-line { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; line-height: 1.5; margin-bottom: .5rem; cursor: pointer; }
.opt-line input { margin-top: .25rem; flex: none; width: 17px; height: 17px; }
.opt-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.opt-chip input { position: absolute; opacity: 0; pointer-events: none; }
.opt-chip span { display: inline-block; padding: .35rem .8rem; border: 1px solid #cbd5e1; border-radius: 99px; background: #f8fafc; font-size: .85rem; cursor: pointer; transition: all .12s; user-select: none; }
.opt-chip input:checked + span { background: var(--accent-2); border-color: var(--accent-2); color: #fff; font-weight: 600; }
.opt-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(79,107,237,.35); }
.opt-price { display: flex; align-items: center; gap: .5rem; }
.opt-price input { width: 180px; height: 42px; border: 1px solid #cbd5e1; border-radius: 10px; padding: 0 .8rem; }
.notify-done { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 2rem 1.5rem; }
.notify-done p { color: #475569; max-width: 520px; margin-left: auto; margin-right: auto; }
.notify-page { padding-top: 2.5rem; }
.notify-done h1 { font-weight: 800; margin-bottom: .6rem; }
.notify-done .nd-lead { margin-bottom: .6rem; }
.nd-email { display: inline-block; max-width: 100%; overflow-wrap: anywhere; font-weight: 700; font-size: 1.05rem; color: var(--navy); background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 99px; padding: .4rem 1.1rem; margin-bottom: 1.1rem; }
.nd-list { list-style: none; padding: 0; margin: 0 auto 1.4rem; max-width: 420px; text-align: left; display: grid; gap: .5rem; }
.nd-list li { position: relative; padding-left: 1.7rem; font-size: .92rem; color: #334155; line-height: 1.45; }
.nd-list li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #dcfce7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat; }
.notify-done { padding: 2.25rem 1.5rem 2rem; }
.nd-icon { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 1rem; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 10px 24px rgba(79,107,237,.3); }
.nd-icon.nd-warn { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.watch-row { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.notify-danger { margin-top: 1.5rem; padding: 1rem 1.25rem; border: 1px dashed #cbd5e1; border-radius: 12px; background: #fff; }
@media (max-width: 767.98px) {
    .subscribe-box { grid-template-columns: 1fr; padding: 1.25rem 1.1rem; gap: 1rem; }
    .sb-row { flex-direction: column; }
    .sb-row input[type=email] { flex: none; width: 100%; }
    .sb-row .btn { width: 100%; }
}

/* Uska traka za prijavu na obavijesti (pri vrhu stranica) */
.subscribe-box.sb-slim { grid-template-columns: 1fr 1.25fr; gap: 1rem 1.5rem; padding: .95rem 1.25rem; border-radius: 16px; }
.sb-slim .sb-badge { display: none; }
.sb-slim h2 { font-size: 1.05rem; margin: 0 0 .15rem; }
.sb-slim p { font-size: .85rem; line-height: 1.4; }
.sb-slim .sb-row input[type=email], .sb-slim .sb-row .btn { height: 42px; }
.sb-slim .sb-consent { margin-top: .45rem; font-size: .75rem; }
@media (max-width: 767.98px) { .subscribe-box.sb-slim { grid-template-columns: 1fr; padding: 1rem; } .sb-slim p { display: none; } }

.faq-links { padding: 0 0 1.1rem; }
.faq-links strong { display: block; font-size: .85rem; color: var(--navy); margin-bottom: .55rem; }
.faq details .faq-links .city-links { margin: 0; }

@media (max-width: 575.98px) {
    .sort-box { width: 100%; }
    .sort-box select { flex: 1; min-width: 0; text-overflow: ellipsis; }
}
