/* Basemaps Control Styles */
.basemaps-ctrl {
    position: relative;
}

.basemaps-ctrl-main {
    width: 29px;
    height: 29px;
    padding: 0;
    font-size: 18px;
    cursor: pointer;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.basemaps-ctrl-main:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.basemaps-ctrl-list {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
    padding: 8px;
    min-width: 200px;
    z-index: 1000;
}

.basemaps-ctrl-basemap {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    margin: 4px 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.basemaps-ctrl-basemap:hover {
    background-color: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.basemaps-ctrl-basemap.active {
    border-color: #3887be;
    background-color: rgba(56, 135, 190, 0.1);
}

.basemaps-ctrl-basemap img {
    display: none; /* Hide thumbnails for now */
}

.basemaps-ctrl-label {
    flex: 1;
    text-align: left;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.basemaps-ctrl-basemap.active .basemaps-ctrl-label {
    font-weight: 600;
    color: #3887be;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .basemaps-ctrl-list {
        min-width: 180px;
    }
    
    .basemaps-ctrl-basemap img {
        width: 40px;
        height: 40px;
    }
    
    .basemaps-ctrl-label {
        font-size: 13px;
    }
}
