/* patuco — lost & found pages (loaded on top of app.css through @push('head')). Same tokens as app.css. */

/* list: the two big actions */
.lost-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 4px 0 14px; }
.lost-cta-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
    min-height: 96px; padding: 14px 10px; border-radius: 18px; font-weight: 600; font-size: 15px; line-height: 1.25;
    box-shadow: var(--app-shadow); transition: transform .12s, box-shadow .12s;
}
.lost-cta-btn i { font-size: 26px; }
.lost-cta-btn:active { transform: scale(0.98); }
.lost-cta-btn.is-lost { background: var(--app-danger-bg); color: var(--app-danger); }
.lost-cta-btn.is-lost:hover { color: var(--app-danger); box-shadow: var(--app-shadow-card); }
.lost-cta-btn.is-found { background: var(--app-success-bg); color: var(--app-success); }
.lost-cta-btn.is-found:hover { color: var(--app-success); box-shadow: var(--app-shadow-card); }
.lost-user-chips { margin: 0 0 14px; }
.lost-user-chips .app-badge { padding: 0 6px; font-size: 11px; line-height: 16px; }

/* tabs */
.lost-tabs { margin: 0 0 12px; }
.lost-tabs .app-chip { flex: 1; justify-content: center; }
.lost-tabs .app-chip.is-lost.is-active { background: var(--app-danger-bg); color: var(--app-danger); }
.lost-tabs .app-chip.is-lost.is-active i { color: var(--app-danger); }
.lost-tabs .app-chip.is-found.is-active { background: var(--app-success-bg); color: var(--app-success); }
.lost-tabs .app-chip.is-found.is-active i { color: var(--app-success); }
.lost-filters { margin-bottom: 4px; }
.lost-filters .app-field { margin-bottom: 0; }
.lost-species { margin-top: 0; }

/* grid of square cards */
.lost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin: 8px 0 18px; }
.lost-card .app-card-fallback { font-size: 44px; }
.lost-card.is-lost .app-card-image { background: var(--app-danger-bg); }
.lost-card.is-lost .app-card-fallback { color: var(--app-danger); opacity: .55; }
.lost-card.is-found .app-card-image { background: var(--app-success-bg); }
.lost-card.is-found .app-card-fallback { color: var(--app-success); opacity: .6; }
.lost-card-reward { background: var(--app-lime); color: var(--app-green-dark); }
.lost-card-reward i { color: var(--app-green-dark); }
.lost-card-species { font-size: 12px; color: var(--app-sage); margin-right: 2px; }
.lost-card .app-card-caption { padding-bottom: 8px; }
.lost-alerts-banner { margin-top: 18px; }

/* badges */
.lost-badge-lost { background: var(--app-danger-bg); color: var(--app-danger); }
.lost-badge-found { background: var(--app-success-bg); color: var(--app-success); }
.lost-status-open { background: var(--app-success-bg); color: var(--app-success); }
.lost-status-resolved { background: var(--app-lime); color: var(--app-green-dark); }
.lost-status-closed { background: var(--app-tint); color: var(--app-muted); }

/* ad page */
.lost-gallery { margin-top: 0; }
.lost-photo { display: block; border-radius: 18px; overflow: hidden; background: var(--app-tint); box-shadow: var(--app-shadow-card); line-height: 0; aspect-ratio: 4 / 3; }
.lost-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lost-photo-single { margin: 4px 0 14px; }
.lost-photo-empty { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; margin: 4px 0 14px; box-shadow: none; font-size: 64px; }
.lost-photo-empty.is-lost { background: var(--app-danger-bg); color: var(--app-danger); }
.lost-photo-empty.is-found { background: var(--app-success-bg); color: var(--app-success); }
.lost-head { margin-bottom: 12px; }
.lost-head-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.lost-head .app-title-large { margin-top: 8px; }
.lost-head .app-lead { margin: 0 0 4px; }
.lost-reward { display: flex; align-items: center; gap: 12px; background: var(--app-lime); color: var(--app-green-dark); border-radius: 15px; padding: 14px 18px; margin: 12px 0; font-size: 17px; font-weight: 600; }
.lost-reward i { font-size: 24px; }
.lost-reward strong { display: block; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; opacity: .8; }
.lost-owner { margin: 12px 0 16px; }
.lost-owner .app-actions > form { flex: 1 1 30%; }
.lost-owner .app-actions > .app-btn { flex: 1 1 30%; }
.lost-map { height: 240px; border-radius: 15px; overflow: hidden; background: var(--app-tint); box-shadow: var(--app-shadow-card); z-index: 0; }
.lost-map .leaflet-control-attribution { font-size: 10px; }
.lost-map-tools { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.lost-map-pick { height: 260px; cursor: crosshair; }
.lost-theft { text-align: left; }
.lost-theft > i { color: var(--app-danger); display: block; text-align: center; }
.lost-theft h2 { text-align: center; }
.lost-theft-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lost-theft-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 500; color: var(--app-ink); background: rgba(255,255,255,.6); border-radius: 12px; padding: 10px 12px; }
.lost-theft-list li i { color: var(--app-danger); margin-top: 3px; flex-shrink: 0; }
.lost-contact { margin-bottom: 10px; }
.lost-share { margin: 16px 0 6px; display: flex; flex-direction: column; gap: 10px; }
.lost-share-row { display: flex; gap: 8px; }
.lost-share-row > * { flex: 1; padding: 0 8px; font-size: 13px; }
.lost-share-row > * i { font-size: 15px; }
.lost-sighting-form { margin-top: 12px; }
.lost-sighting-photo { display: block; margin-top: 8px; line-height: 0; }
.lost-sighting-photo img { max-width: 160px; border-radius: 12px; }

