/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button,
input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

html {
    height: 100%;
}

body {
    font-family: "Roboto", serif;
    color: #222222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body > header {
    flex-shrink: 0;
}

body > footer,
body > .footer,
body > .footer-mobile {
    flex-shrink: 0;
    margin-top: auto;
}

#main-content {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1700px;
}

.header {
    border-bottom: 1px solid #6a6a6a3b;
    padding: 20px 0;
    background: #fff;
}

.search-container {
    display: flex;
    align-items: center;
    border-radius: 50px;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    border: 1px solid #DDDDDD;
}

.logo img {
    transition: all .3s;
    width: 140px;
}

.search-row * {
    cursor: pointer;
}

.search-row {
    padding: 14px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.devider-right {
    position: relative;
}

.devider-right::after {
    content: "";
    width: 1px;
    height: calc(100% - 28px);
    background: #6a6a6a;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(0, -50%);
    opacity: 0.2;
    transition: all .3s;
}

.devider-right:hover,
#persons:hover {
    background: #dddddd;
    border-radius: 24px;
}

.calendar-open .devider-right:hover,
.calendar-open #persons:hover {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
}

.active-check-label {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
}

#persons {
    padding-right: 65px;
    transition: width .3s;
}

.fixed-header #persons {
    width: 115px;
}

.calendar-open #persons {
    padding-right: 140px;
}

.calendar-open .search-container {
    background: #dddddd;
    border: none;
}

.search-row label {
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.search-row p {
    font-size: 0.875rem;
    font-weight: 400;
    color: #6a6a6a;
}

.search-row-double {
    flex-direction: row;
    padding: 0;
}

.search-row-double div {
    display: flex;
    flex-direction: column;
    padding: 14px 24px;
}

.search {
    margin: 0 14px;
    position: relative;
}

/* Desktop search form styles */
.desktop-search-form {
    display: block;
}

/* Hide mobile search modal elements on desktop by default */
.search-modal {
    display: none;
}

.search-modal-header {
    display: none;
}

.search-modal-content {
    display: none;
}

.header .row {
    flex-wrap: nowrap;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fixed-header {
    padding: 10px 0;
}

.fixed-header .search-row p {
    display: none;
}

.fixed-header .search-row label {
    margin-bottom: 0;
}

.fixed-header .botton-row {
    padding: 4px;
}

.user-img {
    display: flex;
}

.user-img svg {
    width: 36px;
    height: 36px;
}

.user {
    display: flex;
    align-items: center;
    position: relative;
}

.user-box {
    padding: 6px 12px;
    margin-left: 12px;
    border: 1px solid #DDDDDD;
    border-radius: 32px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all .3s;
}

.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    background: #fff;
    padding: 12px;
    z-index: 99;
    border-radius: 12px;
    min-width: 155px;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
}

.user-dropdown a {
    color: #000;
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
}

.user-dropdown li:last-child a {
    margin-bottom: 0;
}

.user-box:hover {
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
}

.lang {
    border-radius: 50%;
    background: transparent;
    padding: 12px;
}

.user-btn {
    margin-right: 14px;
}

.submit-btn {
    display: flex;
    align-items: center;
    background: #0081c2;
    color: #fff;
    fill: #0081c2;
    padding: 12px;
    border-radius: 32px;
}

.submit-btn span {
    display: none;
}

.calendar-open .submit-btn span {
    display: block;
}

.calendar-open .submit-btn svg {
    margin-right: 12px;
}

.botton-row {
    padding: 0;
    padding-right: 12px;
    margin-left: 50px;
    position: absolute;
    right: 0;
}

.main-navigation {
    padding: 12px 0;
    background: #fff;
}

.nav-items-conteiner {
    display: flex;
    align-items: center;
}

.nav-items-conteiner .nav-item {
    margin-right: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.6;
}

.nav-items-conteiner .nav-item.active {
    opacity: 2;
    position: relative;
}

.nav-items-conteiner .nav-item.active::after {
    content: "";
    width: 100%;
    height: 2px;
    background: #000;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;

}

.nav-items-conteiner .nav-item svg {
    margin-bottom: 6px;
}

.nav-filter {
    display: flex;
    align-items: center;
    justify-content: end;
}

.nav-filter-btn {
    border: 1px solid #dddddd;
    padding: 16px 24px;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all .3s;
}

.nav-filter-btn svg {
    margin-right: 12px;
}

.swiper-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.swiper-next {
    position: absolute;
    right: 0;
    transform: translate(-15%, -50%);
    background: #fff;
    top: 50%;
    z-index: 99;
    padding: 12px;
    border-radius: 50%;
    opacity: 0.6;
    transition: all .3s;
}

.swiper-prev {
    position: absolute;
    left: 0;
    transform: translate(15%, -50%);
    background: #fff;
    top: 50%;
    z-index: 99;
    padding: 12px;
    border-radius: 50%;
    opacity: 0.6;
    transition: all .3s;
}

.swiper-prev:hover,
.swiper-next:hover {
    opacity: 1;
    cursor: pointer;
}



.swiper-container:hover .swiper-prev,
.swiper-container:hover .swiper-next {
    display: block;
}

.swiper-button-disabled {
    display: none !important;
}

.apartment-gallery img {
    height: 295px;
    width: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
}

.swiper-pagination {
    bottom: 10px !important;
}

.main-lable {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 9;
    background: #fff;
    padding: 6px 12px;
    border-radius: 18px;
}

.fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9;
    transition: all .3s;
}

.fav-btn:hover {
    transform: scale(1.1);
}

.apartment-gallery {
    position: relative;
}

.apartment-gallery .apartment-card-image-link {
    display: block;
    overflow: hidden;
    border-radius: 12px;
}

.apartments-feed-sentinel {
    min-height: 1px;
    height: 1px;
    padding: 0;
    margin: 0;
    pointer-events: none;
}

.apartments-feed-loader {
    text-align: center;
    padding: 1rem 0 2rem;
}

.apartments-feed-loader-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid rgba(0, 0, 0, 0.08);
    border-top-color: #222222;
    border-radius: 50%;
    animation: apartments-feed-spin 0.7s linear infinite;
}

@keyframes apartments-feed-spin {
    to {
        transform: rotate(360deg);
    }
}

