.guest-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.guest-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Cards */
.detail-card, .sidebar-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card-header, .sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.card-title, .sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-title {
    font-size: 1rem;
}

.card-title svg, .sidebar-title svg {
    color: #667eea;
}

.card-body, .sidebar-body {
    padding: 1.5rem;
}
/* Guest Profile */
.guest-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.guest-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.guest-info {
    flex: 1;
}

.guest-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.guest-email {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}
/* ---- TOUR MODAL ---- */
.tour-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tour-modal {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    animation: modalFadeUp 0.25s ease;
    position: relative;
}
@media (max-width: 768px) {
    .video-modal-content {
        width: 98% !important;
        height: 60vh !important;
        margin: 10% auto !important;
    }
    
    .video-thumbnail img {
        height: 250px !important;
    }
    
    .play-button {
        width: 60px !important;
        height: 60px !important;
        font-size: 24px !important;
    }
    
    .close-video {
        top: 5px !important;
        right: 10px !important;
        font-size: 28px !important;
        width: 40px !important;
        height: 40px !important;
    }
}

@media (max-width: 480px) {
    .video-modal-content {
        height: 40vh !important;
    }
    
    .video-thumbnail img {
        height: 200px !important;
    }
}

	.discount-section {
	transition: all 0.3s ease;
}

.discount-section:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.calculation-item {
	display: flex;
	justify-content: space-between;
	margin: 6px 0;
	padding: 2px 0;
}

.calculation-item.total {
	font-size: 1.1rem;
}

.discount-promo {
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% { opacity: 1; }
	50% { opacity: 0.8; }
	100% { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.discount-section {
		font-size: 0.9rem;
	}
	
	.discount-promo {
		font-size: 0.8rem;
	}
}
.grid-container {
    display: grid;
    grid-template-areas: 
        "item1 item1 item2-container"
        "item1 item1 item2-container";
    grid-gap: 10px;
    margin-bottom: 20px;
    position: relative;
}

.item1 {
    grid-area: item1;
    width: 100%;
    /* height: 100%; */
	height: 521px;
    overflow: hidden;
    border-radius: 8px;
}

.item1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.item1 img:hover {
    transform: scale(1.05);
}

.item2-container {
    grid-area: item2-container;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-gap: 10px;
    border-radius: 8px;
}

.item2 {
    overflow: hidden;
    border-radius: 8px;
}

.item2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.item2 img:hover {
    transform: scale(1.05);
}

.see-all-photos {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.see-all-photos em {
    margin-right: 5px;
    font-size: 20px;
}

.see-all-photos:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

	span {cursor:pointer; }
		.minus, .plus{
			width: 32px;
			height: 28px;
			background: #f2f2f2;
			border-radius: 4px;
			padding: 0px 5px 8px 5px;
			border: 1px solid #ddd;
			display: inline-block;
			vertical-align: middle;
			text-align: center;
				}
		.frame-box{
			border:2px solid #dddddd2b;
			border-radius:5px;
		}
		

    .modal-content {
		position: relative;
		background-color: #fefefe;
		margin: auto;
		padding: 0;
		border: 1px solid #888;
		box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
		-webkit-animation-name: animatetop;
		-webkit-animation-duration: 0.4s;
		animation-name: animatetop;
		animation-duration: 0.4s;
	}
    .modal-content {
        width: 70% !important;
		height: auto !important;
    }

        /* Optional: Animation for the modal */
        @keyframes animatetop {
            from {top: -300px; opacity: 0}
            to {top: 0; opacity: 1}
        }

        /* .gallery {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .gallery-item {
            flex: 1 1 calc(33.333% - 10px);
            box-sizing: border-box;
        }

        .gallery-icon img {
            width: 100%;
            height: auto;
            display: block;
        } */
		.infoBox {
			padding: 10px;
		}
		.booking-form-container {
			max-width: 100%; /* Ensure the form doesn't shrink the screen */
			width: auto;
		}
		.deleteRentalButton {
			background-color: red !important;
			border-color: red !important;
			border-radius: 4px;
		}
		.delete-rental-modal-header {
		/* padding: 2px 16px; */
        padding: 19px 16px;
		/* border-bottom: 1px solid rgba(0, 0, 0, 0.1); */
		background-color: #5cb85c;
		color: white;
		height: 70px;
	}

	.delete-rental-modal-header h4 {
		margin: 0;
        /* height: 50px; */
	}
	.cancelbtn{
		background-color: #ccc;
		color: black;
	}
	@media screen and (max-width: 300px) {
		.cancelbtn, 
		.agreeBtn {
			width: 100%;
		}
	}
	.closeName {
		color: white;
		float: right;
		font-size: 28px;
		font-weight: bold;
	}
	.closeName:focus,
    .closeName:hover {
		color: #000;
		text-decoration: none;
		cursor: pointer;
	}
	@media (min-width: 1400px) {
    .container {
        max-width: 1320px !important;
    }
}
/* Modal container styling */
.myModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
    padding: 0 10px;
}

/* Modal content styling */
.myModal-content {
    margin: 3% auto;
    padding: 10px;
    width: 90%;
    max-height: 90vh;       /* Allow the modal to fill the screen */
    background-color: white;
    border-radius: 8px;
    overflow-y: auto;        /* Scroll inside modal */
    overflow-x: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Gallery styling */
.gallery {
    display: flex;
    flex-wrap: wrap !important;
    gap: 10px;
    justify-content: center;
    width: 100%;
    height: auto !important;
}

/* Individual image container */
.gallery-item {
    width: calc(100% / 3 - 10px); /* Default for larger screens */
    position: relative;
}

.gallery-icon img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.gallery-icon img:hover {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        width: calc(50% - 10px); /* 2 columns for tablets */
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 100%; /* Full width for mobile */
    }
}
/* General styles for the calculation container */
#calculation {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #f8f8f8;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px; /* Optional: Limit the width on larger screens */
}