/* form */
.lost-kind-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lost-kind-option { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 14px 8px; border-radius: 15px; background: var(--app-tint); color: var(--app-ink); font-weight: 500; font-size: 14px; cursor: pointer; border: 2px solid transparent; margin: 0; }
.lost-kind-option input { position: absolute; opacity: 0; pointer-events: none; }
.lost-kind-option i { font-size: 24px; color: var(--app-sage); }
.lost-kind-option.is-lost:has(input:checked) { background: var(--app-danger-bg); color: var(--app-danger); border-color: var(--app-danger); }
.lost-kind-option.is-lost:has(input:checked) i { color: var(--app-danger); }
.lost-kind-option.is-found:has(input:checked) { background: var(--app-success-bg); color: var(--app-success); border-color: var(--app-success); }
.lost-kind-option.is-found:has(input:checked) i { color: var(--app-success); }
.lost-kind-option:has(input:disabled) { opacity: .45; cursor: not-allowed; }
[data-only-kind][hidden] { display: none !important; }
.lost-photo-drop { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 64px; border: 2px dashed var(--app-tint-dark); border-radius: 15px; background: var(--app-tint); color: var(--app-green); font-weight: 500; cursor: pointer; margin: 0; padding: 12px; }
.lost-photo-drop i { font-size: 22px; }
.lost-photo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.lost-photo-drop:focus-within { box-shadow: 0 0 0 3px rgba(128, 152, 112, 0.18); }
.lost-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 12px 0 4px; }
.lost-photo-grid[hidden] { display: none; }
.lost-photo-thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--app-tint); aspect-ratio: 1 / 1; margin: 0; line-height: 0; box-shadow: var(--app-shadow-card); }
.lost-photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lost-photo-thumb .lost-photo-remove { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 5px 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 500; line-height: 1.3; cursor: pointer; }
.lost-photo-thumb .lost-photo-remove input { width: 14px; height: 14px; accent-color: var(--app-danger); margin: 0; }
.lost-photo-thumb:has(.lost-photo-remove input:checked) img { opacity: .35; filter: grayscale(1); }
.lost-photo-thumb .lost-photo-cover { position: absolute; top: 6px; left: 6px; background: var(--app-lime); color: var(--app-green-dark); font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 10px; line-height: 14px; }
.lost-photo-thumb .lost-photo-drop-btn { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }

/* alerts */
.lost-sub-chips { gap: 8px; }
.lost-sub-chip { display: inline-flex; margin: 0; }
.lost-sub-chip .app-chip { padding-right: 6px; gap: 6px; }
.lost-sub-remove { border: 0; background: rgba(63, 82, 64, 0.12); color: var(--app-green-dark); width: 22px; height: 22px; border-radius: 50%; padding: 0; margin-left: 2px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.lost-sub-remove:hover { background: rgba(63, 82, 64, 0.25); }

/* Leaflet marker tint by kind (CSS filter on the default blue marker) */
.lost-marker-lost { filter: hue-rotate(140deg) saturate(1.6); }
.lost-marker-found { filter: hue-rotate(-90deg) saturate(1.2); }

/* honeypot (site rule lives in patuco.css, which the app does not load) */
.patuco-hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
