/* Main Styles for RentEase */

@font-face {
    font-family: 'DejaVu Sans';
    src: local('DejaVu Sans'), local('DejaVuSans'),
    url('../fonts/DejaVuSans.woff2') format('woff2'),
    url('../fonts/DejaVuSans.woff') format('woff'),
    url('../fonts/DejaVuSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: local('DejaVu Sans Bold'), local('DejaVuSans-Bold'),
    url('../fonts/DejaVuSans-Bold.woff2') format('woff2'),
    url('../fonts/DejaVuSans-Bold.woff') format('woff'),
    url('../fonts/DejaVuSans-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: local('DejaVu Sans Bold Oblique'), local('DejaVuSans-BoldOblique'),
    url('../fonts/DejaVuSans-BoldOblique.woff2') format('woff2'),
    url('../fonts/DejaVuSans-BoldOblique.woff') format('woff'),
    url('../fonts/DejaVuSans-BoldOblique.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: local('DejaVu Sans Oblique'), local('DejaVuSans-Oblique'),
    url('../fonts/DejaVuSans-Oblique.woff2') format('woff2'),
    url('../fonts/DejaVuSans-Oblique.woff') format('woff'),
    url('../fonts/DejaVuSans-Oblique.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Sans';
    src: local('DejaVu Sans ExtraLight'), local('DejaVuSans-ExtraLight'),
    url('../fonts/DejaVuSans-ExtraLight.woff2') format('woff2'),
    url('../fonts/DejaVuSans-ExtraLight.woff') format('woff'),
    url('../fonts/DejaVuSans-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arian Grqi';
    src: url('../fonts/ArianGrqi.woff2') format('woff2'),
    url('../fonts/ArianGrqi.woff') format('woff'),
    url('../fonts/ArianGrqi.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Serif Condensed';
    src: url('../fonts/DejaVuSerifCondensed-Bold.eot');
    src: local('DejaVu Serif Condensed Bold'), local('DejaVuSerifCondensed-Bold'),
    url('../fonts/DejaVuSerifCondensed-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/DejaVuSerifCondensed-Bold.woff2') format('woff2'),
    url('../fonts/DejaVuSerifCondensed-Bold.woff') format('woff'),
    url('../fonts/DejaVuSerifCondensed-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DejaVu Serif Condensed';
    src: url('../fonts/DejaVuSerifCondensed.eot');
    src: local('DejaVu Serif Condensed'), local('DejaVuSerifCondensed'),
    url('../fonts/DejaVuSerifCondensed.eot?#iefix') format('embedded-opentype'),
    url('../fonts/DejaVuSerifCondensed.woff2') format('woff2'),
    url('../fonts/DejaVuSerifCondensed.woff') format('woff'),
    url('../fonts/DejaVuSerifCondensed.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #749965;
    --secondary-color: #f4d36f;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #242424;
    --black: #212529;
    --danger:#e31b23;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    /*font-family: 'DejaVu Sans', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: 'DejaVu Serif Condensed', Tahoma, Geneva, Verdana, sans-serif;

    color: var(--black);
    background-color: var(--white);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--secondary-color);
}

.navbar-brand i {
    margin-right: 5px;
}

.search-container {
    max-width: 450px;
    width: 100%;
}

.search-form {
    width: 100%;
}

.search-form .input-group {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--medium-gray);
}

.search-form .form-control {
    border: none;
    padding: 5px 15px;
}

.search-form .form-control:focus, .btn-close:focus {
    box-shadow: none;
}

.divider {
    width: 1px;
    background-color: var(--medium-gray);
}

#modal_overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 0;
}
#modal_overlay {
    overflow: hidden;
}

#longterm_modal {
    overflow: hidden;
}

#longtermModal {
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#longtermModal .moodal-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

#longtermModal .moodal-footer,
#longtermModal .moodal-header {
    flex-shrink: 0;
}

#modal_overlay.active {
    display: flex !important;
}
.modal-content-custom {
    position: fixed;
    /*top: 45%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    width: 100%;
    display: flex;
    justify-content: center;
}

.modal-content-custom {
    position: relative;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    margin: 0;
    box-sizing: border-box;
}
.search-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 10px;
    transition: var(--transition);
    float:left;

}

.search-btn:hover {
    background-color: var(--secondary-color);
}

.become-host {
    color: var(--black);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.become-host:hover {
    color: var(--primary-color);
}

.user-menu-btn {
    border: 3px solid var(--medium-gray);
    border-radius: 20px;
    padding: 10px 15px;
    background-color: var(--white);
    transition: var(--transition);
    width:41px;
    align-items: center;
    justify-content: center;
    display: flex;
    height: 41px;
}
.cur-menu-btn {padding: 10px 15px;
    background-color: var(--bs-tertiary-bg);
    transition: var(--transition);
    width:41px;
    align-items: center;
    justify-content: center;
    display: flex;
    height: 38px;
    border:var(--bs-border-width) solid var(--bs-border-color);
    border-radius:.375rem 0 0 .375rem}
.user-menu-btn i {font-size:20px; line-height:1}
.btn:hover {background:var(--primary-color); color:var(--white); border-color:var(--primary-color)}
.lng-btn {font-size:12px}
.btn.show {border-color:var(--primary-color); /*color:var(--primary-color)*/}
.user-menu-btn:hover {
    border-color:var(--primary-color)
}
.dropdown-menu {min-width:auto}
.dropdown-menu ul {list-style:none; padding:0}
.dropdown-item:hover {background:none; color:var(--primary-color)}
.dropdown-item img {height: 15px;
    margin-top: -3px;
    margin-right: 10px;}
/* Mobile Search */
.mobile-search {
    margin-top: 70px;
}
.search-bar {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--white);
    border-radius: 25px;
    box-shadow: var(--shadow);
    margin: 15px 0;
}

.search-bar i {
    margin-right: 15px;
    color: var(--primary-color);
}

/* Category Navigation */
.category-nav {
    position: relative;
    padding: 15px 0;
    border-bottom: 1px solid var(--medium-gray);
}

.category-scroll {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding-bottom: 5px;
    justify-content:center
}

.pmenu_scroll {
    align-items: center;
    padding-bottom: 0;
}

.category-scroll::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
#price-error {width:100%}
.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
    padding-bottom: 10px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.pmenu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 30px;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.pmenu-item.active {color: var(--primary-color);}

.pmenu-item.pmenu-item-notifications {
    gap: 4px;
    overflow: visible;
    align-items: center;
    line-height: 1;
}

.pmenu-item.pmenu-item-notifications .pmenu-notification-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: normal;
    white-space: nowrap;
}

.pmenu-item.pmenu-item-notifications .pmenu-notification-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 24px;
    margin-left: 2px;
    transform: translateY(1px);
}

.pmenu-item.pmenu-item-notifications .pmenu-bell-img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(69%) sepia(43%) saturate(875%) hue-rotate(5deg) brightness(89%) contrast(88%);
}

.pmenu-item.pmenu-item-notifications .pmenu-count {
    position: absolute !important;
    top: -1px !important;
    right: -10px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 19px;
    height: 19px;
    margin: 0 !important;
    padding: 0 3px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #c95b5b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.category-item .icon, #typeGrid .icon_choice i{font-size:36px; margin-bottom:4px}
#typeGrid .icon_choice {width:100%!important}
.category-item i {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.category-item.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.category-item:hover {
    color: var(--primary-color);
}

.nav-scroll-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 1;
    transition: var(--transition);
}

.nav-scroll-btn:hover {
    background-color: var(--light-gray);
}

/* Section Titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 600;



}

.see-all {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
    font-size:16px
}

.see-all:hover {
    text-decoration: none;
    color:#567c5f
}

/* Property Cards */
.property-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
a.property-info, a.property-img-container{display:inline-block; text-decoration:none; color:inherit}
.eq_col {aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    display: flex;
    width: calc(33% - 1rem);
;}
.daterange_area {min-width:200px}
.lb-open .img-fluid {min-width:100%; min-height:100%; object-fit:cover}
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.property-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

.favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index:2
}

