.search-table-bottom {
    font-family: var(--font-family), sans-serif;
    gap: 16px;
    padding: 16px 0 !important;

    @media (min-width: 768px) and (max-width: 1280px) {
        padding: 24px 0 16px 0 !important;
        justify-content: center;
        gap: 24px;
    }
    @media (min-width: 1280px) {
        justify-content: space-between;
    }
}

.search-table-bottom__button {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary-color);
    background: var(--bg);
    border: 1px solid var(--border-color);
    outline: none;
    border-radius: 180px;
    height: 38px;
    width: 100% !important;

    @media (min-width: 768px) {
        height: 40px;
        font-size: 16px;
        width: 143px !important;
    }

    @media (min-width: 1280px) {
        height: 54px;
        font-size: 18px;
        width: 189px !important;
    }
}

.search-table-bottom__button:hover {
    background: var(--body-background-color);
}

.search-table-bottom__button:focus {
    box-shadow: 0 0 0 4px rgba(130, 138, 145, 0.5);
}

.search-table-bottom__button:disabled {
    background: var(--bg);
    opacity: 0.65;
}

.search-table-bottom__form {
    height: 38px;
    font-size: 10px;
    width: 100% !important;
    gap: 16px;

    @media (min-width: 768px) {
        height: 40px;
        width: auto !important;
        min-width: 220px;
    }

    @media (min-width: 1280px) {
        height: 54px;
        font-size: 16px;
        min-width: 332px;
    }
    @media (min-width: 1400px) {
        min-width: 472px;
    }
}

.search-table-bottom__select {
    display: flex;
    font-variant-numeric: lining-nums;
    max-width: 108px;
    height: 38px;
    appearance: none;
    outline: none;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    color: var(--table-text-color);
    cursor: pointer;
    padding: 0 12px;
    justify-content: center;

    @media (min-width: 768px) {
        height: 40px;
    }
    @media (min-width: 1280px) {
        height: 54px;
        min-width: 160px;
    }
}

.search-table-bottom__select:focus {
    border-color: rgba(13, 110, 253, 0.25);
    box-shadow:  0 0 0 4px rgba(13, 110, 253, 0.25);
}

.search-table-bottom__input-form > .search-table-bottom__form-label {
    margin: 0 8px 0;
}

.search-table-bottom__input-form > input {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
}

.search-table-bottom__input-form > input:focus {
    border: none;
    box-shadow:  0 0 0 4px rgba(13, 110, 253, 0.25);
}

.search-table-bottom__pagination {
    margin: 0 auto;
    max-width: 482px;
}

.pagination {
    padding-left: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-self: center !important;
}

.search-table-bottom__page-item {
    box-shadow: inset 0 0 0 1px var(--border-color);
    width: 38px;
    height: 38px;
    background-color: var(--bg);
    justify-content: center;

    @media (min-width: 768px) {
    width: 40px;
    height: 40px;
    }

    @media (min-width: 1280px) {
        width: 54px;
        height: 54px;
    }
}

.search-table-bottom__page-item:first-child {
    border-radius: 4px 0 0 4px;
}

.search-table-bottom__page-item:last-child {
    border-radius: 0 4px 4px 0;
}

.search-table-bottom__page-link {
    display: flex;
    height: 100%;
    width: 100%;
    font-variant-numeric: lining-nums;
    font-size: inherit;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border-radius: 0;
    padding: 0;
    margin: 0;
}

.search-table-bottom__page-item > .search-table-bottom__active-link,
.search-table-bottom__page-item > .search-table-bottom__active-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--bg);
}

.search-table-bottom__page-item > .search-table-bottom__page-link:not(.search-table-bottom__active-link):hover {
    background-color: var(--primary-hover);
    color: var(--bg);
}

.search-table-bottom__form-control {
    height: 38px;
    width: 38px;
    gap: 8px;
    text-align: center;

    @media (min-width: 768px) {
        width: 40px;
        height: 40px;
    }

    @media (min-width: 1280px) {
        width: 54px;
        height: 54px;
    }

    @media (min-width: 1400px) {
        width: 189px;
        height: 54px;
    }
}

.custom-order-first {
     justify-content: space-around;

    @media (min-width: 768px) and (max-width: 1280px) {
        order: -1 !important;
        width: 100%;

    }
    @media (min-width: 1280px) {
        width: 482px;
    }
}

.search-table-bottom__option{
    justify-content: center;
}

.search-table-bottom__form_parts {
    min-width: 108px;

    @media (min-width: 1280px) {
        width: 160px;
    }
}

.search-table-bottom__form_part_right {
    min-width: 108px;

    @media (min-width: 1280px) {
        min-width: 160px;
    }
    @media (min-width: 1400px) {
        min-width: 280px;
    }
}


.text {
    font-size: 10px;
    @media (min-width: 1280px) {
        font-size: 16px;
    }
}