@import "/front/fonts/prometo/stylesheet.css";
@import url("https://fonts.googleapis.com/css?family=Manrope:300,400,500,600,700,800,900");
@import url("https://fonts.googleapis.com/css?family=Tajawal:300,400,500,600,700,800,900");
@import url("https://fonts.googleapis.com/icon?family=Material+Symbols+Rounded:FILL,ROND@0..1,100&display=block");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.shadow-top-only {
    box-shadow: 0px -6px 12.8px 0px #00000045;
}
.mapboxgl-ctrl-bottom-righ,.mapboxgl-ctrl-attrib a,a.mapboxgl-ctrl-logo{
    display: none !important;
}
.slider-1,
.slider-2,
.slider-3 {
    min-height: 700px !important;
}
.progress-container {
    position: relative;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    overflow: hidden;
}

.fill-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: white;
    animation: fillAnimation 4s linear forwards;
    animation-fill-mode: forwards;
}

@keyframes fillAnimation {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
/* .swiper{
  overflow:visible !important;
  overflow-x: hidden !important;
} */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    border-radius: 6px;
}
::-webkit-scrollbar-thumb {
    background: #e4e4e4;
    border-radius: 6px;
}

body {
    font-family: "Prometo", "Tajawal";
    font-display: swap;
}

[dir="rtl"] body {
    font-weight: 500;
}

.manrope {
    font-family: "Manrope", "Tajawal";
}

img,
a {
    image-rendering: smooth;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.header-filter {
    box-shadow: 0px 1px 4px 0px #00000030;
    -webkit-backdrop-filter: blur(27.799999237060547px);
    backdrop-filter: blur(27.799999237060547px);
}
.header-collapsed {
    max-height: 153px;
    /* overflow: hidden; */
}
.header-filter-collapsed {
    max-height: 156px;
    /* overflow: hidden; */
}
.header-expanded {
    max-height: 400px;
    overflow: visible;
}

@media (max-width: 1279px) {
    .header-filter {
        box-shadow: 0px 4px 7.2px 0px #0000001c;
        backdrop-filter: blur(68.30000305175781px);
    }
    .header-collapsed,
    .header-filter-collapsed {
        overflow: hidden;
    }
    .filiter {
        display: none;
    }
}

.hero-container {
    background-image: url("/images/hero-img-2.jpeg");
    /* animation: changeHeroImage 9s ; */
}
.bg-smoll {
    background-image: url("/images/82ae5c6922bac547a73178394c139c6e8634a385.jpg");
    object-position: center;
    object-fit: cover;
    height: 430.76922607421875px;
    width: 100%;
}
/* .hero-container-three {
  background-image: url("/images/hero-img-2.jpeg");
} */
/* @keyframes changeHeroImage {
  0% {
    background-image: url('/images/hero-img-3.jpeg');
  }
  40%, 60% {
    background-image: url('/images/hero-img-2.jpeg');
  }
  100% {
    background-image: url('/images/hero-img-3.jpeg');
  }
} */

.swiper-pagination-bullet-active {
    opacity: var(--swiper-pagination-bullet-opacity, 1);
    background: #1d4265 !important;
}
.hide-scroll::-webkit-scrollbar {
    display: none !important;
}
.hide-scroll {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
    scroll-behavior: smooth;
    transition: all 0.3s ease;
    user-select: none;
    cursor: grab;
}

.fade1,
.fade2 {
    opacity: 0;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}
.fade1 {
    animation: fadeInOut 10s infinite 0s;
}
.fade2 {
    animation: fadeInOut 10s infinite 5s;
}
@keyframes fadeInOut {
    0%,
    15%,
    100% {
        opacity: 0;
        z-index: 1;
    }
    50% {
        opacity: 1;
        z-index: 2;
    }
}

.filter-img img {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
}
.filter-img:hover img {
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
}

.slider-shadow-left {
    box-shadow: 28px 0px 55.1px 0px #ffffffc7;
}
.slider-shadow-right {
    box-shadow: -28px 0px 55.1px 0px #ffffffc7;
}

@media (max-width: 767px) {
    .slider-shadow-left {
        box-shadow: 10px 0px 15.2px 0px #ffffffc7;
    }
    .slider-shadow-right {
        box-shadow: -10px 0px 15.2px 0px #ffffffc7;
    }
}

.filter-input input[type="radio"],
.filter-input input[type="checkbox"],
.filter-checkbox input[type="checkbox"],
.filter-checkbox-sm input[type="checkbox"],
.fav-icon input[type="checkbox"],
.compare-icon input[type="checkbox"],
.chat-choices input[type="radio"] {
    display: none;
}
.filter-input input[type="radio"]:checked + label,
.filter-input input[type="checkbox"]:checked + label {
    background-color: #1d4265;
    color: #fff;
}
.filter-input.escape input[type="radio"]:checked + label {
    background-color: #4dbfb1;
}
.fav-icon input[type="checkbox"]:checked + label {
    border-color: #ff0000;
    color: #ff0000;
}
.compare-icon input[type="checkbox"]:checked + label {
    border-color: #1d4265;
    color: #1d4265;
}
.chat-choices input[type="radio"]:checked + label p {
    background-color: transparent;
    color: #fff;
}

.filter-checkbox label::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    top: 50%;
    left: 0px;
    right: 0px;
    transform: translateY(-50%);
}
.filter-checkbox label::after {
    content: "";
    background: url("../icons/check-icon.svg") no-repeat center/cover;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 10px;
    right: -10px;
    transform: translateY(-50%) scale(0);
}
.filter-checkbox input[type="checkbox"]:checked + label::before {
    border: none;
    background-color: #1563df;
}
.filter-checkbox input[type="checkbox"]:checked + label::after {
    transform: translate(-50%, -50%) scale(0.55);
}

