.search_select {
    display: block;
    position: relative;
    font-size: 14px;
    cursor: pointer;
}


@keyframes searchBarAnimation {

    from {
        width: 0px;
        opacity: 0;
    }

    to {
        width: 250px;
        opacity: 1;
    }

}

.search_input {
    width: auto;
    border: none !important;
    padding: 4px 10px;
    border-radius: 3px;
    position: relative;
    max-height: 40px;
    font-weight: 300;
    width: 100%;
    padding-right: 35px;
    animation: searchBarAnimation 300ms ease-in-out forwards;
}

@media(max-width: 768px) {
    @keyframes searchBarAnimation {

        from {
            width: 0px;
            opacity: 0;
        }

        to {
            width: 200px;
            opacity: 1;
        }

    }
}

.search_icon {
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: right;
    top: 0;
    right: 0;
}

.search_icon .icon_svg {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 15px;
    background-color: transparent;
    color: var(--secondary-text);
    font-size: 18px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: 1px solid rgba(0, 0, 0, .1);
}

.search_icon .icon_svg svg {
    font-size: 19px;
}

.error {
    width: 100%;
    border: 1px solid var(--red) !important;
    padding: 4px 10px;
    border-radius: 5px;
    position: relative;
}


.search_select ul {
    position: absolute;
    margin-bottom: 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 0;
    list-style: none;
    z-index: 10;
    width: 100%;
    max-height: 285px;
    overflow: auto;
}

@media(max-width: 768px) {
    .search_select ul {
        position: fixed;
        left: 0;
        margin-top: 3px;
        width: 100%;
        border-radius: 0;
    }
}

.search_select li {
    padding: 5px 10px;
}


.search_select li svg {
    margin-right: 5px;
    font-size: 14px;
}

.search_select li.selected {
    background-color: var(--tertiary);
    color: #fff;
    cursor: pointer;
}

.search_select li:hover {
    background-color: var(--primary);
    color: #fff;
    cursor: pointer;
}

.select_search {
    padding: 7px 10px 5px 10px;
}

.select_search input {
    width: auto;
    border: none;
    border-bottom: 1px solid #00000028;
    height: 30px;
    font-weight: 300;
}


.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
}

.noData {
    font-size: 14px;
    text-align: center;
    padding: 10px;
    color: var(--secondary-text);
}

.loader svg {
    max-width: 35px;
}

.disabled .search_btn::after {
    content: none !important;
}

.main_layout {
    display: flex;
    align-items: center;
    column-gap: 5px;
}

.product_image {
    position: relative !important;
    max-height: 60px;
    max-width: 60px;
    width: auto !important;
    height: auto !important;

}

.main_layout .detail_flex {
    display: flex;
    justify-content: space-between;
}

.main_layout .text {
    width: 100%;
    padding: 0 5px;
}

.main_layout p {
    margin: 0;
    text-transform: capitalize;
    font-weight: 300;
    font-size: 13px;
}

.titleText {
    padding-bottom: 1px;

}

.detail_flex p {
    font-size: 13px;
}

@media(max-width: 768px) {
    .search_input {
        width: 100% !important;
        height: 100% !important;
        max-height: none;
    }

    .search_select {
        width: 100%;
        height: 100%;
    }
}

@media(max-width: 400px) {
    .main_layout p {

        font-size: 14px;
    }
}