.edit-btn {opacity:1!important; background:var(--white)}
.edit-btn:hover i {color:var(--primary-color)!important}

.favorite-btn i {
    color: var(--dark-gray);
    transition: var(--transition);
}

.favorite-btn:hover {
    background-color: var(--white);
}

.favorite-btn:hover i, .favorite-btn.liked i, .favorite-toggle.liked i {
    color: var(--danger);
}

.favorite-btn.liked, .favorite-toggle.liked {opacity:1}

.property-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.property-info {
    padding: 15px;
    line-height: 25px;
}

.property-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--black);
    font-family: 'DejaVu Serif Condensed';
}

.property-location {
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.property-dates {
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.property-price {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0;
    font-family: 'DejaVu Serif Condensed';
}

.price-unit {
    font-weight: 400;
    font-size: 0.9rem;
    color: #000;
}

.rating {
    display: flex;
    align-items: center;
    margin-left: 50px;
}

.rating i {
    color: var(--secondary-color);
    margin-right: 3px;
    font-size: 0.9rem;
}

.rating span {
    font-weight: 600;
    font-size: 0.9rem;
    font-family: 'DejaVu Serif Condensed';
}

/* Location Cards */
.location-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.location-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.location-card:hover .location-img {
    transform: scale(1.05);
}

.location-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.location-info h3 {
    font-weight: 600;
    margin-bottom: 5px;
}

.location-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.btn-explore {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 5px 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-explore:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Newsletter Section */
.newsletter-container {
    background-color: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.newsletter-container h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.newsletter-form .input-group {
    box-shadow: var(--shadow);
    border-radius: 4px;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: none;
    padding: 12px 15px;
}

.newsletter-form .form-control:focus {
    box-shadow: none;
}

.subscribe-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    transition: var(--transition);
}

.subscribe-btn:hover {
    background-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--light-gray);
    padding-bottom: 30px;
}

.footer-heading {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'DejaVu Serif Condensed';

}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--dark-gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

hr {
    margin: 30px 0;
    color: var(--medium-gray);
}

.footer-bottom {
    color: var(--dark-gray);
}

.footer-bottom a {
    color: var(--dark-gray);
    transition: var(--transition);
}

.footer-bottom a:hover {
    color: var(--primary-color);
}



:root {
    --primary-green: #6e9c7d;
    --gold: #A37E2C;
}

body {
    background-color: var(--light-gray);
}

.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    color: var(--primary-green) !important;
    font-weight: bold;
    font-size: 1.8rem;
}

.nav-link {
    color: var(--primary-green) !important;
    font-weight: 500;
}

.search-section {
    /*background: linear-gradient(180deg,rgba(255,255,255,0) 0%,#000 100%), url(../img/search_bg.jpg) center;*/
    background-size:100%;
    padding: 3rem 0;
    color: white;
    text-align: center;
    transition: all 0.4s ease-in-out;
    width:100%;
    margin-left: 50%;
    transform: translateX(-50%);
    position:relative;
    z-index:1
}
.banner h1 {position:absolute; top:90px; text-align:center; width:100%; color:var(--white)}
.banner p {position:absolute; top:150px; text-align:center; width:100%; color:var(--white)}
.banner a {position:absolute; top:200px; text-align:center; margin:0 auto; color:var(--white); text-decoration:none; padding:10px 20px; left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%); background:linear-gradient(253.58deg, #80af8e 1.55%, #567c5f 66.84%); transition:all 0.3s ease}
.second-variant {background:var(--primary-color); padding:1rem 0}
.search-section.always-top {padding:7px 0; max-width: 780px; margin-left:unset; transform: unset}

.search-section.shrink {
    position: fixed;
    top: 0px;
    background:rgba(0,0,0,0);
    padding: 7px 0;

    display: inline-block;
    color: var(--primary-green);
    max-width:780px;
    z-index:1040
}
.recommendation-icon .icon {font-size:30px}
.ri-icon {display:flex; align-items:center}
.ri-icon .icon {font-size:30px; margin-right:10px}
.search-section.shrink.other-pages {transform:unset;
    margin-left:0; position:unset; padding:0}

.search-section.shrink .filter-button span {font-size:0; text-indent:0}
.search-section h1,
.search-section p {
    transition: all 0.3s ease;
    font-family: 'DejaVu Serif Condensed';

}

.search-section.shrink h1,
.search-section.shrink p {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display:none;

}

.search-form {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    transition: all 0.4s ease-in-out;
}

.search-section.shrink .search-form {
    max-width: 780px;
    border-radius: 30px;
    box-shadow: none;
    margin-top:10px
}

.search-input {
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.search-section.shrink .search-input {
    padding: 0.3rem 0.8rem;
    font-size: 13px;
}

.search-btn {
    background-color: var(--gold);
    border: none;
    border-radius: 50%!important;
    width: 34px;
    height: 34px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-section.shrink .search-btn {
    width: 32px;
    height: 32px;
    font-size: 14px;
}




.booking-switcher {
    position: relative;
    background: var(--bs-gray-100);
    border: 1px solid var(--bs-border-color);
    border-radius: 40px;
    padding: 2px;
    height: 36px;
}

.booking-option {
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
    color: var(--bs-secondary);
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    padding:15px 0
}

.booking-option.active {
    color: var(--bs-body-color);
    background:#567c5f; color:var(--white);
}
.search-section.shrink .dur-choise {margin-left:10px; margin-bottom:0}
.booking-slider {
    position: absolute;
    top: 2px;
    height: calc(100% - 4px);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    z-index: 1;
}

.booking-option:hover:not(.active) {
    color: var(--bs-body-color);
}
.dur-choise {background-color:initial; padding:0; box-shadow:none; justify-content: center; margin:15px}



.stepper{display:flex; gap:10px; overflow:auto; border-radius:12px;}
.stepper .step{
    flex:1 0 auto; width:240px; display:flex; align-items:center; gap:12px;
    padding:12px 14px; border-radius:12px; background:var(--white); border:1px solid var(--medium-gray); cursor:pointer;
    transition:all .2s ease; user-select:none;
}
.step:hover{border-color:#d6eadb}
.step.active{border-color:var(--primary-color); box-shadow:0 6px 20px rgba(0,0,0,.06)}
.step .index{
    width:32px;height:32px;min-width:32px;min-height:32px;max-width:32px;max-height:32px;
    flex:0 0 32px;border-radius:50%;display:grid;place-items:center;font-weight:700;
    line-height:1;aspect-ratio:1 / 1;
    background:var(--primary-color); color:var(--white);
}
.step .title{font-weight:700; color:#1c2b23}
.step .sub{font-size:.82rem; color:var(--dark-gray); margin-top:-2px}

.wizard-card{border:1px solid var(--medium-gray); border-radius:14px; padding:18px; background:var(--white); box-shadow:0 2px 8px rgba(0,0,0,.04);}
.wizard-actions{display:flex; justify-content:space-between; gap:10px}

.icon_grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:12px}
.icon_grid_4{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:12px}

.icon_choice i{font-size:26px}

.dropzone{
    border:2px dashed #cfe3d3; border-radius:14px; background:#f6faf7; padding:24px; text-align:center; color:#446251
}
.dropzone.dragover{background:#eef8f0; border-color:var(--primary-color);}
.upload-progress-note{
    margin-top:10px;
    margin-bottom:12px;
    padding:14px 16px;
    border-radius:8px;
    background:#fff8e6;
    border:1px solid #f0c45c;
    color:#3b2a07;
    font-size:14px;
    line-height:1.4;
    box-shadow:0 8px 22px rgba(91, 65, 6, .12);
}
.upload-progress-note strong{
    font-weight:800;
}
.upload-progress-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    margin-left:10px;
    padding:2px 9px;
    border-radius:999px;
    background:#7a9b69;
    color:#fff;
    font-weight:800;
    font-size:12px;
}
.upload-progress-subtext{
    margin-top:5px;
    color:#6b5520;
    font-size:12px;
}
#photo_upload_overlay_message{
    position:fixed;
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    max-width:min(420px, calc(100vw - 32px));
    padding:18px 20px;
    border-radius:10px;
    background:#fff8e6;
    border:1px solid #f0c45c;
    color:#3b2a07;
    box-shadow:0 18px 46px rgba(54, 38, 5, .2);
    font-size:15px;
    line-height:1.45;
    text-align:left;
}
.thumbs{display:grid; grid-template-columns:repeat(auto-fill,minmax(130px,1fr)); gap:10px; margin-top:14px}
.thumb{position:relative; border:1px solid var(--medium-gray); border-radius:10px; overflow:hidden; background:var(--white)}
.thumb img{width:100%; height:120px; object-fit:cover; display:block}
.thumb .handle{position:absolute; inset:auto 6px 6px 6px; display:flex; justify-content:space-between}
.thumb .btn-sm{padding: .2rem;
    font-size: 1rem;}
.thumb[draggable="true"]{cursor:grab}
.thumb.dragging{opacity:.4; border-style:solid}

.booking-switcher{position:relative;background:#eef3ef;border:1px solid #dfe7e2;border-radius:40px;padding:3px; height:38px;}
.round-switcher {border-radius:.375rem}
.round-switcher .booking-option.active {border-radius:0.3rem}
.booking-option{cursor:pointer;border-radius:20px;color:#5a6d62;font-weight:600;font-size:.9rem; padding:.45rem .9rem}
.booking-option.active{background:var(--primary-color); color:var(--white)}
.hint{color:#6c757d; font-size:.9rem}

label.error{color:var(--danger); font-size:.85rem; margin-top:.25rem}
.is-invalid{border-color:var(--danger)!important}
.publish-terms-consent.is-invalid{
    border:1px solid var(--danger);
    border-radius:8px;
    padding:8px;
}
.publish-terms-consent.is-invalid,
.publish-terms-consent.is-invalid a{
    color:var(--danger);
}

.summary-card{/*border:1px solid #e9ecef; border-radius:16px;*/ overflow:hidden; background:var(--white)}
.summary-card h5 {color:#000; font-weight:bold}
.summary-header{background:linear-gradient(253.58deg, var(--primary-2) 1.55%, var(--primary-color) 66.84%); color:var(--white); padding:18px}
.summary-body{padding:18px}
.summary-photos{display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:10px}
.summary-photos img{width:100%; height:100px; object-fit:cover; border-radius:10px}
.summary_info {background: var(--light-gray);
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
    padding: 15px;}
.badge-soft{background:#f5faf7; color:#2f5b45; border:1px solid #d5eadb; font-weight:600}
.btn-outline-danger.remove {background:var(--danger); color:var(--white)}
.rew_btn {margin-top: 5px;
    padding: 5px 10px;
    font-size: 12px;
    background: #e5e5e5;
    color: #000 !important; border:0}
.rew_btn:hover {background:#d0d0d0}






@media (max-width: 768px) {
    .booking-switcher {
        height: 28px;
    }
    .booking-option {
        font-size: 12px;
    }
}


.spacer {
    height: 2000px;
    padding: 2rem;
}

.btn-gradient {
    background: linear-gradient(253.58deg, #80af8e 1.55%, #567c5f 66.84%);
    position: relative;
    z-index: 10;
    color: white!important;
    display: inline-block;
    text-decoration: none;
    border:0;
    border-radius:6px
}




.btn-gradient:after, .banner a:after {
    background: linear-gradient(253.58deg, #567c5f 1.55%, #80af8e 66.84%);
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    width: 100%;
    z-index: -10;
    transition: opacity 0.5s;
    color:var(--white);
    border-radius:6px
}
.btn-gradient.search-btn:after {border-radius:50%}

.btn-gradient:hover:after {
    opacity: 1;
}

.btn-gradient:disabled,
.btn-gradient.disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.publication-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.publish-terms-consent {
    align-items: flex-start;
    color: #314236;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    gap: 8px;
    line-height: 1.45;
    margin: 0;
    max-width: 520px;
}

.publish-terms-consent input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.publish-terms-consent a {
    color: #567c5f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.publish-terms-contract-link {
    color: #567c5f;
    cursor: pointer;
    display: inline;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.publish-terms-contract-result {
    display: inline-flex;
    margin-inline-start: 6px;
    vertical-align: middle;
}

.publish-terms-contract-result.is-loading {
    background: #f1f7ed;
    border: 1px solid rgba(86, 124, 95, 0.28);
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(49, 66, 54, 0.08);
    padding: 5px 10px;
}

.publish-terms-contract-loading {
    align-items: center;
    color: #314236;
    display: inline-flex;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.publish-terms-contract-spinner {
    animation: publish-terms-spin 0.7s linear infinite;
    border: 2px solid rgba(86, 124, 95, 0.24);
    border-top-color: #314236;
    border-radius: 50%;
    display: inline-block;
    height: 16px;
    width: 16px;
}

@keyframes publish-terms-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .publication-actions {
        align-items: stretch;
        width: 100%;
    }

    .publication-actions .btn {
        width: 100%;
    }
}

.carousel-item {height:220px; text-align:center}
.carousel-item img {height:220px; object-fit:cover; width:100%}
.carousel-indicators button {border:0; margin:0 2px; height:3px}
.carousel-control-next, .carousel-control-prev {opacity:0!important; transition:all 0.3s}
.carousel-indicators .active {background:var(--primary-color)}
.property-card:hover .carousel-control-next, .property-card:hover .carousel-control-prev {opacity:1!important; transition:all 0.3s}
.property-card:hover .carousel-control-next:focus, .property-card:hover .carousel-control-next:hover, .property-card:hover .carousel-control-prev:focus, .property-card:hover .carousel-control-prev:hover {opacity:1}

.carousel-indicators button {
    border-top: 0 !important;
    border-bottom: 0 !important;
}
.slider-track {
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    position: relative;
}

.slider-range {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
    position: absolute;
    transition: all 0.3s ease;
    display: none;
}

.slider-range.active {
    display: block;
}

.input-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0;
}

.input-wrapper {
    text-align: center;
}

.input-wrapper label {
    display: block;
    color: #555;
    font-size: 0.9rem;
}

.separator {
    color: #888;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 10px;
}

.penthouse-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.penthouse-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #e17055;
    transform: scale(1.2);
    cursor: pointer;
}

.penthouse-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3436;
    cursor: pointer;
}

.elevator-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.elevator-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #764ba2;
    transform: scale(1.2);
    cursor: pointer;
}

.elevator-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.range-input {
    display: none;
}

@media (max-width: 480px) {
    .container {
        padding: 25px;
    }

    .input-group {
        flex-direction: column;
        gap: 20px;
    }

    .input-wrapper {
        width: 100%;
    }

    .separator {
        transform: rotate(90deg);
    }
}

/* Overlay */
#moodalOverlayyyy {
    display: none;
    /* скрыт по умолчанию */
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 1050;
    align-items: center;
    /* включатся при display:flex */
    justify-content: center;
    padding: 16px;
}

#moodalOverlayyyy.active {
    display: flex;
}


.curtain {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: var(--curtain-z);
    pointer-events: none;
    transition: background .25s ease;
    display: grid;
    z-index:10000
}

.curtain.is-open {
    background: rgba(0,0,0,0.3);
    pointer-events: auto;
}

.curtain-panel {
    align-self: start;
    margin: 15px auto;
    width: min(1280px, 96vw);
    max-height: calc(100vh - 30px);
    background: var(--white);
    border-radius: var(--panel-radius);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
    transform: translateY(-24px) scale(.98);
    opacity: 0;
    transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .2s;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius:10px;
    box-shadow:var(--shadow);
    padding-bottom:15px
}

.curtain.is-open .curtain-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.curtain-header {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    background: var(--white);
}

.curtain-body {
    min-height: 0;
    overflow: auto;
    background: var(--white);
    padding:15px
}

.curtain-footer {
    border-top: 1px solid rgba(0, 0, 0, .08);
    background: var(--light-gray);
}

.top-thumbs {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.top-thumbs .thumb {
    flex: 0 0 160px;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.top-thumbs .thumb .img {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid transparent;
    padding:3px
}

.top-thumbs .thumb .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius:7px
}

.top-thumbs .thumb .cap {
    font-size: 14px;
    line-height: 1.2;
    color: #000000;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    margin-top:5px;
    font-family:'DejaVu Serif Condensed'
}

.top-thumbs .thumb.active .img {
    border-color: var(--primary-color);
}

.mosaic {
    display: grid;
    gap: 8px;
}

.mosaic.one {
    grid-template-columns: 1fr;
}

.mosaic.two {
    grid-template-columns: 1fr 1fr;
}

.mosaic.three {
    grid-template-columns: 1fr;
}

.mosaic.three .row2 {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr;
}

.mosaic.grid2 {
    grid-template-columns: 1fr 1fr;
}

.mosaic img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

.mosaic .big {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}

.img-fluid {border-radius:7px}


@media (max-width:576px) {

    .mosaic.two,
    .mosaic.grid2 {
        grid-template-columns: 1fr;
    }

    .mosaic .big {
        max-height: 360px;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .96);
    display: none;
    color: var(--white);
    z-index: 10001;
}

.lightbox.is-open {
    display: block;
}

.lb-topbar {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    font-weight: 600;
}

.lb-topbar .btn-text {
    color: var(--white);
    text-decoration: none;
    opacity: .9;
}

.lb-topbar .btn-text:hover {
    opacity: 1;
}

.lb-counter {
    font-size: 18px;
    opacity: .9;
}

.lb-stage {
    position: absolute;
    inset: 56px 0 96px;
    display: grid;
    place-items: center;
}

.lb-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 2px;
}

.lb-nav {
    position: absolute;
    top: 50%;
    width: 56px;
    height: 56px;
    transform: translateY(-50%);
    border: 2px solid rgba(255, 255, 255, .6);
    border-radius: 999px;
    background: transparent;
    color: var(--white);
    display: grid;
    place-items: center;
    font-size: 24px;
    cursor: pointer;
}

.lb-prev {
    left: 24px;
}

.lb-next {
    right: 24px;
}

.lb-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 96px;
    display: grid;
    place-items: center;
    padding: 8px 16px;
}

.lb-cap {
    font-size: 14px;
    opacity: .9;
    text-align: center;
}

.form-control:focus {box-shadow:none; border-color:var(--primary-color)}

@media (max-width:576px) {
    .lb-img {
        max-width: 94%;
        max-height: 70vh;
    }

    .lb-nav {
        width: 46px;
        height: 46px;
    }
}

.autocomplete-container {
    position: relative;
}
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    color:#000;
    text-align:left;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.autocomplete-item {
    padding: 0.5rem 1rem;
    cursor: pointer;
    color:#6c757d
}
.autocomplete-item:hover {
    background: #f0fdf3;
}
#clearInput {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1060;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    line-height: 1;
    color: #888;
    display: none;
}
#clearInput:hover {
    color: #000;
}


.guest-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1050;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 1rem;
    display: none;
    color:#000;
    text-align:left

}
.daterangepicker {border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);}
.guest-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}
.guest-item:last-child {
    border-bottom: none;
}
.guest-controls button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: none;
    font-size: 18px;
    line-height: 1;
}
.guest-controls span {
    min-width: 24px;
    text-align: center;
    display: inline-block;
    font-weight: 500;
}
.guest-label small {
    color: #666;
    display: block;
}
.guest-toggle {
    background: var(--white);
    border: 0;
    padding: 5px 15px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    color:#595c5f
}
.guest-toggle.active {
    border-color: #0d6efd;
}


.search-section.shrink .form-control, #searchBar.always-top .form-control, .search-section.shrink #guest_summary, #searchBar.always-top #guest_summary{font-size:14px}
.search-section.shrink .guest-toggle {font-size:14px}
.search-section.shrink .autocomplete-item {font-size:14px}

.daterangepicker td.active, .daterangepicker td.active:hover {background-color:#567c5f!important}
.daterangepicker td.in-range {background:#f0fdf3}
.daterangepicker td.booked-checkin,
.daterangepicker td.booked-checkout {
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.daterangepicker td.booked-checkin:not(.active):not(.off):not(.disabled)::before,
.daterangepicker td.booked-checkout:not(.active):not(.off):not(.disabled)::before {
    content: "";
    position: absolute;
    inset: 4px;
    background: rgba(145,150,148,.45);
    border-radius: 6px;
    z-index: -1;
}
.daterangepicker td.booked-checkin:not(.active):not(.off):not(.disabled)::before {
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.daterangepicker td.booked-checkout:not(.active):not(.off):not(.disabled)::before {
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.daterangepicker td.booked-checkin.booked-checkout:not(.active):not(.off):not(.disabled)::before {
    clip-path: none;
}

.filter-button {
    border-radius: 30px;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    border: 1px solid #ccc;
    cursor: pointer;
    height:32px;
    float:right
}
.filter-button span {text-indent:5px}

.filter-panel {
    background: var(--light-gray);
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1rem;
}

.form-check {
    margin-bottom: 0.5rem;
}



/* Стиль после скролла */
.sticky-inside-container {
    justify-content: flex-end !important;
    margin-top: 0 !important;
    transition: all 0.3s ease;
}
.search-section.shrink .search-form {display:flex; -webkit-box-orient: horizontal !important;
    -webkit-box-direction: reverse !important;
    -ms-flex-direction: row-reverse!important;
    flex-direction: row-reverse !important;}




.filter-dropdown {
    width: 100%;
    max-width: none;
    margin: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--medium-gray);
    overflow: hidden;
}

.filter-header {
    padding: 16px 20px;
    background: linear-gradient(135deg, #01482c, #017d4f);
    color: white;
    text-align: center;
}

.filter-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.filter-subtitle {
    font-size: 12px;
    opacity: 0.9;
}

.filter-content {
    max-height: 500px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #01482c var(--white);
    color:#666
}

.filter-content::-webkit-scrollbar {
    width: 6px;
}

.filter-content::-webkit-scrollbar-track {
    background: #f1f3f4;
}

.filter-content::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 3px;
}

.filter-section {
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 13px;
}

.input-field, .select-field {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    background: white;
    transition: all 0.2s ease;
}

.input-field:focus, .select-field:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    background: rgba(102, 126, 234, 0.08);
}

.checkbox-item input {
    margin-right: 8px;
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.checkbox-item label {
    cursor: pointer;
    font-size: 12px;
    color: #555;
    line-height: 1.3;
}

.compact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.compact-group {
    display: flex;
    flex-direction: column;
}

.compact-group label {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
}

.superhost-section {
    background: var(--light-gray);
}

.superhost-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #b88c07;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.superhost-toggle:hover {
    transform: scale(1.01);
}

.toggle-switch {
    width: 40px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.2s ease;
}

.toggle-switch.active {
    background: rgba(255, 255, 255, 0.6);
}

.toggle-switch.active::after {
    transform: translateX(20px);
}

.filter-actions {
    padding: 16px 20px;
    background: var(--light-gray);
    display: flex;
    gap: 8px;
    justify-content: center;
}

.autocomplete-item i.fas {margin-right:5px}

.btn-primary {
    background: linear-gradient(253.58deg, #80af8e 1.55%, #567c5f 66.84%);
    border: 0;
    padding: 5px 15px !important;
    color: white;
    transition:all 0.3s ease
}

.btn-primary:hover {
    background: linear-gradient(253.58deg, #567c5f 1.55%, #80af8e 66.84%);
    transition:all 0.3s ease
}

.btn-secondary {
    background: transparent;
    color: #b88c07;
    border: 2px solid #b88c07;
}

.btn-secondary:hover {
    background: #b88c07;
    color: white;
    border-color:#b88c07
}

/* Компактные группы в строку */
.compact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.compact-grid-item {
    display: flex;
    flex-direction: column;
}
.compact-grid-item-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.accessibility-grid .checkbox-item {
    padding: 4px 6px;
}

/* Компактные checkbox для доступности */
.accessibility-grid {
    font-size: 11px;
}

/* Стили для мультиселекта */
.multi-select {
    position: relative;
}

.multi-select-trigger {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    font-size: 13px;
    background: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.multi-select-trigger:hover,
.multi-select-trigger.active {
    border-color: #667eea;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.multi-select-dropdown.show {
    display: block;
}

.multi-select-option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease;
}

.multi-select-option:hover {
    background: rgba(102, 126, 234, 0.08);
}

.multi-select-option input {
    margin: 0;
}

.selected-count {
    background: #667eea;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    min-width: 16px;
    text-align: center;
}

.dropdown-arrow {
    transition: transform 0.2s ease;
}

.multi-select-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.moodal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1040;
}

.moodal-overlay.active {
    display: flex;
}

.moodal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 720px;
    /*max-height: 90vh;*/
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display:flex;
    flex-direction:column
}

.moodal-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.moodal-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #666;
}
.filter-button {background:var(--white)}
.moodal-content {
    padding: 20px;
    overflow:auto
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'DejaVu Serif Condensed';
    color: var(--primary-color);
    margin:0;
    margin-bottom:10px
}

.recommendations {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.recommendation-item, #typeGrid .icon_choice {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 8px;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    width:125px;
    height:105px
}
#typeGrid.icon_grid {display:flex}
.recommendation-item:hover, .booking-item:hover, .amenity-item:hover {
    border-color: #6a9976;
    background: #f0fdf3;
    color:#6a9976
}

.recommendation-item.active, .booking-item.active, .amenity-item.active, .recommendation-item.card.expanded {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.recommendation-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.recommendation-text {
    font-size: 12px;
    line-height: 1.3;
    width:100%;
    word-wrap:break-word
}

.balcony {display:flex; gap:10px}

/*.placement-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.placement-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.placement-btn:hover {
    border-color: #007bff;
}

.placement-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}*/

.price-range {
    margin-bottom: 24px;
}

.price-range-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.price-subtitle {
    font-size: 14px;
    color: #666;
}

.range-container {
    position: relative;
    margin: 20px 0;
}

.range-slider {
    position: relative;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin: 20px 0;
}

.range-track {
    position: absolute;
    height: 100%;
    background: #007bff;
    border-radius: 3px;
}

.range-input {
    position: absolute;
    top: -7px;
    width: 100%;
    height: 20px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-input::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: #007bff;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-top: 8px;
}

.chart-container {
    height: 80px;
    border-radius: 8px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.chart-bars {
    display: flex;
    align-items: end;
    height: 48px;
    gap: 2px;
}

.chart-bar {
    flex: 1;
    background: #ff4757;
    min-height: 4px;
    border-radius: 1px;
    opacity: 0.8;
}

.rooms-section {
    margin-bottom: 24px;
}

.room-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.room-item:last-child {
    border-bottom: none;
}

.room-name {
    font-size: 14px;
    color: #333;
}

.room-count {
    font-size: 14px;
    color: #666;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height:0.6
}

.qty-btn:hover {
    border-color: #6a9976;
    background: #f0fdf3;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-btn:disabled:hover {
    border-color: #ddd;
    background: white;
}

.qty-value {
    min-width: 60px;
    text-align: center;
    font-size: 14px;
    color: #333;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}
.for-long {grid-template-columns: repeat(4, 1fr);}
.amenity-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height:80px;
    flex-direction:column;
    justify-content:center;
    text-align:center;
}
.accordion-body .amenity-item {min-height:unset; flex-direction: row;}
.amenity-item .icon {font-size:30px}
.amenity-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.amenity-text {
    font-size: 14px;
    line-height:1.3
}

.booking-options {
    margin-bottom: 24px;
    display:flex;
    flex-wrap: wrap;
    gap:10px
}

.booking-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex:calc(50% - 20px);
    font-size:14px;
    flex-direction:row
}
.booking-item .icon {font-size:30px}
.moodal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
}

.btn-clear {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}

.btn-apply {
    flex: 2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}
.btn-lignt {background:var(--medium-gray)}
.theme_check:checked {background-color: var(--primary-color);
    border-color: var(--primary-color);}
.theme_check:focus {box-shadow:unset}
.btn-apply:after {border-radius:8px}
@media (max-width: 480px) {
    .moodal {
        margin: 10px;
        max-width: calc(100% - 20px);
    }

    .recommendations {
        grid-template-columns: repeat(2, 1fr);
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



.chart-container {
    height: 120px;
    position: relative;
    padding: 3px;
    overflow: hidden;
}

.chart-bars {
    display: flex;
    align-items: end;
    height: 100%;
    gap: 2px;
    position: relative;
}

.bar {
    flex: 1;
    background: #e2e8f0;
    border-radius: 2px 2px 0 0;
    transition: all 0.3s ease;
}

.bar.active {
    background: linear-gradient(to top, #567c5f, #80af8e);
}

.range-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.range-overlay.visible {
    opacity: 1;
}

.slider-container {
    position: relative;
}

.slider-track {
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    position: relative;
}

.slider-range {
    height: 100%;
    background: #6c757d;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.slider-handle {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border:3px solid var(--white);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.slider-handle.dragging {
    transform: translate(-50%, -50%) scale(1.3);
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.price-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price-label {
    font-size: 12px;
    color: #718096;
    margin-bottom: 8px;
    font-weight: 500;
}

.price-input {
    width: 100px;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #1a202c;
    text-align: center;
    transition: all 0.3s ease;
}

.price-input:focus {
    outline: none;
    border-color: #6e9c7d;
    background: white;
}

.separator {
    width: 30px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 20px;
    margin-top: 20px;
}

.apply-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(to right, #ec4899, #f472b6);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(236, 72, 153, 0.3);
}

.apply-button:active {
    transform: translateY(0);
}

.tooltip {
    position: absolute;
    background: #1a202c;
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: #1a202c;
}


/*LONG RANGE FILTER*/
.accordion-button:not(.collapsed) {color:var(--primary-color)}
.accordion-button:not(.collapsed)::after {background-image:var(--bs-accordion-btn-icon)}
.accordion-title {font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    font-family: 'DejaVu Serif Condensed';}
.accordion-content {margin-bottom:15px}
.other-amenities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
.other-amenity-checkbox {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}
.other-amenity-label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: white;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    font-size:13px;
    justify-content:center;
    text-align:center;
    height:100%
}
.floors-option {gap:10px}
.floors-option .other-amenity-item {width:50%}
.floors-option .other-amenity-label, .icon_choice{display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: calc(50% - 20px);
    font-size: 14px;
    flex-direction: row; text-align:left;justify-content:left}

.floors-option .other-amenity-label .icon {font-size:30px}
.other-amenity-label:hover, .icon_choice:hover {
    border-color: #6a9976;
    background:#f0fdf3;
    color:#6a9976
}

.other-amenity-checkbox:checked + .other-amenity-label, .icon_choice.active {
    border-color: var(--primary-color)!important;
}
.icon_choice.active {color:var(--primary-color)!important}
.icon_choice.free-cancellation-choice {
    position: relative;
    background: #fbfefb;
    border-color: #c8dec9!important;
    border-left: 6px solid #9fbea3;
    box-shadow: 0 4px 12px rgba(58, 100, 19, .06);
}
.icon_choice.free-cancellation-choice .icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0f8f1;
    border-radius: 50%;
    color: var(--primary-color)!important;
}
.icon_choice.free-cancellation-choice .label {
    color: #365d3d!important;
    font-weight: 700;
}
.icon_choice.free-cancellation-choice.active {
    background: #e2f4e5;
    border-color: var(--primary-color)!important;
    border-left-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 100, 19, .18), 0 8px 18px rgba(58, 100, 19, .12);
}
.icon_choice.free-cancellation-choice.active .icon {
    background: #d1ebd5;
}
.icon_choice.free-cancellation-choice.active .label {
    color: var(--primary-color)!important;
}
.free-cancellation-tooltip {
    position: absolute;
    left: 14px;
    top: calc(100% + 10px);
    z-index: 20;
    width: min(390px, calc(100vw - 48px));
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #b9d5bd;
    border-radius: 10px;
    box-shadow: 0 14px 30px rgba(24, 52, 31, .16);
    color: #223e28;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease;
}
.free-cancellation-tooltip::before {
    content: "";
    position: absolute;
    left: 22px;
    top: -7px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-left: 1px solid #b9d5bd;
    border-top: 1px solid #b9d5bd;
    transform: rotate(45deg);
}
.icon_choice.free-cancellation-choice:hover .free-cancellation-tooltip,
.icon_choice.free-cancellation-choice:focus-within .free-cancellation-tooltip {
    opacity: 1;
    transform: translateY(0);
}
.other-amenity-checkbox:checked + .other-amenity-label .other-amenity-icon {
    opacity: 1;
}

.other-amenity-checkbox:checked + .other-amenity-label .other-amenity-text, .icon_choice.active .label{
    color: #6a9976;
    font-weight: 500;
}


/*END OF LONG RANGE FILTER*/

@media (max-width: 480px) {
    .price-filter-container {
        margin: 10px;
        padding: 20px;
    }

    .price-inputs {
        flex-direction: column;
        gap: 15px;
    }

    .separator {
        width: 100%;
        margin: 10px 0;
    }
}
.search-map {padding: 0 !important;
    border-radius: 10px !important;
    overflow: hidden; margin-top:60px}
.map-marker {
    position: absolute;
    z-index: 5;
    cursor: pointer;
    transition: var(--transition);
}

.map-marker:hover {
    transform: scale(1.1);
    z-index: 6;
}

.marker-price {
    background: var(--white);
    color: var(--black);
    padding: 6px 8px;
    border-radius: 7px;
    font-weight: 600;
    font-size: 11px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    line-height: 1;
    box-shadow:0 2px 4px rgba(0, 0, 0, 0.3)
}

.map-marker:hover .marker-price {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* =========================
   Auth modals (Register/Login)
   ========================= */
.auth-modal .modal-content{
    border-radius:16px;
    overflow:hidden;
    border:0;
    box-shadow:var(--shadow);
}
.auth-modal .modal-header{
    background:linear-gradient(253.58deg, var(--primary-2, #80af8e) 1.55%, var(--primary-color) 66.84%);
    color:var(--white);
    border:0;
}
.auth-modal .modal-title{
    font-family:'DejaVu Serif Condensed';
    font-weight:700;
}
.auth-modal .btn-close{
    filter: invert(1) grayscale(100%);
    opacity:.9;
}
.auth-modal .modal-body{
    background:var(--white);
}
.auth-step{display:none;}
.auth-step.active{display:block;}
.auth-hint{color:#6c757d; font-size:.9rem;}
.auth-error{color:var(--danger); font-size:.9rem; margin-top:.35rem; display:none;}
.auth-error.show{display:block;}
.auth-link{color:var(--primary-color); font-weight:700; text-decoration:none;}
.auth-link:hover{text-decoration:underline;}
.auth-toast{
    position:fixed;
    bottom:20px;
    right:20px;
    background:var(--primary-color);
    color:var(--white);
    padding:10px 16px;
    border-radius:6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity:0;
    transform:translateY(20px);
}

/* =========================
   Profile page (Airbnb-like)
   ========================= */

.profile-page{
    padding: 28px 0 50px;
}

.profile-shell{
    background:var(--white);
    border:1px solid var(--medium-gray);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding: 22px;
}

.profile-header h1{
    font-family:'DejaVu Serif Condensed';
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 6px;
}
.profile-header p{
    color:#6c757d;
    margin:0;
    font-size: .95rem;
}

.profile-avatar-wrap{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    padding: 10px 0;
}

.profile-avatar{
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(253.58deg, var(--primary-2, #80af8e) 1.55%, #567c5f 66.84%);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--white);
    font-family:'DejaVu Serif Condensed';
    font-weight: 800;
    font-size: 78px;
    position: relative;

    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.profile-avatar-container {overflow:hidden; border-radius: 50%;width: 190px;
    height: 190px; position: relative; align-items:center;
    justify-content:center; display:flex;}
.profile-avatar img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    display:none;
}
.profile-avatar.has-photo img{display:block;}
.profile-avatar.has-photo .profile-initial{display:none;}

.profile-avatar-btn{
    border:1px solid var(--medium-gray);
    background:var(--white);
    border-radius:999px;
    padding: 8px 12px;
    box-shadow: var(--shadow);
    font-weight: 600;
    font-size: 13px;
    color: var(--black);
    display:inline-flex;
    align-items:center;
    gap:8px;
}
.profile-avatar-btn:hover{
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.profile-fields{
    margin-top: 14px;
}

.profile-field{
    width:100%;
    text-align:left;
    border:1px solid var(--medium-gray);
    background:var(--white);
    border-radius:14px;
    padding: 12px 14px;
    display:flex;
    align-items:center;
    gap:12px;
    transition: var(--transition);
    min-height: 62px;
}
.profile-field:hover{
    border-color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    transform: translateY(-1px);
}
.pf-icon{
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display:grid;
    place-items:center;
    background: #f5faf7;
    color: var(--primary-color);
    flex: 0 0 auto;
}
.pf-label{
    font-weight: 700;
    font-size: 14px;
    color: var(--black);
    line-height: 1.1;
    font-family:'DejaVu Serif Condensed';
}
.pf-value{
    color:#6c757d;
    font-size: 12.5px;
    margin-top: 2px;
    line-height: 1.1;
}
.pf-main{flex:1 1 auto; min-width:0;}
.pf-main .pf-value, .pf-main .pf-label{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.pf-chevron{
    color:#6c757d;
    opacity:.8;
}

.profile-section{
    margin-top: 22px;
}
.profile-section-title{
    font-family:'DejaVu Serif Condensed';
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 0 8px;
}
.profile-section-sub{
    margin: 0 0 10px;
    color:#6c757d;
    font-size: .92rem;
}

.profile-dashed{
    border:2px dashed var(--medium-gray);
    border-radius:16px;
    padding: 14px;
    background: var(--light-gray);
}
.profile-dashed a{
    color: var(--primary-color);
    font-weight: 700;
    text-decoration:none;
}
.profile-dashed a:hover{color:#567c5f}

.profile-switch{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
}

.stamp-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-top: 12px;
}
.stamp{
    height: 92px;
    border-radius:16px;
    border:1px solid var(--medium-gray);
    background:var(--white);
    display:grid;
    place-items:center;
    position:relative;
    overflow:hidden;
}
.stamp .cap{
    position:absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 12px;
    color:#6c757d;
    text-align:center;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.stamp svg{opacity:.55}
.stamps-disabled{
    opacity:.5;
    pointer-events:none;
}

.interests-row{
    display:flex;
    flex-wrap:wrap;
    gap: 10px;
    margin-top: 10px;
}
.interest-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding: 7px 12px;
    border-radius:999px;
    border: 1px dashed var(--medium-gray);
    background:var(--white);
    color: var(--black);
    font-weight: 700;
    font-size: 13px;
}
.interest-chip.filled{
    border-style: solid;
    background: #f5faf7;
    border-color: #d5eadb;
    color: #2f5b45;
}
.interest-chip .chip-x{
    border:0;
    background: transparent;
    padding:0;
    margin:0;
    line-height:1;
    color:#6c757d;
    font-weight:900;
}
.interest-chip .chip-x:hover{color:var(--danger);}

.profile-actions{
    margin-top: 22px;
    display:flex;
    justify-content:flex-end;
    gap: 10px;
}
.profile-actions-bar{
    position: sticky;
    bottom: 0;
    padding-top: 14px;
    margin-top: 18px;
    background: linear-gradient(180deg, rgba(248,249,250,0) 0%, rgba(248,249,250,1) 35%, rgba(248,249,250,1) 100%);
}

.profile-modal .modal-content{
    border-radius: 16px;
    border: 0;
    box-shadow: var(--shadow);
}
.profile-modal .modal-header{
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,.08);
}
.profile-modal .modal-title{
    font-family:'DejaVu Serif Condensed';
    font-weight: 800;
}
.profile-modal .modal-footer{
    border-top: 1px solid rgba(0,0,0,.08);
    background: var(--light-gray);
}
.reg_modal {border-radius:0 0 10px 10px}
.auth-phone-wrap {border:3px solid #e0e0e0; border-radius:8px }
#regCountrySearch {border-color:var(--primary-color)}
@media (max-width: 992px){
    .profile-shell{padding: 18px;}
    .profile-avatar{width: 160px; height:160px; font-size: 64px;}
}


/* --- Profile modal extras (Airbnb-like) --- */
.profile-avatar{ cursor: pointer; }
.profile-modal-desc{
    margin: 0 0 12px 0;
    color: rgba(0,0,0,.62);
    font-size: 14px;
    line-height: 1.35;
}
.profile-counter{
    white-space: nowrap;
    text-align: right;
}


/* --- Interests (Airbnb-like) --- */
.interests-preview{ margin-top: 10px; }

.interests-add-row{
    display:flex;
    flex-wrap:wrap;
    gap: 14px;
}

.interest-add-pill{
    width: 72px;
    height: 38px;
    border-radius: 999px;
    border: 1px dashed var(--medium-gray);
    background:var(--white);
    color:#6c757d;
    font-weight: 900;
    font-size: 18px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition: var(--transition);
}
.interest-add-pill:hover{
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
    transform: translateY(-1px);
}

.interests-selected-row{
    display:flex;
    flex-wrap:wrap;
    gap: 26px;
    margin-top: 6px;
}
.interest-selected{
    display:flex;
    align-items:center;
    gap: 10px;
    padding: 6px 0;
    min-width: 180px;
}
.interest-selected .ico{
    width: 22px;
    height: 22px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    opacity: .9;
}
.interest-selected .name{
    font-weight: 700;
    color: var(--black);
}

.interests-modal .modal-header{
    border-bottom: 0;
    background:var(--white);
}
.interests-modal .modal-footer{
    border-top: 1px solid rgba(0,0,0,.08);
    background: var(--white);
    padding-top: 14px;
    padding-bottom: 14px;
}
.interests-modal-title{
    font-family:'DejaVu Serif Condensed';
    font-weight: 800;
    font-size: 1.6rem;
    margin: 0 0 6px;
}
.interests-modal-sub{
    margin: 0 0 14px;
    color: rgba(0,0,0,.62);
    font-size: 14px;
    line-height: 1.35;
}

.interests-grid{
    display:flex;
    flex-wrap:wrap;
    gap: 10px;
}
.interest-pill{
    border: 1px solid var(--medium-gray);
    background:var(--white);
    border-radius: 999px;
    padding: 10px 14px;
    display:inline-flex;
    align-items:center;
    gap: 10px;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    user-select:none;
}
.interest-pill:hover{ border-color: rgba(0,0,0,.6); }
.interest-pill.active{
    border-color: var(--black);
    box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.interest-pill:disabled{
    opacity: .5;
    pointer-events:none;
}
.interest-pill .ico{
    width: 20px;
    height: 20px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.interests-showall{
    display:inline-block;
    margin-top: 10px;
    color: var(--black);
    font-weight: 700;
    text-decoration: underline;
}
.interests-showall:hover{ color: var(--primary-color); }

.interests-count{
    font-weight: 800;
    font-family:'DejaVu Serif Condensed';
}


/* -----------------------------
   Profile: main editable info
------------------------------*/
.profile-main-info-card{
    width: 100%;
    max-width: 320px;
    margin-top: 14px;
    background: var(--white);
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 18px;
    padding: 6px 10px;
    box-shadow: 0 16px 30px rgba(0,0,0,.06);
}
.pmi-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 10px;
    padding: 10px 6px;
}
.pmi-row + .pmi-row{
    border-top: 1px solid rgba(0,0,0,.06);
}
.pmi-left{ min-width: 0; }
.pmi-label{
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
}
.pmi-value{
    font-size: 14px;
    font-weight: 800;
    margin-top: 2px;
    color: var(--black);
    max-width: 240px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pmi-edit-btn{
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,.08);
    background: var(--white);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition: var(--transition);
    color: var(--black);
    flex: 0 0 auto;
}
.pmi-edit-btn:hover{
    background: rgba(0,0,0,.04);
    border-color: rgba(0,0,0,.14);
}
.pmi-edit-btn:active{ transform: translateY(1px); }

.pmi-note{
    padding: 6px 6px 10px;
    font-size: 12px;
    color: var(--muted);
}

/* Contacts modal small helpers */
#pmiContactsTimer{
    min-width: 92px;
    text-align:right;
}

.thumb-placeholder {
    border: 2px dashed #cfe3d3;
    background: #f6faf7;
    width: 100%;
    height: 120px;
    border-radius: 8px;
}
.thumb.dragging {
    opacity: 0.4;
}

/* edit apartment */

.edit-wrapper { padding:24px 0 40px; }
.edit-header { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:18px; }
.edit-title { font-size:24px; font-weight:700; color:#111; }
.edit-subtitle { font-size:13px; color:#717171; }
.card-panel { background:var(--white); border-radius:18px; padding:16px 16px 20px; box-shadow:0 4px 16px rgba(0,0,0,.05); height:100%; }

/* LEFT */
.rooms-scroll { margin-top:6px; padding-right:4px; overflow-y:auto; max-height:calc(100vh - 230px); }
.room-pill { display:flex; align-items:center; gap:8px; padding:8px 10px; border-radius:8px; cursor:pointer; margin-bottom:6px;
    border:3px solid #e0e0e0; background:#fafafa; transition:background .15s,border-color .15s; font-size:13px; }
.room-pill:hover { background:#f0fdf3; border-color:var(--primary-color) }
.room-pill.active { border-color:var(--primary-color); color:var(--primary-color)}
.room-pill.drag-target { border-style:dashed; border-color:#16a085; background:#f2fbf7; }
.room-pill.child { margin-left:22px; background:#fdfdfd; font-size:12px; }
.room-pill.child::before { content:"↳"; margin-right:6px; color:#999; }

.room-pill-name { flex:1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.room-pill-count { background:var(--white); border-radius:999px; padding:2px 6px; font-size:11px; border:1px solid var(--primary-color); color:#555; }
.add-room-btn { margin-top:8px; border-radius:999px; width:100%; font-size:13px; padding:8px 10px; border:1px dashed #d0d0d0; color:#222; background:var(--white); }

/* CENTER */
.current-room-title { font-size:20px; font-weight:600; margin-bottom:4px; }
.current-room-meta { font-size:12px; color:#777; margin-bottom:10px; }
.btn-outline-soft { border-radius:999px; border:1px solid #dddddd; background:var(--white); font-size:13px; padding:6px 12px; color:#333; }

.photo-dropzone-wrapper { margin-bottom:18px; }
.photo-dropzone { border-radius:14px; border:2px dashed #d0d0d0; background:#fdfdfd; padding:26px 16px; text-align:center; cursor:pointer; }
.photo-dropzone.drag-over { border-color:#16a085; background:#f2fbf7; box-shadow:0 0 0 3px rgba(22,160,133,.13); }
.photo-dropzone-title { font-weight:600; margin-bottom:4px; }
.photo-dropzone-sub { font-size:12px; color:#777; margin-bottom:10px; }
.btn-upload { border-radius:999px; padding-inline:18px; font-size:13px; }
.drop-hint { font-size:11px; color:#999; margin-top:6px; }

.photos-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:10px; }
.photo-card { position:relative; border-radius:12px; overflow:hidden; background:#f4f4f4; border:1px solid transparent; cursor:grab; }
.photo-card.dragging { opacity:.6; border-color:#16a085; }
.photo-card img { width:100%; height:120px; object-fit:cover; display:block; }
.photo-card-footer { padding:6px 8px 7px; font-size:11px; display:flex; justify-content:space-between; align-items:center; background:var(--white); }
.photo-tag { background:#f1f1f1; border-radius:999px; padding:2px 6px; font-size:10px; color:#777; }
.photo-delete-btn { position:absolute; top:7px; right:7px; width:30px; height:30px; border:0; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,.92); color:#dc3545; box-shadow:0 2px 8px rgba(0,0,0,.18); cursor:pointer; }
.photo-delete-btn:hover { background:#dc3545; color:#fff; }
.photo-card-placeholder { border:2px dashed #c0c0c0; border-radius:12px; height:120px; background:#fafafa; }

/* RIGHT */
.segment-tab { position:relative; border:none; background:transparent; padding:6px 14px; border-radius:0.3rem; font-size:13px; color:#555; cursor:pointer; white-space:nowrap; }
.segment-tab.active { background:var(--primary-color); color:var(--white); box-shadow:0 1px 4px rgba(0,0,0,.08); }
@media (min-width: 992px) and (max-width: 1399.98px) {
    .edit-wrapper aside.col-lg-3 .booking-switcher.round-switcher.w-120 { width:100% !important; }
    .edit-wrapper aside.col-lg-3 .booking-switcher.round-switcher.w-120 .segment-tab { flex:1 1 0; min-width:0; padding-left:6px; padding-right:6px; font-size:12px; text-align:center; }
}
.tab-pane-segment { display:none; }
.tab-pane-segment.active { display:block; }

.tab-photos-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); gap:10px; }
.tab-photo-card-placeholder { border:2px dashed #c0c0c0; border-radius:12px; height:90px; background:#fafafa; }


/* Amenities accordion */
.amenities-tools { display:flex; align-items:center; gap:8px; margin-bottom:10px; }
.amenities-tools input { padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .375rem; }
.amenities-scroll { max-height:calc(100vh - 310px); overflow-y:auto; padding-right:4px; }

/* clickable amenity row (acts like a checkbox) */
.form-check-input:focus, .accordion-button:focus {box-shadow:none;}
.amenity-item .form-check-input:checked {background-color: var(--primary-color);
    border-color: var(--primary-color);}
.amenity-item {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:10px 12px;
    margin:6px 0;
    border-radius:12px;
    border:1px solid var(--medium-gray);
    background:var(--white);
    cursor:pointer;
    user-select:none;
    transition:border-color .15s, box-shadow .15s, background .15s;
    text-align:left
}
.amenity-item:hover { background:#f6faf7; border-color: var(--primary-color);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
    transform: translateY(-1px); transition:var(--transition)}
.amenity-item.selected, .amenity-item.active {
    border-color:var(--primary-color);
    background:#f6faf7;
}

.amenity-name { font-size:14px; color:#222; }
.small-muted { font-size:12px; color:#777; }
.amenity-icon { font-size:16px; width:22px; text-align:center; opacity:.85; }

.amenity-checkbox { pointer-events:none; } /* click handled by label/row */
.accordion-item { border:0; margin-bottom:10px; border-radius:14px; overflow:hidden; background:#fafafa; }
.accordion-button { border-radius:14px !important; padding-left:0}
.accordion-button:not(.collapsed) { background:var(--white); box-shadow:none; }
.accordion-body { background:var(--white); }
#amenitiesAccordion .accordion-button {font-size:16px}

@media (max-width: 767.98px) {
    .edit-title { font-size:20px; }
    .photos-grid, .tab-photos-grid { grid-template-columns:repeat(auto-fill,minmax(120px,1fr)); }
}

/* ===== AUTH MODAL ===== */
.auth-modal .modal-content {
    border-radius: 20px;
    border: none;
}

.auth-step { display: none; }
.auth-step.active { display: block; }

.auth-hint {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

.auth-error {
    display: none;
    color: #e53935;
    font-size: 13px;
    margin-top: 4px;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover { text-decoration: underline; }

/* Phone wrap */
.auth-phone-wrap {
    display: flex;
    gap: 10px;
    align-items: stretch;
    position: relative;
}

.auth-country-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 0;
    background: var(--white);
    white-space: nowrap;
    min-width: 130px;
}

.auth-phone-input { border: 0; flex: 1; border-radius: 12px; }

.auth-country-btn:focus {
    outline: none;
    box-shadow: 0 0 0 .25rem rgba(13,110,253,.15);
}

.auth-country-caret { opacity: .7; margin-left: 4px; }

/* Country dropdown */
.auth-country-dropdown {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 2000;
    width: 100%;
    background: var(--white);
    border: 1px solid #e5e5e5;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    padding: 10px;
    display: none;
}

.auth-country-search {
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.auth-country-list {
    max-height: 260px;
    overflow: auto;
    padding-top: 8px;
}

.auth-country-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
}

.auth-country-item:hover { background: #f6f7f9; }

.auth-country-item-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.auth-country-item-flag { width: 22px; text-align: center; }

.auth-country-flag img,
.auth-country-item-flag img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.auth-country-item-name { font-weight: 500; }
.auth-country-item-iso { opacity: .55; font-size: 12px; }
.auth-country-item-dial { font-weight: 600; }

.cancellation-policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.cancellation-policy-filter-item {
    min-width: 0;
}
.cancellation-policy-filter-item .other-amenity-label,
.cancellation-policy-filter-item .other-amenity-text {
    min-width: 0;
}
.cancellation-policy-filter-grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.cancellation-policy-filter-section {
    width: 100%;
    margin-top: -12px;
}
.cancellation-policy-filter-item:hover {
    z-index: 31;
}
.cancellation-policy-filter-tooltip {
    position: absolute;
    left: 0;
    top: calc(100% + 9px);
    z-index: 30;
    width: min(320px, calc(100vw - 48px));
    padding: 10px 12px;
    border-radius: 9px;
    background: #1a202c;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
    white-space: normal;
    overflow-wrap: anywhere;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease;
}
.cancellation-policy-filter-tooltip::before {
    content: "";
    position: absolute;
    left: 22px;
    top: -6px;
    width: 12px;
    height: 12px;
    background: #1a202c;
    transform: rotate(45deg);
}
.cancellation-policy-filter-item:nth-child(even) .cancellation-policy-filter-tooltip {
    right: 0;
    left: auto;
}
.cancellation-policy-filter-item:nth-child(even) .cancellation-policy-filter-tooltip::before {
    right: 22px;
    left: auto;
}
.cancellation-policy-filter-item:hover .cancellation-policy-filter-tooltip {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 520px) {
    .cancellation-policy-filter-grid {
        grid-template-columns: 1fr;
    }
    .cancellation-policy-filter-tooltip,
    .cancellation-policy-filter-item:nth-child(even) .cancellation-policy-filter-tooltip {
        right: auto;
        left: 0;
        width: 100%;
    }
    .cancellation-policy-filter-item:nth-child(even) .cancellation-policy-filter-tooltip::before {
        right: auto;
        left: 22px;
    }
}

.cancellation-policy-choice {
    width: 100%;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    padding: 14px 16px;
    text-align: left;
    cursor: pointer;
    transition: all .2s ease;
}

.cancellation-policy-choice:hover {
    border-color: #6a9976;
    background: #f0fdf3;
}

.cancellation-policy-choice.active {
    border-color: var(--primary-color);
    background: #eef8f0;
    box-shadow: 0 0 0 3px rgba(58, 100, 19, .12);
}

.cancellation-policy-title {
    display: block;
    color: #1f2d24;
    font-weight: 700;
    margin-bottom: 8px;
}

.cancellation-policy-choice.active .cancellation-policy-title {
    color: var(--primary-color);
}

.cancellation-policy-description {
    color: #59645c;
    font-size: 13px;
    line-height: 1.45;
}

.cancellation-policy-description p {
    margin-bottom: 6px;
}

#cancellation_policy_grid.is-invalid .cancellation-policy-choice {
    border-color: var(--danger)!important;
}

#cancellation-policy-error {
    color: var(--danger);
}

.property-cancellation-policy {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #dce8df;
    border-radius: 10px;
    background: #f7fbf8;
}

.property-cancellation-policy-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

.property-cancellation-policy-description {
    color: #59645c;
    line-height: 1.55;
}

.reservation-cancel-policy-description {
    color: #37443b;
    line-height: 1.55;
}
