* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Category tabs styles */
.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.tab {
    padding: 8px 15px;
    margin: 0 5px 10px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.tab:hover {
    background-color: #e9ecef;
}

.tab.active {
    background-color: #2c3e50;
    color: white;
    border-color: #2c3e50;
}

.custom-marker div {
    transition: all 0.2s ease;
    transform-origin: center;
}

.custom-marker div:hover {
    transform: scale(1.2);
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
}

.map-container {
    width: 100%;
    height: 70vh;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#map {
    width: 100%;
    height: 100%;
}

.legend {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Map Legend Styles */
.info.legend {
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    max-width: 200px;
}

.info.legend h4 {
    margin: 0 0 8px;
    color: #2c3e50;
    font-size: 14px;
}

.info.legend .legend-item {
    margin-bottom: 5px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.legend h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
}

.tubewell {
    background-color: #3498db; /* Blue */
}

.disposal {
    background-color: #e74c3c; /* Red */
}

.ohr {
    background-color: #2ecc71; /* Green */
}

/* Responsive styles */
@media (max-width: 768px) {
    .map-container {
        height: 50vh;
    }
    
    h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .map-container {
        height: 40vh;
    }
    
    h1 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .legend {
        padding: 10px;
    }
}