/* The map of cases on View pets */
.view-switch { margin-left: auto; display: inline-flex; gap: 6px; }
.casemap-wrap { position: relative; }
#casemap { height: min(72vh, 680px); min-height: 380px; border-radius: 16px; border: 1px solid #e5e7eb; background: #eef1f6; z-index: 0; }
.casemap-note { margin: 10px 0 0; font-size: 14px; color: #4b5563; min-height: 1.4em; }
.casemap-legend { margin: 6px 0 0; font-size: 13px; color: #6b7280; }
.casemap-legend .dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin: 0 4px 0 10px; vertical-align: -1px; }
.casemap-legend .dot:first-child { margin-left: 0; }
.dot--lost { background: #DD7878; }
.dot--found { background: #28a745; }
.casemap-cluster span { display: block; border-radius: 50%; color: #fff; font: 700 14px "Poppins", sans-serif; text-align: center; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); opacity: .9; font-size: 13px; box-sizing: border-box; }
.casemap-card { display: flex; flex-direction: column; gap: 3px; width: 220px; color: #111; text-decoration: none; font: 400 13px "Roboto", sans-serif; }
.casemap-card img { width: 220px; height: 150px; object-fit: cover; border-radius: 8px; margin-bottom: 4px; }
.casemap-card strong { font: 600 15px "Poppins", sans-serif; }
.casemap-card__kind { font-weight: 600; }
.casemap-card__kind--missing { color: #b25c5a; }
.casemap-card__kind--found { color: #1e7e34; }
@media (max-width: 640px) { .view-switch { margin-left: 0; } }
