/* Custom Search Form Styles */
.custom-search-form {
    max-width: 100%; /* Max width to fill the container */
    margin: 0 auto; /* Center the form */
}

/* Custom Search Input Container */
.custom-search-input-container {
    display: flex; /* Align items in a row */
    width: 100%; /* Full width */
}

/* Search Input */
.custom-search-input {
    flex: 1; /* Grow to fill space */
    padding: 10px; /* Inner padding */
    border: 2px solid #0071a1; /* Border styling */
    border-radius: 5px 0 0 5px; /* Rounded corners on the left */
    font-size: 16px; /* Font size */
    transition: border-color 0.3s ease; /* Smooth border transition */
}

/* Category Dropdown */
.custom-category-dropdown {
    margin-left: -1px; /* Overlap border with input */
    padding: 10px; /* Inner padding */
    border: 2px solid #0071a1; /* Border styling */
    border-left: none; /* Remove left border */
    border-radius: 0 5px 5px 0; /* Rounded corners on the right */
    flex: 0 0 150px; /* Fixed width */
    font-size: 16px; /* Font size */
}

/* Search Icon Button */
.custom-search-icon {
    background-color: #0071a1; /* Background color */
    border: none; /* No border */
    border-radius: 0 5px 5px 0; /* Rounded corners on the right */
    padding: 10px; /* Inner padding */
    cursor: pointer; /* Pointer on hover */
    display: flex; /* Flex container */
    align-items: center; /* Center items */
    justify-content: center; /* Center items */
}

/* Icon styles */
.custom-search-icon i {
    color: #ffffff; /* Icon color */
    font-size: 20px; /* Adjust icon size */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-search-input-container {
        flex-direction: column; /* Stack inputs on smaller screens */
        align-items: stretch; /* Stretch items */
    }

    .custom-search-input,
    .custom-category-dropdown,
    .custom-search-icon {
        width: 100%; /* Full width on smaller screens */
        margin-bottom: 10px; /* Space between inputs */
    }
}
