body {
    background-color: #0f172a;
    color: #e2e8f0;
}

#map {
    background: #1e293b;
}

@media (min-width: 768px) {
    #map {
        height: calc(100vh - 80px);
    }
}

.leaflet-container {
    background: #1e293b !important;
}

.listings-container {
    overflow-y: auto;
}

@media (min-width: 768px) {
    .listings-container {
        height: calc(100vh - 80px);
    }
}

.person-card {
    transition: all 0.2s;
}

.person-card:hover {
    background-color: #334155;
}

.custom-marker {
    background-color: #3b82f6;
    border: 2px solid #1e293b;
    border-radius: 50%;
    width: 12px;
    height: 12px;
}

.custom-marker:hover {
    background-color: #60a5fa;
    transform: scale(1.3);
}

.state-polygon {
    fill: #334155;
    fill-opacity: 0.3;
    stroke: #475569;
    stroke-width: 1;
}

.state-polygon:hover {
    fill-opacity: 0.5;
}

.state-polygon.active {
    fill: #3b82f6;
    fill-opacity: 0.5;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.leaflet-control-attribution {
    display: none !important;
}

.loading-indicator {
    text-align: center;
    padding: 20px;
    color: #94a3b8;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #334155;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
