.search-box {
    flex: 1 1 560px;

    max-width: 680px;

    height: 40px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border: 1px solid var(--border-color);
    border-radius: 22px;

    background: var(--bg-secondary);
}

.search-input {
    flex: 1;

    width: 100%;
    height: 100%;

    padding: 0 18px;

    border: 0;
    outline: none;

    background: transparent;

    color: var(--text-primary);

    font-size: 15px;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.search-button {
    width: 58px;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 58px;

    border: 0;
    border-left: 1px solid var(--border-color);

    background: var(--bg-tertiary);

    color: var(--text-primary);

    font-size: 18px;
}

.search-button:hover {
    background: var(--hover-bg);
}


/* Tablet */

@media (max-width: 900px) {

    .search-box {
        max-width: 500px;
    }

}


/* Mobile */

@media (max-width: 600px) {

    .search-box {
        flex: 1;

        max-width: none;

        height: 38px;
    }

    .search-input {
        padding: 0 12px;
    }

    .search-button {
        width: 48px;

        flex-basis: 48px;
    }

}