#map { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(30, 33, 40, 0.9);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    border-radius: 8px;
    overflow: hidden;
}

.leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.1);
    color: #d0d0d0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.leaflet-control-zoom a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.leaflet-control-zoom a:first-child {
    border-radius: 6px 6px 0 0;
}

.leaflet-control-zoom a:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}

.leaflet-control-zoom-in, .leaflet-control-zoom-out {
    font-size: 18px;
    font-weight: 600;
}

.leaflet-control-zoom a.leaflet-disabled {
    background-color: rgba(255, 255, 255, 0.1) ;
    color: rgba(208, 208, 208, 0.5) ;
}

/* Вертикальный контейнер для переключателей (правый верхний)*/
.toggles-container {
    position: absolute;
    top: 0;
    right: 40px;
    background: rgba(30, 33, 40, 0.5);
    backdrop-filter: blur(2px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    border-radius: 10px;
    padding: 12px 15px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 0.3s ease;
}

.toggles-container:hover {
    background: rgba(35, 38, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Группа для каждого переключателя */
.toggle-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    gap: 10px;
    width: 100%; 
}

/* Стили для переключателя координат */
.coords-toggle-control, .hidden-toggle-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
    }
        
.coords-toggle-control:hover, .hidden-toggle-control:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    }
        
.coords-toggle-control.active, .hidden-toggle-control.active {
    background: rgba(93, 243, 33, 0.2);
    border-color: #5df321;
    }
        
.checkmark, .hidden-checkmark {
    width: 20px;
    height: 20px;
    position: relative;
    display: none;
}
        
.checkmark.active, .hidden-checkmark.active {
    display: inline;
}
    
.checkmark:before, .hidden-checkmark:before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 13px;
    font-weight: bold;
    color: #5df321;
    display: flex;
    align-items: center;
    justify-content: center;
}
    
/* Стиль для отображения координат */
.coords-display {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: rgba(30, 33, 40, 0.9);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e0e0e0;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 13px;
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    border-radius: 8px;
    padding: 10px 12px;
    min-width: 150px;
    z-index: 1000;
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}

.coords-display.hidden {
opacity: 0;
visibility: hidden;
transform: translateX(-50%) translateY(10px);
}
/* Подписи для переключателей */
.coords-label, .hidden-label {
    font-family: Arial, sans-serif;
    color: #d0d0d0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    margin-left: 0;
}

/* Вертикальный контейнер для фильтров (левый верхний) */
.filters-container {
    position: absolute;
    top: 0;
    left: 10px;
    background: rgba(30, 33, 40, 0.5);
    backdrop-filter: blur(2px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    border-radius: 10px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-width: 220px;
    overflow: hidden;
}

.filters-container:hover {
    background: rgba(35, 38, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.18);
}    

/* Обертка для содержимого с прокруткой */
.filters-content {
    background: transparent;
    overflow-y: auto;
    max-height: 80vh;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

/* Когда свернуто */
.filters-content.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Убираем скроллбар когда контейнер свернут */
.filters-content:not(.collapsed)::-webkit-scrollbar {
    width: 6px;
}

.filters-content:not(.collapsed)::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 3px;
}

.filters-content:not(.collapsed)::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}

.filters-content:not(.collapsed)::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.3);
}

.filters-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.filters-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.filters-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Заголовок фильтров - фиксированный */
.filters-title {
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 8px 12px;
    z-index: 2;
    color: #e0e0e0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    border-radius: 6px 6px 0 0;
}

.filters-title:hover {
    background: rgba(45, 49, 58, 0.95);
}

.filters-title-text {
    color: #ffffff;
    font-weight: 600;
}

/* Иконка стрелки */
.filters-arrow {
    font-size: 8px;
    color: #a0a0a0;
    padding-top: 2px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}
  
/* Панель с фильтрами внутри контейнера */
.filters-panel {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 12px 10px 12px;
}

/* Стили для фильтров */
.filter-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-right: 2px; 
}

