/*   
Theme Name: auto
*/

.pagination {
    display: flex !important;
    justify-content: center;
}

/* Основной контейнер формы */
.vehicle_search {
    display: flex;
    width: calc(100% - 80px); /* 40px отступ слева и справа */
    max-width: 100%; /* Не ограничиваем */
    position: relative;
    margin: 10px 0;
}

/* Поле поиска */
.vlp-filter-section__search-input {
    flex: 1;
    padding: 6px 40px 6px 12px; /* место для иконки */
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Фокус на поле */
.vlp-filter-section__search-input:focus {
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

/* Кнопка поиска */
.vlp-filter-section__search-button {
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42857143;
    color: #000;
    background-color: #f4ce3c; /* Новый цвет */
    border: 1px solid #d4b92c; /* чуть темнее для рамки */
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase; /* верхний регистр */
    transition: background-color .15s ease-in-out, border-color .15s ease-in-out;
}

/* Hover кнопки */
.vlp-filter-section__search-button:hover {
    background-color: #e0b72a; /* чуть темнее при hover */
    border-color: #c9a91f;
}

/* Иконка поиска внутри поля */
.vehicle_search svg {
    position: absolute;
    right: 110px; /* отступ от правого края поля */
    pointer-events: none;
    fill: #999;
    width: 20px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Адаптивность под мобильные */
@media (max-width: 480px) {
    .vehicle_search {
        flex-direction: column;
        width: 100%;
    }
    .vlp-filter-section__search-input,
    .vlp-filter-section__search-button {
        width: 100%;
        border-radius: 4px;
        margin-bottom: 5px;
    }
    .vehicle_search svg {
        right: 15px;
        top: 12px;
        transform: none;
    }
}
