﻿
/* Ensures the map container takes up the necessary height */
#map {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    /* Added a subtle shadow to lift the map visually */
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
    #map {
        height: 400px;
    }
    /* Adjust the input layout on small screens */
    .search-controls {
        flex-direction: column;
        gap: 12px;
    }
}

/* Custom spinner for loading state */
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