.apartment-overlay-info {
position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.apartment-guests-overlay {
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 500;
    color: #222222;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}

.apartment-guests-overlay svg {
    margin-right: 4px;
    fill: #222222;
}

.apartment-price-overlay {
    background: rgba(0, 129, 194, 0.95);
    color: #fff;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.apartment-price-overlay span {
    font-weight: 400;
    font-size: 0.7rem;
    opacity: 0.9;
}

.apartment-name {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 12px;
    color: #222222;
    margin-bottom: 4px;
    flex-direction: column;
}

.apartment-name span {
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.apartment-name .rating {
    display: flex;
    align-items: center;
}

.apartment-name .rating svg {
    margin-right: 4px;
}

.apartment-guests {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #6a6a6a;
    margin-top: 4px;
}

.apartment-guests svg {
    margin-right: 6px;
    fill: #6a6a6a;
}

.apartment-info {
    color: #6a6a6a;
    font-weight: 400;
    margin-bottom: 4px;
    font-size: 0.875rem;
}

.apartment-info span {
    color: #6a6a6a;
    font-weight: 400;
}

.apartment {
    margin-bottom: 48px;
    position: relative;
}

.apartment-price {
    font-weight: 600;
    color: #222222;
    font-size: 0.9375rem;
    margin-top: 8px;
}

.apartment-price span {
    font-weight: 400;
    color: #6a6a6a;
    font-size: 0.875rem;
}

.search-container {
    transition: all 0.5s ease;
    /* Плавные изменения размеров и содержимого */
}

.fixed-header .search-row p {
    opacity: 0;
    /* Прозрачность для плавного скрытия */
    transition: opacity 0.5s ease;
}

.fixed-header .search-row label {
    margin-bottom: 0;
    transition: opacity 0.5s ease;
}

.fixed-header .user-box {
    padding: 0px 0px 2px 12px;
}

.fixed-header .user-img svg {
    margin-bottom: -1px;
}

.fixed-header .logo img {
    width: 90px;
}

.fixed-nav .nav-items-conteiner .nav-item.active::after {
    bottom: -12px;
}

.fixed-nav .nav-filter-btn {
    padding: 11px 12px;
}

.footer {
    padding: 14px 0;
    background: #fff;
    margin-top: auto;
}

.dropdown-block {
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #000000ba;
    display: none;
    z-index: 99;
    width: 100vw !important;
    height: 100vh !important;
    align-items: end;
    justify-content: center;
}

.dropdown-block-item {
    display: flex;
    flex-direction: column;
}

.footer-nav {
    display: flex;
    align-items: center;
    justify-content: start;
}

.footer-nav-reverse {
    justify-content: end;
}

.footer-nav li,
.footer-nav a {
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: #222222;
}

.footer-nav-doted li::after {
    content: "·";
    width: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-nav-doted li:last-child::after {
    content: none;
}

.footer-nav-reverse a {
    display: inline-flex;
    align-items: center;
}

.footer-nav-reverse li {
    display: flex;
    margin-right: 24px;
    align-items: center;
}

.footer-nav-reverse a svg {
    margin-right: 8px;
}

.dropdown::after {
    content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" aria-hidden="true" role="presentation" focusable="false" style="display: block; fill: none; height: 16px; width: 16px; stroke: currentcolor; stroke-width: 4; overflow: visible;"><path fill="none" d="M28 12 16.7 23.3a1 1 0 0 1-1.4 0L4 12"></path></svg>');
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 8px;
}

.dropdown-block.open {
    display: flex;
}

.dropdown-block-inner {
    width: 100%;
    background: #fff;
    padding: 24px 50px;
    transform: translateY(100%);
    transition: all .3s;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;

}

.open .dropdown-block-inner {
    transform: translateY(0);
}

.bg-close {
    height: 100%;
    width: 100%;
    z-index: 1;
    position: relative;
    cursor: s-resize;
}

#footer-drop span {
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #222222;
    font-weight: 500;
}

#footer-drop a {
    color: #222222;
    font-weight: 400;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.header-mob,
.footer-mobile {
    display: none;
}

.apartment-photo img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.apartment-photo-big img {
    height: 500px;
    width: 100%;
    object-fit: cover;
}

.apartment-show {
    padding: 24px 0;
}

.apartment-title {
    font-size: 26px;
    max-width: 80%;
    margin-bottom: 18px;
}

.apartment-photos {
    display: flex;
}

.apartment-photo-big {
    flex: 0 0 50%;
    max-width: 50%;
}

.apartment-photo-small {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-wrap: wrap;
}

.apartment-photo-small a {
    height: 25vh;
    flex: 0 0 50%;
    max-width: 50%;
    object-fit: cover;
}

.apartment-photo-big a {
    display: flex;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    height: 50vh;
}

.apartment-photo-big a img {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.apartment-photo-small a:nth-child(2) img {
    border-top-right-radius: 20px;
}

.apartment-photo-small a:nth-child(4) img {
    border-bottom-right-radius: 20px;
}

.apartment-photos {
    margin: 0 -2px;
}

.apartment-photos img {
    padding: 2px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apartment-main-info {
    margin-top: 18px;
    max-width: 95%;
}

.apartment-h1 {
    font-size: 24px;
    margin-bottom: 4px;
}

.apartment-add-info span {
    font-weight: 400;
}

.apartment-add-info span::after {
    content: "·";
    margin-right: 2px;
    margin-left: 6px;
}

.apartment-add-info span:last-child::after {
    content: none;
}

.diviver {
    width: 100%;
    height: 1px;
    display: block;
    background: #222222;
    margin-top: 24px;
    margin-bottom: 24px;
    opacity: .2;
}

.apartment-future {
    display: flex;
}

.apartment-future-column {
    margin-left: 24px;
}

.apartment-future-column div {
    font-weight: 500;
}

.apartment-future-column span {
    font-weight: 400;
    font-size: 13px;
}

.apartment-future {
    margin-bottom: 24px;
}

.apartment-description p {
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    color: #000;
    border-bottom: 1px solid #000;
}

.apartment-offers {
    display: flex;
    flex-wrap: wrap;
}

.apartment-offer {
    display: flex;
    flex: 0 0 33.333%;
    max-width: 33.333%;
    margin-bottom: 12px;
    align-items: center;
    font-size: 14px;
}

.apartment-offer img {
    margin-right: 12px;
    width: 24px;
    height: 24px;
}

.apartment-reservation {
    margin-top: 24px;
    position: sticky;
    top: 24px;
}

.apartment-reservation-container {
    padding: 12px;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
}

.loader-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.apartment-reservation-input {
    display: flex;
    flex-direction: column;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 8px;
    border: 1px solid #aaa;
}

#check-out {
    border-left: none;
}

.apartment-reservation-select {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #aaa;
    padding: 8px;
    border-top: none;
}

.night-price {
    margin-bottom: 12px;
    font-weight: 600;
}

.night-price span {
    font-weight: 400;
}

.apartment-reservation-form {
    display: flex;
    flex-wrap: wrap;
}

.apartment-reservation-input label {
    font-weight: 600;
    font-size: 10px;
}

.apartment-reservation-input input {
    font-size: 12px;
    font-weight: 400;
}

#check-in {
    border-top-left-radius: 8px;
}

#check-out {
    border-top-right-radius: 8px;
}

#guests {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

.apartment-reservation-select label {
    font-weight: 600;
    font-size: 10px;
}

.apartment-reservation-select select {
    font-size: 12px;
    font-weight: 400;
}

.reservation-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #0081c2;
    text-align: center;
    color: #fff;
    padding: 12px;
    margin: 12px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.reservation-btn-booking {
    margin-bottom: 0;
}

.reservation-btn-airbnb {
    background: #ff385b;
    color: #fff;
}

.reservation-btn-airbnb svg {
    margin-right: 8px;
}

.reservation-btn-airbnb svg path {
    fill: #fff;
}

.anotation {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 12px;
    margin: 12px 0;
}

.apartment-reservation-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    margin-bottom: 6px;
}

.apartment-reservation-price div:nth-child(1) {
    text-decoration: underline;
}

.apartment-reservation-price-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.apartment-attractions {
    margin: 24px 0;
}

.attractions-intro {
    color: #717171;
    font-size: 14px;
    margin: -8px 0 16px 0;
}

.attractions-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 600px) {
    .attractions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .attractions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.attraction-card {
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 14px 16px;
    transition: box-shadow 0.2s;
}

.attraction-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.attraction-image-wrap {
    border-radius: 8px;
    overflow: hidden;
    margin: -14px -16px 12px -16px;
    background: #f5f5f5;
}

.attraction-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.attraction-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #717171;
    margin-bottom: 6px;
}

