.main-container {
    display: flex;
    height: calc(100vh - 100px); /* Adjust based on your header and footer height */
    padding: 20px;
    gap: 20px;
    min-height: 500px; /* Ensure minimum height */
}
.sidebar {
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
#summary {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}


#map {
    flex: 1;
    height: 100%;
    min-height: 400px;
}



.button {
    display: block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px; /* Ensure space before footer */
}
/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
        height: auto; /* Allow container to expand */
        min-height: calc(100vh - 140px);
    }

    #map {
        height: 50vh;
        min-height: 300px;
        width: 100%;
    }

    .sidebar {
        width: 100%;
        margin-bottom: 20px; /* Space before footer */
    }
    .button {
        position: relative; /* Ensure button stays within flow */
        margin-top: 20px;
    }
}
.leaflet-interactive {
    stroke-dasharray: 5, 5;
    animation: dashdraw 20s linear infinite;
}

.animated-path {
    stroke-dasharray: 8, 8;
    animation: dashdraw 20s linear infinite;
}

.animated-path.reverse {
    animation-direction: reverse;
}

@keyframes dashdraw {
    to {
        stroke-dashoffset: 100;
    }
}