/* Each calculation item */
.calculation-item {
    display: flex;
    justify-content: space-between; /* Align key and value to far left and far right */
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
}

/* Special styling for the Total section */
.calculation-item.total {
    font-weight: bold;
    font-size: 16px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
    #calculation {
        padding: 10px;
    }

    .calculation-item {
        font-size: 12px;
    }

    .calculation-item.total {
        font-size: 14px;
    }
}

#Ammendies {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

#Ammendies #reply-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

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

#Ammendies .amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.2s;
}

#Ammendies .amenity-item.available {
    background: #f0f9f4;
    border-left: 3px solid rgb(0, 185, 81);
}

#Ammendies .amenity-item.unavailable {
    opacity: 0.5;
}

#Ammendies .amenity-icon {
    font-size: 24px;
    min-width: 24px;
    color: #666;
}

#Ammendies .amenity-item.available .amenity-icon {
    color: rgb(0, 185, 81);
}

#Ammendies .amenity-name {
    font-size: 14px;
    color: #333;
    line-height: 1.3;
}

#Ammendies .amenity-item.unavailable .amenity-name {
    text-decoration: line-through;
    color: #999;
}

/* Mobile - 1 colonne */
@media (max-width: 576px) {
    #Ammendies .amenities-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    #Ammendies .amenity-item {
        padding: 10px;
    }

    #Ammendies .amenity-icon {
        font-size: 22px;
    }

    #Ammendies .amenity-name {
        font-size: 13px;
    }

    #Ammendies #reply-title {
        font-size: 1.3rem;
    }
}

/* Tablet - 2 colonnes */
@media (min-width: 577px) and (max-width: 991px) {
    #Ammendies .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop - 3 colonnes */
@media (min-width: 992px) {
    #Ammendies .amenities-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    #Ammendies .amenity-item {
        padding: 15px;
    }

    #Ammendies .amenity-icon {
        font-size: 28px;
    }

    #Ammendies .amenity-name {
        font-size: 15px;
    }
}
/* ---- TOUR MODAL ---- */
.tour-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.tour-modal {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    animation: modalFadeUp 0.25s ease;
    position: relative;
}

@keyframes modalFadeUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.tour-modal h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #222;
}

.tour-subtitle {
    margin: 8px 0 20px;
    font-size: 14px;
    color: #666;
}

.tour-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: none;
    font-size: 22px;
    cursor: pointer;
    color: #888;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #00b951;
}

.tour-submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: #00b951;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
}

.tour-submit-btn:hover {
    background: #009743;
}


/* ---- Google Maps / zone badge (anciennement <style> ligne 1792) ---- */

		.gm-style {
			font-family: 'DM Sans', sans-serif;
		}
		
		/* Custom zone indicator badge */
		.zone-badge {
			position: absolute;
			top: 12px;
			left: 50px; /* Leave space for zoom controls if needed on left, or adjust */
			background-color: rgba(255, 255, 255, 0.95);
			border-radius: 8px;
			padding: 6px 10px;
			display: flex;
			align-items: center;
			box-shadow: 0 2px 4px rgba(0,0,0,0.2);
			z-index: 1000; /* Above map */
			max-width: 80%;
			pointer-events: none; /* Let clicks pass through if needed, but usually we want to see it */
		}
		
		.zone-badge .mdi-map-marker-radius {
			color: rgb(0, 185, 81);
			font-size: 16px; 
			margin-right: 4px;
		}

		.zone-badge-text {
			font-size: 11px;
			font-weight: 500;
			color: rgb(0, 185, 81);
			line-height: 1.2;
		}

		.zone-badge-text.loading {
			color: #9ca3af; /* gray-400 */
		}

		/* Approximate location notice */
		.approx-location-notice {
			background-color: #fffbeb; /* yellow-50 */
			border-top: 1px solid #fde68a; /* yellow-200 */
			padding: 8px 16px;
			display: flex;
			align-items: flex-start;
		}

		.approx-location-notice .mdi-information-outline {
			color: #f59e0b; /* yellow-500 */
			margin-right: 8px;
			font-size: 16px;
		}

		.approx-location-notice p {
			font-size: 12px;
			color: #92400e; /* yellow-800 */
			margin: 0;
			line-height: 1.4;
		}