/* MT UX PACKAGES 1-4 START */

.mt-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.smart-search__input,
.smart-search__submit,
.form-buttons .button,
.mt-empty-actions .button,
.mt-category-search,
.mt-geo-close,
.mt-form-progress a {
    min-height: 44px;
}

.mt-category-search {
    width: 100%;
    margin: 0 0 10px;
    padding: 0 12px;
}

.mt-category-search-hint {
    margin: -4px 0 10px;
    color: #666;
    font-size: 13px;
}

.add-listing-page #next_step:not(.disabled) {
    cursor: pointer;
}

.mt-form-progress {
    position: sticky;
    top: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    margin: 0 0 22px;
    padding: 8px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
}

.mt-form-progress a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 9px;
    color: #222;
    text-align: center;
    background: #f5f5f5;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.25;
}

.mt-form-progress a:hover,
.mt-form-progress a:focus {
    background: #ffe57b;
}

.mt-required-invalid {
    border-color: #c62828 !important;
    box-shadow: 0 0 0 2px rgba(198, 40, 40, .12) !important;
}

.mt-empty-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 230px));
    gap: 10px;
    margin: 18px 0 30px;
}

.mt-empty-actions .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    text-align: center;
}

.mt-empty-actions .button.mt-secondary {
    color: #222;
    background: #f2f2f2;
    border: 1px solid #d8d8d8;
}

.mt-listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0 0 18px;
    color: #666;
    font-size: 13px;
}

.mt-listing-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}

#mf-location-selector + .popover,
.popover.mt-geo-popover {
    max-width: min(320px, calc(100vw - 24px));
    z-index: 10010;
}

.popover.mt-geo-popover > div {
    position: relative;
    padding-top: 10px;
}

.popover.mt-geo-popover .body {
    padding-right: 24px;
    line-height: 1.45;
}

.mt-geo-close {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    display: inline-flex;
    width: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #555;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    nav.main-menu {
        flex-wrap: nowrap !important;
    }

    nav.main-menu .category-menu__button {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

    nav.main-menu .menu {
        min-width: 0;
    }

    nav.main-menu .menu-content {
        flex-wrap: nowrap !important;
        overflow: visible !important;
    }

    nav.main-menu .menu-content > a {
        flex: 0 1 auto;
        min-width: 0;
        padding-right: 8px !important;
        padding-left: 8px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }

    nav.main-menu .add-property {
        margin-left: 8px !important;
    }

    nav.main-menu .add-property > a,
    nav.main-menu a.add-property {
        padding-right: 12px !important;
        padding-left: 12px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .mt-form-progress {
        top: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mt-empty-actions {
        grid-template-columns: 1fr;
    }

    .mt-empty-actions .button {
        width: 100%;
    }

    .popover.mt-geo-popover {
        position: fixed !important;
        top: auto !important;
        right: 12px !important;
        bottom: calc(76px + env(safe-area-inset-bottom)) !important;
        left: 12px !important;
        width: auto !important;
        max-width: none;
    }

    .popover.mt-geo-popover:before {
        display: none !important;
    }

    .view-details-page .call-owner-buttons,
    .view-details-page .mt-mobile-contact-actions {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* MT UX PACKAGES 1-4 END */


/* MT FLYNAX NATIVE LISTING FORM START */
.mt-listing-requirements {
    margin: 0 0 20px;
    padding: 14px 16px;
    border: 1px solid #d9e4ef;
    border-left: 4px solid #2f80ed;
    border-radius: 6px;
    background: #f6f9fc;
    color: #344054;
}
.mt-listing-requirements strong { display: block; margin-bottom: 6px; color: #172b4d; }
.mt-listing-requirements p { margin: 4px 0 0; }
.mt-listing-requirements p[hidden] { display: none !important; }
.mt-required-field > .name { font-weight: 600; }
.mt-native-invalid > .field select { border-color: #d92d20; }
@media (max-width: 767px) {
    .mt-listing-requirements { padding: 12px; }
}
/* MT FLYNAX NATIVE LISTING FORM END */
