/* Marker Filter Modal Styles - Matching marker-modal theme */
.marker-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.marker-filter-overlay.active {
    opacity: 1;
    visibility: visible;
}

.marker-filter-modal {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    border: 1px solid #555555;
    border-radius: 8px;
    padding: 1.5rem;
    min-width: 320px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.marker-filter-overlay.active .marker-filter-modal {
    transform: scale(1);
}

.marker-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #555555;
}

.marker-filter-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.marker-filter-close {
    background: none;
    border: none;
    color: #aaaaaa;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.marker-filter-close:hover {
    color: #ffffff;
}

.marker-filter-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.marker-filter-categories {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.marker-filter-category-item {
    display: flex;
    align-items: center;
}

.marker-filter-category-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    flex: 1;
}

.marker-filter-category-label:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.marker-filter-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4caf50;
}

.marker-filter-category-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.marker-filter-category-name {
    color: #cccccc;
    font-size: 0.95rem;
    flex: 1;
}

.marker-filter-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.marker-filter-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #555555;
}

.marker-filter-btn {
    padding: 0.6rem 1.2rem;
    border: 1px solid #555555;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.marker-filter-btn-apply {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
    border-color: #4caf50;
    color: #ffffff;
}

.marker-filter-btn-apply:hover {
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.marker-filter-btn-cancel {
    background: linear-gradient(135deg, #404040 0%, #2d2d2d 100%);
    border-color: #555555;
    color: #cccccc;
}

.marker-filter-btn-cancel:hover {
    background: linear-gradient(135deg, #4a4a4a 0%, #373737 100%);
    border-color: #666666;
    color: #ffffff;
}

.marker-filter-btn-secondary {
    background: linear-gradient(135deg, #404040 0%, #2d2d2d 100%);
    border-color: #555555;
    color: #cccccc;
    flex: 1;
}

.marker-filter-btn-secondary:hover {
    background: linear-gradient(135deg, #4a4a4a 0%, #373737 100%);
    border-color: #666666;
    color: #ffffff;
}

/* Filter Button Styles - Matching nav-btn */
.marker-filter-button {
    position: fixed;
    bottom: 0.75rem;
    right: 1rem;
    z-index: 9999;
    background: linear-gradient(135deg, #404040 0%, #2d2d2d 100%);
    color: #cccccc;
    border: 1px solid #555555;
    padding: 0.225rem 0.45rem;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.6rem;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 48px;
    position: relative;
    overflow: hidden;
    opacity: 0.6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.marker-filter-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.marker-filter-button:hover {
    background: linear-gradient(135deg, #4a4a4a 0%, #373737 100%);
    border-color: #666666;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    opacity: 0.8;
}

.marker-filter-button:hover::before {
    opacity: 1;
}

.marker-filter-button:active {
    transform: translateY(0);
}

