.agent-hero { padding: 24px 0 8px; }
.agent-hero h1 { margin-top: 0; font-size: 28px; }
.agent-hero .form-control, .agent-hero .btn { height: 44px; font-size: 16px; }
.geo-hint { display: none; margin-top: 8px; color: #a94442; font-size: 14px; }
.agent-results-header { margin: 18px 0 12px; font-size: 17px; }
.agent-results-header .map-link { margin-left: 12px; font-size: 15px; }
.agent-clear-search { margin-left: 12px; font-size: 15px; font-weight: bold; color: #a94442; }
.agent-card { border: 1px solid #ddd; border-radius: 6px; padding: 14px; margin-bottom: 20px; background: #fff; }
.agent-card .agent-photo { width: 96px; height: 96px; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; }
.agent-card .agent-name { font-size: 18px; font-weight: bold; margin: 0 0 2px; }
.agent-card .agent-agency { color: #555; margin-bottom: 2px; }
.agent-card .agent-phone { margin-bottom: 6px; }
.agent-card .agent-distance { display: inline-block; background: #2d42aa; color: #fff; border-radius: 4px; padding: 2px 8px; font-size: 13px; margin-bottom: 6px; }
.agent-card .agent-areas { font-size: 14px; color: #333; margin-bottom: 6px; }
.agent-card .agent-zips, .agent-card .agent-cats { font-size: 13px; color: #555; }
.agent-card .agent-label { font-weight: bold; color: #333; }
.agent-cat-badge { display: inline-block; background: #ebbb26; color: #121b54; border-radius: 4px; padding: 2px 8px; font-size: 12px; font-weight: bold; margin: 0 4px 4px 0; }
.btn-view-profile { display: inline-block; background: #121b54; color: #fff; border-radius: 4px; padding: 6px 14px; font-size: 14px; font-weight: bold; margin-top: 8px; text-decoration: none; }
.btn-view-profile:hover, .btn-view-profile:focus { background: #1c2a75; color: #fff; text-decoration: none; }
.agent-media { display: flex; gap: 12px; }
.agent-media-body { flex: 1; min-width: 0; }
.agent-pager { text-align: center; margin: 10px 0 24px; }
.agent-pager .btn { margin: 0 6px; }
@media (max-width: 767px) {
    .agent-hero .btn { width: 100%; margin-bottom: 8px; }
    .agent-card .agent-photo { width: 72px; height: 72px; }
}

/* map popup mini card (mapagentinfo.php) */
.agent-mini { min-width: 220px; max-width: 280px; font-size: 14px; }
.agent-mini .agent-mini-photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #2d42aa; float: left; margin-right: 10px; }
.agent-mini .agent-mini-initial { width: 48px; height: 48px; border-radius: 50%; background: #121b54; color: #fff; float: left; margin-right: 10px; text-align: center; line-height: 48px; font-size: 22px; font-weight: bold; }
.agent-mini .agent-mini-name { font-weight: bold; font-size: 15px; }
.agent-mini .agent-mini-body { overflow: hidden; }

/* palette map pins (divIcon) */
.agent-pin { width: 18px; height: 18px; border-radius: 50%; background: #2d42aa; border: 3px solid #ebbb26; box-shadow: 0 0 3px rgba(0,0,0,0.5); }
.agent-pin-user { width: 20px; height: 20px; border-radius: 50%; background: #ebbb26; border: 3px solid #121b54; box-shadow: 0 0 4px rgba(0,0,0,0.6); }