.subfilters-container {
    width: 100%; 
    margin: 8px 0 0 0;
    padding: 10px 12px 10px 35px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

/* Убираем нижнюю границу у последнего фильтра в группе */
.filter-group:last-child {
    border-bottom: none;
}

.filter-icon {
    width: 30px;
    height: 30px;
    margin-right: 4px;
}

.filter-label {
    font-family: Arial, sans-serif;
    color: #d0d0d0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
}

.filter-label-container {
    display: flex;
    align-items: center;
    gap: 10zpx;
    flex: 1;
}

.filter-checkbox {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
}

.filter-checkbox:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.filter-checkbox.active {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.filter-checkmark {
    width: 18px;
    height: 18px;
    position: relative;
    display: none;
}

.filter-checkmark.active {
    display: inline;
}

.filter-checkmark:before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 13px;
    font-weight: bold;
    color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Особый стиль для "Все фильтры" */
.filter-group:first-child .filter-label {
    color: #4da6ff;
    font-weight: 600;
}

.filter-group:first-child .filter-checkbox.active {
    border-color: #2196F3;
    background-color: rgba(33, 150, 243, 0.1);
}

.filter-group:first-child .filter-checkmark:before {
    color: #2196F3;
}

/* Разделитель после "Все фильтры" */
.filter-group:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

/* Стили для чекбокса с состоянием "частично включено" */
.filter-checkbox.partial {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
    position: relative;
}

.filter-checkbox.partial::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background-color: #2196F3;
    border-radius: 2px;
}

/* Для подфильтров тоже */
.subfilter-checkbox.partial {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    position: relative;
}

.subfilter-checkbox.partial::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #4CAF50;
    border-radius: 1px;
}

/* Убираем галочку при частичном состоянии */
.filter-checkbox.partial .filter-checkmark,
.subfilter-checkbox.partial .subfilter-checkmark {
    display: none ;
}

/* Стили для подфильтров */
.subfilters-container {
    width: 100%;
    margin: 2px 0 0 12px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.subfilter-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    width: 100%;
}

.subfilter-group:last-child {
    border-bottom: none;
}

.subfilter-label-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.subfilter-label-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.subfilter-label {
    font-family: Arial, sans-serif;
    color: rgba(208, 208, 208, 0.9);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    padding-left: 0;
}

.subfilter-label-text {
    font-size: 12px;
    color: rgba(208, 208, 208, 0.9);
    padding-left: 10px;
}