.attraction-name {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.35;
    color: #222;
    margin-bottom: 6px;
}

.attraction-description {
    font-size: 13px;
    line-height: 1.45;
    color: #717171;
    margin: 0 0 10px 0;
}

.attraction-link {
    display: inline-block;
    font-size: 13px;
    color: #222;
    font-weight: 500;
    margin-top: 8px;
    text-decoration: underline;
}

.attraction-link:hover {
    color: #000;
}

.attraction-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: #717171;
}

.attraction-distance {
    flex-shrink: 0;
}

.attraction-rate {
    color: #222;
    font-size: 13px;
}

.map {
    margin: 24px 0;
}

.h3-title {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 24px;
}

.subtitle {
    font-size: 14px;
    margin-bottom: 12px;
}

.mobile-reservation {
    display: none;
}

.calendar {
    position: absolute;
    z-index: 1001;
    display: none;
    left: 50%;
    transform: translateX(-50%);
    min-width: 350px;
    top: calc(100% + 20px);
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
    border-radius: 24px;
}



.calendar-wrapper {
    background: #fff;
    display: flex;
    align-items: baseline;
    padding: 24px;
    border-radius: 24px;
}

.calendar-wrapper button {
    width: 20px;
}

#calendar {
    width: 300px;
    margin: 20px auto;
}

