:where([class^="ri-"])::before {
  content: "\f3c2";
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9fafb;
}

.search-input:focus {
  outline: none;
}

.custom-checkbox {
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}

.custom-checkbox:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}

.custom-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-content.active {
  max-height: 500px;
}

.accordion-content p {
	margin-bottom: 0.5rem !important;
}

.accordion-content ul {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

.accordion-content ul li + li {
    margin-top: 0.25rem;
}

.timeline-item:nth-child(even) {
	flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
	text-align: right;
}

.timeline-item:nth-child(even) .timeline-content::before {
	left: auto;
	right: -10px;
	transform: rotate(180deg);
}

.timeline-item:not(:last-child)::after {
	content: "";
	position: absolute;
	width: 2px;
	background-color: #e5e7eb;
	top: 24px;
	bottom: -80px;
	left: 50%;
	transform: translateX(-50%);
}

.team-member:hover .social-links {
	opacity: 1;
	transform: translateY(0);
}

.testimonial-slide {
	transition: opacity 0.5s ease, transform 0.5s ease;
	scroll-behavior: smooth;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

.custom-file-upload {
	border: 2px dashed #e5e7eb;
	display: inline-block;
	padding: 2rem;
	cursor: pointer;
	width: 100%;
	border-radius: 8px;
	text-align: center;
	transition: all 0.3s ease;
}

.custom-file-upload:hover {
	border-color: #3b82f6;
	background-color: rgba(59, 130, 246, 0.05);
}

.file-input {
	display: none;
}

.progress-bar {
	height: 4px;
	background-color: #e5e7eb;
	border-radius: 2px;
	overflow: hidden;
}

.progress-bar-fill {
	height: 100%;
	background-color: #3b82f6;
	transition: width 0.3s ease;
}

.step-indicator {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	transition: all 0.3s ease;
}

.step-indicator.active {
	background-color: #3b82f6;
	color: white;
}

.step-indicator.completed {
	background-color: #10b981;
	color: white;
}

.step-line {
	flex: 1;
	height: 2px;
	background-color: #e5e7eb;
}

.step-line.active {
	background-color: #3b82f6;
}

.step-line.completed {
	background-color: #10b981;
}

.custom-radio {
	appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid #e5e7eb;
	border-radius: 50%;
	cursor: pointer;
	position: relative;
}

.custom-radio:checked {
	border-color: #3b82f6;
}

.custom-radio:checked::after {
	content: "";
	position: absolute;
	top: 4px;
	left: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #3b82f6;
}

.custom-switch {
	position: relative;
	display: inline-block;
	width: 48px;
	height: 24px;
}

.custom-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #e5e7eb;
	transition: .4s;
	border-radius: 24px;
}

.slider:before {
	position: absolute;
	content: "";
	height: 18px;
	width: 18px;
	left: 3px;
	bottom: 3px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .slider {
	background-color: #3b82f6;
}

input:checked + .slider:before {
	transform: translateX(24px);
}

.thumbnail {
	width: 100px;
	height: 100px;
	border-radius: 8px;
	object-fit: cover;
	margin-right: 8px;
	position: relative;
	overflow: hidden;
}

.thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumbnail .remove-btn {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 100;
}

.thumbnail:hover .remove-btn {
	opacity: 1;
}

.thumbnail .drag-handle {
	position: absolute;
	bottom: 4px;
	left: 4px;
	width: 20px;
	height: 20px;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	cursor: move;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.thumbnail:hover .drag-handle {
	opacity: 1;
}
.thumbnail::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: all 0.2s;
}
.thumbnail.active::after {
  border-color: #3B82F6;
}
.custom-select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.75rem center;
	background-size: 1rem;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

input[type="number"] {
	-moz-appearance: textfield;
}

.date-picker {
	appearance: none;
}

.date-picker::-webkit-calendar-picker-indicator {
	opacity: 0;
	position: absolute;
	width: 100%;
	height: 100%;
	cursor: pointer;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.custom-range {
      -webkit-appearance: none;
      width: 100%;
      height: 6px;
      background: #e5e7eb;
      border-radius: 5px;
      outline: none;
    }
    
.custom-range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #3b82f6;
	cursor: pointer;
}

.custom-range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #3b82f6;
	cursor: pointer;
	border: none;
}

.property-type-card:hover .property-type-icon {
	background-color: #3b82f6;
	color: white;
}

.property-type-card:hover .property-type-title {
	color: #3b82f6;
}

.filter-tab.active {
	background-color: #3b82f6;
	color: white;
}
.search-input:focus {
    outline: none;
}
.custom-select {
    appearance: none;
}
.custom-checkbox {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}
.custom-checkbox:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}
.custom-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 6px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.price-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #e5e7eb;
    outline: none;
}
.price-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #3b82f6;
}
.price-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 0 0 1px #3b82f6;
}
.filter-section {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.filter-section.active {
    max-height: 500px;
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 34px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .toggle-slider {
    background-color: #3b82f6;
}
input:checked + .toggle-slider:before {
    transform: translateX(20px);
}
.map-container {
    width: 100%;
    height: 100%;
    background-image: url('https://public.readdy.ai/gen_page/map_placeholder_1280x720.png');
    background-size: cover;
    background-position: center;
}
.error {
	color: red;
}
.leaflet-popup-content,
.leaflet-popup-content p {
	margin: 0;
}
.leaflet-container a {
	color: inherit;
}
.flex.items-center .lang-item:not(:last-child)::after {
  content: "|";
  color: theme("colors.gray.400");
  margin-left: 0.5rem;
}