/* AtomsTravel Filter */

.compact-filter {
    max-width: 360px;
    width: 100%;
    margin: 0 auto;
}

.compact-filter .uk-grid-small {
    margin-top: 10px;
}

.compact-filter .uk-input,
.compact-filter .uk-select,
.compact-filter .uk-button {
    height: 42px;
    font-size: 14px;
}

.compact-filter .jatoms-goal {
    margin-bottom: 10px;
}

.compact-filter .uk-button {
    white-space: nowrap;
}
/* ===== Старый стиль фильтра Travel House ===== */

.compact-filter {
    max-width: 340px;
    background: #ffffff;
    padding: 22px;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}

.compact-filter .uk-margin {
    margin-bottom: 14px;
}

.compact-filter .uk-select,
.compact-filter .uk-input {
    width: 100%;
    height: 44px;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    font-size: 14px;
    background: #fff;
}

.compact-filter .uk-button {
    width: 100%;
    height: 46px;
    background: #f59c00;
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 2px;
    transition: .2s;
}

.compact-filter .uk-button:hover {
    background: #e18c00;
}

.compact-filter .uk-grid-small {
    margin-top: 0;
}

.compact-filter .uk-grid-small > * {
    padding-left: 10px;
}

.compact-filter .uk-grid-small > :first-child {
    padding-left: 0;
}
/* Фильтр AtomsTravel — оформление в стиле старого filter2.php */

.compact-filter {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 15px;
}

.compact-filter .jatoms-city-field,
.compact-filter .jatoms-filter-field,
.compact-filter .jatoms-filter-submit {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.compact-filter .jatoms-filter-fieldset {
    margin: 0;
}

.compact-filter .uk-select,
.compact-filter .uk-input,
.compact-filter input,
.compact-filter select {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
}

.compact-filter .period_blocks2 .uk-form-controls {
    display: flex;
    gap: 8px;
    width: 100%;
}

.compact-filter .period_blocks2 .uk-form-controls > * {
    flex: 1 1 0;
    min-width: 0;
}

.compact-filter .jatoms-filter-submit {
    margin-bottom: 0 !important;
}

.compact-filter .jatoms-filter-submit .uk-button {
    width: 100%;
    min-height: 40px;
}
/* Современное оформление фильтра AtomsTravel */

.compact-filter {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 18px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* Поля фильтра */
.compact-filter .uk-select,
.compact-filter .uk-input,
.compact-filter input,
.compact-filter select {
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    border: 1px solid rgba(30, 50, 70, 0.18);
    border-radius: 7px;
    background-color: rgba(255, 255, 255, 0.98);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

/* Эффект при выборе поля */
.compact-filter .uk-select:focus,
.compact-filter .uk-input:focus,
.compact-filter input:focus,
.compact-filter select:focus {
    outline: none;
    border-color: #f6a000;
    box-shadow: 0 0 0 3px rgba(246, 160, 0, 0.15);
    background-color: #ffffff;
}

/* Расстояния между элементами */
.compact-filter .jatoms-city-field,
.compact-filter .jatoms-filter-field,
.compact-filter .jatoms-filter-submit {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

.compact-filter .jatoms-filter-fieldset {
    margin: 0;
}

/* Поля продолжительности в одну строку */
.compact-filter .period_blocks2 .uk-form-controls {
    display: flex;
    gap: 8px;
    width: 100%;
}

.compact-filter .period_blocks2 .uk-form-controls > * {
    flex: 1 1 0;
    min-width: 0;
}

/* Кнопка */
.compact-filter .jatoms-filter-submit {
    margin-bottom: 0 !important;
}

.compact-filter .jatoms-filter-submit .uk-button {
    width: 100%;
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    box-shadow: 0 5px 14px rgba(246, 160, 0, 0.25);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        filter 0.2s ease;
}

.compact-filter .jatoms-filter-submit .uk-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(246, 160, 0, 0.34);
    filter: brightness(1.04);
}

.compact-filter .jatoms-filter-submit .uk-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(246, 160, 0, 0.25);
}
.compact-filter .jatoms-city-field {
    width: 100%;
}

.compact-filter .jatoms-city-field .uk-select {
    width: 100%;
    display: block;
    box-sizing: border-box;
}