.month {
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.days div {
    text-align: center;
    padding: 10px 0;
    border-radius: 50%;
    cursor: pointer;
    width: 39px;
    height: 39px;
}

.days div.inactive {
    color: #ccc;
    pointer-events: none;
    text-decoration: line-through;
}

.days div.active {
    background: #000;
    color: #fff;
}

.days div:hover:not(.active):not(.inactive) {
    background: #ddd;
}

.inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.inputs input {
    width: 100px;
    text-align: center;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.days div.in-between {
    background: #f1f1f1;
    /* Серый цвет для промежуточных дат */
    color: #000;
    position: relative;
}

/* Стиль для даты, доступной только для check-out (день заезда следующей брони) */
.days div.checkout-only {
    position: relative;
    background: linear-gradient(135deg, transparent 48%, #ff9800 48%, #ff9800 52%, transparent 52%);
    border: 2px dashed #ff9800;
}

.days div.checkout-only:hover {
    background: linear-gradient(135deg, #f5f5f5 48%, #ff9800 48%, #ff9800 52%, #f5f5f5 52%);
    border-color: #f57c00;
}

.days div.checkout-only::after {
    content: "✓";
    position: absolute;
    bottom: 2px;
    right: 2px;
    font-size: 10px;
    color: #ff9800;
    font-weight: bold;
}


.calendar-wrapper button {
    transition: all .3s;
}

.calendar-wrapper button:disabled {
    opacity: 0;
}

.mr50 {
    margin-right: 50px !important;
}

.guest-selector {
    width: 300px;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 3px 12px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.08);
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.guest-row span {
    display: block;
}

.description {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

.controls {
    display: flex;
    align-items: center;
}

.controls button {
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all .3s;
}

.controls button:disabled {
    opacity: 0.3;
}

.controls button:hover {
    background-color: #f0f0f0;
}

.controls .count {
    width: 40px;
    text-align: center;
    font-size: 16px;
}

.guest-row-left {
    display: flex;
    flex-direction: column;
}

.persons {
    display: none;
    position: absolute;
    z-index: 999;
    right: 0;
    top: calc(100% + 20px);
}

.show-mob {
    display: none;
}

.no-data {
    padding: 24px;
    text-align: center;
}

.no-data h1 {
    font-size: 24px;
    margin-bottom: 12px;
}

.main-apartments {
    padding-top: 24px;
}

.apartment-calendar .calendar-wrapper {
    padding: 0;
}

.apartment-calendar .days {
    gap: 8px;
}

.apartment-calendar #calendar {
    width: auto;
    margin: 0 auto;
}

.loader {
    width: 48px;
    height: 48px;
    border: 3px solid #FFF;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.loader::after {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
}

/* Индикатор загрузки для блока бронирования */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 8px;
}

.loading-overlay .loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.loading-overlay .loader {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #222222;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #666666;
    font-size: 14px;
    margin: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Индикатор загрузки для мобильной версии */
.mobile-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    min-height: 60px;
}

.mobile-loading .loader {
    width: 32px;
    height: 32px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #222222;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.mobile-reservation-button .reservation-btn.loading {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.apartment-calendar-footer {
    margin-top: 24px;

    text-align: right;
}

.header-calendar-footer {
    position: absolute;
    bottom: 14px;
    right: 28px;
}

.header-calendar-footer button {
    width: 100%;
}

/* Затемнённый фон */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Затемнение */
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Контент popup */
.popup-content {
    background: #fff;
    border-radius: 10px;
    position: relative;
    width: 400px;
    text-align: center;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
}

/* Кнопка закрытия */
.close-popup {
    position: absolute;
    top: 19px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

/* Когда popup активен */
.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-form-login {
    display: flex;
    flex-direction: column;

}

.popup-header {
    padding: 24px;
    border-bottom: 1px solid #dddddd;
    font-size: 15px;
    font-weight: 500;
}

.popup-body {
    padding: 24px;
}

.h2-popup {
    font-size: 24px;
    margin-bottom: 24px;
}

.popup-form-login input {
    width: 100%;
    display: block;
    padding: 12px;
    border: 1px solid #dddddd;
    margin-bottom: 12px;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 16px;
}

.popup-form-login input:focus {
    outline: none;
    border-color: #222;
}

.popup-form-login button {
    width: 100%;
    display: block;
}

.or {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.or::before,
.or::after {
    content: "";
    height: 1px;
    width: 100%;
    background: #dddddd;
    display: block;
}

.or::before {
    margin-right: 12px;
}

.or::after {
    margin-left: 12px;
}

.social-login {
    border: 1px solid #000;
    padding: 12px;
    position: relative;
    text-align: center;
    display: block;
    margin-bottom: 12px;
    border-radius: 6px;
    color: #000;
    font-size: 14px;
    transition: all .3s;
}

.social-login svg {
    position: absolute;
    left: 12px;
}

.social-login:hover {
    background: #0081c21f;
}

.social-login:last-child {
    margin-bottom: 0;
}

.main-booking {
    min-height: 80vh;
    padding: 48px 0 24px 0;

}

.main-booking-title {
    font-size: 32px;
    margin-bottom: 36px;
    font-weight: 500;
}

.reservation-info h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
}

.reservation-info-block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
}

.reservation-info-text b {
    margin-bottom: 6px;
    font-weight: 400;
    display: block;
}

.reservation-info-buttun a {
    color: #000;
    text-decoration: underline;
}

.reservation-info-block:last-child {
    margin-bottom: 0;
}

.reservation-info {
    margin-bottom: 34px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 34px;
}

.booking-select {
    margin-top: 8px;
    padding: 0;
    border: none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    width: 100%;
    background: transparent;
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
}

.booking-select:hover {
    border-bottom-color: #000;
}

.booking-select:focus {
    border-bottom-color: #000;
}

.booking-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 8px;
    cursor: pointer;
}

.booking-checkbox {
    margin: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #000;
}

.booking-checkbox-content {
    flex: 1;
}

.booking-checkbox-content b {
    display: block;
    margin-bottom: 4px;
    font-weight: 400;
}

.booking-checkbox-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.booking-login-text {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 24px;
}

.flex-box .social-login svg {
    position: inherit;
    left: 0;
}

.flex-box .social-login {
    display: flex;
    align-items: center;
    justify-content: center;
}

.booking-apartment-img {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 24px;
}

.booking-apartment-img_img {
    margin-right: 24px;
}

.booking-apartment,
.booking-apartment-price {
    padding: 24px;
}

.booking-apartment {
    padding-bottom: 0;
}

.booking-apartment-img_img img {
    border-radius: 12px;
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.booking-apartment-img_info div {
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 8px;
}

.booking-apartment-img_info p {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 8px;
}

.booking-apartment-price h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 24px;
}

.booking-apartment-price .apartment-reservation-price {
    margin-bottom: 12px;
    font-size: 16px;
}

.booking-apartment-price .apartment-reservation-price div {
    text-decoration: none;
}

.booking-apartment-container {
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-left: 100px;
}

.error-msg {
    padding: 24px;
    background: #ff7800;
    color: #fff;
    font-weight: 500;
    border-radius: 12px;
    text-align: center;
    font-size: 18px;
}

.error-msg a {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
}

.error-msg b {
    display: block;
    font-size: 24px;
}

.verification-notice {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #222222 0%, #2e2d2d 100%);
    color: #fff;
    border-radius: 16px;
box-shadow: 0 4px 12px rgb(69 69 69 / 25%);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.verification-notice:hover {
    box-shadow: 0 6px 16px rgba(255, 120, 0, 0.35);
    transform: translateY(-2px);
}

.verification-notice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
}

.verification-notice-icon svg {
    width: 100%;
    height: 100%;
    stroke: #fff;
}

.verification-notice-content {
    flex: 1;
}

.verification-notice-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.verification-notice-text {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 16px;
}

.verification-notice-action {
    margin-top: 4px;
}

.verification-notice-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.verification-notice-button:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.verification-notice-link {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}

.verification-notice-link:hover {
    text-decoration-thickness: 3px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .verification-notice {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .verification-notice-icon {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
    
    .verification-notice-title {
        font-size: 18px;
    }
    
    .verification-notice-text {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .verification-notice-action {
        margin-top: 8px;
    }
    
    .verification-notice-button {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
}

.account {
    padding: 48px;
}

.account-title h1 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 12px;
}

.account-title {
    margin-bottom: 48px;
}

.account-card-img {
    margin-bottom: 16px;
}

.account-card-name {
    font-size: 18px;
    font-weight: 400;
}

.account-card-info {
    font-size: 14px;
    line-height: 1.125rem;
    color: rgb(106, 106, 106);
    font-weight: 400;
}

.account-card a {
    color: inherit;
    -webkit-box-pack: justify;
    -webkit-box-direction: normal;
    -webkit-box-orient: vertical;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 146px;
    padding: 16px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
    border-radius: 12px;
}

.breadcrumbs ul {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.breadcrumbs ul li a::after {
    content: "";
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNy4zMyAyNGwtMi44My0yLjgyOSA5LjMzOS05LjE3NS05LjMzOS05LjE2NyAyLjgzLTIuODI5IDEyLjE3IDExLjk5NnoiLz48L3N2Zz4=');
    display: inline-block;
    width: 10px;
    height: 10px;
    background-position: center center;
    background-size: contain;
    margin: 0 12px;
}

.breadcrumbs a,
.breadcrumbs span {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
}

.change-info {
    padding: 24px 0;
    border-bottom: 1px solid #EBEBEB;
}

.change-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.change-info-top b {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.placeholder,
.placeholder-hidden {
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.125rem;
    color: #6a6a6a;
}

.placeholder-hidden,
.hidden-block {
    display: none;
}

.change-info-top button {
    font-weight: 500;
    text-decoration: underline;
    font-size: 14px;
}

.change-info .hidden-block {
    margin-top: 24px;
}

.change-info .hidden-block button {
    margin-top: 24px;

}

.dark-btn {
    padding: 14px 24px;
    background: #222222;
    color: #fff;
    border-radius: 8px;
    font-weight: 500;
}

.info-input {
    padding: 26px 12px 12px 12px;
    border: 1px solid #8c8c8c;
    border-radius: 8px;
    position: relative;
    max-width: 250px;
}

.info-input label {
    position: absolute;
    top: 10px;
    left: 12px;
    font-weight: 400;
    font-size: 12px;
    color: #6a6a6a;
}

.alert {
    padding: 24px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
}

.alert-success {
    background: #51b951;
    color: #fff;
}

.alert-danger {
    background: #bd2f2f;
}

.documents-preview img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-right: 12px;
}

.documents-preview {
    margin-top: 12px;
}

.bookings-container {
    display: flex;
}

.booking-photo {
    max-width: 300px;

}

.booking-photo img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.center-cards {
    display: flex;
    justify-content: center;
}

.card {
    display: flex;
    width: 100%;
    color: #525252;
    margin-bottom: 10px;
    border-radius: 5px;
    position: relative;
    box-shadow: 0 0 11px 0px #c3c3c3;
    overflow: hidden;
    max-width: 850px;
}

.date {
    display: table-cell;
    flex: 0 0 100%;
    max-width: 150px;
    position: relative;
    text-align: center;
    background-size: cover;
    background-position: center center;
    border-radius: 5px;
}



.date time {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #00000078;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    color: #fff;
}

.date time span {
    display: block;
    line-height: 28px;
}

.date time span:first-child {
    font-weight: 600;
    font-style: italic;
    font-size: 250%
}

.date time span:last-child {
    text-transform: uppercase;
    font-weight: 600;
    margin-top: -10px
}

.card-cont {
    display: flex;
    flex-direction: column;
    flex: 0 0 100%;
    max-width: 450px;
    font-size: 85%;
    padding: 10px 10px 10px 50px;

}

.even-info {
    flex-grow: 1;
    display: flex;
    align-items: end;
}

.financial {
    max-width: 250px;
    flex: 0 0 100%;
    border-left: 1px dashed #22222269;
    padding: 10px
}

.card-cont h3 {
    color: #3C3C3C;
    font-size: 130%
}

.card-cont .even-info p {
    padding: 0 50px 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    box-orient: vertical;
    text-transform: capitalize;
}

.card-cont .even-date time span {
    display: block
}

.card-cont .booking-id {
    display: block;
    text-decoration: none;
    background-color: #D8DDE0;
    color: #fff;
    text-align: center;
    line-height: 30px;
    border-radius: 2px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 0 10px;
    background-color: #F8504C;
}

.card-cont .paid-summ {
    display: block;
    text-decoration: none;
    background-color: #D8DDE0;
    color: #fff;
    text-align: center;
    line-height: 30px;
    border-radius: 2px;
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 0 10px;
    background-color: #037FDD
}

/* Стиль для каждой строки */
.booking-summary p {
    font-size: 14px;
    color: #333;
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.booking-summary {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Сумма за ночь */
.night-price {
    font-weight: bold;
}

/* Цена за ночь */
.price {
    color: #0081c2;
}

/* Итоговая сумма */
.booking-summary .total-price {
    font-size: 18px;
    font-weight: bold;
    color: #0081c2;
    border-top: 1px dashed #22222269;
    padding-top: 10px;
    margin-top: 10px;
    flex-grow: 1;
    margin-bottom: 0;
}

.booking-links {
    display: flex;
    gap: 20px;
}

.booking-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 12px;
    color: #333;
    white-space: nowrap;
}

.booking-links a i {
    font-size: 13px;
    color: #0081c2;
}

.booking-links a:hover {
    color: #0081c2;
}

.even-date {
    margin-top: 12px;
}

.copy-notification {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: #0081c2;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.copy-notification.show {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 860px) {
    .account {
        padding: 20px 0;
    }

    .card-cont a {
        position: initial !important;
        width: 50%;
    }

    .date:before,
    .date:after {
        content: none;
    }

    .card {
        flex-direction: column;
    }

    .date {
        width: 100%;
        display: block;
    }

    .card-cont {
        display: block;
        width: 100%;
        padding: 10px;
    }

    .date time {
        position: initial;
        transform: none;
        background: #00000078;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 100%;
        height: 110px;
        border-radius: 5px;
        color: #fff;
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media(max-width: 850px) {
    .header-calendar-footer{
        bottom: auto;
        right: auto;
    }
    .booking-apartment-container {
        margin-left: 0;
        margin-bottom: 24px;
        margin-top: 24px;
    }

    .main-apartments {
        padding-top: 0;
    }

    .fixed-header #persons {
        width: 100%;
    }

    .header .show-mob {
        display: block;
        position: absolute;
        top: 5px;
        left: 5px;

    }

    .hide-search {
        padding: 12px;
        background: #fff;
        border-radius: 50%;
    }

    .apartment-offer {
        display: flex;
        flex: 0 0 50%;
        max-width: 50%;
    }

    .apartment-h1 {
        font-size: 19px;
    }

    .mobile-reservation-button a {
        margin: 0;
    }

    .mobile-reservation-button .reservation-btn-booking {
        margin-right: 12px;
    }

    .mobile-reservation-price div:nth-child(1) {
        text-decoration: underline;
        margin-bottom: 6px;
    }

    .mobile-reservation-price div:nth-child(2) {
        font-size: 12px;
    }

    .mobile-reservation-price div:nth-child(1) span {
        font-weight: 500;
    }

    .mobile-reservation-button {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-reservation {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 12px;
        background: #fff;
        align-items: center;
        justify-content: space-between;
        z-index: 1000;
    }

    .apartment-map {
        height: 300px;
    }

    .apartment-photos {
        margin: 0 -20px;
    }

    .apartment-photo-big img {
        border-radius: 0;
        height: 300px;
        padding: 0;
    }

    .apartment-main-info {
        max-width: 100%;
    }


    .apartment-photo-big {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .apartment-photo-small,
    .apartment-title,
    .apartment-reservation {
        display: none;
    }

    .container {
        --bs-gutter-x: 2.5rem;
    }

    .main-apartments {
        margin-top: 1rem;
    }

    .footer,
    .hide-mob {
        display: none;
    }

    .nav-items-conteiner .nav-item {
        opacity: 0.4;
    }

    .header-mob {
        position: fixed;
        z-index: 9999;
        width: 100%;
        top: 0;
        background: #fefefe;
        padding: 12px 0;
        box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.28);
    }

    .header-mob-logo {
        width: 42px;
        padding: 6px;
        border-radius: 50%;
        border: 1px solid #ccc;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-mob,
    .footer-mobile {
        display: block;
    }

    .nav-items-conteiner .nav-item.active::after {
        bottom: -10px;
    }

    body {
        padding-top: 70px;
    }

    .footer-mobile {
        background: #fff;
        z-index: 999;
        padding: 16px 0;
        border-top: 1px solid #ebebeb;
    }

    .footer-mobile-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .footer-mobile-copyright {
        font-size: 0.75rem;
        color: #717171;
        text-align: center;
    }

    .footer-mobile-links {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-mobile-links a {
        font-size: 0.75rem;
        color: #222222;
        text-decoration: none;
        transition: color 0.2s;
    }

    .footer-mobile-links a:hover {
        color: #0081c2;
        text-decoration: underline;
    }

    .footer-separator {
        color: #717171;
        font-size: 0.75rem;
        margin: 0 4px;
    }

    .footer-mobile-support {
        margin-top: 4px;
    }

    .footer-mobile-dropdown {
        font-size: 0.75rem;
        color: #222222;
        text-decoration: none;
        cursor: pointer;
        position: relative;
        padding-right: 16px;
    }

    .footer-mobile-dropdown::after {
        content: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" aria-hidden="true" role="presentation" focusable="false" style="display: block; fill: none; height: 12px; width: 12px; stroke: currentcolor; stroke-width: 4; overflow: visible;"><path fill="none" d="M28 12 16.7 23.3a1 1 0 0 1-1.4 0L4 12"></path></svg>');
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .footer-mobile-dropdown:hover {
        color: #0081c2;
        text-decoration: underline;
    }

    .footer-mobile ul {
        display: none;
    }

    /* Адаптация dropdown для мобильных устройств */
    .dropdown-block-inner {
        padding: 20px 16px !important;
        max-height: 70vh;
        overflow-y: auto;
    }

    .dropdown-block-inner .row {
        margin: 0;
    }

    .dropdown-block-inner .col-12 {
        margin-bottom: 24px;
    }

    .dropdown-block-inner .col-12:last-child {
        margin-bottom: 0;
    }

    #footer-drop span {
        font-size: 0.9375rem;
        margin-bottom: 10px;
        display: block;
    }

    #footer-drop a {
        font-size: 0.875rem;
        margin-bottom: 10px;
        padding: 4px 0;
        display: block;
    }

    .header-mob-row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .header-mob-search {
        border-radius: 40px;
        box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        padding: 12px;
        flex: 1;
        margin: 0 16px;
        font-weight: 500;
        font-size: 0.875rem;
        line-height: 1.125rem;
        color: #222222;
        min-width: 0;
        overflow: hidden;
    }

    .header-mob-search svg {
        margin-right: 12px;
        flex-shrink: 0;
    }

    .header-mob-search-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        min-width: 0;
        flex: 1;
    }

    .header-mob-filter-btn {
        padding: 8px;
        background: #fff;
        border-radius: 50%;
        border: 1px solid #ccc;
    }
    .header-mob-filter-btn svg {
     
        stroke:#222222!important;
    }

    /* Mobile language switcher */
    .header-mob-lang {
        margin: 0 8px;
        display: flex;
        align-items: center;
    }

    .header-mob-lang .language-switcher {
        display: flex;
        align-items: center;
    }

    .header-mob-lang .language-btn {
        padding: 8px 10px;
        min-width: auto;
        font-size: 12px;
        gap: 6px;
        border: 1px solid #ccc;
        background: #fff;
        border-radius: 20px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .header-mob-lang .language-btn:active {
        transform: scale(0.95);
        background: #f7f7f7;
    }

    .header-mob-lang .language-btn .globe-icon {
        width: 14px;
        height: 14px;
    }

    .header-mob-lang .language-btn .current-lang {
        font-size: 12px;
        font-weight: 600;
    }

    .header-mob-lang .language-dropdown-menu {
        right: 0;
        top: calc(100% + 6px);
        min-width: 140px;
        z-index: 1001;
    }

    .header-mob-lang .language-switcher {
        z-index: 1001;
        position: relative;
    }

    /* Mobile auth styles */
    .header-mob-auth {
        position: relative;
    }

    .header-mob-auth-btn {
        padding: 8px;
        background: #fff;
        border-radius: 50%;
        border: 1px solid #ccc;
        cursor: pointer;
    }

    .header-mob-auth-btn svg {
        stroke: #222222 !important;
    }

    .header-mob-auth-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        min-width: 150px;
        z-index: 1000;
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        margin-top: 8px;
    }

    .header-mob-auth-dropdown ul {
        list-style: none;
        margin: 0;
        padding: 8px 0;
    }

    .header-mob-auth-dropdown li {
        margin: 0;
    }

    .header-mob-auth-dropdown a {
        display: block;
        padding: 12px 16px;
        color: #222;
        text-decoration: none;
        font-size: 14px;
        transition: background-color 0.2s ease;
    }

    .header-mob-auth-dropdown a:hover {
        background-color: #f5f5f5;
    }

    .header-mob-auth-dropdown form {
        margin: 0;
    }

    .header-mob-auth-dropdown button {
        background: none;
        border: none;
        color: #222;
        font-size: 14px;
        cursor: pointer;
        width: 100%;
        text-align: left;
        transition: background-color 0.2s ease;
    }

    .header-mob-auth-dropdown button:hover {
        background-color: #f5f5f5;
    }

    /* Mobile popup styles */
    @media (max-width: 768px) {
        .popup-overlay {
            padding: 20px;
        }

        .popup-content {
            width: 100%;
            max-width: 100%;
            margin: 0;
            max-height: 90vh;
            overflow-y: auto;
        }

        .popup-form-login input {
            width: 100%;
            margin-bottom: 16px;
            padding: 12px;
            font-size: 16px; /* Prevents zoom on iOS */
        }

        .popup-form-login button {
            width: 100%;
            padding: 14px;
            font-size: 16px;
        }

        .social-login {
            width: 100%;
            margin-bottom: 12px;
            padding: 12px;
            font-size: 16px;
        }

        .popup-header {
            font-size: 18px;
            padding: 20px 20px 10px;
        }

        .h2-popup {
            font-size: 20px;
            margin-bottom: 20px;
        }

        .or {
            margin: 20px 0;
            font-size: 14px;
        }
    }

    /* Auth tabs styles */
    .auth-tabs {
        display: flex;
        border-bottom: 1px solid #ddd;
        margin-bottom: 20px;
        max-width: 600px;
        margin: 0 auto;
    }

    .auth-tab {
        flex: 1;
        padding: 12px 16px;
        background: none;
        border: none;
        border-bottom: 2px solid transparent;
        cursor: pointer;
        font-size: 16px;
        color: #666;
        transition: all 0.3s ease;
    }

    .auth-tab.active {
        color: #222;
        font-weight: 600;
    }

    .auth-tab:hover {
        color: #222;
        background-color: #f5f5f5;
    }

    .auth-form {
        margin-bottom: 20px;
    }
    /* mobile calendar */
    .header {
        padding: 0;
        border: none;
    }

    .header .logo,
    .header .user {
        display: none;
    }

    /* Hide desktop search form on mobile */
    .desktop-search-form {
        display: none;
    }

    .search {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 20px;
        backdrop-filter: blur(4px);
        margin: 0;
        padding-top: 70px;
    }
    
    .search-modal {
        display: block;
        background: #fff;
        border-radius: 20px;
        width: 100%;
        max-width: 400px;
        max-height: 90vh;
        overflow-y: auto;
        overflow-x: visible;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        animation: slideUp 0.3s ease-out;
        margin: 0 auto;
        position: relative;
        z-index: 10000;
    }
    
    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .search-modal-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 24px 16px 24px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .search-modal-title {
        font-size: 18px;
        font-weight: 600;
        color: #222;
        margin: 0;
    }
    
    .search-modal-close {
        background: none;
        border: none;
        padding: 8px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.2s ease;
    }
    
    .search-modal-close:hover {
        background-color: #f5f5f5;
    }
    
    .search-modal-close svg {
        width: 20px;
        height: 20px;
        color: #666;
    }
    
    .search-modal-content {
        display: block;
        padding: 24px;
        position: relative;
        z-index: 10001;
    }

    .search form .search {
        height: 100%;
    }

    .search-container {
        flex-direction: column;
        gap: 0px;
        background: transparent;
        box-shadow: none;
        border: none;
        padding: 0;
        position: relative;
        z-index: 1;
    }

    .search-row {
        flex-direction: column;
        width: 100%;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
    }

    .botton-row {
        position: static;
        margin: 24px 0 0 0;
        width: 100%;
    }

    .submit-btn span {
        display: block;
        margin-left: 12px;
    }

    .submit-btn {
        justify-content: center;
        background: #222;
        color: #fff;
        border: none;
        border-radius: 16px;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 600;
        width: 100%;
        transition: all 0.2s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .submit-btn:hover {
        background: #000;
        transform: translateY(-1px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }
    
    .submit-btn svg {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }

    .search-container {
        box-shadow: none;
        border: none;
    }

    .calendar-wrapper {
        flex-direction: column;
        position: relative;
    }
    #check-in-label{
        margin-bottom: 12px;
    }
    .calendar {
        position: static;
        transform: none;
        right: auto;
        left: auto;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        border: 1px solid #e0e0e0;
        margin-top: 16px;
        display: none;
    }

    /* Календарь внутри модального окна должен быть виден только когда НЕТ guests-open */
    .search-modal.calendar-open:not(.guests-open) .search-modal-content .calendar,
    .search-modal.calendar-open:not(.guests-open) .search-modal-content .calendar.force-show {
        display: block !important;
    }

    /* Календарь скрыт когда есть guests-open */
    .search-modal.calendar-open.guests-open .search-modal-content .calendar {
        display: none !important;
    }

    .guest-selector {
        position: static;
        width: 100%;
        border-radius: 16px;
        border: 1px solid #e0e0e0;
        background: #fff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        margin-top: 16px;
        display: none;
    }

    .calendar-open .search-container {
        background: transparent;
    }
    
    .calendar-open .calendar {
        display: block;
        position: static;
        margin-top: 16px;
        animation: slideDown 0.3s ease-out;
    }

    .calendar-open.guests-open .calendar {
        display: none !important;
    }

    .calendar-open .guest-selector {
        display: block;
        position: static;
        margin-top: 16px;
        animation: slideDown 0.3s ease-out;
    }

    /* Блок гостей показывается только когда есть класс guests-open */
    .calendar-open:not(.guests-open) .persons {
        display: none !important;
    }

    .calendar-open.guests-open .persons {
        display: block !important;
        position: static;
        margin-top: 16px;
        animation: slideDown 0.3s ease-out;
    }

    /* Блок гостей внутри модального окна должен быть виден только когда guests-open */
    .search-modal.calendar-open.guests-open .search-modal-content .persons,
    .search-modal.calendar-open.guests-open .search-modal-content .persons.force-show {
        display: block !important;
    }

    /* Блок гостей скрыт когда нет guests-open */
    .search-modal.calendar-open:not(.guests-open) .search-modal-content .persons {
        display: none !important;
    }

    .search-modal-content .persons {
        z-index: 10002 !important;
        position: relative !important;
    }
    
    /* Календарь внутри модального окна на мобильных - показывается только когда НЕТ guests-open */
    .search-modal.calendar-open:not(.guests-open) .search-modal-content .calendar,
    .search-modal.calendar-open:not(.guests-open) .search-modal-content .calendar.force-show {
        display: block !important;
        position: relative;
        margin-top: 16px;
        z-index: 10002 !important;
    }

    /* Календарь скрыт когда есть guests-open */
    .search-modal.calendar-open.guests-open .search-modal-content .calendar {
        display: none !important;
    }

    .search-modal .calendar {
        position: relative;
        margin-top: 16px;
        width: 100%;
        max-width: 100%;
        z-index: 10002;
    }

    .search-modal .calendar .calendar-wrapper {
        position: relative;
        z-index: 10002;
    }

    /* Убеждаемся, что календарь виден поверх всех элементов внутри модального окна */
    .search-modal-content .calendar {
        z-index: 10002 !important;
        position: relative !important;
    }

    /* Когда календарь открыт, он должен быть виден */
    .search-modal.calendar-open .search-modal-content .calendar,
    .search-modal-content .calendar[style*="display: block"],
    .search-modal-content .calendar[style*="display:block"] {
        display: block !important;
    }

    /* Все элементы внутри календаря должны быть видимы */
    .search-modal-content .calendar * {
        position: relative;
    }

    /* Когда календарь открыт, убеждаемся что он поверх всех */
    .search-modal.calendar-open {
        overflow-y: auto;
        overflow-x: visible;
    }

    .search-modal.calendar-open .search-modal-content {
        overflow: visible;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .devider-right::after {
        content: none;
    }

    .devider-right,
    #persons {
        background: #fff;
        border-radius: 16px;
        margin-bottom: 0;
        align-items: center;
        justify-content: space-between;
        flex-direction: row !important;
        padding: 16px 20px;
        border: 1px solid #e0e0e0;
        transition: all 0.2s ease;
        cursor: pointer;
        margin-bottom: 12px;
    }
    
    .devider-right:hover,
    #persons:hover {
        border-color: #222;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .devider-right label,
    #persons label {
        font-size: 14px;
        font-weight: 500;
        color: #222;
        margin-bottom: 0;
    }
    
    .devider-right p,
    #persons p {
        font-size: 16px;
        color: #666;
        margin: 0;
    }

    .search-row label {
        margin-bottom: 0;
    }

    .persons {
        right: auto;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
        background: #fff;
    }

    .calendar-wrapper .mr50 {
        margin: 0 !important;
        width: 100%;
    }

    .calendar-wrapper #prev-month {
        position: absolute;
        top: 25px;
        left: 24px;
        z-index: 99;
    }

    .calendar-wrapper #next-month {
        position: absolute;
        top: 25px;
        right: 24px;
    }

    .apartment-calendar .calendar-wrapper #next-month {
        top: 0;
        right: 0;
    }

    .apartment-calendar .calendar-wrapper #prev-month {
        top: 0;
        left: 0;
    }

    .search-row input {
        text-align: right;
    }

    #persons {
        padding-right: 24px !important;
    }

    .devider-right:hover,
    #persons:hover,
    .persons {
        background: #fff;
    }

    .calendar-open #persons:hover {
        border-bottom-right-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }
}

@media(max-width: 768px) {
    #payment-form {
        margin-bottom: 24px;
    }
}

/* Модальные окна */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

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

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #717171;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.popup-close:hover {
    background: #f0f0f0;
}

