body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

#map {
    flex-grow: 1; /* Makes the map take up all remaining space */
    height: auto;
}

#selectContainer {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    padding: 11px 0;
}

#countrySelect,
#randomCountryBtn {
    border-radius: 1em;
    opacity: 0.8;
}

/* Cluster styling */
.fixed-cluster-style {
    background-color: rgba(0, 123, 255, 0.8) !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 16px !important;
    border: 2px solid white !important;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5) !important;
}

.fixed-cluster {
    /* Ensure text inside the cluster is centered */
    width: 100%;
    height: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.city-cluster-style {
    background-color: #f9ae00 !important; 
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    color: white !important;
    font-weight: bold !important;
    font-size: 16px !important;
    border: 2px solid white !important;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5) !important;
}

.city-cluster {
    /* Ensure text inside the cluster is centered */
    width: 100%;
    height: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}
/* Cluster styling */

/* EasyButton styling */
.easy-button-button {
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    line-height: 36px !important;
}

.easy-button-button img {
    display: block;
    width: 38px;
    height: 38px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centering */
}
/* EasyButton styling */

.modal-title img {
    height: 44px;
}

#countryFlag {
    max-width: 600px;
    width: 100%;
    display: block;
    margin: 0 auto;
}

.forecast-item {
    flex: 1 1 calc(50% - 20px); /* 2 boxes per row on smaller screens */
    max-width: 160px; /* Set a max width to control size */
    padding: 10px;
    border-radius: 8px;
    background-color: #f8f9fa;
    text-align: center;
}

.forecast-item img {
    width: 50px; /* Reduce icon size */
    height: 50px;
}

.leaflet-control-zoom a {
    width: 44px !important; 
    height: 44px !important; 
    line-height: 44px !important; /* Vertically center the "+" and "-" */
    font-size: 30px !important; /* Make icons bigger */
}

/* Pre-loader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#preloader.hidden {
    display: none;
}
/* Pre-loader */