.filter-checkbox-sm label::before {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border: 1px solid #1d4265;
    border-radius: 2px;
    top: 50%;
    left: 0px;
    right: 0px;
    transform: translateY(-50%);
}
.filter-checkbox-sm label::after {
    content: "";
    background: url("../icons/check-icon.svg") no-repeat center/cover;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    left: 5px;
    right: -5.5px;
    transform: translateY(-50%) scale(0);
}
.filter-checkbox-sm input[type="checkbox"]:checked + label::before {
    border: none;
    background-color: #1563df;
}
.filter-checkbox-sm input[type="checkbox"]:checked + label::after {
    transform: translate(-50%, -50%) scale(0.55);
}

@media (max-width: 767px) {
    .ellipsis-sm-2 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Switch Input */
.toggle-input:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    left: 4px;
    top: 4px;
    background-color: white;
    -webkit-transition: 0.2s;
    transition: 0.2s;
}
input:checked + .toggle-input {
    background-color: #40c979;
}
input:checked + .toggle-input:before {
    -webkit-transform: translateX(12px);
    -ms-transform: translateX(12px);
    transform: translateX(12px);
}
.toggle-input:before {
    border-radius: 50%;
}

/* Range Silder */
.range-slider {
    --range-slider-thumb-size: 18px;
    --range-slider-thumb-radius: calc(var(--range-slider-thumb-size) / 2);
    --range-slider-track-height: 4px;
    --range-slider-track-color: #e7f0ff;
    --range-slider-active-color: #1563df;
    position: relative;
    width: 100%;
    height: 22px;
}
.range-slider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: var(--range-slider-track-height);
    margin-top: calc(var(--range-slider-track-height) / -2);
    border-radius: 100vmax;
    pointer-events: none;
    background-color: #e7f0ff;
}
.range-slider__input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    background-color: transparent;
    pointer-events: none;
    outline: none;
}
.range-slider__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: all;
    position: relative;
    width: var(--range-slider-thumb-size);
    height: var(--range-slider-thumb-size);
    background-color: var(--range-slider-active-color);
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 0 2px white, 0 0 0 2px white, 0 2px 4px 0 rgba(0, 0, 0, 1);
    cursor: grab;
    transition: transform 0.3s ease;
}
.range-slider__input::-moz-range-thumb {
    -moz-appearance: none;
    appearance: none;
    pointer-events: all;
    position: relative;
    width: var(--range-slider-thumb-size);
    height: var(--range-slider-thumb-size);
    background-color: var(--range-slider-active-color);
    border-radius: 50%;
    border: none;
    box-shadow: 0 0 0 2px white, 0 0 0 2px white, 0 2px 4px 0 rgba(0, 0, 0, 1);
    cursor: grab;
    transition: transform 0.3s ease;
}
.range-slider__input:active::-webkit-slider-thumb,
.range-slider__input:active::-moz-range-thumb {
    transform: scale(1.3);
    cursor: grabbing;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}
.search-results {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 9999;
}
.search-result-item {
    padding: 8px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.search-result-item img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.hidden {
    display: none;
}
.marker-label {
    font-weight: bold;
    font-size: 10px;
    background-color: #ffffff;
    padding: 2px 6px;
    border-radius: 107.69px;
    color: #000000;
    max-width: 80px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translate(-50%, -50%);
    font-family: Arial, sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.search-bar {
    position: absolute;
    top: 20px !important;
    /* left: 50% !important; */
    /* transform: translateX(-50%); */
    z-index: 10;
    padding: 10px;
    width: 95%;
    overflow-x: auto;
    height: auto !important;

}

.search-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
    width: max-content;
    min-width: 100%;
}

.search-container::-webkit-scrollbar {
    display: none; /* إخفاء شريط التمرير */
}

.bg-filter-box {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 107.69px;
    width: 289px;
    height: 50px;
    background: white;
    flex-shrink: 0;
    gap:8.62px;
}

.search-input {
    flex: 1;
    min-width: 180px;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}
.search-input2 {
    flex: 1;
    min-width: 150px;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border 0.3s;
}

.search-input:focus {
    border-color: #1D4265;
}

.filter-btn, .reset-btn ,.reset-btn-Tow{
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    font-size: 14px;
    border-radius: 107.69px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn  {
    background: #fff;
    border: 1px solid #e0e0e0;
    height: 49.8px;
    width: 181px;
    justify-content: center;
}

.filter-btn:hover {
    background: #e9e9e9;
}

.reset-btn ,.reset-btn-Tow{
    background: #fff;
    color: #1D4265;
    border: none;
}

.filter-section {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

.filter-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    text-align: center;
}

.filter-control {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.pt-50
{
    padding-top: 9.3rem;
}


.filter-select {
    width: 100%;
    padding: 5px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 13px;
}

@media (max-width: 768px) {
    .search-container {
        flex-wrap: nowrap;
        /* overflow-x: auto; */
        padding-bottom: 10px;
    }


    .search-container::-webkit-scrollbar {
        height: 6px;
    }

    .search-container::-webkit-scrollbar-thumb {
        background-color: #ccc;
        border-radius: 3px;
    }
    .filter-btn {
        height: 32px;
        width: 140px;
    }

}
