/**
 * Floating Layout Styles
 * 
 * Floating search bar görünümü için özel stiller
 * 
 * @package Bayiler_Plugin
 * @since 2.0.0
 */

/* ========================================
   FLOATING LAYOUT - FİLTRE STİLLERİ
   ======================================== */

/* Elementor stil override'ı için güçlü selector */
.bayi-layout-floating .bayi-filtreler-floating,
.bayi-filtreler-floating {
    position: absolute !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1000 !important;
    background: #ffffff !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 12px 24px !important;
    margin: 0 !important;
    max-width: 90% !important;
    width: auto !important;
}

.bayi-layout-floating .bayi-filtreler-floating .bayi-filtre-grup {
    margin-bottom: 0;
}

.bayi-layout-floating .bayi-filtreler-floating .bayi-filtre-temizle {
    margin-top: 0;
}

.bayi-layout-floating .bayi-floating-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Floating - Select Stilleri */
.bayi-layout-floating .bayi-floating-search-bar select,
.bayi-layout-floating .bayi-tur-select-floating,
.bayi-layout-floating .bayi-il-select {
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    outline: none;
    min-width: 120px;
}

.bayi-layout-floating .bayi-floating-search-bar select:focus,
.bayi-layout-floating .bayi-tur-select-floating:focus,
.bayi-layout-floating .bayi-il-select:focus {
    background: #f5f5f5;
    border-radius: 8px;
}

/* Floating - Butonlar */
.bayi-layout-floating .bayi-filtre-temizle,
.bayi-layout-floating .bayi-filtre-konum,
.bayi-layout-floating .bayi-btn-floating {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bayi-layout-floating .bayi-filtre-temizle,
.bayi-layout-floating .bayi-btn-floating {
    background-color: #2271b1;
    color: white;
}

.bayi-layout-floating .bayi-filtre-temizle:hover,
.bayi-layout-floating .bayi-btn-floating:hover {
    background-color: #135e96;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3);
}

.bayi-layout-floating .bayi-filtre-konum,
.bayi-layout-floating .bayi-btn-location {
    background-color: #4CAF50;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bayi-layout-floating .bayi-filtre-konum:hover,
.bayi-layout-floating .bayi-btn-location:hover {
    background-color: #45a049;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Floating - Ayırıcı Çizgiler */
.bayi-layout-floating .floating-separator {
    width: 1px;
    height: 24px;
    background: #e0e0e0;
    margin: 0 4px;
}

/* ========================================
   RESPONSIVE - FLOATING LAYOUT
   ======================================== */

@media (max-width: 768px) {
    .bayi-layout-floating .bayi-filtreler-floating {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 12px !important;
        margin-bottom: 15px !important;
        max-width: 100% !important;
    }
    
    .bayi-layout-floating .bayi-floating-search-bar,
    .bayi-layout-floating .bayi-filtre-satir {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .bayi-layout-floating .bayi-floating-search-bar select,
    .bayi-layout-floating .bayi-tur-select-floating,
    .bayi-layout-floating .bayi-il-select {
        width: 100%;
        padding: 12px;
        background: #f5f5f5;
        border-radius: 8px;
    }
    
    .bayi-layout-floating .bayi-filtre-temizle,
    .bayi-layout-floating .bayi-filtre-konum,
    .bayi-layout-floating .bayi-btn-floating {
        width: 100%;
        justify-content: center;
        padding: 12px;
    }
    
    .bayi-layout-floating .floating-separator {
        display: none;
    }
}