.media-search-label-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.media-search-label {
    position: relative;
    flex-grow: 1;
}

.media-search-label .search-icon {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    color: var(--color-grey-dark);
}

.media-search-label .remove-icon {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    color: var(--color-grey-dark);
    cursor: pointer;
}

.media-search-input {
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 4.125rem;
    font-size: 1.125rem;
    line-height: 150%;
    height: 4.25rem;
    color: var(--color-grey-2);
    border: 1px solid var(--color-blue);
    border-radius: 1rem;
    background: transparent;
    outline: none;
}

.media-search-input::placeholder {
    color: var(--color-grey-2);
    opacity: 1;
}

.media-search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 4.25rem;
    padding: 1.5rem;
    font-size: 1.375rem;
    line-height: 120%;
    border-radius: 0.625rem;
    color: white;
    background: linear-gradient(93.85deg, #1da0ff 0%, #0058dc 100%);
    cursor: pointer;
    border: none;
}

@media screen and (min-width: 768px) {
    .media-search {
        gap: 2rem;
    }

    .media-search-label-container {
        flex-direction: row;
        align-items: stretch;
    }

    .media-search-input {
        font-size: 1.375rem;
        height: 5.0625rem;
    }

    .media-search-button {
        width: 8.0625rem;
        height: auto;
    }
}

@media screen and (min-width: 1280px) {
    .media-search-label-container {
        justify-content: flex-end;
    }

    .media-search-label {
        flex-grow: unset;
    }

    .media-search-input {
        width: 37.5rem;
    }
}

@media screen and (min-width: 1920px) {
    .media-search-label-container {
        width: fit-content;
    }
}
