.total{
    margin: 0;
    width: 100%;
    padding: 0;
}

.page{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.header{
    width:100%;
    height: 100px;
    position:relative;
    position: fixed;
    float: right;
    background-color: #0A575B;
    padding: 0;
    margin: 0;
    z-index: 10;
}

.head__logo_img{
    height: 80%;
    margin-top: 10px;
    margin-left: 10px;
}

.head__lang {
    width: 60px;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
}

.lang_line{
    width: 20px;
    margin: auto;
    margin-top: 7px;
}

.lang_txt{
    width: 65%;
    color: white;
    margin: 0;
    font-family: inter;
    font-size: 20px;
}

.head__login{
    height: 40%;
    aspect-ratio: 177 / 68; 
    overflow: hidden;
    margin: 0;
    position: absolute;
    right: 50px;
    top: 27%;
    display: grid;
    grid-template-columns: 70% 30%;
    padding: 0;
    border: none;
    border-radius: 59px;
    cursor: pointer;
}

.login_img{
    margin-top: 5px;
    margin-left: 1px;
    height: 30px;
    float: right;
}

.main{
    width: 100%;
    padding: 0;
    padding-top: 100px;
    padding-right: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 25% 60%;
    gap: 30px;
}

.main__img{
    width: 100%;
    pointer-events: none;
    padding: 0;
    margin: 0;
}

.main__txt{
    

    height: 100px;
    font-family: inter;
    font-size: 45px;
    font-weight: 450;
    margin: 0;
    padding: 0;
    padding-top: 70px;
    grid-column: 2;
    grid-row:1;
}

.main__un_txt{
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 30px;
    margin: 0;
    margin-top: 200px;
    font-family:inter;
    font-size: 20px;
    font-weight:350;
}

.main__see{
    width: 150px;
    height: 40px;
    background-color: #0A575B;
    border: none;
    grid-column: 2;
    grid-row: 1;
    margin-top: 270px;
    border-radius: 20px;
    cursor: pointer;
}

.see_txt{
    margin: 0;
    color: white;
    font-family: inter;
    width: 100%;
    font-size: 17px;
    letter-spacing: 1px;
    font-weight: 400;
    text-align: center;
}

.img_1{
    width: 150px;
    grid-column: 2;
    grid-row: 1;
    margin-top: 360px;
}

.img_2{
    width: 150px;
    grid-column: 2;
    grid-row: 1;
    margin-top: 360px;
    margin-left: 170px;
}

.img_3{
    width: 150px;
    grid-column: 2;
    grid-row: 1;
    margin-top: 360px;
    margin-left: 340px;
}

.login_txt{
    font-family: inter;
    font-size: 20px;
    width: 100%;
    height: 25px;
    margin-left: 3px;
    margin-top: 8px;
    letter-spacing: 0.5px;
    color:#0A575B ;
    overflow: hidden;
}

.log_block{
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 98;
    display:none;
}

.main_login{
    position: relative;
    z-index: 99;
    margin: auto;
    height: 400px;
    width: 400px;
    position: fixed;
    top: 50%;
    left: 50%;
    background-color: white;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-rows: 100px 40px 70px 30px 37px 20px 70px 20px;
}

.back_login{
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: 0.5;
    z-index: 97;
}

.log_block_txt{
    height: 60%;
    font-family: inter;
    font-size:40px;
    color: white;
    margin: 0;
    text-align: center;
    padding-top: 15px;
    padding-bottom: 7px;
    background-color: #0A575B;
}

.auth1{
    margin: 0;
    margin-left: 40px;
    font-family: inter;
    font-size: 20px;
    padding-top: 20px    ;
}

.inp1{
    padding: 0;
    margin: 0;
    margin-left:40px;
    margin-right: 40px;
    height: 30px;
    border: none;
    outline: 2px solid #919191;
    border-radius: 8px;
    margin-top: 10px;
    font-family: inter;
    font-size: 18px;
    font-weight: 500;
    padding-left: 5px;
}

.auth2{
    margin: 0;
    font-family: inter;
    margin-left: 40px;
    font-size: 20px;
}

.inp2{
    border: none;
    outline: 2px solid #919191;
    border-radius: 8px;
    height: 30px;
    font-family: inter;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-right: 40px; /* Место для кнопки */
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
    
}

.end_login{
    margin-left: 40px;
    margin-right: 40px;
    margin-top:20px;
    background-color:#0A575B;
    border: none;
    border-radius: 13px;
    cursor: pointer;
}

.end_txt{
    margin: 0;
    color: white;
    grid-row: 7;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 100;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-container {
    position: relative;
    margin-left: 40px;
    margin-right: 40px;
}

.toggle-password {
    position: absolute;
    right: 5px;
    top: 15px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
}

.eye{
    height: 15px;
    width: 15px;	
}



.create-account-link {
    text-align: center;
    font-family: inter;
    font-size: 14px;
    color: #666;
    margin-top: 7px;
    grid-row: 8;
}

.create-account-link a {
    color: #0A575B;
    text-decoration: none;
    font-weight: 500;
}

.create-account-link a:hover {
    text-decoration: underline;
}

/* Стили для вкладок */
.tabs-section {
    padding: 20px 40px 0;
    margin-top: 50px;
}

.tabs-container {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.tab-btn {
    padding: 12px 30px;
    background: none;
    border: none;
    border-radius: 8px 8px 0 0;
    font-family: inter;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #0A575B;
    color: white;
}

.tab-btn:hover:not(.active) {
    background-color: #f0f0f0;
    color: #0A575B;
}

/* Секция с жильем */
.housing-section {
    display: grid;
    grid-template-columns: 25% 60%;
    gap: 60px;
    padding: 40px;
    margin-top: 20px;
    scroll-margin-top: 190px;
}

/* Секция гольфкаров */
.golfcars-section {
    display: grid;
    grid-template-columns: 25% 60%;
    gap: 60px;
    padding: 40px;
    margin-top: 20px;
    scroll-margin-top: 100px;
}

.housing-content, .golfcars-content {
    display: flex;
    flex-direction: column;
}

/* Левая часть - фильтры */
.filters-sidebar {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    height: fit-content;
}

.filters-title {
    font-family: inter;
    font-size: 28px;
    color: #0A575B;
    margin-bottom: 25px;
    font-weight: 600;
}

.search-container {
    margin-bottom: 25px;
}

.search-input, .search-input-golf {
    width: 85%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus, .search-input-golf:focus {
    border-color: #0A575B;
}

/* Группы фильтров */
.filter-group {
    margin-bottom: 25px;
}

.filter-label {
    display: block;
    font-family: inter;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
}

/* Фильтр площади */
.area-filter {
    margin-bottom: 10px;
}

.area-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    outline: none;
    -webkit-appearance: none;
}

.area-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0A575B;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.area-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0A575B;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.area-values {
    display: flex;
    justify-content: space-between;
    font-family: inter;
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.area-current {
    font-weight: 600;
    color: #0A575B;
}

/* Фильтр спален */
.bedrooms-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    outline: none;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.bedrooms-select:focus {
    border-color: #0A575B;
}

.filters-container {
    margin-bottom: 30px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-family: inter;
    font-size: 16px;
    color: #333;
    position: relative;
    padding-left: 35px;
}

.filter-input, .create-filter, .filter-input-golf, .create-filter-golf {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.filter-checkbox:hover .checkmark {
    border-color: #0A575B;
}

.filter-input:checked ~ .checkmark,
.create-filter:checked ~ .checkmark,
.filter-input-golf:checked ~ .checkmark,
.create-filter-golf:checked ~ .checkmark {
    background-color: #0A575B;
    border-color: #0A575B;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-input:checked ~ .checkmark:after,
.create-filter:checked ~ .checkmark:after,
.filter-input-golf:checked ~ .checkmark:after,
.create-filter-golf:checked ~ .checkmark:after {
    display: block;
}

/* Кнопки создания для админа */
.create-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 50;
}

.admin-btn {
    padding: 15px 25px;
    background-color: #0A575B;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: inter;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.admin-btn:hover {
    background-color: #08484c;
    transform: translateY(-2px);
}

/* Правая часть - карточки */
.housing-cards, .golfcars-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.housing-card, .golfcar-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.housing-card:hover, .golfcar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.housing-card-img, .golfcar-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;	
}

.housing-card-content, .golfcar-card-content {
    padding: 20px;
}

.housing-card-title, .golfcar-card-title {
    font-family: inter;
    font-size: 20px;
    font-weight: 600;
    color: #0A575B;
    margin-bottom: 10px;
}

.housing-card-details {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-family: inter;
    font-size: 14px;
    color: #666;
}

.housing-card-area, .housing-card-bedrooms {
    display: flex;
    align-items: center;
    gap: 5px;
}

.housing-card-features, .golfcar-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.feature-tag {
    background: #e8f4f5;
    color: #0A575B;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-family: inter;
}

/* Модальные окна */
.create-modal, .view-modal, .register-modal, .create-golfcar-modal, .view-golfcar-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.create-content, .view-content, .register-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 70%;
    max-width: 90%;
    z-index: 1002;
    max-height: 80vh;
    overflow-y: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.create-content::-webkit-scrollbar,
.view-content::-webkit-scrollbar,
.register-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.create-backdrop, .view-backdrop, .register-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}

.close-create-btn, .close-view-btn, .close-register-btn, .close-create-golfcar-btn, .close-view-golfcar-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #0A575B;
    cursor: pointer;
}

.create-title, .view-title, .register-title {
    font-family: inter;
    font-size: 28px;
    color: #0A575B;
    margin-bottom: 25px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group label {
    display: block;
    font-family: inter;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.create-name, .create-image, .create-description, .create-golfcar-name, .create-golfcar-image, .create-golfcar-description, .create-area, .create-bedrooms {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.create-image[type="file"], .create-golfcar-image[type="file"] {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 14px;
    background: white;
    cursor: pointer;
}

.create-image[type="file"]:focus, .create-golfcar-image[type="file"]:focus {
    border-color: #0A575B;
}

.create-description, .create-golfcar-description {
    height: 100px;
    resize: vertical;
}

.create-name:focus, .create-image:focus, .create-description:focus, .create-golfcar-name:focus, .create-golfcar-image:focus, .create-golfcar-description:focus, .create-area:focus, .create-bedrooms:focus {
    border-color: #0A575B;
}

.filters-label {
    margin-bottom: 15px !important;
}

.create-filters {
    display: grid;
    gap: 10px;
}

.submit-create-btn, .submit-create-golfcar-btn {
    width: 100%;
    padding: 15px;
    background-color: #0A575B;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: inter;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
}

.submit-create-btn:hover, .submit-create-golfcar-btn:hover {
    background-color: #08484c;
}

.view-details {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-family: inter;
    font-size: 14px;
    color: #666;
}

.view-area, .view-bedrooms {
    background: #e8f4f5;
    color: #0A575B;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 500;
}

.view-description {
    font-family: inter;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.view-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Стили для формы регистрации */
.register-form {
    display: grid;
    gap: 20px;
}

.register-group {
    margin-bottom: 15px;
}

.register-group label {
    display: block;
    font-family: inter;
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}

.register-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.register-input:focus {
    border-color: #0A575B;
}

.submit-register-btn {
    width: 100%;
    padding: 15px;
    background-color: #0A575B;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: inter;
    font-size: 18px;
    cursor: pointer;
    margin-top: 10px;
}

.submit-register-btn:hover {
    background-color: #08484c;
}

/* Стили для контейнеров пароля в регистрации */
.register-group .password-container {
    position: relative;
    margin: 0;
}

.register-group .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.register-group .toggle-password:hover {
    background-color: #f0f0f0;
    border-radius: 50%;
}

.register-group .password-container .register-input {
    padding-right: 40px;
    width: 100%;
}

.small{
	font-family: inter;
}


@media (width < 768px){
	.main{
		gap: 20px;
		grid-template-columns: 40% 45%;
		
	}

	.main__txt{
		height: 60px;
	}
	.img_1, .img_2, .img_3{
		width: 30%;
		margin-top: 260px;
	}

	.img_2{
		margin-left: 35%;
	}

	.img_3{
		margin-left: 70%;
		
	}

	.main__txt{
		font-size: 25px;
		
	}

	.main__un_txt{
		font-size: 15px;
		margin-top: 160px;
	}

	.main__see{
		margin-top: 200px;
	}

	.head__lang{
		right: 180px;
	}

	.head__login{
		right: 40px;
	}

	.search-input, .search-input-golf{
		font-size: 12px;
	}

    .tabs-section {
        padding: 20px 20px 0;
    }
    
    .tabs-container {
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 16px;
    }
    
    .housing-section, .golfcars-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .create-buttons {
        bottom: 20px;
        right: 20px;
    }

    .admin-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (width < 700px){
	.housing-section, .golfcars-section{
		display: block;
		gap: 30px;
	}

	.head__lang{
		right:170px;
	}

}

/* Футер */
.footer {
    background: linear-gradient(135deg, #0A575B 0%, #08484c 100%);
    color: white;
    margin-top: 80px;
    padding: 60px 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
   
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 100px;
    width: 100px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-description {
    font-family: inter;
    font-size: 14px;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-icon {
	padding-right: 4px;
    width: 23px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.footer-title {
    font-family: inter;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-link {
    font-family: inter;
    font-size: 14px;
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: inter;
    font-size: 14px;
    color: #e0e0e0;
}

.contact-icon {

    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}



.newsletter-text {
    font-family: inter;
    font-size: 14px;
    color: #e0e0e0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 8px;
    font-family: inter;
    font-size: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
}

.newsletter-input:focus {
    background: white;
}

.newsletter-btn {
    padding: 12px 20px;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inter;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background: #e55a2b;
}

.payment-methods {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-icon {
    height: 25px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.payment-icon:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    padding: 25px 0;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-family: inter;
    font-size: 14px;
    color: #e0e0e0;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.bottom-link {
    font-family: inter;
    font-size: 14px;
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bottom-link:hover {
    color: white;
    text-decoration: underline;
}

/* Адаптивность для футера */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px 60px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-bottom-links {
        gap: 15px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-bottom-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

/* Стили для выбора языка */
.language-selector {
    position: absolute;
    right: 200px;
    top: 30%;
    z-index: 20;
}

.head__lang {
    width: 60px;
    background: none;
    border: none;
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
}

.lang_line {
    width: 20px;
    margin: auto;
    margin-top: 7px;
}

.lang_txt {
    width: 65%;
    color: white;
    margin: 0;
    font-family: inter;
    font-size: 20px;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 180px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: 10px;
    display: none;
    overflow: hidden;
    z-index: 100;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: #f8f9fa;
}

.language-option.active {
    background-color: #e8f4f5;
}

.language-text {
    font-family: inter;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.language-option[data-lang="ar"] .language-text {
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Адаптивность для выбора языка */
@media (max-width: 768px) {
    .language-selector {
        right: 180px;
    }
    
    .language-dropdown {
        width: 160px;
    }
}

@media (max-width: 700px) {
    .language-selector {
        right: 170px;
    }
    
    .head__lang {
        width: 50px;
    }
    
    .lang_txt {
        font-size: 18px;
    }
}

/* Добавьте эти стили в конец вашего style.css файла */

/* Стили для превью изображений */
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    position: relative;
}

.preview-image:hover {
    border-color: #0A575B;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для календаря */
.calendar {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #0A575B;
    padding: 5px 10px;
    border-radius: 5px;
}

.calendar-nav:hover {
    background: #e8f4f5;
}

.calendar-month {
    font-family: inter;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    text-align: center;
    padding: 10px;
    font-family: inter;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.calendar-date {
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inter;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.calendar-date.available {
    background: white;
    color: #333;
    border-color: #e0e0e0;
}

.calendar-date.available:hover {
    background: #e8f4f5;
    border-color: #0A575B;
}

.calendar-date.booked {
    background: #ffebee;
    color: #d32f2f;
    cursor: not-allowed;
    border-color: #ffcdd2;
}

.calendar-date.selected {
    background: #0A575B;
    color: white;
    border-color: #0A575B;
}

.calendar-date.selected-start {
    background: #0A575B;
    color: white;
    border-color: #0A575B;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.calendar-date.selected-end {
    background: #0A575B;
    color: white;
    border-color: #0A575B;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.calendar-date.in-range {
    background: #e8f4f5;
    color: #0A575B;
    border-radius: 0;
    border-color: #0A575B;
}

.calendar-date.other-month {
    color: #ccc;
    cursor: not-allowed;
}

/* Стили для кнопок просмотра деталей */
.view-details-btn {
    width: 100%;
    padding: 12px;
    background-color: #0A575B;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.view-details-btn:hover {
    background-color: #08484c;
}

/* Стили для выбора дат в форме бронирования */
.date-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.date-input-group {
    display: flex;
    flex-direction: column;
}

.date-input-group label {
    font-family: inter;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.date-input {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 14px;
}

/* Стили для статусов */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    font-family: inter;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-approved {
    background: #d1edff;
    color: #0A575B;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* Стили для прелоадера в карточках */
.housing-cards .loading,
.golfcars-cards .loading {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0A575B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Стили для пустых состояний */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #666;
    font-family: inter;
    font-size: 16px;
}

/* Стили для миниатюр в галерее */
.detail-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: #0A575B;
}

.thumbnail:hover {
    border-color: #0A575B;
}

/* Стили для выбора количества гостей */
.guests-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.guest-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.guest-btn:hover {
    background: #f0f0f0;
}

.guest-count {
    font-family: inter;
    font-size: 16px;
    font-weight: 500;
    min-width: 30px;
    text-align: center;
}

/* Стили для модального окна отзыва */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.review-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1002;
}

.review-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}

.close-review-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #0A575B;
    cursor: pointer;
}

.review-title {
    font-family: inter;
    font-size: 28px;
    color: #0A575B;
    margin-bottom: 25px;
    text-align: center;
}

/* Стили для страниц моих бронирований и отзывов */
.bookings-page, .reviews-page {
    padding: 120px 40px 40px;
    min-height: 100vh;
    background: #f8f9fa;
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-container h1 {
    font-family: inter;
    font-size: 32px;
    color: #0A575B;
    margin-bottom: 30px;
}

.booking-item, .my-review-item {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.booking-header, .review-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.booking-title, .review-item-title {
    font-family: inter;
    font-size: 18px;
    font-weight: 600;
    color: #0A575B;
}

.booking-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.booking-detail {
    font-family: inter;
    font-size: 14px;
    color: #666;
}

.booking-detail strong {
    color: #333;
}

.review-dates {
    margin-top: 10px;
    font-family: inter;
    font-size: 12px;
    color: #999;
}

/* Стили для уведомлений */
.notification {
    position: fixed;
    top: 120px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-family: inter;
    font-size: 14px;
    z-index: 10000;
    max-width: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.notification.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.notification.info {
    background: #d1edff;
    color: #0A575B;
    border: 1px solid #b3d9ff;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .calendar-date {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .date-selection {
        grid-template-columns: 1fr;
    }
    
    .booking-header, .review-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .booking-details {
        grid-template-columns: 1fr;
    }
    
    .review-content {
        width: 95%;
        padding: 20px;
    }
    
    .bookings-page, .reviews-page {
        padding: 100px 20px 20px;
    }
    
    .image-preview {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        gap: 2px;
    }
    
    .calendar-date {
        padding: 6px 2px;
        font-size: 11px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

/* Стили для выбора сидений в создании гольфкара */
.create-golfcar-seats {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    outline: none;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
}

.create-golfcar-seats:focus {
    border-color: #0A575B;
}

/* Стили для индикатора загрузки при отправке форм */
.submit-create-btn:disabled,
.submit-create-golfcar-btn:disabled,
.submit-register-btn:disabled,
.submit-booking-btn:disabled,
.submit-review-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.submit-create-btn.loading::after,
.submit-create-golfcar-btn.loading::after,
.submit-register-btn.loading::after,
.submit-booking-btn.loading::after,
.submit-review-btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
    display: inline-block;
}


/* Добавить в конец style.css */

/* Стили для превью изображений */
.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.preview-image:hover {
    border-color: #0A575B;
}

.remove-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview-item {
    position: relative;
    display: inline-block;
}

/* Стили для карточек без изображений */
.no-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-family: inter;
    font-size: 14px;
    border-radius: 15px 15px 0 0;
}

/* Индикатор загрузки для кнопок */
.btn-loading {
    position: relative;
    color: transparent;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-right-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Валидация форм */
input:invalid, textarea:invalid, select:invalid {
    border-color: #ff4444;
}

input:valid, textarea:valid, select:valid {
    border-color: #0A575B;
}

/* Адаптивность для превью изображений */
@media (max-width: 768px) {
    .image-preview {
        justify-content: center;
    }
    
    .preview-image {
        width: 60px;
        height: 60px;
    }
}


/* Стили для админских кнопок в карточках */
.card-admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.admin-edit-btn, .admin-delete-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-family: inter;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-edit-btn {
    background-color: #0A575B;
    color: white;
}

.admin-edit-btn:hover {
    background-color: #08484c;
    transform: translateY(-1px);
}

.admin-delete-btn {
    background-color: #dc3545;
    color: white;
}

.admin-delete-btn:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

/* Стили для админских кнопок в детальном просмотре */
.detail-admin-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.detail-edit-btn, .detail-delete-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: inter;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.detail-edit-btn {
    background-color: #0A575B;
    color: white;
}

.detail-edit-btn:hover {
    background-color: #08484c;
    transform: translateY(-2px);
}

.detail-delete-btn {
    background-color: #dc3545;
    color: white;
}

.detail-delete-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Адаптивность для админских кнопок */
@media (max-width: 768px) {
    .card-admin-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .detail-admin-actions {
        flex-direction: column;
    }
    
    .detail-edit-btn, .detail-delete-btn {
        text-align: center;
    }
}

/* Стили для меню пользователя */
.user-menu {
    position: absolute;
    right: 50px;
    top: 27%;
    z-index: 100;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    color: white;
    font-family: inter;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.user-name {
    font-weight: 500;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: white;
    white-space: nowrap;
}

.user-icon {

    height: 20px;
    object-fit: cover;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.user-profile-btn:hover .user-icon {
    transform: scale(1.1);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    box-shadow: -2px -2px 5px rgba(0, 0, 0, 0.05);
}

.user-option {
    padding: 15px 20px;
    font-family: inter;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-option:last-child {
    border-bottom: none;
}

.user-option:hover {
    background: #f8f9fa;
    color: #0A575B;
    padding-left: 25px;
}

.user-option:active {
    background: #e8f4f5;
}

.user-option[data-action="logout"] {
    color: #dc3545;
}

.user-option[data-action="logout"]:hover {
    background: #f8d7da;
    color: #c82333;
}

/* Улучшенные стили для детальных страниц */
.detail-page {
    padding: 120px 40px 40px;
    min-height: 100vh;
    background: #f8f9fa;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.back-btn {
    position: absolute;
    top: 140px;
    left: 40px;
    padding: 12px 20px;
    background: #0A575B;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: #08484c;
    transform: translateX(-5px);
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 80vh;
}

.detail-images {
    position: relative;
    background: #f8f9fa;
}

.detail-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 0;
}

.detail-thumbnails {
    display: flex;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
    background: white;
    border-top: 1px solid #e0e0e0;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: #0A575B;
    transform: scale(1.05);
}

.thumbnail:hover {
    border-color: #0A575B;
}

.detail-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-info h1 {
    font-family: inter;
    font-size: 32px;
    color: #0A575B;
    margin: 0;
    line-height: 1.2;
}

.detail-rating {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
}

.rating-stars {
    font-size: 20px;
    color: #FFD700;
    letter-spacing: 2px;
}

.rating-value {
    font-family: inter;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.reviews-count {
    font-family: inter;
    font-size: 14px;
    color: #666;
}

.detail-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.detail-area, .detail-bedrooms {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #e8f4f5;
    color: #0A575B;
    border-radius: 20px;
    font-family: inter;
    font-size: 14px;
    font-weight: 500;
}

.detail-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
}

.detail-description {
    font-family: inter;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Секция бронирования */
.booking-section {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
}

.booking-section h3 {
    font-family: inter;
    font-size: 20px;
    color: #0A575B;
    margin-bottom: 20px;
}

.calendar-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.booking-form {
    display: grid;
    gap: 20px;
}

.booking-form .form-group {
    margin-bottom: 0;
}

.booking-phone, .booking-guests, .booking-requests {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.booking-phone:focus, .booking-guests:focus, .booking-requests:focus {
    border-color: #0A575B;
}

.booking-requests {
    height: 80px;
    resize: vertical;
}

.submit-booking-btn {
    width: 100%;
    padding: 15px;
    background-color: #0A575B;
    color: white;
    border: none;
    border-radius: 10px;
    font-family: inter;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-booking-btn:hover {
    background-color: #08484c;
}

.submit-booking-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Секция отзывов */
.reviews-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.reviews-section h3 {
    font-family: inter;
    font-size: 20px;
    color: #0A575B;
    margin-bottom: 20px;
}

.review-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-user {
    font-family: inter;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.review-date {
    font-family: inter;
    font-size: 12px;
    color: #999;
}

.review-rating {
    margin-bottom: 10px;
    font-size: 16px;
    color: #FFD700;
}

.review-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.review-likes, .review-dislikes {
    font-family: inter;
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

.review-likes strong, .review-dislikes strong {
    color: #333;
}

/* Индикатор выбранных дат */
.selected-dates-display {
    background: #e8f4f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #0A575B;
}

.selected-dates-display p {
    margin: 0;
    font-family: inter;
    font-size: 14px;
    color: #0A575B;
    font-weight: 500;
}

.selected-dates-display .dates {
    font-size: 16px;
    margin-top: 5px;
    font-weight: 600;
}

/* Адаптивность для меню пользователя */
@media (max-width: 768px) {
    .user-menu {
        right: 20px;
    }
    
    .user-profile-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .user-name {
        max-width: 80px;
    }
    
    .user-dropdown {
        width: 180px;
        right: -10px;
    }
    
    .user-dropdown::before {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .user-name {
        display: none;
    }
    
    .user-profile-btn {
        padding: 8px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
}

/* Адаптивность для детальных страниц */
@media (max-width: 1024px) {
    .detail-content {
        grid-template-columns: 1fr;
    }
    
    .detail-images {
        height: 400px;
    }
    
    .detail-main-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .detail-page {
        padding: 100px 20px 20px;
    }
    
    .back-btn {
        top: 120px;
        left: 20px;
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .detail-info {
        padding: 25px;
    }
    
    .detail-info h1 {
        font-size: 24px;
    }
    
    .detail-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .booking-section {
        padding: 20px;
    }
    
    .calendar-container {
        padding: 15px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .detail-info {
        padding: 20px;
    }
    
    .detail-info h1 {
        font-size: 20px;
    }
    
    .detail-rating {
        font-size: 14px;
    }
    
    .rating-stars {
        font-size: 16px;
    }
    
    .booking-section {
        padding: 15px;
    }
    
    .review-item {
        padding: 15px;
    }
}

.admin-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.refresh-btn {
    padding: 8px 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.refresh-btn:hover {
    background: #218838;
}

.bookings-grid {
    display: grid;
    gap: 20px;
}

.admin-booking-item {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.admin-booking-item.pending {
    border-left-color: #ffc107;
}

.admin-booking-item.confirmed {
    border-left-color: #28a745;
}

.admin-booking-item.cancelled {
    border-left-color: #dc3545;
}

.admin-booking-item.completed {
    border-left-color: #6c757d;
}

.booking-header {
    display: flex;
    justify-content: between;
    align-items: center;
    margin-bottom: 15px;
}

.booking-title {
    font-size: 18px;
    font-weight: bold;
    flex-grow: 1;
}

.user-info {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.booking-details {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

.booking-detail {
    display: flex;
    gap: 10px;
}

.booking-detail strong {
    min-width: 120px;
}

.status-select {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

.booking-meta {
    border-top: 1px solid #eee;
    padding-top: 10px;
    font-size: 12px;
    color: #666;
}

.booking-actions {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cancel-booking-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.cancel-booking-btn:hover {
    background: #c82333;
}

.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirmed {
    background: #d1edff;
    color: #004085;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.create-booking-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.create-booking-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1e9e8a 100%);
}

.create-booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.create-booking-modal .modal-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group select,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-group textarea {
    height: 80px;
    resize: vertical;
}

.users-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.user-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #007bff;
}

.user-card.admin {
    border-left-color: #dc3545;
}

.user-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.user-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.user-email {
    color: #666;
    margin-bottom: 10px;
    word-break: break-all;
}

.user-details {
    display: grid;
    gap: 8px;
    margin-bottom: 15px;
}

.user-detail {
    display: flex;
    justify-content: space-between;
}

.user-detail strong {
    color: #333;
}

.user-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.user-action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.btn-edit {
    background: #ffc107;
    color: #000;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-impersonate {
    background: #28a745;
    color: white;
}

/* Стили для открытия в новой вкладке */
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.housing-card, .golfcar-card {
    position: relative;
}

.card-external-link {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 2;
}

.housing-card:hover .card-external-link,
.golfcar-card:hover .card-external-link {
    opacity: 1;
}

.card-external-link:hover {
    background: white;
    transform: scale(1.1);
}

.card-external-link svg {
    width: 16px;
    height: 16px;
    fill: #0A575B;
}

/* Улучшенные стили для календаря с возможностью отмены */
.calendar-date.selected-start,
.calendar-date.selected-end {
    position: relative;
    cursor: pointer;
}

.calendar-date.selected-start::after,
.calendar-date.selected-end::after {
    content: '×';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-date.selected-start:hover::after,
.calendar-date.selected-end:hover::after {
    opacity: 1;
}

/* Стили для админских действий в детальном просмотре */
.detail-admin-actions {
    display: flex;
    gap: 15px;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-edit-btn, .detail-delete-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: inter;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
}

.detail-edit-btn {
    background-color: #0A575B;
    color: white;
}

.detail-edit-btn:hover {
    background-color: #08484c;
    transform: translateY(-2px);
}

.detail-delete-btn {
    background-color: #dc3545;
    color: white;
}

.detail-delete-btn:hover {
    background-color: #c82333;
    transform: translateY(-2px);
}

/* Индикатор выбранных дат с кнопкой отмены */
.selected-dates-display {
    position: relative;
    background: #e8f4f5;
    padding: 15px 40px 15px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #0A575B;
}

.clear-dates-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-dates-btn:hover {
    background: #c82333;
}

/* Адаптивность для новых элементов */
@media (max-width: 768px) {
    .detail-admin-actions {
        flex-direction: column;
    }
    
    .card-external-link {
        opacity: 1;
        background: rgba(255, 255, 255, 0.7);
    }
    
    .selected-dates-display {
        padding: 12px 35px 12px 12px;
    }
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none; /* Добавьте эту строку */
}

/* Стили для модальных окон редактирования */
.edit-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.edit-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1002;
}

.edit-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}

.close-edit-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #0A575B;
    cursor: pointer;
}

.edit-title {
    font-family: inter;
    font-size: 28px;
    color: #0A575B;
    margin-bottom: 25px;
    text-align: center;
}

/* Стили для текущих изображений */
.current-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.current-image-item {
    position: relative;
    display: inline-block;
}

.current-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.remove-current-image {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4444;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Улучшенные стили для календаря */
.calendar-date.selected-start::after,
.calendar-date.selected-end::after {
    content: '×';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.calendar-date.selected-start:hover::after,
.calendar-date.selected-end:hover::after {
    opacity: 1;
}

/* Стили для кнопки очистки дат */
.clear-dates-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 10px;
}

.clear-dates-btn:hover {
    background: #c82333;
}

/* Стили для перевода */
.language-option {
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

/* Улучшенные стили для карточек */
.housing-card-img, .golfcar-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease;
}

.housing-card:hover .housing-card-img,
.golfcar-card:hover .golfcar-card-img {
    transform: scale(1.05);
}

/* Стили для админских кнопок в карточках */
.card-admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.admin-edit-btn, .admin-delete-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-family: inter;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.admin-edit-btn {
    background-color: #0A575B;
    color: white;
}

.admin-edit-btn:hover {
    background-color: #08484c;
    transform: translateY(-1px);
}

.admin-delete-btn {
    background-color: #dc3545;
    color: white;
}

.admin-delete-btn:hover {
    background-color: #c82333;
    transform: translateY(-1px);
}

/* Адаптивность для модальных окон */
@media (max-width: 768px) {
    .edit-content {
        width: 95%;
        padding: 20px;
    }
    
    .current-images {
        justify-content: center;
    }
    
    .card-admin-actions {
        flex-direction: column;
    }
}

/* RTL поддержка для арабского языка */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .header {
    flex-direction: row-reverse;
}

[dir="rtl"] .language-selector {
    right: auto;
    left: 200px;
}

[dir="rtl"] .user-menu {
    right: auto;
    left: 50px;
}

[dir="rtl"] .back-btn {
    left: auto;
    right: 40px;
}

/* Адаптивность для RTL */
@media (max-width: 768px) {
    [dir="rtl"] .language-selector {
        left: 180px;
    }
    
    [dir="rtl"] .user-menu {
        left: 20px;
    }
    
    [dir="rtl"] .back-btn {
        right: 20px;
    }
}

/* Исправления для карточек */
.card-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.housing-card:hover .card-image,
.golfcar-card:hover .card-image {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-family: inter;
    font-size: 14px;
    border-radius: 15px 15px 0 0;
}

/* Исправления для детальной страницы */
.detail-images {
    position: relative;
    background: #f8f9fa;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.detail-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

.detail-thumbnails {
    display: flex;
    gap: 10px;
    padding: 20px;
    overflow-x: auto;
    background: white;
    border-top: 1px solid #e0e0e0;
    min-height: 100px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: #0A575B;
    transform: scale(1.05);
}

/* Стили для календаря */
.calendar {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.calendar-nav {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #0A575B;
    padding: 5px 10px;
    border-radius: 5px;
}

.calendar-nav:hover {
    background: #e8f4f5;
}

.calendar-month {
    font-family: inter;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    text-align: center;
    padding: 10px;
    font-family: inter;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.calendar-date {
    text-align: center;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inter;
    font-size: 14px;
    transition: all 0.3s;
    border: 1px solid transparent;
    position: relative;
}

.calendar-date.available {
    background: white;
    color: #333;
    border-color: #e0e0e0;
}

.calendar-date.available:hover {
    background: #e8f4f5;
    border-color: #0A575B;
}

.calendar-date.past {
    background: #f8f9fa;
    color: #ccc;
    cursor: not-allowed;
}

.calendar-date.selected-start,
.calendar-date.selected-end {
    background: #0A575B;
    color: white;
    border-color: #0A575B;
}

.calendar-date.in-range {
    background: #e8f4f5;
    color: #0A575B;
    border-radius: 0;
    border-color: #0A575B;
}

.calendar-date.other-month {
    color: #ccc;
    cursor: not-allowed;
}

.cancel-date {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-date.selected-start:hover .cancel-date,
.calendar-date.selected-end:hover .cancel-date {
    opacity: 1;
}

/* Форма бронирования */
.booking-form {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: inter;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.booking-phone,
.booking-guests,
.booking-requests {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inter;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.booking-phone:focus,
.booking-guests:focus,
.booking-requests:focus {
    border-color: #0A575B;
}

.booking-requests {
    height: 80px;
    resize: vertical;
}

.selected-dates-display {
    position: relative;
    background: #e8f4f5;
    padding: 15px 40px 15px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #0A575B;
}

.clear-dates-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-dates-btn:hover {
    background: #c82333;
}


.page-section{
    padding-left: 40px;
    padding-right: 40px;
}

.detail-container{
    padding-top: 150px;
}

.detail-body{
    margin: 0;
}

/* Forgot Password Link */
.forgot-password-link {
    text-align: center;
    margin-top: 15px;
}

.forgot-password-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password-link a:hover {
    text-decoration: underline;
}

/* Forgot Password Modal */
.forgot-password-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.forgot-password-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1001;
    min-width: 400px;
    max-width: 90%;
}

.forgot-password-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.forgot-password-title {
    margin-bottom: 20px;
    text-align: center;
    font-size: 24px;
}

.back-to-login-link {
    text-align: center;
    margin-top: 15px;
}

.back-to-login-link a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.back-to-login-link a:hover {
    text-decoration: underline;
}

.remember_password{
    font-family: inter;
    font-size: 14px;
    margin: auto;
    color: #666;
    
}

.showReset{
    text-decoration: none;
    color: #0A575B;
    cursor: pointer;
}

.showReset:hover{
    text-decoration: underline;
}
/* ========== CALENDAR STYLES ========== */

/* Calendar Container */
.calendar-container {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(10, 87, 91, 0.1);
    margin: 30px 0;
    border: 2px solid #e0f7fa;
    font-family: 'Inter', sans-serif;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0A575B;
}

.calendar-month {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #0A575B;
    text-align: center;
    flex-grow: 1;
}

.calendar-nav {
    background: #0A575B;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #08746b;
    transform: scale(1.1);
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.calendar-day {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #0A575B;
    padding: 12px 0;
    font-size: 15px;
    background: #e0f7fa;
    border-radius: 10px;
}

.calendar-date {
    text-align: center;
    padding: 15px 0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    border: 2px solid transparent;
    background: #f8fdfe;
    color: #0A575B;
}

.calendar-date:hover {
    background: #e0f7fa;
    border-color: #0A575B;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(10, 87, 91, 0.2);
}

.calendar-date.available {
    background: #e8f8f9;
    color: #0A575B;
    border-color: #a8e6cf;
}

.calendar-date.booked {
    background: #ffebee;
    color: #d32f2f;
    cursor: not-allowed;
    opacity: 0.7;
    text-decoration: line-through;
    border-color: #ffcdd2;
}

.calendar-date.booked:hover {
    transform: none;
    box-shadow: none;
    background: #ffebee;
}

.calendar-date.other-month {
    color: #b0bec5;
    background: #f5f5f5;
    cursor: not-allowed;
}

.calendar-date.other-month:hover {
    transform: none;
    box-shadow: none;
    background: #f5f5f5;
    border-color: transparent;
}

.calendar-date.selected-start {
    background: #0A575B;
    color: white;
    font-weight: 500;
    border-color: #08746b;
}

.calendar-date.selected-end {
    background: #0A575B;
    color: white;
    font-weight: 500;
    border-color: #08746b;
}

.calendar-date.in-range {
    background: #b2ebf2;
    color: #006064;
    border-color: #80deea;
}

/* Selected Dates Display */
.selected-dates-display {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border: 2px solid #0A575B;
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.5s ease;
    font-family: 'Inter', sans-serif;
}

.selected-dates-display strong {
    color: #0A575B;
    margin-right: 15px;
    font-size: 18px;
    font-weight: 500;
}

#selectedDatesText {
    color: #006064;
    font-weight: 500;
    flex-grow: 1;
    font-size: 17px;
    letter-spacing: 0.5px;
}

.clear-dates-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clear-dates-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
}

/* Booking Section */
.booking-section {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(10, 87, 91, 0.15);
    margin: 40px 0;
    border: 2px solid #e0f7fa;
}

.booking-section h3 {
    font-family: 'Inter', sans-serif;
    font-size: 26px;
    color: #0A575B;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0A575B;
    font-weight: 500;
}

.booking-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    color: #0A575B;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 15px;
    border: 2px solid #919191;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    background: #f8fdfe;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0A575B;
    box-shadow: 0 0 0 3px rgba(10, 87, 91, 0.1);
    background: white;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Book Button */
.submit-booking-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0A575B 0%, #08746b 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 19px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-booking-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.submit-booking-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #08746b 0%, #065a54 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 87, 91, 0.3);
}

.submit-booking-btn:not(:disabled):active {
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(-15px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.3s ease;
}

/* Days Counter */
.days-counter {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 12px;
    background: #f8fdfe;
    border-radius: 10px;
    border: 1px solid #e0f7fa;
}

.days-counter span {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #0A575B;
    font-weight: 500;
}

#daysCount {
    background: #0A575B;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

/* Calendar Hint */
.calendar-hint {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    padding: 10px;
    background: #f8fdfe;
    border-radius: 10px;
    border: 1px solid #e0f7fa;
}

.calendar-hint span {
    color: #0A575B;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .calendar-container {
        padding: 15px;
        margin: 20px 0;
    }
    
    .calendar-grid {
        gap: 5px;
    }
    
    .calendar-date {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .selected-dates-display {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .clear-dates-btn {
        width: 100%;
        justify-content: center;
    }
    
    .booking-section {
        padding: 20px;
    }
}

/* ========== BOOKING CALENDAR ========== */

.booking-calendar {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(10, 87, 91, 0.1);
    border: 2px solid #e0f7fa;
    font-family: 'Inter', sans-serif;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0A575B;
}

.calendar-month-year {
    text-align: center;
    font-size: 22px;
    font-weight: 500;
    color: #0A575B;
}

.calendar-month {
    margin-right: 5px;
}

.calendar-nav {
    background: #0A575B;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar-nav:hover {
    background: #08746b;
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 10px;
}

.weekday {
    text-align: center;
    font-weight: 500;
    color: #0A575B;
    padding: 10px 0;
    font-size: 14px;
}

.calendar-dates {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.date-btn {
    aspect-ratio: 1;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: #f8fdfe;
    color: #0A575B;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.date-btn:hover {
    background: #e0f7fa;
    border-color: #0A575B;
    transform: translateY(-2px);
}

.date-btn.available {
    background: #e8f8f9;
    border-color: #a8e6cf;
}

.date-btn.booked {
    background: #ffebee;
    color: #d32f2f;
    cursor: not-allowed;
    opacity: 0.7;
    text-decoration: line-through;
}

.date-btn.booked:hover {
    transform: none;
    background: #ffebee;
}

.date-btn.other-month {
    color: #b0bec5;
    background: #f5f5f5;
    cursor: not-allowed;
}

.date-btn.other-month:hover {
    transform: none;
    background: #f5f5f5;
}

.date-btn.selected {
    background: #0A575B;
    color: white;
    font-weight: 500;
    border-color: #08746b;
}

.date-btn.in-range {
    background: #b2ebf2;
    color: #006064;
    border-color: #80deea;
}

.date-btn.today {
    background: #ffeb3b;
    color: #0A575B;
    font-weight: bold;
}

.selected-dates-info {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border: 2px solid #0A575B;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: fadeIn 0.5s ease;
}

.selected-dates-info strong {
    color: #0A575B;
    font-size: 18px;
    margin-right: 10px;
}

#selectedDatesRange {
    color: #006064;
    font-weight: 500;
    flex-grow: 1;
}

.clear-dates-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.clear-dates-btn:hover {
    background: #ff5252;
    transform: translateY(-2px);
}

.booking-form {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e0f7fa;
}

.booking-form .form-group {
    margin-bottom: 15px;
}

.booking-form label {
    display: block;
    margin-bottom: 5px;
    color: #0A575B;
    font-weight: 500;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #919191;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #0A575B;
    box-shadow: 0 0 0 3px rgba(10, 87, 91, 0.1);
}

.book-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #0A575B 0%, #08746b 100%);
    color: white;
    border: none;
    border-radius: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.book-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.book-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #08746b 0%, #065a54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 87, 91, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.3s ease;
}

/* Адаптивность */
@media (max-width: 768px) {
    .booking-calendar {
        padding: 15px;
    }
    
    .calendar-month-year {
        font-size: 18px;
    }
    
    .date-btn {
        font-size: 14px;
    }
    
    .selected-dates-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Индикатор выбранных дат с кнопкой отмены - ИСПРАВЛЕНО */
.selected-dates-display {
    position: relative;
    background: #e8f4f5;
    padding: 15px 50px 15px 15px; /* Увеличиваем правый отступ */
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #0A575B;
    min-height: 50px; /* Минимальная высота */
    display: flex;
    align-items: center;
    word-break: break-word; /* Перенос длинного текста */
}

.clear-dates-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Запрещаем сжатие */
    z-index: 2; /* Поднимаем над текстом */
}

.clear-dates-btn:hover {
    background: #c82333;
}

/* Альтернативный вариант с flexbox */
.selected-dates-display.flex-version {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.selected-dates-text {
    flex-grow: 1;
    margin-right: 15px;
    word-break: break-word;
}

.clear-dates-btn.flex-btn {
    position: static;
    transform: none;
    flex-shrink: 0;
}

/* Улучшенный вариант для нового стиля */
.selected-dates-info {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border: 2px solid #0A575B;
    border-radius: 15px;
    padding: 20px 60px 20px 20px; /* Больше правого отступа */
    margin: 20px 0;
    position: relative;
    min-height: 60px;
    display: flex;
    align-items: center;
    animation: fadeIn 0.5s ease;
}

.selected-dates-info strong {
    color: #0A575B;
    font-size: 18px;
    margin-right: 10px;
    white-space: nowrap; /* Не переносить "Выбранные даты:" */
}

#selectedDatesRange {
    color: #006064;
    font-weight: 500;
    flex: 1;
    word-break: break-word;
    padding-right: 10px; /* Отступ от кнопки */
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .selected-dates-display {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 40px 15px 15px;
    }
    
    .selected-dates-info {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 50px 15px 15px;
    }
    
    #selectedDatesRange {
        margin: 10px 0;
        width: 100%;
    }
    
    .clear-dates-btn {
        top: 15px;
        right: 10px;
        transform: none;
    }
}

/* Для очень длинных дат */
.selected-dates-display.multiline {
    flex-wrap: wrap;
    padding-bottom: 45px; /* Место для кнопки */
}

.selected-dates-display.multiline .clear-dates-btn {
    top: auto;
    bottom: 10px;
    right: 10px;
    transform: none;
}

.selected-dates-info {
    /* Добавьте эти свойства к существующим */
    padding: 20px 60px 20px 20px;
    position: relative;
    min-height: 60px;
}

.selected-dates-info .clear-dates-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
}

@media(width < 384px){
    .main__un_txt{
        margin-top: 130px;
    }
}

@media(width < 530px){
    .head__login{
        right: 18px;
    }
    
    .language-selector{
        right: 130px;
    }
}