﻿/*
 * Site.css - videz portala Občinsko OKO (Site.master in strani)
 *
 * Oranžna #f7941e je za gumbe, značke in poudarke; besedila povezav so v temnejšem odtenku zaradi kontrasta. Glava:
 * logotip, občina kot iskalno polje, prijava; pod njo dva glavna dela (Dodaj pobudo, Pregled pobud) in stranske povezave.
 * Karta s ploščo pobude, preklop zemljevid/seznam, čipi kategorij in statusov, kartice s fotografijo in barvnimi značkami
 * statusov, obrazec v korakih s soglasjem. Odzivno pod 760 px: zloženi filtri, lebdeči gumb, plošča od spodaj, en korak
 * obrazca naenkrat.
 */
:root {
	--oko-primary: #f7941e;
	--oko-primary-dark: #d97d0e;
	--oko-primary-soft: #fff3e2;
	--oko-link: #b8650a;
	--oko-dark: #2f2f2f;
	--oko-text: #2b2b2b;
	--oko-muted: #6f6f6f;
	--oko-border: #e3e3e3;
	--oko-bg: #f6f6f6;
	--oko-white: #ffffff;
	--oko-radius: 12px;
	--oko-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	--oko-font: "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.oko-page {
	margin: 0;
	font-family: var(--oko-font);
	font-size: 16px;
	line-height: 1.5;
	color: var(--oko-text);
	background: var(--oko-white);
}
body.oko-noscroll { overflow: hidden; }
a { color: var(--oko-link); }
a:hover { color: var(--oko-primary-dark); }
img { max-width: 100%; height: auto; }
svg { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -0.18em; flex: none; }
.oko-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.oko-sr { position: absolute; left: -9999px; }
.oko-muted { color: var(--oko-muted); }
.oko-small { font-size: 14px; }
.oko-lead { font-size: 17px; color: var(--oko-muted); }
.oko-h1 { margin: 0 0 16px; font-size: 28px; font-weight: 700; color: var(--oko-dark); }
.oko-h2 { margin: 20px 0 10px; font-size: 20px; font-weight: 600; }
.oko-content { padding: 24px 16px 40px; }
.oko-content-narrow { max-width: 880px; }
.oko-empty { padding: 36px 16px; text-align: center; color: var(--oko-muted); background: var(--oko-bg); border-radius: var(--oko-radius); }
.oko-breadcrumb { margin: 0 0 14px; font-size: 15px; }

