.updated-search-bar {
    display: flex;
    align-items: center;
    width: calc(100% - 40rem);
    border: 0.1rem solid var(--blue-4);
    border-radius: 2rem;
    margin: 2rem 20rem;
}

.updated-search-bar input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.2rem;
    background: transparent;
    color: var(--color-text);
    margin-left: 2rem;
}

.updated-search-bar input::placeholder {
    color: var(--gray-1);
    font-weight: 400;
}

.updated-search-bar button {
    width: 2.2rem;
    height: 2.2rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    margin: 0.375rem;
}

.updated-search-bar button:hover {
    background: var(--gradient-1);
}

.updated-search-bar svg {
    display: block;
}

.search-icon {
    fill: transparent;
    stroke: var(--white-1);
    stroke-width: 2;
}

@media (width < 1400px) {
    .updated-search-bar {
        width: calc(100% - 20rem);
        margin: 2rem 10rem;
    }
}

@media (width < 1200px) {
    .updated-search-bar {
        width: calc(100% - 16rem);
        margin: 2rem 8rem;
    }
}

@media (width < 992px) {
    .updated-search-bar {
        width: calc(100% - 12rem);
        margin: 2rem 6rem;
    }
}

@media (width < 768px) {
    .updated-search-bar {
        width: calc(100% - 4rem);
        margin: 2rem;
    }
}

@media (width < 576px) {
    .updated-search-bar {
        width: calc(100% - 2rem);
        margin: 2rem 1rem;
    }
}
