/* public/css/favorite.css */
/* Базовые стили кнопки */

.favorite-btn-wrapper {
	position: absolute;
	top: 1rem;
	left: 1.8rem;
	width: auto;
	height: auto;
	background-color: hsla(0, 0%, 100%, 0.9);
	/* border-radius: 50%; */
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 9999;
	border: none;
	background: none;
}
.favorite-btn-wrapper button {
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	background: white;
}
.favorite-btn-text {
	display: block;
	font-size: 0.7rem;
	color: #484848;
	background-color: rgba(211, 211, 211, 0.9);
	border-top-right-radius: 10%;
	border-bottom-right-radius: 10%;
	width: 100%;
	height: 1.5rem;
	padding: 0.5rem;
	font-weight: 600;
	letter-spacing: 0.1rem;
	margin-left: -10px;
	text-transform: uppercase;
}
.favorite-btn-0,
.favorite-btn--1 {
	/* background: none; */
	border: none;
	cursor: pointer;
	/* padding: 5px; */
	transition: all 0.3s ease;
	outline: none;
}

/* .fa-star:before {
	background-color: rgba(211, 211, 211, 0.9);
	border-radius: 50%;
	padding: 0.5rem;
} */

.favorite-btn-0:focus,
.favorite-btn--1:focus {
	border: none;
	outline: none;
}

/* Состояние "не в избранном" */
.favorite-btn-0 i.fa-star {
	color: #48484880;
}

/* Состояние "в избранном" */
.favorite-btn--1 i.fa-star {
	color: gold;
	text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

/* Эффекты при наведении */
.favorite-btn-0:hover i.fa-star {
	color: #484848;
}

.favorite-btn--1:hover i.fa-star {
	color: #ffd700;
	transform: scale(1.1);
}

/* Стили для страницы избранного */
.property-location p {
	font-size: 1.2rem;
}

.property-img {
	position: relative;
}

/* Кнопка удаления из избранного */
.remove-favorite {
	position: absolute;
	top: 10px;
	left: 10px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 2;
	border: none;
	outline: none;
}

.remove-favorite i {
	color: gold;
	font-size: 18px;
}

.remove-favorite:hover {
	background: gold;
	border: none;
	outline: none;
}

.remove-favorite:focus {
	border: 1px solid gold;
	outline: none;
}

.remove-favorite:hover i {
	color: #fff;
}

/* Стили для списка цен */
.price-list {
	list-style: none;
	padding: 0;
	margin: 0;
	margin-top: 10px;
}

.price-list li {
	display: flex;
	height: 1.8rem;
	border-bottom: 1px hsla(0, 0%, 100%, 0.3) solid;
	font-size: 1.3rem;
	color: #fff;
}

.price-list .price-type {
	white-space: nowrap;
	width: 50%;
	font-size: 1.2rem;
	align-self: center;
}

.price-list .price-type img {
	width: 1.8rem;
	height: 1.8rem;
}

.price-list .price-value {
	font-size: 1.3rem;
	font-weight: bold;
	align-self: center;
	flex-grow: 1;
	text-align: right;
}

.price-list .price-value a {
	color: #afeeee;
	font-weight: normal;
}

/* Стили для списка характеристик */
.property-bottom-list-ul li {
	font-size: 1.1rem;
}

.property-bottom-list-ul li span a {
	color: #afeeee;
}

/* Стили для кнопки перехода к списку закладок */
.to-favorite-list-btn-wrapper {
	position: fixed;
	top: 50%;
	left: -200px; /* Начальная позиция за пределами экрана */
	transform-origin: 0 50%;
	transform: translateY(-50%) rotate(-90deg);
	z-index: 9999;
	transition: all 0.3s ease;
	width: 200px;
	height: 45px;
}

.to-favorite-list-btn-wrapper.visible {
	left: 15px; /* Отступ от края экрана */
}

.to-favorite-list-btn {
	box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	border: 1px solid #e0e0e0;
	background: white;
	padding: 0.8rem 1.5rem;
	font-size: 1.1rem;
	white-space: nowrap;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	color: #484848 !important;
}

.to-favorite-list-btn i.fa-star {
	color: gold;
	margin-right: 0.8rem;
	font-size: 1.2rem;
}

.to-favorite-list-btn:hover {
	background: #f8f9fa;
	text-decoration: none;
}
