/* =========================================
   FİLTRE PANELİ STYLING
   ========================================= */
.gez360-filter-panel {
    position: fixed;
    top: 15px !important;
    /* Standardized with controls */
    left: 15px !important;
    z-index: 10003;
    background: #fff;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    max-width: 280px !important;
    /* Match sidebar width */
    width: 100%;
}

.gez360-filter-toggle {
    width: 100%;
    background: #fff;
    color: #333;
    border: none;
    padding: 10px 14px !important;
    /* Tighter padding */
    font-size: 14px !important;
    /* Reduced from 16px */
    font-weight: 700;
    border-radius: 8px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

.gez360-filter-toggle:hover {
    background: #f8f9fa;
    /* Siyah-beyaz tema uyumu için gradient yerine sade hover */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gez360-filter-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    border-radius: 0 0 10px 10px;
}

.gez360-filter-dropdown.active {
    max-height: 80vh !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gez360-filter-section {
    padding: 10px 12px !important;
    /* Reduced padding */
    border-bottom: 1px solid #f0f0f0 !important;
}

.gez360-filter-section:last-child {
    border-bottom: none;
}

.gez360-filter-title {
    font-weight: 800;
    font-size: 13px !important;
    /* Reduced from 15px */
    color: #000;
    margin-bottom: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gez360-category-list,
.gez360-business-list {
    max-height: 200px;
    /* Arttırıldı */
    overflow-y: auto;
    padding: 5px 2px;
}

.gez360-category-item {
    padding: 8px 10px !important;
    /* Reduced padding */
    margin-bottom: 5px !important;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 6px !important;
    font-size: 13px !important;
    /* Reduced from 14px */
    background: #fff;
    border: 1px solid #f0f0f0 !important;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.05), 0 2px 5px rgba(0, 0, 0, 0.05);
    /* Kabartma efekti */
    display: flex;
    align-items: center;
    gap: 10px;
}

.gez360-category-item:hover {
    background: #fdfdfd;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gez360-category-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.gez360-business-item {
    padding: 8px 10px !important;
    /* Reduced padding */
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 6px;
    font-size: 14px !important;
    /* Reduced from 15px */
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #f5f5f5;
}

.gez360-business-item:hover {
    background: #f0f0f0;
    color: #000;
}

.gez360-business-item:last-child {
    border-bottom: none;
}

/* Scrollbar styling */
.gez360-category-list::-webkit-scrollbar,
.gez360-business-list::-webkit-scrollbar {
    width: 6px;
}

.gez360-category-list::-webkit-scrollbar-track,
.gez360-business-list::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.gez360-category-list::-webkit-scrollbar-thumb,
.gez360-business-list::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.gez360-category-list::-webkit-scrollbar-thumb:hover,
.gez360-business-list::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* Mobil - Filtre Paneli */
@media (max-width: 768px) {
    .gez360-filter-panel {
        top: 15px;
        /* SOL ÜSTE */
        left: 60px;
        /* Zoom butonlarının sağında */
        max-width: 50%;
        /* %50 ideal */
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        /* Gradient */
    }

    .gez360-filter-toggle {
        font-size: 12px;
        padding: 8px 10px;
        /* Padding azaltıldı */
        background: transparent;
        /* Gradient panel'de zaten var */
    }

    .gez360-filter-dropdown.active {
        max-height: 300px;
    }

    .gez360-category-list,
    .gez360-business-list {
        max-height: 100px;
    }
}