.searchBar input {
    font-weight: 300;
    font-size: 14px;
    line-height: 100%;
    background: transparent;
    width: 100%;
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    transition: width 0.3s ease;
    width: 100%;
}

.searchBar input:focus {
    border: none;
}
.searchBar input:focus-visible {
    border: none;
    outline: none;
}

.searchBar button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.searchBar button path {
    stroke: var(--text-color-white);
}

form.searchBar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 360px;
    height: 48px;
    border-radius: 8px;
    border-width: 2px;
    padding: 8px 16px;
    gap: 10px;
    background-color: var(--gray-100);
    border: solid 2px var(--gray-100);
    box-sizing: border-box;
    transition: width 0.3s ease, padding 0.3s ease, height 0.3s ease,
        background-color 0.3s ease;
}

form.courses-filter {
    width: 100%;
    height: 44px;
    flex-direction: row-reverse;
    padding: 10px 14px;
    background-color: transparent;
    border: solid 1px var(--gray-300);
}

.courses-filter button {
    background-color: transparent;
    width: auto;
    height: auto;
    padding: 0;
}

.courses-filter button svg {
    width: 20px;
    height: 20px;
}

.courses-filter button path {
    stroke: var(--text-color);
}

@media (max-width: 1120px) {
    form.searchBar {
        width: 100%;
    }
}

@media (max-width: 992px) {
    form.searchBar {
        width: 100%;
        height: 46px;
        background-color: transparent;
        border: solid 1px var(--stroke-color-tertiary);
        padding: 8px;
    }

    form.searchBar input {
        padding: 4px;
        width: 100%;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    form.searchBar {
        height: 52px;
    }
}
