html, body {
	height: 100%;
	margin: 0;
	overflow: hidden;
}
#preloader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #ffffff;
	opacity:0.6;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}
.loader {
	border: 6px solid #f3f3f3;
	border-top: 6px solid #3498db;
	border-radius: 50%;
	width: 60px;
	height: 60px;
	animation: spin 1s linear infinite;
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.modal {
  z-index:2000;
}
.gallery-thumb {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: auto;
	object-fit: cover;
	min-width: 0;
	min-height: 0;
	max-width: 100%;
	max-height: 100%;
	background: #eee;
	display: block;
}
.carousel-item img {
	width: 100%;
	height: 220px;
	object-fit: contain;
	background: #eee;
	display: block;
}
#map-container {
	position: absolute;
	top: 110px; /* height of navbar */
	left: 0;
	right: 0;
	bottom: 0;
	transition: margin-left 0.3s cubic-bezier(.4,0,.2,1);
	margin-left: 400px;
	height: calc(100vh - 110px);
	background: #f8f9fa;
	overflow: hidden;
}
#map-container.full {
	margin-left: 0;
}
#map {
	width: 100%;
	height: 100%;
	min-height: 100%;
	background: #e9ecef;
	display: flex;
	align-items: center;
	justify-content: center;
}
.property-card {
	position: fixed;
	top: 110px; /* below navbar */
	left: 0;
	height: calc(100vh - 110px);
	width: 400px;
	max-width: 90vw;
	z-index: 1050;
	background: #fff;
	box-shadow: 2px 0 16px rgba(0,0,0,0.15);
	transform: translateX(0);
	transition: transform 0.3s cubic-bezier(.4,0,.2,1);
	max-height: calc(100vh - 110px);
	overflow-y: auto;
	overflow-x:hidden;
	border-top-right-radius: 12px;
	border-bottom-right-radius: 12px;
}
.property-card.drawer-hidden {
	transform: translateX(-100%);
}