.subfilter-checkbox {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.subfilter-checkbox:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.subfilter-checkbox.active {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
}

.subfilter-checkmark {
    width: 16px;
    height: 16px;
    position: relative;
    display: none;
}

.subfilter-checkmark.active {
    display: inline;
}

.subfilter-checkmark:before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 11px;
    font-weight: bold;
    color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стрелка для фильтров с подфильтрами */
.filter-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.filter-clickable-area {
    display: flex;
    align-items: center;
    flex: 1;
    cursor: pointer;
}

/* Для фильтров без подфильтров */
.filter-group:not(.has-subfilters) .filter-clickable-area {
    cursor: default;
}

/* Стили для POPUP при наведении */
.hover-popup {
    pointer-events: none;
    z-index: 999 ;
}

.leaflet-popup.hover-popup .leaflet-popup-content-wrapper {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 250px;
}

.leaflet-popup.hover-popup .leaflet-popup-content {
    margin: 0;
    padding: 0;
    color: white;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.leaflet-popup.hover-popup .leaflet-popup-tip {
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    backdrop-filter: blur(4px);
}

/* Уменьшаем стрелку у попапа */
.hover-popup .leaflet-popup-tip-container {
    margin-top: -1px;
}
/* Стили для тултипов при клике */
.clicked-tooltip {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    font-size: 16px;
    padding: 0;
    color: #333;
    z-index: 1001;
}

.clicked-tooltip:before,
.clicked-tooltip:after {
    display: none;
}

/* Активный маркер */
.leaflet-marker-icon.tooltip-active {
    filter: drop-shadow(0 0 6px black) brightness(1.3);
    z-index: 1000;
    transform: scale(1.2);
}

/* Маркеры */
.leaflet-marker-icon {
    cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.leaflet-marker-icon:hover {
    filter: brightness(1.2) drop-shadow(0 0 4px black);
    transform: scale(1.05);
}

.leaflet-div-icon {
    background: transparent;
    border: none;
}

/* ===== ПАНЕЛЬ ОСОБЫХ МЕТОК ===== */
.special-marks-container {
    position: absolute;
    bottom: 20px;
    left: 10px;
    background: rgba(30, 33, 40, 0.5);
    backdrop-filter: blur(2px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    border-radius: 10px;
    z-index: 1001;
    display: flex;
    flex-direction: column-reverse;
    transition: all 0.3s ease;
    min-width: 220px;
    overflow: hidden;
}

.special-marks-container:hover {
    background: rgba(35, 38, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Обертка для содержимого с прокруткой */
.special-marks-content {
    background: transparent;
    overflow-y: auto;
    max-height: 80vh;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.special-marks-content.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.special-marks-content:not(.collapsed)::-webkit-scrollbar {
    width: 6px;
}

.special-marks-content:not(.collapsed)::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.special-marks-content:not(.collapsed)::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.special-marks-content:not(.collapsed)::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Заголовок особых меток*/
.special-marks-title {
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 8px 12px;
    z-index: 2;
    color: #e0e0e0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    border-radius: 6px 6px 0 0;
}

.special-marks-title:hover {
    background: rgba(45, 49, 58, 0.95);
}

.special-marks-title-text {
    color: #ffffff;
    font-weight: 600;
}

/* Иконка стрелки */
.special-marks-arrow {
    font-size: 8px;
    color: #a0a0a0;
    padding-top: 2px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Панель с особыми метками внутри контейнера */
.special-marks-panel {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px 0px 12px;
}

/* Стили для особых меток */
.special-mark-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 4px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.special-mark-group:last-child {
    border-bottom: none;
}

.special-mark-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-right: 2px;
}

.special-mark-clickable-area {
    display: flex;
    align-items: center;
    flex: 1;
    cursor: default;
}

.special-mark-label {
    font-family: Arial, sans-serif;
    color: #d0d0d0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    cursor: help;
    transition: color 0.2s ease;
}

.special-mark-label:hover {
    color: #ffffff;
}

.special-mark-checkbox {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
}

.special-mark-checkbox:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.special-mark-checkbox.active {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.special-mark-checkmark {
    width: 18px;
    height: 18px;
    position: relative;
    display: none;
}

.special-mark-checkmark.active {
    display: inline;
}

.special-mark-checkmark:before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 13px;
    font-weight: bold;
    color: #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== СТИЛИ ДЛЯ ПОДМЕТОК ===== */
.submarks-container {
    width: 100%;
    margin: 2px 0 0 12px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.submark-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    width: 100%;
}

.submark-group:last-child {
    border-bottom: none;
}

.submark-label-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.submark-label {
    font-family: Arial, sans-serif;
    color: rgba(208, 208, 208, 0.9);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
    padding-left: 0;
}

.submark-checkbox {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.submark-checkbox:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.submark-checkbox.active {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
}

.submark-checkmark {
    width: 16px;
    height: 16px;
    position: relative;
    display: none;
}

.submark-checkmark.active {
    display: inline;
}

.submark-checkmark:before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 11px;
    font-weight: bold;
    color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-mark-arrow {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    margin-left: 8px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* Стили для чекбокса с состоянием "частично включено" */
.special-mark-checkbox.partial {
    background: rgba(76, 175, 80, 0.15);
    border-color: #2196F3;
    position: relative;
}

.special-mark-checkbox.partial::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #2196F3;
    border-radius: 2px;
}

.submark-checkbox.partial {
    background: rgba(76, 175, 80, 0.15);
    border-color: #4CAF50;
    position: relative;
}

.submark-checkbox.partial::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background-color: #4CAF50;
    border-radius: 1px;
}

.special-mark-checkbox.partial .special-mark-checkmark,
.submark-checkbox.partial .submark-checkmark {
    display: none;
}

/* ===== ПАНЕЛЬ ИНСТРУМЕНТОВ (правый верхний) ===== */
.tools-container {
    position: absolute;
    top: 0;
    right: 35px;
    background: rgba(30, 33, 40, 0.5);
    backdrop-filter: blur(2px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    border-radius: 10px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    min-width: 180px;
    overflow: hidden;
}

.tools-container:hover {
    background: rgba(35, 38, 45, 0.95);
    border-color: rgba(255, 255, 255, 0.18);
}

/* Обертка для содержимого с прокруткой */
.tools-content {
    background: transparent;
    overflow-y: auto;
    max-height: 80vh;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.tools-content.collapsed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Скроллбар */
.tools-content:not(.collapsed)::-webkit-scrollbar {
    width: 6px;
}

.tools-content:not(.collapsed)::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.tools-content:not(.collapsed)::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.tools-content:not(.collapsed)::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Заголовок инструментов - фиксированный */
.tools-title {
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 8px 12px;
    z-index: 2;
    color: #e0e0e0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    border-radius: 6px 6px 0 0;
}

.tools-title:hover {
    background: rgba(45, 49, 58, 0.95);
}

.tools-title-text {
    color: #ffffff;
    font-weight: 600;
}

/* Иконка стрелки */
.tools-arrow {
    font-size: 8px;
    color: #a0a0a0;
    padding-top: 2px;
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Панель с инструментами внутри контейнера */
.tools-panel {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0px 12px 10px;
}

/* ===== СТИЛИ ДЛЯ ИНСТРУМЕНТОВ ===== */
.tool-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4px 0;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tool-group:last-child {
    border-bottom: none;
}

.tool-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-right: 2px;
}

.tool-clickable-area {
    display: flex;
    align-items: center;
    flex: 1;
    cursor: default;
}

.tool-label {
    font-family: Arial, sans-serif;
    color: #d0d0d0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
}

.tool-checkbox {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    transition: all 0.2s ease;
}

.tool-checkbox:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.tool-checkbox.active {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.tool-checkmark {
    width: 18px;
    height: 18px;
    position: relative;
    display: none;
}

.tool-checkmark.active {
    display: inline;
}

.tool-checkmark:before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 13px;
    font-weight: bold;
    color: #4CAF50;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для отмеченных маркеров */
.leaflet-marker-icon.marked {
    filter: brightness(0.5);
    z-index: 10 !important;
}

.leaflet-marker-icon.marked:hover {
    filter: brightness(1.0) ;    
    z-index: 11 !important;
}

.tool-button {
    width: 85%;
    padding: 8px 12px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 4px;
    color: #4CAF50;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
    transition: all 0.2s ease;
    user-select: none;
    font-family: Arial, sans-serif;
}

.tool-button:hover {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.tool-button:active {
    transform: scale(0.98);
}

.tool-button.export-json {
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.3);
    color: #2196F3;
}

.tool-button.export-json:hover {
    background: rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.tool-button.clear-all {
    width: 85%;
    padding: 8px 12px;
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
    border-radius: 4px;
    color: #ff5757;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 5px;
    transition: all 0.2s ease;
}

.tool-button.clear-all:hover {
    background: rgba(255, 87, 87, 0.2);
    border-color: #ff5757;
}

/* Стиль для курсора в режиме создания меток */
body.create-marker-mode {
    cursor: crosshair;
}

body.create-marker-mode .leaflet-marker-icon.is-user-marker {
    cursor: pointer;
}

/* Стиль для пользовательских меток */
.leaflet-marker-icon.is-user-marker {
    filter: drop-shadow(0 0 3px rgba(0, 150, 255, 0.5));
}

.leaflet-marker-icon.is-user-marker:hover {
    filter: drop-shadow(0 0 5px rgba(0, 150, 255, 0.8)) brightness(1.2);
}

/* Стили для чипсов фильтров */
.filter-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 16px;
    padding: 4px 10px 4px 12px;
    font-size: 12px;
    color: #4CAF50;
    cursor: default;
    transition: all 0.2s ease;
    user-select: none;
    margin: 2px;
}

.filter-chip:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: #4CAF50;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.remove-filter-chip {
    cursor: pointer;
    font-size: 14px;
    color: rgba(255, 87, 87, 0.7);
    margin-left: 4px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.remove-filter-chip:hover {
    color: #ff5757;
    background: rgba(255, 87, 87, 0.1);
    transform: scale(1.1);
}

#filter-chips-container:empty::before {
    content: 'Нет выбранных фильтров';
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    font-style: italic;
    padding: 8px;
    text-align: center;
    width: 100%;
}

#filters-autocomplete div[style*="background: rgba(0, 0, 0, 0.2)"] {
    cursor: default;
}

#filters-autocomplete div[style*="background: rgba(0, 0, 0, 0.2)"]:hover {
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.5);
}

/* Стили для дерева фильтров */
#filters-tree {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(0, 0, 0, 0.1);
}

#filters-tree::-webkit-scrollbar {
    width: 6px;
}

#filters-tree::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}

#filters-tree::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

#filters-tree::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Стили для элементов дерева */
.filter-tree-item {
    position: relative;
    transition: transform 0.2s ease;
}

.filter-tree-item:hover {
    transform: translateX(2px);
}

.filter-tree-item.hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-tree-item[data-is-subfilter="true"] {
    border-left: 2px solid rgba(76, 175, 80, 0.3);
}

.filter-tree-item[data-is-subfilter="true"]:hover {
    border-left-color: rgba(76, 175, 80, 0.6);
}

/* Подсветка выбранных фильтров в дереве */
.filter-tree-item.selected {
    background: linear-gradient(90deg, rgba(76, 175, 80, 0.1), transparent);
    border-left: 3px solid #4CAF50;
}

.filter-tree-item.selected.hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.5);
}

.tree-item-status.selected-hover {
    background: rgba(76, 175, 80, 0.3);
}

/* Стили для чипсов в диалоге создания метки */
#filter-chips-container {
    min-height: 44px;
    transition: min-height 0.3s ease;
}

#filter-chips-container:empty::before {
    content: 'Нет выбранных фильтров';
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* Стили для поиска */
#search-results {
    max-height: 300px;
    border-radius: 8px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

#search-results div[style*="background: rgba(0, 0, 0, 0.3)"] {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .create-marker-dialog {
        flex-direction: column;
        width: 95%;
        max-height: 85vh;
    }
    
    .create-marker-dialog > div {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

/* ===== КНОПКА ПЕРЕКЛЮЧЕНИЯ КАРТЫ (правый нижний угол) ===== */
.map-switch-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(30, 33, 40, 0.5);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    border-radius: 10px;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-width: 140px;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
}

.map-switch-button:hover {
    background: rgba(35, 38, 45, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 
        0 6px 25px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.map-switch-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.map-switch-text {
    font-family: Arial, sans-serif;
    color: #d0d0d0;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
    flex: 1;
}

.map-switch-button:hover .map-switch-text {
    color: #ffffff;
}

/* ===== СТИЛИ ДЛЯ ДИАЛОГА СОЗДАНИЯ МЕТОК ===== */
.create-marker-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.create-marker-dialog {
    background: rgba(30, 33, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 20px;
    width: 800px;
    max-width: 95%;
    max-height: 90vh;
    overflow: hidden;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
    display: flex;
    flex-direction: column;
}

.create-marker-dialog h3 {
    margin-top: 0;
    color: #4CAF50;
    text-align: center;
}

.coordinates-info {
    margin-bottom: 15px;
    font-size: 12px;
    color: #aaa;
    text-align: center;
}

.dialog-layout {
    display: flex;
    gap: 20px;
    flex: 1;
    min-height: 400px;
}

.filters-tree-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 20px;
}

.filters-tree-label {
    display: block;
    margin-bottom: 10px;
    color: #ddd;
    font-size: 14px;
    font-weight: bold;
}

.filters-tree-container {
    flex: 1;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.filters-tree-tip {
    font-size: 11px;
    color: #aaa;
    margin-top: 10px;
    padding: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 5px;
}

.filters-tree-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 10px 0;
}

.filters-chips-placeholder {
    color: rgba(255, 255, 255, 0.3);
    font-size: 12px;
    font-style: italic;
    padding: 12px;
    width: 100%;
    text-align: center;
}

.create-form-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    color: #ddd;
    font-size: 14px;
}

.required {
    color: #ff5757;
}

.form-input {
    width: 95%;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    color: white;
    font-size: 14px;
}

.filter-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
    min-height: 40px;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.search-container {
    position: relative;
    margin-bottom: 10px;
}

.search-input {
    width: 95%;
    padding: 8px 12px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    color: white;
    font-size: 13px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(40, 44, 52, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-top: 2px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.search-info {
    font-size: 11px;
    color: #aaa;
    margin-top: 5px;
    line-height: 1.4;
}

.form-textarea {
    width: 95%;
    height: 100%;
    min-height: 120px;
    padding: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    color: white;
    font-size: 14px;
    resize: vertical;
}

.dialog-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.cancel-button {
    padding: 10px 20px;
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.3);
    border-radius: 5px;
    color: #ff5757;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.cancel-button:hover {
    background: rgba(255, 87, 87, 0.2);
    border-color: #ff5757;
    color: #ff5757;
}

.save-button {
    padding: 10px 20px;
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    border-radius: 5px;
    color: #4CAF50;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.save-button:hover {
    background: rgba(76, 175, 80, 0.3);
    border-color: #4CAF50;
    color: #4CAF50;
}

/* Элементы дерева фильтров */
.filter-tree-item {
    padding: 8px 12px;
    margin: 4px 0;
    cursor: pointer;
    font-size: 13px;
    color: #d0d0d0;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 5px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.filter-tree-item.subfilter {
    padding: 6px 12px 6px 30px;
    margin: 2px 0;
    font-size: 12px;
    color: rgba(208, 208, 208, 0.9);
}

.filter-tree-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.filter-tree-item.selected {
    background: rgba(76, 175, 80, 0.15);
    border-color: rgba(76, 175, 80, 0.3);
}

.filter-tree-item.selected:hover {
    background: rgba(76, 175, 80, 0.25);
    border-color: rgba(76, 175, 80, 0.5);
}

.tree-item-status {
    color: rgba(255, 255, 255, 0.3);
    font-size: 14px;
    font-weight: bold;
    margin-left: 8px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.filter-tree-item.selected .tree-item-status {
    color: #4CAF50;
    background: rgba(76, 175, 80, 0.2);
}

.filter-tree-item:hover .tree-item-status {
    background: rgba(255, 255, 255, 0.1);
}

.filter-tree-item.selected:hover .tree-item-status {
    background: rgba(76, 175, 80, 0.3);
}

/* Стили для результатов поиска */
.search-group-header {
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: bold;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #d0d0d0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-item:hover {
    background: rgba(76, 175, 80, 0.15);
    color: #4CAF50;
}

.search-add-icon {
    color: rgba(76, 175, 80, 0.7);
    font-size: 16px;
    font-weight: bold;
    margin-left: 8px;
}

.search-result-item:hover .search-add-icon {
    color: #4CAF50;
}

/* Стили для диалога экспорта */
.export-dialog {
    background: rgba(30, 33, 40, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 20px;
    width: 450px;
    max-width: 90%;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.export-dialog h3 {
    margin-top: 0;
    color: #4CAF50;
    text-align: center;
}

.export-info {
    margin-bottom: 15px;
    font-size: 13px;
    color: #aaa;
    text-align: center;
}

.export-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.export-button {
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.export-json-button {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.export-delete-button {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid #FFC107;
    color: #FFC107;
}

.export-button:hover {
    transform: translateY(-1px);
}

.export-json-button:hover {
    background: rgba(76, 175, 80, 0.25);
}

.export-delete-button:hover {
    background: rgba(255, 193, 7, 0.25);
}

.export-note {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin: 0 10px;
}

.warning-note {
    font-size: 11px;
    color: #ff9800;
    text-align: center;
    margin: 0 10px;
}

.export-cancel-button {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    color: #d0d0d0;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.export-cancel-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ===== СТИЛИ ДЛЯ ТУЛТИПОВ МАРКЕРОВ ===== */
.marker-tooltip-container {
    max-width: 300px;
    padding: 10px;
    position: relative;
}

.marker-tooltip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.marker-tooltip-title {
    margin: 0;
    color: white;
    font-size: 15px;
    flex: 1;
    font-family: Arial, sans-serif;
    font-weight: 600;
}

.marker-tooltip-comment {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 8px;
    font-size: 13px;
    color: white;
    line-height: 1.4;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    max-height: 250px;
}

.marker-tooltip-checkbox-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 8px;
}

.marker-tooltip-checkbox {
    width: 16px;
    height: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.marker-tooltip-checkbox.checked {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
}

.marker-tooltip-checkmark {
    color: #4CAF50;
    font-size: 12px;
    font-weight: bold;
}

.marker-tooltip-label {
    color: #d0d0d0;
    font-size: 12px;
    font-family: Arial, sans-serif;
    cursor: pointer;
    user-select: none;
}

.marker-tooltip-label:hover {
    color: #ffffff;
}