
.swiper {
width: 100%;
height: 300px;
}

.swiper-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}

.swiper-slide.locked-slide {
background-color: #f5f5f5;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: #666;
}

.swiper-slide i {
font-size: 3rem;
margin-bottom: 1rem;
}

.card {
position: relative;
}

.login-message {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: white;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
z-index: 1000;
display: none;
}

.login-message-backdrop {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
display: none;
}

.filter-section {
background-color: #f8f9fa;
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
}

.filter-card {
border: none;
background: transparent;
}

.filter-button {
width: 100%;
text-align: left;
padding: 10px;
background: none;
border: none;
color: #212529;
}

.filter-button:hover {
background-color: #e9ecef;
}

.filter-content {
padding: 15px;
}

/* Styled Price Range Slider */
.price-range-wrapper {
position: relative;
padding: 20px 0;
width: 100%;
}

.price-range-track {
position: relative;
width: 100%;
height: 5px;
background: #ddd;
border-radius: 5px;
}

.price-range-fill {
position: absolute;
height: 5px;
background: #0d6efd;
border-radius: 5px;
}

.price-range {
position: absolute;
width: 100%;
height: 0;
-webkit-appearance: none;
pointer-events: none;
outline: none;
background: none;
}

.price-range::-webkit-slider-thumb {
-webkit-appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #0d6efd;
cursor: pointer;
margin-top: -8px;
pointer-events: auto;
border: 2px solid #fff;
}

.price-range::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: #0d6efd;
cursor: pointer;
pointer-events: auto;
border: 2px solid #fff;
}

.price-display {
margin-top: 10px;
text-align: center;
font-size: 1rem;
font-weight: 500;
color: #333;
}
.save-button {
width: 40px;
height: 40px;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}

.save-button i {
font-size: 1.2rem;
}
/* Card Styling */
.card {
border-radius: 12px;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card-img-top {
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}

.card-body {
background: #ffffff;
border-bottom-left-radius: 12px;
border-bottom-right-radius: 12px;
}

/* Swiper Styling */
.swiper {
width: 100%;
height: 200px;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
}

.swiper-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}

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

.swiper-pagination-bullet-active {
background: #0d6efd;
opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
color: #0d6efd;
background: rgba(255, 255, 255, 0.8);
padding: 10px;
border-radius: 50%;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
}

.swiper-button-next::after,
.swiper-button-prev::after {
font-size: 1rem;
}

/* Save Button Styling */
.save-button {
width: 36px;
height: 36px;
padding: 0;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background-color 0.2s ease;
}

.save-button:hover {
background-color: rgba(13, 110, 253, 0.1);
}

.save-button i {
font-size: 1rem;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    color: #222222;
    line-height: 1.6;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 24px;
}

.listing-header {
    margin-bottom: 24px;
}

.listing-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 8px;
}

.listing-location {
    color: #717171;
    font-size: 14px;
}

.photos-container {
    position: relative;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    grid-gap: 8px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 48px;
}

.photo-main {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: opacity 0.3s;
}

.photo-item:hover {
    opacity: 0.9;
}

.show-all-photos {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background-color: white;
    border: 1px solid #DDDDDD;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.show-all-photos:hover {
    transform: scale(1.05);
}

.photo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    padding: 24px;
    max-width: 1200px;
    margin: 40px auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 24px;
    position: sticky;
    top: 0;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 16px;
    z-index: 2;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.modal-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 16px;
}

.modal-photo-wrapper {
    position: relative;
    width: 100%;
}

.modal-photo-wrapper:nth-child(3n+1) {
    grid-row: span 2;
}

.modal-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.listing-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    margin-top: 32px;
}

.section {
    padding: 32px 0;
    border-bottom: 1px solid #DDDDDD;
}

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

.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

.price-card {
    position: sticky;
    top: 80px;
    background: white;
    border: 1px solid #DDDDDD;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.price {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review {
    padding: 24px 0;
    border-bottom: 1px solid #DDDDDD;
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.review-username {
    font-weight: 600;
}

.review-rating {
    color: #717171;
}

@media (max-width: 768px) {
    .listing-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .photos-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 200px);
    }

    .photo-main {
        grid-column: span 1;
        grid-row: span 1;
    }

    .modal-photos {
        grid-template-columns: 1fr;
    }

    .modal-photo-wrapper:nth-child(3n+1) {
        grid-row: span 1;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }
}