.popup-body {
    padding: 20px;
}

/* Контролы гостей */
.guests-control-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guests-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.guests-label {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 4px;
}

.guests-sublabel {
    font-size: 14px;
    color: #717171;
}

.controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.controls button {
    width: 32px;
    height: 32px;
    border: 1px solid #b0b0b0;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #222;
    transition: all 0.2s;
}

.controls button:hover:not(:disabled) {
    border-color: #000;
    background: #f7f7f7;
}

.controls button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.controls span {
    font-size: 16px;
    min-width: 24px;
    text-align: center;
}

/* Переключатель форм авторизации/регистрации */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #717171;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
}

.auth-tab:hover {
    color: #222;
}

.auth-tab.active {
    color: #222;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #222;
}

/* Блок информации о документах */
.document-info-box {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.document-info-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
    color: #222;
}

.document-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.document-info-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

.document-info-list li strong {
    color: #222;
}

.document-info-note {
    background: #fff3cd;
    border-left: 3px solid #ffc107;
    padding: 10px;
    font-size: 13px;
    color: #856404;
    border-radius: 4px;
}

/* Кастомный file input */
.file-upload-wrapper {
    margin-top: 8px;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #fff;
    border: 2px dashed #b0b0b0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
}

.file-upload-label:hover {
    border-color: #222;
    background: #f7f7f7;
}

