/* Styling the form container */
.qb-search-form {
    width: 100%;
    max-width: 500px; /* Limit the width of the form */
    margin: 0 auto;   /* Center the form */
    display: flex;
    justify-content: center;
}

/* Input group: making the input and button inline */
.qb-input-group {
    display: flex;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    overflow: hidden; /* Ensure input and button are aligned */
}

/* Style the input field */
.qb-typeahead-search {
    width: 100%;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    outline: none;
    flex: 1;
    box-sizing: border-box; /* Ensure padding is inside the input */
    border-top-right-radius: 0;  /* Remove top right border radius */
    border-bottom-right-radius: 0;  /* Remove bottom right border radius */
}

/* Style the search button */
.qb-search-btn {
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    font-size: 16px;
    cursor: pointer;
	 border: none;
	 border-radius: 0 5px 5px 0;
	 -webkit-transition: all 0.4s ease;
	 -moz-transition: all 0.4s ease;
    transition: background-color 0.3s ease;
}

 .qb-search-btn:hover {
	 color: var(--e-global-color-primary, #3a3a3a);
	 background: var(--e-global-color-secondary, #f0f0f0);
}

.qb-search-btn:focus,
.qb-typeahead-search:focus {
    outline: none; /* Remove outline for better appearance */
}

/* Responsive design */
@media (max-width: 768px) {
    .qb-search-form {
        max-width: 100%;
    }

    .qb-typeahead-search {
        font-size: 14px;
        padding: 8px;
    }

    .qb-search-btn {
        font-size: 14px;
        padding: 8px 15px;
    }
}