@media (max-width: 768px) {
	.property-card {
		position: fixed;
		top: 140px;
		left: 0;
		width: 100vw;
		max-width: 100vw;
		height: auto;
		max-height: calc(90vh - 140px);
		border-radius: 12px;
		z-index: 1000;
		transform: translateX(0);
		transition: transform 0.3s cubic-bezier(.4,0,.2,1);
		overflow-y: auto;
	}
	.property-card.drawer-hidden {
		transform: translateX(-100%);
	}
	#map-container {
		position: absolute;
		top: 56px;
		left: 0;
		right: 0;
		bottom: 0;
		margin-left: 0 !important;
		width: 100vw !important;
		height: calc(100vh - 56px) !important;
		z-index: 1;
		background: #e9ecef;
		overflow: hidden;
	}
	#map {
		width: 100vw !important;
		height: 100% !important;
		display: flex !important;
		align-items: stretch !important;
		justify-content: stretch !important;
		background: #e9ecef;
		border: 2px solid #007bff;
	}
	#toggleCardBtn {
		position: fixed !important;
		top: 20px !important;
		left: calc(100vw - 120px) !important;
		right: auto !important;
		z-index: 1101 !important;
	}
}
.chatbox-container {
	position: fixed;
	bottom: 3px;
	right: 3px;
	width: 420px;
	max-width: 100vw;
	z-index: 1200;
	font-family: inherit;
}
.chatbox-header {
	background: #343a40;
	color: #fff;
	padding: 10px 16px;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
}
.chatbox-body {
	background: #fff;
	border-left: 1px solid #dee2e6;
	border-right: 1px solid #dee2e6;
	border-bottom: 1px solid #dee2e6;
	max-height: 300px;
	min-height: 120px;
	overflow-y: auto;
	padding: 12px;
	font-size: 15px;
}
.message-loader {
	width:100%;
	margin-left:auto;
	margin-right:auto;
	margin-top:-12px;
	margin-bottom:10px;
	border: 1px solid #dee2e6;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
	text-align:center;
	padding:5px 0 7px;
	background-color:#D6DEF5;
	color:#039;
	font-size:12px;
	font-weight:500;
	animation: fadeOutFromTop 0.7s ease-in forwards;
}
.message-loader.fadeInFromTop {
	opacity: 0;
	transform: translateY(-25px);
	animation: fadeInFromTop 0.3s ease-out forwards;
}
@keyframes fadeInFromTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOutFromTop {
  to {
    opacity: 0;
    display:none;
    transform: translateY(-25px);
  }
}
.chatbox-message {
	margin-bottom: 10px;
	display: flex;
	align-items: flex-end;
}
.chatbox-message.user {
	justify-content: flex-end;
}
.chatbox-message.bot {
	justify-content: flex-start;
}
.chatbox-message .bubble {
	padding: 8px 14px;
	border-radius: 16px;
	max-width: 80%;
	word-break: break-word;
}
.chatbox-message.user .bubble {
	background: #007bff;
	color: #fff;
	border-bottom-right-radius: 4px;
}
.chatbox-message.user .bubble .chatbox-timestamp {
	display:block;
	text-align:right;
	font-size:12px;color:#FFF;
	margin-top:2px;
}
.chatbox-message.bot .bubble {
	background: #f1f3f4;
	color: #222;
	border-bottom-left-radius: 4px;
}
.chatbox-message.bot .bubble .chatbox-timestamp {
	display:block;
	text-align:right;
	font-size:12px;color:#888;
	margin-top:2px;
}
.chatbox-footer {
	display: flex;
	border-left: 1px solid #dee2e6;
	border-right: 1px solid #dee2e6;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
	background: #f8f9fa;
	padding: 8px;
	gap: 8px;
}
.chatbox-footer input {
	flex: 1;
	border: 1px solid #ced4da;
	border-radius: 8px;
	padding: 6px 10px;
	font-size: 15px;
	outline: none;
}
.chatbox-footer button {
	border: none;
	background: #007bff;
	color: #fff;
	border-radius: 8px;
	padding: 6px 16px;
	font-size: 15px;
	cursor: pointer;
	transition: background 0.2s;
}
.chatbox-footer button:hover {
	background: #0056b3;
}
.chatbox-collapsed .chatbox-body,
.chatbox-collapsed .chatbox-footer {
	display: none;
}
.chatbox-collapsed .chatbox-header {
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}
.chatbox-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	background: #007bff;
	color: #fff;
	border-radius: 50%;
	margin-right: 10px;
	font-size: 20px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.chatbox-icon i {
	font-size: 20px;
	line-height: 1;
}
@media (max-width: 500px) {
	.nav-item {
		font-size:12px;
	}
	
	.chatbox-container {
		width: 100vw;
	}
	
	.chatbox-container.chatbox-collapsed {
		width: 100vw;
	}
	
	.chatbox-header {
		border-top-left-radius: 0 !important;
		border-top-right-radius: 0 !important;
		border-bottom-left-radius: 0 !important;
		border-bottom-right-radius: 0 !important;
	}
	
	.chatbox-footer {
		border-bottom-left-radius: 0;
		border-bottom-right-radius: 0;
	}
}
.marker-container {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 20px;
	border:1px solid #333;
	background: #FFFFFF;
	padding: 7px 10px;
}
.marker-html.active {
	color:#FFFFFF !important;
}
.marker-html.active .marker-container {
	background: #232323;
}
.marker-html.active .marker-container .marker-price {
	color:#FFFFFF !important;
}
.marker-icon {
	font-size:14px;
}
.marker-price {
	padding-left:7px;
	color:#333;
	font-weight:bold;
	font-size:14px;
}
.mt-6 { margin-top:4rem !important; }
.mt-7 { margin-top:5rem !important; }
.mt-8 {	margin-top:6rem !important; }
.mt-9 { margin-top:120px; }
.pb-6 { padding-bottom:3.5rem; }
.nav-link.active { border-bottom: 1px solid #CCC; }

/* searching*/
.search-container {
	position: relative;
}

.search-input {
	z-index: 1000;
}

.suggestions {
	margin-top:38px;
	position: absolute;
	width: 75%;
	max-height: 200px;
	overflow-y: auto;
	border: 1px solid #ddd;
	border-top: none;
	border-radius: 0 0 4px 4px;
	background: white;
	z-index: 999;
	display: none;
}

.suggestion-item {
	padding: 8px 10px;
	cursor: pointer;
}

.suggestion-item:hover {
	background-color: #f5f5f5;
}

.modal.fade .modal-dialog {
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
}

.modal.fade.show .modal-dialog {
  transform: translateY(0);
}

.left-pane {
  background: linear-gradient(to bottom, #FFF, #666);
  color: #333;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.right-pane {
  padding: 3rem 2rem;
}

.logo {
  height: 40px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
}

.facebook-btn {
  background-color: #1877f2;
  color: white;
}

.google-btn {
  border: 1px solid #ccc;
  background-color: white;
  color: #333;
}

.divider {
  text-align: center;
  position: relative;
  margin: 2rem 0;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: #ccc;
}

.divider::before {
  left: 0;
}

.divider::after {
  right: 0;
}

.divider span {
  background: #fff;
  padding: 0 10px;
  color: #666;
  font-size: 14px;
}

.features-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.feature {
  padding: 1rem;
  background: #eef4ff;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
  width:50%;
}

.recaptcha {
	font-size: 12px;
	color: #666;
	margin-top: 1.5rem;
}

@media (max-width: 768px) {
	.left-pane {
		display: none;
	}
}

/* verifier */
.code-input {
	width: 60px;
	height: 60px;
	font-size: 28px;
	text-align: center;
	margin: 0 5px;
}

.shake {
	animation: shake 0.3s;
}

@keyframes shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-5px); }
	50% { transform: translateX(5px); }
	75% { transform: translateX(-5px); }
}

@keyframes rotate {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}

@keyframes twinkle {
	0%, 100% {
		scale: 1;
		opacity: 1;
		filter: drop-shadow(0 0 2px gold);
	}
	50% {
		scale: 1.2;
		opacity: 0.7;
		filter: drop-shadow(0 0 8px gold);
	}
}

.btn-stars {
	background:#ff3576;
	width:36px;
	height:36px;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	border-radius:50%;
	margin-right:10px;
}

.btn-stars .bi-stars {
	display: inline-block; /* for transform */
	animation: 
	rotate 4s linear infinite,
	twinkle 2s ease-in-out infinite;
	transform-origin: center center;
}

.agentOption {
	border:1px solid #D7DBDF !important;
}
.agentOption:hover {
	border:1px solid #333 !important;
}
.agentOption.active {
	border:1px solid #333 !important;
}

.btn:hover,.marker-container:hover {
	transform: translateY(-2px);
	/*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);*/
}