.file-upload-label svg {
    width: 24px;
    height: 24px;
    color: #222;
}

.file-upload-text {
    font-size: 16px;
    font-weight: 500;
    color: #222;
}

.file-upload-names {
    margin-top: 12px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f7f7f7;
    border-radius: 6px;
    margin-bottom: 8px;
}

.file-name {
    font-size: 14px;
    color: #222;
    flex: 1;
}

.file-size {
    font-size: 12px;
    color: #717171;
    margin-left: 10px;
}

/* Превью загруженных документов */
.documents-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.document-preview-img {
    max-width: 200px;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: transform 0.2s;
}

.document-preview-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.document-link {
    text-decoration: none;
}

.pdf-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #f7f7f7;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    min-width: 150px;
    transition: all 0.2s;
}

.pdf-preview:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pdf-preview svg {
    color: #d32f2f;
    margin-bottom: 8px;
}

.pdf-preview span {
    font-size: 12px;
    color: #555;
    text-align: center;
    word-break: break-all;
}

/* Identity verification — review status */
.verification-review-message {
    display: block;
    margin-top: 8px;
    color: #e65100;
}

.verification-review-note {
    display: block;
    margin-top: 4px;
    color: #6a6a6a;
}

/* Стили для ошибок валидации */
.invalid-feedback {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #dc3545;
}

