/* ADVANCED SEARCH - ÇALIŞAN ÇÖZÜM */

/* Container */
.brands_form {
    background: rgba(0, 0, 0, 0.3) !important;
    padding: 25px !important;
    border-radius: 15px !important;
}

/* Form düzeni */
.brands_form form ul {
    display: flex !important;
    align-items: stretch !important;
    gap: 15px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.brands_form form ul li {
    flex: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.brands_form form ul li:last-child {
    flex: 0 0 auto !important;
}

/* Tüm inputlar */
.brands_form input,
.brands_form select {
    height: 54px !important;
    background: white !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 20px !important;
    font-size: 15px !important;
    text-align: center !important;
}

/* Select2 düzeltmesi */
.brands_form .select2-container .select2-selection--single {
    height: 54px !important;
    background: white !important;
    border: none !important;
    border-radius: 10px !important;
}

/* YAZIYI YUKARI KALDIR - Y EKSENİNDE ORTALA */
.brands_form .select2-selection__rendered {
    line-height: 52px !important;
    text-align: center !important;
    font-size: 15px !important;
    color: #666 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    position: relative !important;
    top: -7px !important;
}

.brands_form .select2-selection__placeholder {
    color: #666 !important;
    position: relative !important;
    top: -7px !important;
}

/* SADECE "NE ARIYORSUNUZ?" İÇİN ÖZEL AYAR */
.brands_form li:first-child .select2-selection__rendered,
.brands_form li:first-child .select2-selection__placeholder {
    top: -6px !important;
}

/* KATEGORİ SEÇİN İÇİN */
.brands_form li:nth-child(2) .select2-selection__rendered,
.brands_form li:nth-child(2) .select2-selection__placeholder {
    top: -10px !important;
}

/* Buton */
.brands_form .submit-button .button {
    height: 54px !important;
    padding: 0 35px !important;
    background: #FEF100 !important;
    color: black !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

/* HOVER EFEKTLERİ */
.brands_form input:hover,
.brands_form .select2-container:hover .select2-selection--single {
    background: rgba(255, 255, 255, 1) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.brands_form .submit-button .button:hover {
    background: #FFD700 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(254, 241, 0, 0.4) !important;
}

/* FOCUS EFEKTLERİ */
.brands_form input:focus,
.brands_form .select2-container--focus .select2-selection--single,
.brands_form .select2-container--open .select2-selection--single {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(254, 241, 0, 0.3) !important;
}

/* Mobil */
@media (max-width: 767px) {
    .brands_form {
        padding: 20px !important; /* SABİT PADDING */
    }
    
    .brands_form form ul {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    .brands_form form ul li {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: 55px !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* MOBİLDE TÜM ELEMANLAR AYNI BOYUTTA - ZORLAYICI */
    .brands_form input[type="text"],
    .brands_form input[type="date"],
    .brands_form input[name="daterange"],
    .brands_form select,
    .brands_form .select2-container,
    .brands_form .select2-container .select2-selection--single,
    .brands_form .submit-button,
    .brands_form .submit-button .button {
        width: 100% !important;
        height: 55px !important; 
        min-height: 55px !important;
        max-height: 55px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
    }
    
    /* SELECT2 CONTAINER TAM BOYUT */
    .brands_form .select2-container {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 55px !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* SELECT2 İÇ ELEMANLAR */
    .brands_form .select2-selection__rendered {
        line-height: 55px !important;
        font-size: 16px !important;
        height: 55px !important;
    }
    
    .brands_form .select2-selection__arrow {
        height: 55px !important;
    }
    
    /* MOBİLDE PLACEHOLDER BOYUTU */
    .brands_form .select2-selection__placeholder,
    .brands_form input::placeholder {
        font-size: 16px !important;
    }
    
    /* MOBİLDE YAZILAR ORTADA */
    .brands_form li:first-child .select2-selection__rendered,
    .brands_form li:first-child .select2-selection__placeholder {
        top: -5px !important;
    }
    
    .brands_form li:nth-child(2) .select2-selection__rendered,
    .brands_form li:nth-child(2) .select2-selection__placeholder {
        top: -8px !important;
    }
    
    /* ARA BUTONU TAM BOYUT */
    .brands_form .submit-button {
        display: block !important;
        height: 55px !important;
    }
    
    .brands_form .submit-button .button {
        width: 100% !important;
        height: 55px !important;
        line-height: 55px !important;
        padding: 0 !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        display: block !important;
    }
}