html,
body {
    margin: 0;
    padding: 0;
}

#selectContainer {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 100%;
    padding: 10px 20px;
    background: transparent !important;
    color: white;
    border-radius: 5px;
    text-align: center;
}

#countrySelect {
    width: 200px;
    margin: 0 auto;
    transform: translateX(-10%);
}


/*map is spread across and dark linear gradient*/
#map {
    height: 100vh;
    width: 100%;
    background-image: linear-gradient(135deg, #2a2f50, #1a1a2a);
    position: relative;
    margin: 0;
    padding: 0;
}

.image-modal {
    max-width: 600px;
}

#countryFlag {
    object-fit: contain;
    max-height: 20px;
    width: 40px;
    display: inline-block;
    margin: 0 auto;
    border-radius: 5px;
    object-fit: fill;
}

.news-image {
    width: 100%;
    max-width: 150px;
    height: 100px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

.news-row td {
    vertical-align: middle;
    height: 100px;
}

/*MODAL CSS CUSTOM*/
.modal-header-countryInfo {
    background: linear-gradient(135deg, #2EC4B6, #28b1a5);
}
.modal-header-weather {
    background: linear-gradient(135deg, #4DA3FF, #3a8de0);
}
.modal-header-wiki {
    background: linear-gradient(135deg, #ADB5BD, #9ea6ad);
}
.modal-header-news {
    background: linear-gradient(135deg, #e82f2f, #d02222);
}
.modal-header-currency {
    background: linear-gradient(135deg, #F4B400, #d89e00);
}

.modal-backdrop.show {
    backdrop-filter: blur(10px);
}

.hover-grow {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-grow:hover {
    transform: scale(1.1); 
}
/*leaflet map positioning for zoom in andout controls*/
.leaflet-control-layers {
    z-index: 4000 !important;
}

.leaflet-top.leaflet-right .leaflet-control-zoom{
  margin-top: 30px !important;
}

/*POI loader overlay styling*/
#mapLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 20, 30, 0.75);
    backdrop-filter: blur(6px);
    z-index: 4000;
    display: flex;         
    justify-content: center; 
    align-items: center;    
    flex-direction: column;  
}


/*spinner for loader and poiloader*/
.spinner {
    border: 8px solid rgba(255, 255, 255, 0.2);
    border-top: 8px solid #9fa8ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/*Spins the loader*/
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