.is-invalid {
    border-color: #dc3545;
}

.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Стили для страницы результатов поиска */
.search-results-page {
    background-color: #f7f7f7;
}

.search-results-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    margin-bottom: 24px;
}

.search-results-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.2;
}

/* Стили для пустых результатов */
.no-results {
    text-align: center;
    padding: 60px 20px;
    max-width: 400px;
    margin: 0 auto;
}

.no-results-icon {
    color: #717171;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.no-results-title {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 12px;
}

.no-results-description {
    font-size: 14px;
    color: #717171;
    line-height: 1.5;
    margin-bottom: 24px;
}

.no-results-actions {
    margin-top: 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background-color: #222;
    color: #fff;
}

.btn-primary:hover {
    background-color: #000;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .search-results-header {
        padding: 16px 0;
        margin-bottom: 20px;
    }
    
    .search-results-title {
        font-size: 20px;
    }
    
    .no-results {
        padding: 40px 20px;
    }
    
    .no-results-title {
        font-size: 18px;
    }
    
    .no-results-description {
        font-size: 13px;
    }
}

/* Auth pages styles */
.auth-page {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.auth-container {
    width: 100%;
}

.auth-card {
    background: #fff;
    overflow: hidden;
}

.auth-content {
    display: flex;
    min-height: 600px;
}

.auth-left {
    flex: 1;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 40px;
}

.auth-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo img {
    height: 40px;
    margin-bottom: 16px;
}

.auth-title {
    font-size: 32px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.auth-subtitle {
    font-size: 16px;
    color: #6a6a6a;
    margin: 0;
    font-weight: 400;
}

.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 4px;
    backdrop-filter: blur(10px);
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    color: #6a6a6a;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 6px;
    font-size: 14px;
    min-width: 300px;
}

.auth-tab.active {
    color: #222222;
    background-color: #fff;
}

.auth-tab:hover {
    color: #222222;
    background-color: rgba(255, 255, 255, 0.5);
}

.auth-form-container {
    padding: 60px 40px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #222222;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    background-color: #fff;
    color: #222222;
}

.form-input:focus {
    outline: none;
    border-color: #222222;
    box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.1);
}

