.c2-umap-wrapper {
    margin: 0 auto;
}

.c2-umap-map {
    border-radius: 4px;
    overflow: hidden;
    z-index: 0;
}

.c2-umap-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0;
}

.c2-umap-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.c2-umap-group-separator {
    width: 100%;
    height: 0;
    margin: 4px 0;
}

.c2-umap-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border: none;
    background: none;
    cursor: pointer;
    transition: opacity 0.2s, filter 0.2s;
    line-height: 1.4;
    opacity: 0.4;
    filter: grayscale(100%);
}

.c2-umap-filter-btn:hover {
    opacity: 0.7;
    filter: grayscale(50%);
}

.c2-umap-filter-btn.active {
    opacity: 1;
    filter: none;
}

.c2-umap-btn-icon {
    width: 28px;
    height: 28px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.c2-umap-btn-icon-svg {
    background: transparent;
}

.c2-umap-btn-icon-svg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.c2-umap-btn-icon-label {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.c2-umap-btn-icon-svg .c2-umap-btn-icon-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 3px rgba(255,255,255,0.8);
}

.c2-umap-btn-title {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}


.c2-umap-center-label {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    pointer-events: none;
    transition: opacity 0.2s;
    transform: translate(-50%, -50%);
}

/* Fullscreen toggle button */
.c2-umap-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    width: 34px;
    height: 34px;
    background: #fff;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 0;
    line-height: 1;
}

.c2-umap-fullscreen-btn:hover {
    background: #f4f4f4;
}

/* Fullscreen mode */
.c2-umap-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 99999 !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.c2-umap-fullscreen .c2-umap-map {
    height: 100% !important;
    border-radius: 0;
}

.c2-umap-fullscreen .c2-umap-filter-buttons {
    position: absolute;
    top: 10px;
    left: 60px;
    right: 70px;
    z-index: 1000;
    padding: 8px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.c2-umap-compass {
    position: absolute;
    top: 52px;
    right: 10px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.c2-umap-compass-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.15s ease-out;
}

.c2-umap-compass-arrow::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 16px solid #c0392b;
}

.c2-umap-compass-arrow::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 16px solid #bbb;
}

.c2-umap-compass-n {
    position: absolute;
    top: -2px;
    font-size: 10px;
    font-weight: 700;
    color: #c0392b;
    line-height: 1;
}

.c2-umap-icon-marker {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
}

.c2-umap-icon-marker img {
    display: block;
}
