/* Make the map take up the full screen */
#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Style the loader */



/* Animation for the loader */


/* Style for the statistics container */
.stats-container {
    width: 215px;
    position: absolute;
    top: 20px;
    left: 50px;
    z-index: 999;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.8);
    /* Slightly transparent background */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.loader {
    background-color: #5c5a5a;
    border: 2px solid #5c5a5a;
    border-radius: 50%;
    width: 10%;
    height: 20px;
}
.title{
    width: 70%;

}
.button{
    width: 20%;
    /* margin: 0px 0px 0px 0px ; */
    font-size: small;
    text-align: center;
    align-items: center;
    /* padding: 0px 0px  ; */
    border-radius: 5px;
    background-color: #5c5a5a;
    color: aliceblue;
}
/* Style for each stat card */
.stats-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-family: Arial, sans-serif;
}

/* Header style for the statistics card */
.stats-header {
    font-weight: bold;
    display: flex;
    /* align-items: center; */
    margin-bottom: 10px;
    width: 100%;
}

/* Icon for the statistics */
.stats-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* Style for each stats item */
.stats-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}

/* Value of each stat */
.stats-value {
    font-weight: bold;
    margin-left: 8px;
}

.loaderr {
    
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 70px; 
    height: 70px; 
    border: 5px solid #f3f3f3;
    border-top: 5px solid #66db34;
    border-radius: 50%;
    animation: spin .5s linear infinite;
    z-index: 9999;
}

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


/* Style for responsiveness */
@media (max-width: 768px) {


    .stats-container {
        margin: 0;
        top: auto;
        bottom: 0px; /* Add some padding from the bottom */
        left: 10px;  /* Adjust left position if needed */
        right: 10px; /* Ensure it's not too wide */
        max-width: 50%;
    }

}
