/*
Theme Name: Bds2
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


























/* Khung bọc ngoài cùng */
.bds-search-container {
    max-width: 1140px;
    margin: 30px auto;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    padding: 0 15px;
}

.bds-search-container *, 
.bds-search-container *:before, 
.bds-search-container *:after {
    box-sizing: inherit;
}

/* --- HÀNG CHỨA 3 Ô: Chia đều làm 3 cột ngang bằng nhau --- */
.search-row-bottom {
    display: flex;
    gap: 15px; /* Khoảng cách giữa các ô */
}

.filter-field, 
.filter-submit {
    flex: 1; /* Ép 3 phần tử có độ rộng bằng nhau 100% */
}

/* Thẻ select lựa chọn */
.filter-field select {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333333;
    background-color: #ffffff;
    cursor: pointer;
    outline: none;
    
    /* Tùy biến mũi tên đi xuống hình chữ V */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px;
    padding-right: 45px;
}

/* Định dạng riêng cho Nút Tìm Kiếm (Màu xanh dương) */
.filter-submit button {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    background-color: #3b82f6; /* Màu xanh chuẩn như hình */
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease-in-out;
}

/* Hiệu ứng khi di chuột vào nút */
.filter-submit button:hover {
    background-color: #1d4ed8; 
}

/* --- RESPONSIVE: Tự động chuyển dọc trên Mobile --- */
@media (max-width: 768px) {
    .search-row-bottom {
        flex-direction: column; /* Chuyển thành hàng dọc trên điện thoại */
        gap: 12px;
    }
    
    .filter-field select, 
    .filter-submit button {
        height: 48px; /* Giảm nhẹ chiều cao trên mobile */
    }
}