.youtube-video {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.star-rating {
    margin-bottom: 1rem;
}

.rating-stars {
    display: inline-flex;
    gap: 5px;
    flex-direction: row;
}

.rating-stars .fa-star {
    cursor: pointer;
    color: #ddd;
    font-size: 1.25rem;
    transition: color 0.2s;
}

/* Remove the previous hover rules and add these new ones */
.rating-stars .fa-star.active {
    color: #ffd700;
}

.rating-stars .fa-star:hover~.fa-star {
    color: #ddd;
}

.rating-stars:hover .fa-star {
    color: #ffd700;
}

.review {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.review:last-child {
    border-bottom: none;
}

.rating-details {
    font-size: 0.9rem;
}

.reviews-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.overall-rating-section {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.rating-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.main-rating h1 {
    font-size: 3.5rem;
    font-weight: bold;
    margin: 0;
}

.rating-subtitle h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.rating-subtitle p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.rating-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.rating-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-header .score {
    font-weight: bold;
}

.rating-category i {
    font-size: 1.5rem;
    color: #666;
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.review-card {
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-avatar i {
    font-size: 2.5rem;
    color: #666;
}

.reviewer-details h4 {
    margin: 0;
    font-weight: 600;
}

.reviewer-details p {
    margin: 0;
    font-size: 0.9rem;
}

.review-text {
    margin: 0;
    line-height: 1.6;
}

.review-form-section {
    margin-top: 3rem;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
}

/* .rating-inputs {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
} */

.rating-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.star-rating {
    display: inline-flex;
    gap: 0.25rem;
}

.star-rating .fa-star {
    cursor: pointer;
    color: #ddd;
    font-size: 1.25rem;
    transition: color 0.2s;
}

.star-rating .fa-star.active {
    color: #ffd700;
}

.star-rating:hover .fa-star {
    color: #ffd700;
}

.star-rating .fa-star:hover~.fa-star {
    color: #ddd;
}

.comment-input textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: vertical;
}

.submit-review-btn {
    background-color: #ff385c;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-review-btn:hover {
    background-color: #e31c5f;
}

.login-prompt {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 12px;
}

.btn-login {
    display: inline-block;
    background-color: #ff385c;
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.btn-login:hover {
    background-color: #e31c5f;
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .rating-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .rating-categories {
        grid-template-columns: 1fr;
    }
}

.reviewer-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
}
.radio-rating {
display: flex;
gap: 10px;
margin-top: 10px;
}

.radio-rating label {
display: flex;
align-items: center;
gap: 5px;
cursor: pointer;
}

.radio-rating input[type="radio"] {
margin: 0;
cursor: pointer;
}

.radio-rating input[type="radio"]:checked + span {
font-weight: bold;
color: #ff385c; /* Highlight selected rating */
}

.rating-input-group {
margin-bottom: 20px;
}

.rating-input-group label {
font-weight: 500;
margin-bottom: 10px;
display: block;
}
.overall-rating-section {
background-color: #f8f9fa;
border-radius: 12px;
padding: 2rem;
margin-bottom: 2rem;
}

.rating-header {
display: flex;
align-items: center;
gap: 2rem;
margin-bottom: 2rem;
}

.main-rating h1 {
font-size: 3.5rem;
font-weight: bold;
margin: 0;
color: #ff385c; /* Highlight color for the overall rating */
}

.rating-subtitle h3 {
margin: 0;
font-size: 1.5rem;
font-weight: 600;
}

.rating-subtitle p {
margin: 0.5rem 0 0 0;
font-size: 0.9rem;
color: #666;
}

.rating-categories {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1.5rem;
}

.rating-category {
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.category-header {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.25rem;
}

.category-header .score {
font-size: 1.5rem;
font-weight: bold;
color: #333;
}

.category-header span {
font-size: 0.9rem;
color: #666;
}
