.live-search-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 600px;
    margin: auto;
    margin-bottom: 55px;
}

.search-input-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

input#live-search-input {
    border: 0.5px solid #A57884;
    border-radius: 25px;
    background-color: white !important;
    padding: 12px 25px;
    padding-right: 40px; /* Extra padding for the icon */
    color: #A57884;
    width: 100%;
    max-width: 100%;
    cursor: text;
    font-family: "Montserrat", Sans-serif;
    font-size: 15px;
    box-sizing: border-box;
}

.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    fill: #A57884;
    cursor: pointer;
}

.clear-icon {
    display: none; /* Initially hidden */
}

.search-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

span.search-tag {
    border: 0.5px solid #A57884;
    border-radius: 25px;
    background-color: white;
    padding: 9px 17px;
    color: #A57884;
    max-width: 100%;
    cursor: pointer;
    font-family: "Montserrat", Sans-serif;
    font-size: 12px;
    transition: all 0.3s ease; /* Smooth transition for hover effects */
}

span.search-tag:hover {
    background-color: #A57884;
    color: white;
    cursor: grab;
}

/* Optional: Adding active state for when the tag is being clicked */
span.search-tag:active {
    cursor: grabbing;
}

@media (max-width: 767px) {
    .live-search-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        margin: auto;
        margin-bottom: 55px;
    }

    .search-tags {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 20px;
        align-items: center;
        justify-content: center;
    }
}