.form-input::placeholder {
    color: #6a6a6a;
}

.error-message {
    display: block;
    color: #ff385b;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.auth-btn {
    width: 100%;
    background: #222222;
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.auth-btn:hover {
    background: #000000;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-divider {
    text-align: center;
    margin: 24px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #dddddd;
}

.auth-divider span {
    background-color: #fff;
    padding: 0 20px;
    color: #6a6a6a;
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.social-auth {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    text-decoration: none;
    color: #222222;
    font-weight: 500;
    transition: all 0.2s ease;
    background-color: #fff;
    font-size: 16px;
}

.social-btn:hover {
    border-color: #222222;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.google-btn:hover {
    border-color: #4285f4;
}

.facebook-btn:hover {
    border-color: #1877F2;
}

.auth-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #dddddd;
}

.auth-footer p {
    margin: 0;
    color: #6a6a6a;
    font-size: 14px;
}

.auth-link {
    color: #222222;
    text-decoration: underline;
    font-weight: 500;
}

.auth-link:hover {
    color: #000000;
}

/* Mobile styles for auth pages */
@media (max-width: 768px) {
    .auth-page {
        align-items: flex-start;
    }
    
    .auth-container {
        max-width: 100%;
    }
    
    .auth-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .auth-left {
        padding: 32px 24px 20px;
        background: #fff;
        border-bottom: 1px solid #dddddd;
    }
    
    .auth-right {
        padding: 0;
    }
    
    .auth-header {
        margin-bottom: 20px;
    }
    
    .auth-form-container {
        padding: 24px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-subtitle {
        font-size: 14px;
    }
    
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .auth-tabs {
        background: #f7f7f7;
        border-radius: 8px;
    }
    
    .auth-tab {
        padding: 12px 16px;
        font-size: 14px;
        min-width: auto;
    }
}

/* Стили для асинхронного перевода */
[data-translate].translating {
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

[data-translate].translated {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.seo-apartment-links {
    padding: 48px 0 56px;
    border-top: 1px solid #ebebeb;
    background: #fafafa;
}

.seo-apartment-links__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #222;
}

.seo-apartment-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px 20px;
}

.seo-apartment-links__list a {
    color: #222;
    text-decoration: underline;
    font-size: 14px;
    line-height: 1.5;
}

.seo-apartment-links__list a:hover {
    color: #000;
}