#map {
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 80px);
    margin: 0 auto;
    border: 2px solid #333;
    border-radius: 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Info window */
.info-content {
    width: 90vw;
    max-width: 250px;
    padding: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
}

.info-content p {
    margin-top: 0px;
}

/* Loading indicator */
#loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Dropdown */
#pradeshSelect {
    padding: 10px;
    width: 90vw;
    max-width: 320px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    z-index: 1000;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 20px;
    background: #fff;
    box-sizing: border-box;
}

/* Responsive adjustments */
@media (max-width: 1000px) {
    #map {
        height: 80vh;
        border-radius: 14px;
    }
    .info-content {
        max-width: 200px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    #map {
        height: 80vh;
        border-radius: 10px;
    }
    .info-content {
        max-width: 95vw;
        font-size: 12px;
        padding: 4px;
    }
    #pradeshSelect {
        font-size: 15px;
        padding: 8px;
        top: 10px;
    }
    #loading-indicator {
        padding: 12px;
        font-size: 14px;
    }
	
}

#polygon-info-panel {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.2); /* semi-transparent */
    border: 1px solid #ccc;
    box-sizing: border-box;
    backdrop-filter: blur(10px); /* adds blur effect */
    -webkit-backdrop-filter: blur(10px); /* for Safari support */
    border-radius: 8px; /* optional: smooth corners */
}

.pin-description {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
	       flex-direction: row;

    gap: 10px;
    
}

.pin-icon {
    width: 40px;
    height: auto;
}

.pin-text h3,
.pin-text p {
    margin: 0;
    font-size: 14px;
    word-wrap: break-word;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #polygon-info-panel {
        padding: 8px;
    }

    .pin-description {
        flex-direction: row;
        align-items: flex-start;
    }

    .pin-icon {
        width: 30px;
    }

    .pin-text h3,
    .pin-text p {
        font-size: 13px;
    }
}

