/* Foto Karta */
.fk-map, .fk-picker, .fk-single-map { width: 100%; border-radius: 8px; z-index: 0; }
.fk-picker { height: 320px; margin: .5em 0 1em; cursor: crosshair; }
.fk-single-map { height: 300px; margin: 1.5em 0; }

/* Marker sa slikom */
.fk-pin { background: none; border: 0; }
.fk-pin span {
	display: block; width: 52px; height: 52px; box-sizing: border-box;
	border-radius: 50%; border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,.45);
	background: #ccc center / cover no-repeat;
	transition: transform .15s;
}
.fk-pin:hover span { transform: scale(1.12); }

/* Popup */
.fk-popup img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 4px; margin-bottom: 6px; }
.fk-popup-title { display: block; font-size: 15px; line-height: 1.3; }
.fk-popup-meta { color: #666; font-size: 12px; margin: 2px 0 6px; }
.fk-popup-link { font-weight: 600; }

/* Obrazac */
.fk-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.fk-form input[type="text"], .fk-form textarea { width: 100%; box-sizing: border-box; }
.fk-form small { display: block; color: #666; margin-top: 4px; }
.fk-preview img { display: block; max-width: 260px; max-height: 200px; border-radius: 6px; margin: .5em 0; }
.fk-status { min-height: 1.3em; font-size: .95em; margin: .5em 0 0; }
.fk-status.fk-ok { color: #1a7f37; }
.fk-status.fk-warn { color: #b35900; }

/* Poruke */
.fk-notice { padding: 10px 14px; border-radius: 6px; margin: 0 0 1em; background: #eef6ff; border-left: 4px solid #2271b1; }
.fk-notice.fk-ok { background: #edfaef; border-color: #1a7f37; }
.fk-notice.fk-err { background: #fcf0f1; border-color: #d63638; }

/* Moji markeri */
.fk-list { list-style: none; padding: 0; margin: 0; }
.fk-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #eee; }
.fk-list img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; }
.fk-info { flex: 1; min-width: 0; }
.fk-info small { color: #666; margin-left: 6px; }
.fk-badge { display: inline-block; font-size: 12px; padding: 1px 8px; border-radius: 10px; background: #eee; }
.fk-badge.publish { background: #d1f3d9; color: #14532d; }
.fk-badge.pending { background: #fff1c2; color: #7a5b00; }
.fk-actions { display: flex; gap: 12px; align-items: center; }
.fk-actions form { margin: 0; }
.fk-link-btn { background: none; border: 0; padding: 0; color: #d63638; cursor: pointer; font: inherit; text-decoration: underline; }

/* Stranica markera */
.fk-single-img { width: 100%; height: auto; border-radius: 8px; }
.fk-meta { color: #666; font-size: .9em; }

@media (max-width: 600px) {
	.fk-list li { flex-wrap: wrap; }
	.fk-actions { width: 100%; justify-content: flex-end; }
}

/* Prijave deponija – status, legenda, obrazac */
.fk-pin span { border-width: 4px; }
.fk-status-badge { display: inline-block; color: #fff; font-size: 12px; font-weight: 600; padding: 2px 10px; border-radius: 10px; margin-bottom: 4px; }
.fk-popup-info { font-size: 12px; color: #444; margin: 2px 0; }
.fk-legend { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.fk-legend-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 14px; padding: 5px 12px; border-radius: 20px; border: 1px solid #cfd8d2; background: #fff; color: #1f2a24; cursor: pointer; }
.fk-legend-btn i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.fk-legend-btn.is-active { background: #1f2a24; color: #fff; border-color: #1f2a24; }
.fk-fieldset { border: 1px solid #dfe5e1; border-radius: 8px; padding: 10px 14px 14px; margin: 0 0 1em; }
.fk-fieldset legend { font-weight: 600; padding: 0 6px; }
.fk-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 4px 16px; }
.fk-form label.fk-check { font-weight: 400; display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.fk-form label.fk-water { margin-top: 10px; font-weight: 600; }
.fk-safety { background: #fff8e5; border-left: 4px solid #e67e22; padding: 10px 14px; border-radius: 6px; font-size: .95em; }
.fk-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 1em 0; }
.fk-facts dt { font-weight: 600; }
.fk-facts dd { margin: 0; }
.fk-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.fk-stat { background: #fff; border-radius: 10px; padding: 18px; text-align: center; border: 1px solid #dfe5e1; }
.fk-stat-num { display: block; font-size: 2.6rem; font-weight: 700; line-height: 1.1; }
.fk-stat-label { display: block; font-size: .95rem; color: #4a5650; }