/* ---- gumbi, polja, značke ------------------------------------------------------------------------------------ */
.oko-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 9px 16px;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--oko-dark);
	background: var(--oko-bg);
	border: 1px solid var(--oko-border);
	border-radius: 999px;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.15s, border-color 0.15s;
}
.oko-btn:hover { background: #ebebeb; color: var(--oko-dark); }
.oko-btn-primary { color: var(--oko-white); background: var(--oko-primary); border-color: var(--oko-primary); }
.oko-btn-primary:hover { background: var(--oko-primary-dark); border-color: var(--oko-primary-dark); color: var(--oko-white); }
.oko-btn-small { padding: 6px 12px; font-size: 14px; }
.oko-btn-big { padding: 13px 24px; font-size: 16px; }
.oko-btn[disabled], .oko-btn:disabled { opacity: 0.6; cursor: default; }
.oko-icon-btn { padding: 4px 6px; font: inherit; color: inherit; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.oko-icon-btn:hover { background: var(--oko-bg); }
.oko-link-btn { display: inline-flex; align-items: center; gap: 5px; padding: 0; font: inherit; color: var(--oko-link); background: transparent; border: 0; cursor: pointer; }
.oko-link-btn:hover { color: var(--oko-primary-dark); }
.oko-input {
	width: 100%;
	padding: 9px 12px;
	font: inherit;
	color: var(--oko-text);
	background: var(--oko-white);
	border: 1px solid #cfcfcf;
	border-radius: 10px;
}
.oko-input:focus { outline: 2px solid rgba(247, 148, 30, 0.45); border-color: var(--oko-primary); }
textarea.oko-input { resize: vertical; min-height: 96px; }
.oko-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.oko-check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--oko-primary); }
.oko-consent { padding: 12px 14px; background: var(--oko-primary-soft); border: 1px solid #f5cf9a; border-radius: 10px; font-size: 14px; }
.oko-badge { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap; background: var(--st-bg, #ececef); color: var(--st-fg, #555); }
.oko-badge-own { --st-bg: var(--oko-primary); --st-fg: #ffffff; }
.oko-status-1 { --st-bg: #fff1d6; --st-fg: #8a5a00; }
.oko-status-2 { --st-bg: #e3edfb; --st-fg: #1e5aa8; }
.oko-status-3 { --st-bg: #d9f3ef; --st-fg: #0f766e; }
.oko-status-4 { --st-bg: #e4f5de; --st-fg: #2d6a1f; }
.oko-status-5 { --st-bg: #e7e5ff; --st-fg: #4338ca; }
.oko-status-6 { --st-bg: #fde2e2; --st-fg: #a32020; }
.oko-status-7 { --st-bg: #ececef; --st-fg: #5b6270; }

/* čipi (kategorije, statusi) */
.oko-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.oko-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 13px 6px 9px;
	font-size: 14px;
	font-weight: 600;
	color: var(--oko-text);
	background: var(--oko-white);
	border: 1px solid #d6d6d6;
	border-radius: 999px;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}
.oko-chip img { height: 22px; width: auto; }
.oko-chip:hover { border-color: var(--oko-primary); color: var(--oko-text); }
.oko-chip.active { background: var(--oko-primary); border-color: var(--oko-primary); color: var(--oko-white); }
.oko-chip-status .oko-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--st-fg); }
.oko-chip-status.active { background: var(--st-fg); border-color: var(--st-fg); }
.oko-chip-status.active .oko-dot { background: var(--oko-white); }

/* preklop zemljevid / seznam */
.oko-view { display: inline-flex; padding: 3px; background: var(--oko-bg); border: 1px solid #d9d9d9; border-radius: 999px; }
.oko-view-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; font-size: 14px; font-weight: 600; color: var(--oko-muted); text-decoration: none; border-radius: 999px; }
.oko-view-btn.active { color: var(--oko-text); background: var(--oko-white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
.oko-view-btn:hover { color: var(--oko-text); }

/* opozorila in potrditev */
.oko-alert { position: relative; display: flex; align-items: flex-start; gap: 8px; margin: 14px 0; padding: 12px 40px 12px 16px; border-radius: var(--oko-radius); border: 1px solid; }
.oko-alert > svg { margin-top: 4px; }
.oko-alert ul { margin: 0; padding-left: 18px; }
.oko-alert-info { color: #6b4a0a; background: var(--oko-primary-soft); border-color: #f5cf9a; }
.oko-alert-error { color: #8a1f1f; background: #fdecec; border-color: #f3b6b6; }
.oko-alert-close { position: absolute; top: 8px; right: 10px; font-size: 22px; line-height: 1; color: inherit; background: transparent; border: 0; cursor: pointer; }
.oko-done { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 16px 0; padding: 14px 44px 14px 16px; color: #2d6a1f; background: #eaf6e4; border: 1px solid #b9dfa9; border-radius: var(--oko-radius); }
.oko-done-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; color: var(--oko-white); background: #2d6a1f; animation: oko-pop 0.5s ease; }
.oko-done-icon svg { width: 26px; height: 26px; }
.oko-done-text { display: flex; flex-direction: column; }
.oko-done-text strong { font-size: 17px; }
.oko-done-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
@keyframes oko-pop { 0% { transform: scale(0.3); opacity: 0; } 60% { transform: scale(1.15); } 100% { transform: scale(1); opacity: 1; } }

/* ---- glava ---------------------------------------------------------------------------------------------------- */
.oko-head { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.oko-logo img { display: block; width: 250px; height: auto; }
.oko-muni { position: relative; flex: 1 1 auto; max-width: 440px; }
.oko-muni-btn {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 10px 14px;
	font: inherit;
	font-size: 16px;
	text-align: left;
	color: var(--oko-text);
	background: var(--oko-white);
	border: 1px solid #cfcfcf;
	border-radius: 999px;
	cursor: pointer;
}
.oko-muni-btn:hover { border-color: var(--oko-primary); }
.oko-muni-btn svg { color: var(--oko-primary); }
.oko-muni-btn span { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.oko-muni-all span { color: var(--oko-muted); font-weight: 500; }
.oko-caret { display: inline-block; border: 5px solid transparent; border-top-color: var(--oko-muted); margin-top: 5px; }
.oko-muni-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	z-index: 40;
	padding: 10px;
	background: var(--oko-white);
	border: 1px solid var(--oko-border);
	border-radius: var(--oko-radius);
	box-shadow: var(--oko-shadow);
}
.oko-muni-list { max-height: 300px; margin: 8px 0 0; padding: 0; list-style: none; overflow-y: auto; }
.oko-muni-list a { display: block; padding: 7px 10px; color: var(--oko-text); text-decoration: none; border-radius: 8px; }
.oko-muni-list a:hover, .oko-muni-list li.active a { background: var(--oko-primary-soft); color: var(--oko-link); }
.oko-head-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.oko-head-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--oko-text); text-decoration: none; }
.oko-head-link svg { color: var(--oko-primary); }
.oko-menu { position: relative; }
.oko-menu summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; font-weight: 600; cursor: pointer; }
.oko-menu summary::-webkit-details-marker { display: none; }
.oko-menu summary svg { color: var(--oko-primary); }
.oko-menu summary::after { content: ""; display: inline-block; border: 5px solid transparent; border-top-color: var(--oko-muted); margin-top: 5px; }
.oko-menu ul {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 30;
	min-width: 240px;
	margin: 0;
	padding: 6px 0;
	list-style: none;
	background: var(--oko-white);
	border: 1px solid var(--oko-border);
	border-radius: var(--oko-radius);
	box-shadow: var(--oko-shadow);
}
.oko-menu ul a { display: block; padding: 9px 16px; color: var(--oko-text); text-decoration: none; }
.oko-menu ul a:hover { background: var(--oko-bg); color: var(--oko-text); }
.oko-menu ul svg { margin-right: 6px; color: var(--oko-primary); }
.oko-lang select { padding: 6px 8px; font: inherit; font-size: 13px; color: var(--oko-text); background: var(--oko-white); border: 1px solid #cfcfcf; border-radius: 8px; }

/* dva glavna dela in stranske povezave */
.oko-nav { background: var(--oko-dark); }
.oko-nav-in { display: flex; align-items: stretch; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
.oko-seg-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--oko-white);
	background: #454545;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.15s;
}
.oko-seg-btn:hover { background: #585858; color: var(--oko-white); }
.oko-seg-btn.active { background: var(--oko-white); color: var(--oko-dark); }
.oko-seg-add { background: var(--oko-primary); }
.oko-seg-add:hover { background: var(--oko-primary-dark); }
.oko-seg-add.active { background: var(--oko-primary-dark); color: var(--oko-white); box-shadow: inset 0 0 0 2px var(--oko-white); }
.oko-seg-btn svg { width: 1.3em; height: 1.3em; }
.oko-nav-links { display: flex; align-items: center; gap: 4px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.oko-nav-links a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 14px; color: #d8d8d8; text-decoration: none; border-radius: 999px; }
.oko-nav-links a:hover { color: var(--oko-white); background: #454545; }
.oko-nav-links li.active a { color: var(--oko-primary); }
.oko-fab { display: none; }

/* ---- karta ---------------------------------------------------------------------------------------------------- */
.oko-toolbar { background: var(--oko-white); border-bottom: 1px solid var(--oko-border); padding: 12px 0; }
.oko-toolbar-in { display: flex; align-items: center; gap: 14px; }
.oko-search { flex: 1 1 auto; display: flex; align-items: center; gap: 10px; }
.oko-search-field { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: var(--oko-bg); border: 1px solid #d9d9d9; border-radius: 999px; }
.oko-search-field:focus-within { border-color: var(--oko-primary); box-shadow: 0 0 0 2px rgba(247, 148, 30, 0.3); }
.oko-search-field svg { color: var(--oko-muted); }
.oko-search-field input { flex: 1 1 auto; min-width: 0; padding: 10px 0; font: inherit; font-size: 16px; color: var(--oko-text); background: transparent; border: 0; outline: none; }
.oko-seg { display: inline-flex; padding: 3px; background: var(--oko-bg); border: 1px solid #d9d9d9; border-radius: 999px; }
.oko-seg label { position: relative; }
.oko-seg input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.oko-seg span { display: block; padding: 7px 14px; font-size: 14px; font-weight: 600; color: var(--oko-muted); border-radius: 999px; cursor: pointer; }
.oko-seg input:checked + span { color: var(--oko-text); background: var(--oko-white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18); }
.oko-seg input:focus-visible + span { outline: 2px solid var(--oko-primary); }
.oko-mapwrap { position: relative; }
.oko-map { height: 560px; background: #e8e8e8; }
.oko-mapwrap-create .oko-map { height: 620px; }
.oko-marker { display: block; width: 30px; height: auto; }
.oko-map-locate {
	width: 40px;
	height: 40px;
	margin: 0 10px 10px 0;
	padding: 0;
	color: var(--oko-dark);
	background: var(--oko-white);
	border: 0;
	border-radius: 2px;
	box-shadow: rgba(0, 0, 0, 0.3) 0 1px 4px -1px;
	cursor: pointer;
}
.oko-map-locate:hover { color: var(--oko-primary-dark); }
.oko-map-locate svg { width: 24px; height: 24px; }
.oko-map-loading {
	position: absolute;
	top: 12px;
	left: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	font-size: 14px;
	background: var(--oko-white);
	border-radius: 999px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	transform: translateX(-50%);
}
.oko-spinner { width: 16px; height: 16px; border: 2px solid #ddd; border-top-color: var(--oko-primary); border-radius: 50%; animation: oko-spin 0.8s linear infinite; }
@keyframes oko-spin { to { transform: rotate(360deg); } }
.oko-map-hint {
	position: absolute;
	left: 50%;
	bottom: 20px;
	z-index: 5;
	max-width: 90%;
	margin: 0;
	padding: 8px 16px;
	font-size: 14px;
	color: var(--oko-white);
	background: rgba(47, 47, 47, 0.9);
	border-radius: 999px;
	transform: translateX(-50%);
}
.oko-sheet {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 6;
	width: 360px;
	max-width: calc(100% - 32px);
	max-height: calc(100% - 32px);
	overflow: auto;
	background: var(--oko-white);
	border-radius: 14px;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
}
.oko-sheet-close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 34px; height: 34px; padding: 0; color: var(--oko-dark); background: rgba(255, 255, 255, 0.92); border: 0; border-radius: 50%; cursor: pointer; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); }
.oko-sheet-close svg { width: 20px; height: 20px; }
.oko-sheet-photo { display: block; }
.oko-sheet-photo img { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: 14px 14px 0 0; }
.oko-sheet-body { padding: 12px 16px 16px; }
.oko-sheet-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-right: 30px; font-size: 13px; color: var(--oko-muted); }
.oko-sheet-top .oko-badge { margin-left: auto; }
.oko-cat-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--oko-bg); }
.oko-cat-ico img, img.oko-cat-ico { width: auto; height: 20px; }
img.oko-cat-ico { width: 24px; height: 24px; padding: 2px; }
.oko-sheet-title { margin: 8px 0 4px; font-size: 18px; line-height: 1.3; }
.oko-sheet-title a { color: var(--oko-text); text-decoration: none; }
.oko-sheet-title a:hover { color: var(--oko-link); }
.oko-sheet-text { display: -webkit-box; margin: 0 0 6px; font-size: 14px; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.oko-sheet-addr { display: flex; gap: 6px; margin: 0 0 6px; font-size: 13px; color: var(--oko-muted); }
.oko-sheet-addr svg { color: var(--oko-primary); margin-top: 3px; }
.oko-sheet-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 12px; color: var(--oko-muted); }
.oko-sheet .oko-btn { width: 100%; }

.oko-mapbar { background: var(--oko-white); border-bottom: 1px solid var(--oko-border); }
.oko-mapbar-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 8px; padding-bottom: 8px; font-size: 14px; }
.oko-count { font-weight: 700; }
.oko-legend { display: flex; gap: 16px; color: var(--oko-muted); }
.oko-legend span { display: inline-flex; align-items: center; gap: 4px; }
.oko-legend img { height: 20px; width: auto; }
.oko-cats { background: var(--oko-bg); border-bottom: 1px solid var(--oko-border); }
.oko-cats-in { display: flex; align-items: flex-start; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
.oko-cats-in .oko-chips { flex: 1 1 auto; }
.oko-more { position: relative; flex: none; }
.oko-more summary { list-style: none; }
.oko-more summary::-webkit-details-marker { display: none; }
.oko-more summary .oko-caret { margin: 5px 0 0 2px; }
.oko-more[open] summary { border-color: var(--oko-primary); }
.oko-more-list {
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	z-index: 30;
	width: 330px;
	max-width: calc(100vw - 32px);
	max-height: 380px;
	margin: 0;
	padding: 6px;
	list-style: none;
	overflow-y: auto;
	background: var(--oko-white);
	border: 1px solid var(--oko-border);
	border-radius: var(--oko-radius);
	box-shadow: var(--oko-shadow);
}
.oko-more-list a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; font-size: 14px; color: var(--oko-text); text-decoration: none; border-radius: 8px; }
.oko-more-list a:hover, .oko-more-list a.active { background: var(--oko-primary-soft); color: var(--oko-link); }
.oko-more-list img { height: 22px; width: auto; }

/* ---- seznam pobud ----------------------------------------------------------------------------------------------- */
.oko-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.oko-list-head .oko-h1 { margin: 0; }
.oko-filters { margin: 0 0 20px; }
.oko-filters-toggle { display: none; }
.oko-filterbar { display: flex; flex-direction: column; gap: 12px; padding: 14px; background: var(--oko-bg); border: 1px solid var(--oko-border); border-radius: var(--oko-radius); }
.oko-filter-more { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 14px; }
.oko-filter-more label { flex: 1 1 200px; display: block; min-width: 180px; max-width: 420px; }
.oko-filter-more label span { display: block; margin-bottom: 3px; font-size: 12px; color: var(--oko-muted); }
.oko-dot-on { display: inline-block; width: 8px; height: 8px; margin-left: 6px; border-radius: 50%; background: var(--oko-primary); }
.oko-cards { display: flex; flex-direction: column; gap: 18px; }
.oko-card { display: flex; background: var(--oko-white); border: 1px solid var(--oko-border); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06); }
.oko-card-photo { flex: 0 0 260px; display: block; background: var(--oko-bg); }
.oko-card-photo img { display: block; width: 100%; height: 100%; min-height: 200px; object-fit: cover; }
.oko-card-nophoto { display: flex; align-items: center; justify-content: center; }
.oko-card-nophoto img { width: 56px; height: auto; min-height: 0; opacity: 0.45; }
.oko-card-body { flex: 1 1 auto; min-width: 0; padding: 14px 18px 12px; }
.oko-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--oko-muted); }
.oko-card-top .oko-badge:last-of-type { margin-left: auto; }
.oko-event-del { color: var(--oko-muted); }
.oko-event-del:hover { color: #a32020; }
.oko-card-title { margin: 8px 0 6px; font-size: 20px; line-height: 1.3; }
.oko-card-title a { color: var(--oko-text); text-decoration: none; }
.oko-card-title a:hover { color: var(--oko-link); }
.oko-card-text { display: -webkit-box; margin: 0 0 8px; white-space: pre-line; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.oko-cards-single .oko-card-text { display: block; -webkit-line-clamp: none; }
.oko-card-addr { display: flex; align-items: flex-start; gap: 6px; margin: 0 0 8px; font-size: 14px; color: var(--oko-muted); }
.oko-card-addr svg { color: var(--oko-primary); margin-top: 3px; }
.oko-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 8px 0; font-size: 13px; color: var(--oko-muted); border-top: 1px solid var(--oko-border); }
.oko-card-meta svg { margin-right: 4px; }
.oko-card-photos { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0 8px; }
.oko-card-photos img { height: 80px; width: auto; border-radius: 8px; border: 1px solid var(--oko-border); }
.oko-comments { margin: 0; padding: 8px 0 2px; list-style: none; border-top: 1px solid var(--oko-border); }
.oko-comments li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin-bottom: 6px; padding: 8px 12px; font-size: 14px; background: var(--oko-bg); border-radius: 10px; }
.oko-comments li.oko-reply { background: var(--oko-primary-soft); border-left: 4px solid var(--oko-primary); }
.oko-reply-label { display: inline-flex; align-items: center; gap: 4px; width: 100%; font-size: 12px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; color: var(--oko-link); }
.oko-comments small { margin-left: auto; color: #9a9a9a; }
.oko-comment-form { display: flex; gap: 8px; padding: 10px 0; }
.oko-card-login { margin: 0; padding: 8px 0; }
.oko-card-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 10px; font-size: 14px; border-top: 1px solid var(--oko-border); }
.oko-card-actions a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.oko-cards-single .oko-card { flex-direction: column; }
.oko-cards-single .oko-card-photo { flex: none; }
.oko-cards-single .oko-card-photo img { height: auto; max-height: 540px; min-height: 0; }
.oko-cards-single .oko-card-nophoto { display: none; }
.oko-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0; }

/* ---- obrazec pobude v korakih --------------------------------------------------------------------------------- */
.oko-steps { display: flex; margin: 0 0 6px; padding: 0; list-style: none; }
.oko-steps li { flex: 1 1 0; display: flex; align-items: center; gap: 8px; padding: 8px 4px; font-size: 14px; font-weight: 600; color: var(--oko-muted); border-bottom: 3px solid var(--oko-border); cursor: pointer; }
.oko-steps b, .oko-step-title b { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; font-size: 13px; color: var(--oko-white); background: #c9c9c9; border-radius: 50%; }
.oko-steps li.active { color: var(--oko-text); border-color: var(--oko-primary); }
.oko-steps li.active b, .oko-step-title b { background: var(--oko-primary); }
.oko-steps li.done b { background: #2d6a1f; }
.oko-steps li { cursor: pointer; }
.oko-steps li.done { color: var(--oko-text); }
.oko-step-of { margin: 0 0 12px; font-size: 13px; color: var(--oko-muted); }
.oko-form { padding: 6px 20px 14px; background: var(--oko-white); border: 1px solid var(--oko-border); border-radius: 14px; }
.oko-step { display: none; padding: 14px 0; }
.oko-step.oko-step-visible { display: block; }
.oko-step + .oko-step.oko-step-visible { border-top: 1px solid var(--oko-border); }
.oko-step-title { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 18px; }
.oko-step-addr { font-size: 16px; color: var(--oko-text); }
.oko-step-nav { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 1px solid var(--oko-border); }
.oko-step-nav #okoNext { margin-left: auto; }
.oko-field { display: block; padding: 8px 0; }
.oko-label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: var(--oko-dark); }
.oko-photo-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.oko-file-btn { position: relative; overflow: hidden; }
.oko-file-btn input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.oko-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.oko-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.oko-preview-item { position: relative; }
.oko-preview-item img { display: block; height: 96px; width: auto; border-radius: 8px; border: 1px solid var(--oko-border); }
.oko-preview-remove {
	position: absolute;
	top: -8px;
	right: -8px;
	width: 24px;
	height: 24px;
	padding: 0;
	font-size: 16px;
	line-height: 22px;
	color: var(--oko-white);
	background: #c0392b;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
}
.oko-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
.oko-catgrid-item { position: relative; }
.oko-catgrid-item input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.oko-catgrid-item span { display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 6px 10px; font-size: 13px; line-height: 1.25; background: var(--oko-bg); border: 2px solid transparent; border-radius: 10px; cursor: pointer; }
.oko-catgrid-item img { height: 26px; width: auto; flex: none; }
.oko-catgrid-item input:checked + span { background: var(--oko-primary-soft); border-color: var(--oko-primary); font-weight: 600; }
.oko-catgrid-item input:focus-visible + span { outline: 2px solid var(--oko-primary); }
.oko-captcha { padding-top: 12px; }
.oko-actions { text-align: center; }

/* ---- O aplikaciji, kam gre pobuda, varstvo podatkov ------------------------------------------------------------- */
.oko-about-logo { text-align: center; }
.oko-about-figure { text-align: center; }
.oko-video { position: relative; max-width: 640px; margin: 14px auto; aspect-ratio: 16 / 9; }
.oko-video iframe { width: 100%; height: 100%; border: 0; border-radius: var(--oko-radius); }
.oko-filter label { display: block; max-width: 460px; }
.oko-filter label > span { display: block; margin-bottom: 4px; font-size: 13px; color: var(--oko-muted); }
.oko-services { margin: 0; padding: 0; list-style: none; }
.oko-services li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; background: var(--oko-bg); border-radius: 10px; }
.oko-service-cat { font-weight: 600; }
.oko-service-name { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--oko-muted); }
.oko-service-name svg { color: var(--oko-primary); }
.oko-privacy h2 { margin: 24px 0 8px; font-size: 19px; }
.oko-privacy ul { padding-left: 22px; }
.oko-privacy li { margin-bottom: 6px; }
.oko-privacy code { padding: 1px 5px; font-size: 13px; background: var(--oko-bg); border-radius: 4px; }

/* ---- noga ----------------------------------------------------------------------------------------------------- */
.oko-footer { margin-top: 10px; color: #c9c9c9; background: #2b2b2b; }
.oko-footer-in { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 40px; padding-top: 26px; padding-bottom: 26px; }
.oko-footer-about { max-width: 520px; }
.oko-footer-about p { margin: 10px 0 0; font-size: 14px; }
.oko-footer-links { display: grid; grid-template-columns: repeat(2, auto); gap: 6px 28px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.oko-footer-links a { color: #e2e2e2; text-decoration: none; }
.oko-footer-links a:hover { color: var(--oko-primary); }
.oko-copyright { padding: 10px 0; font-size: 13px; background: #1f1f1f; }
.oko-copyright a { color: #c9c9c9; }

/* ---- piškotki, pregledovalnik, obvestila --------------------------------------------------------------------- */
.oko-cookie {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px 20px;
	padding: 10px 16px;
	font-size: 14px;
	color: var(--oko-white);
	background: rgba(40, 40, 40, 0.96);
}
.oko-cookie a { color: var(--oko-primary); }
.oko-lightbox-overlay {
	position: fixed;
	inset: 0;
	z-index: 70;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.85);
}
.oko-lightbox-overlay img { max-width: 100%; max-height: 85vh; border-radius: 6px; box-shadow: 0 0 30px rgba(0, 0, 0, 0.6); }
.oko-lightbox-overlay p { margin: 10px 0 0; color: var(--oko-white); text-align: center; }
.oko-lightbox-close { position: absolute; top: 10px; right: 16px; font-size: 38px; line-height: 1; color: var(--oko-white); background: transparent; border: 0; cursor: pointer; }
.oko-toast {
	position: fixed;
	left: 50%;
	bottom: 30px;
	z-index: 80;
	padding: 10px 18px;
	font-size: 15px;
	color: var(--oko-white);
	background: rgba(40, 40, 40, 0.94);
	border-radius: 999px;
	transform: translate(-50%, 20px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s, transform 0.2s;
}
.oko-toast.oko-show { opacity: 1; transform: translate(-50%, 0); }

/* ---- telefon -------------------------------------------------------------------------------------------------- */
@media (max-width: 760px) {
	body.oko-page { font-size: 15px; }
	.oko-head { flex-wrap: wrap; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px; }
	.oko-logo { order: 1; }
	.oko-logo img { width: 190px; }
	.oko-head-right { order: 2; gap: 10px; }
	.oko-head-link { font-size: 14px; }
	.oko-menu summary span { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
	.oko-menu ul { max-width: calc(100vw - 32px); }
	.oko-muni { order: 3; flex: 1 1 100%; max-width: none; }
	.oko-nav-in { flex-wrap: wrap; gap: 8px; }
	.oko-seg-btn { flex: 1 1 0; justify-content: center; padding: 11px 10px; font-size: 13px; }
	.oko-nav-links { flex: 1 1 100%; justify-content: center; gap: 0; margin: 0; }
	.oko-nav-links a { padding: 6px 8px; font-size: 13px; }
	.oko-nav-links a svg { display: none; }
	.oko-fab {
		position: fixed;
		right: 16px;
		bottom: 18px;
		z-index: 50;
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 13px 18px;
		font-weight: 700;
		color: var(--oko-white);
		background: var(--oko-primary);
		border-radius: 999px;
		box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
		text-decoration: none;
	}
	.oko-fab svg { width: 22px; height: 22px; }
	.oko-sheet-open .oko-fab { display: none !important; }
	.oko-toolbar-in { flex-wrap: wrap; gap: 10px; }
	.oko-view { width: 100%; }
	.oko-view-btn { flex: 1 1 0; justify-content: center; }
	.oko-search { flex-wrap: wrap; }
	.oko-search-field { flex: 1 1 100%; }
	.oko-seg { flex: 1 1 auto; }
	.oko-seg label { flex: 1 1 0; }
	.oko-seg span { text-align: center; }
	.oko-search .oko-btn { flex: 0 0 auto; }
	.oko-map { height: 62vh; min-height: 320px; }
	.oko-mapwrap-create .oko-map { height: 66vh; }
	.oko-sheet { left: 0; right: 0; bottom: 0; width: auto; max-width: none; max-height: 72%; border-radius: 14px 14px 0 0; }
	.oko-sheet-photo img { height: 150px; border-radius: 14px 14px 0 0; }
	.oko-mapbar-in { font-size: 13px; }
	.oko-cats-in { flex-wrap: nowrap; }
	.oko-cats-in .oko-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
	.oko-content { padding: 18px 12px 80px; }
	.oko-h1 { font-size: 24px; }
	.oko-filters-toggle { display: inline-flex; margin-bottom: 10px; }
	.oko-filters-toggle.active { border-color: var(--oko-primary); }
	.oko-filterbar { display: none; }
	.oko-filterbar.oko-open { display: flex; }
	.oko-card { flex-direction: column; }
	.oko-card-photo { flex: none; }
	.oko-card-photo img { height: 190px; min-height: 0; }
	.oko-card-nophoto { height: 90px; }
	.oko-card-body { padding: 12px 14px 10px; }
	.oko-card-title { font-size: 18px; }
	.oko-comment-form { flex-wrap: wrap; }
	.oko-comment-form .oko-btn { width: 100%; }
	.oko-steps li span { display: none; }
	.oko-steps li.active span { display: inline; }
	.oko-steps li { cursor: pointer; }
	.oko-form { padding: 6px 14px 14px; }
	.oko-photo-buttons .oko-btn { flex: 1 1 100%; }
	.oko-catgrid { grid-template-columns: repeat(2, 1fr); }
	.oko-done-actions { margin-left: 0; width: 100%; }
	.oko-footer-in { flex-direction: column; gap: 16px; }
	.oko-footer-links { grid-template-columns: 1fr 1fr; }
	.oko-services li { font-size: 14px; }
	.oko-service-name { margin-left: 40px; }
	.oko-pager { flex-direction: column; }
	.oko-cookie { bottom: 0; padding-right: 110px; }
}
@media (pointer: coarse) {
	.oko-btn { min-height: 42px; }
	.oko-input { min-height: 42px; font-size: 16px; }
	.oko-chip { min-height: 38px; }
}

/* ---- logotip: ikona + besedilo (slogan iz virov v jeziku strani) -------------------------------------------- */
.oko-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--oko-dark); }
.oko-logo img { width: 46px; height: auto; }
.oko-logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.oko-logo-text b { font-size: 26px; font-weight: 600; letter-spacing: -0.01em; color: var(--oko-dark); }
.oko-logo-text b i { font-style: normal; font-weight: 800; color: var(--oko-primary); }
.oko-logo-text small { margin-top: 2px; font-size: 12px; font-style: italic; color: var(--oko-muted); }
.oko-logo-footer { color: var(--oko-white); }
.oko-logo-footer .oko-logo-text b { color: var(--oko-white); }
.oko-logo-footer .oko-logo-text small { color: #c9c9c9; }
@media (max-width: 760px) {
	.oko-logo img { width: 38px; }
	.oko-logo-text b { font-size: 21px; }
	.oko-logo-text small { font-size: 11px; }
}

/* ---- skrbništvo ------------------------------------------------------------------------------------------------ */
.oko-admin .oko-h1 .oko-badge { vertical-align: middle; font-size: 13px; }
.oko-admin-filter { margin-bottom: 18px; }
.oko-admin-q { flex: 2 1 260px; }
.oko-table-wrap { overflow-x: auto; border: 1px solid var(--oko-border); border-radius: var(--oko-radius); }
.oko-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.oko-table th, .oko-table td { padding: 8px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--oko-border); }
.oko-table th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--oko-muted); background: var(--oko-bg); white-space: nowrap; }
.oko-table tbody tr:hover { background: #fafafa; }
.oko-table tr.oko-row-active { background: var(--oko-primary-soft); }
.oko-table-ico { height: 18px; width: auto; vertical-align: -4px; }
.oko-nowrap { white-space: nowrap; }
.oko-num { text-align: center; white-space: nowrap; }
.oko-tip-1 { --st-bg: #e4f5de; --st-fg: #2d6a1f; }
.oko-tip-2 { --st-bg: #ececef; --st-fg: #5b6270; }
.oko-tip-3 { --st-bg: #fff1d6; --st-fg: #8a5a00; }
.oko-inline { display: inline; }
.oko-danger { color: #a32020; }
.oko-btn-danger { color: var(--oko-white); background: #c0392b; border-color: #c0392b; }
.oko-btn-danger:hover { background: #a32020; border-color: #a32020; color: var(--oko-white); }
.oko-admin-form { margin-bottom: 22px; }
.oko-admin-form .oko-h2 { margin-top: 8px; }
.oko-h3 { margin: 8px 0 6px; font-size: 16px; }
.oko-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.oko-grid2 .oko-field small { display: block; margin-top: 3px; font-size: 12px; }
.oko-admin-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.oko-admin-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.oko-admin-delete { margin-top: 8px; text-align: right; }
.oko-admin-cols { display: grid; grid-template-columns: 3fr 2fr; gap: 24px; align-items: start; }
.oko-admin-side .oko-h2 { margin-top: 0; }
.oko-admin-photos { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.oko-admin-photo { position: relative; }
.oko-admin-photo img { display: block; height: 100px; width: auto; border-radius: 8px; border: 1px solid var(--oko-border); }
.oko-admin-answers { border-top: 0; padding-top: 0; }
.oko-admin-answers form { margin-left: auto; }
.oko-dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 12px; font-size: 14px; }
.oko-dl dt { color: var(--oko-muted); }
.oko-dl dd { margin: 0; }
@media (max-width: 760px) {
	.oko-grid2, .oko-admin-cols { grid-template-columns: 1fr; }
	.oko-table { font-size: 13px; }
	.oko-table th, .oko-table td { padding: 6px 8px; }
}
.oko-nav-links li.oko-nav-admin a { color: #ffd166; }
.oko-nav-links li.oko-nav-admin.active a { color: var(--oko-primary); }

/* ---- komentar z reCAPTCHA (polje se izriše pod vnosom) ------------------------------------------------------------- */
.oko-comment-form { display: block; }
.oko-comment-row { display: flex; gap: 8px; }
.oko-comment-captcha { padding-top: 8px; }
@media (max-width: 760px) {
	.oko-comment-row { flex-wrap: wrap; }
	.oko-comment-row .oko-btn { width: 100%; }
}

/* ---- noga na dnu zaslona tudi pri kratki vsebini (stran kot stolpec, glavni del zapolni višino) ------------------- */
body.oko-page { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.oko-main { flex: 1 0 auto; }
.oko-header, .oko-footer { flex-shrink: 0; }

/* ---- iskanje z enim poljem in predlogi, karta lokacije pri pobudi, logotip na strani O aplikaciji, dostopnost noge ---- */
.oko-search-field { position: relative; }
.oko-search-list { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 25; margin: 0; padding: 4px 0; list-style: none; background: var(--oko-white); border: 1px solid var(--oko-border); border-radius: var(--oko-radius); box-shadow: var(--oko-shadow); max-height: 320px; overflow: auto; }
.oko-search-list li a { display: flex; align-items: center; gap: 10px; padding: 8px 12px; color: var(--oko-text); text-decoration: none; }
.oko-search-list li a:hover, .oko-search-list li.active a { background: var(--oko-bg); }
.oko-search-list img { width: 22px; height: 22px; flex: none; }
.oko-search-list svg { width: 18px; height: 18px; flex: none; color: var(--oko-primary); }
.oko-search-list span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oko-search-list small { margin-left: auto; color: var(--oko-muted); white-space: nowrap; }
.oko-minimap { height: 220px; margin: 0 0 14px; border: 1px solid var(--oko-border); border-radius: var(--oko-radius); background: var(--oko-bg); }
.oko-logo-about { display: inline-flex; }
.oko-logo-about .oko-logo-text b { font-size: 26px; }
.oko-about-figure { margin: 0 0 16px; }
.oko-about-figure figcaption { margin-top: 4px; }
.oko-footer-links a { display: inline-block; padding: 3px 0; }
