
@font-face {
  font-family: Optima;
  src: url(../optimaFont/FontsFree-Net-Optima-Medium.ttf);
}
body,
html {
    height: 100%;
    margin: 0;
    font-family: "Optima", "Segoe UI", "Candara", 'Arial', sans-serif;
    background: transparent !important;
}
.logo{
  max-width: 180px;
  position: fixed;
  right: -30px;
  top: 0;
}
.threeDViewBtn img{
  max-width: 19px;
}
.threeDViewBtn:hover img {
  filter: invert(1);
}

/* Style for the vertical scrollbar */
::-webkit-scrollbar {
  width: 6px; /* Thin scrollbar */
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2); /* Subtle dark background */
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.4); /* Darker thumb to match theme */
  border-radius: 3px; /* Rounded edges for the thumb */
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.6); /* Slightly darker on hover */
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.2);
  user-select: none;
}
/* Placeholder color for search input and other inputs */
::placeholder {
  color: #fff !important;
  opacity: 1; /* For full white opacity */
}

/* For cross-browser support */
:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff !important;
}
::-ms-input-placeholder { /* Microsoft Edge */
  color: #fff !important;
}


/* Hide scrollbar for Chrome, Safari and Opera */
.filter-panel::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.filter-panel {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}


.details-card,
.details-card .card-title,
.details-card .card-availability,
.details-card .card-buttons {
  font-family: "Optima", sans-serif;
}

.city-view {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: transparent !important;
}

.background-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Sidebar styling */
.sidebar {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 15px 0;
}

.sidebar-icon {
    color: white;
    font-size: 1.3rem;
    margin: 5px 0;
    display: block;
    position: relative;
    padding: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}
.sidebar-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.2s;
}

/* .sidebar-icon:hover img {
  transform: scale(1.1);
} */


/* Create an underline effect on hover using a pseudo-element */
.sidebar-icon::after {
    content: "";
    position: absolute;
    bottom: 5px;
    /* Position the underline a bit above the bottom */
    left: 10px;
    /* Align with icon padding */
    right: 10px;
    height: 2px;
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.sidebar-icon:hover::after {
    background-color: #ddd;
    /* Color for underline effect on hover */
}

/* Tooltip on hover */
.sidebar-icon:hover::before {
    content: attr(data-tooltip);
    position: absolute;
    left: 120%;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    /* font-size: 0.75rem; */
    font-size: 16px;
    padding: 7px 10px;
    margin-left: 10px;
    border-radius: 4px;
    white-space: nowrap;
}



/* Remove default styles */
.top-controls-container {
    max-width: 600px;
    width: 100%;
    top: 50px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Input range styling */
/* Webkit: Chrome, Safari, Edge Chromium */
input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  background: #fff; /* pure white */
  border-radius: 1.5px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #000 20%, #fff 21%);
  cursor: pointer;
  margin-top: -11.5px;
}

/* Firefox */
input[type="range"]::-moz-range-track {
  height: 5px;
  background: #fff; /* pure white */
  border-radius: 1.5px;
}

input[type="range"]::-moz-range-progress {
  background: #fff; /* ensure progress fill is also white */
}

input[type="range"]::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #000 20%, #fff 21%);
  cursor: pointer;
}

/* Edge Legacy / IE */
input[type="range"]::-ms-track {
  height: 5px;
  background: transparent;
  border-color: transparent;
  color: transparent;
}

input[type="range"]::-ms-fill-lower {
  background: #fff;
  border-radius: 1.5px;
}

input[type="range"]::-ms-fill-upper {
  background: #fff;
  border-radius: 1.5px;
}

input[type="range"]::-ms-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #000 20%, #fff 21%);
  cursor: pointer;
}


/* View icons on the right side */
.view-icons {
    justify-content: end;
    padding-bottom: 10px;
    display: grid !important;
    grid-template-columns: repeat(3,42px);
    display: none !important;
}

.view-icons i {
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.view-icons i.active {
    background: #fff;
    color: #000;
}
.weather-icon-wrapper {
  background: #4b4b46;
  border-radius: 6px;
  padding: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.weather-icon-wrapper.active {
  background: #fff; /* or any highlight color */
}

.weather-icon-wrapper img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.weather-icon-wrapper.active img {
  filter: invert(1);
}

/* .weather-icon:hover {
  transform: scale(1.1);
} */

/* details card */
.detailsCardMain{
  position: absolute;
  bottom: 20px;
  right: 20px;  
  /*transition: all 0.2s ease-in-out;*/
  max-width: fit-content;
  max-height: fit-content;
}
.iconDivMain{
  display: grid;
  justify-content: end;
  padding-bottom: 10px;
}
.detailsCardMain .iconDivBg {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 12px;
  max-width: fit-content;
}
.detailsCardMain #toggleIcon{
  width: 20px;
  cursor: pointer;
}
.details-card {
  max-width: 375px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  
}
hr{
  opacity: 1;
}

/* .details-card .card-content {
  padding: 20px;
  } */
.p20{    
  padding: 20px;
  /* padding-right: 0; */
}
.details-card .card-title {
  font-weight: bold;
  /* margin-bottom: 5px; */
  text-transform: uppercase;
  letter-spacing: 3px;
  border-bottom: 2px solid;
  padding-bottom: 10px;
}

.details-card .textStyle {
  font-size: 20px;
  margin-bottom: 0;
  padding: 0;    
  padding-left: 20px;
  /* padding-top: 35px; */
}

.details-card .available {
  color: #c2bbbb;
  font-size: 0.75rem;
  margin-bottom: 10px;
  display: block;
  padding: 0;    
  padding-left: 20px;
}

.details-card .card-image {
  height: 250px;
  /* background: rgba(255, 255, 255, 1); */
  /* background-image: url("../assets/2.5bed.jpg"); */
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  /* margin-bottom: 15px; */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.details-card .card-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.details-card .btn {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
  padding: 6px 12px;
  font-size: 0.8rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
  background: transparent;
  min-width: 150px;
}
.details-card .btn.active{
  background: rgba(0, 0, 0, 0.4);
}
.details-card .btn:hover {
  background: #fff;
  color: #000;
}
.cardDetails{
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-right: 20px;
  gap: 15px 0;
}

/* details card */
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  gap: 15px;
  max-height: 80vh;
}


.filter-panel {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 30px 30px;
  color: #fff;
  max-width: 390px;
  width: 390px;
  /* max-height: 800px; */
  overflow: auto;
}

.filter-header {
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  font-size: 22px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.filter-header img {
  max-width: 25px;
  margin-right: 8px;
}

.filter-section .options {
  padding: 20px 0 20px 0;
  font-size: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.options label,
.options.buttons button {
  margin-right: 10px;
  margin-bottom: 5px;
  cursor: pointer;
}

.options.buttons button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 10px;
  color: #fff;
  padding: 5px 10px;
  font-weight: bold;
  font-size: 15px;
  background: rgba(0,0,0,0.4);
}

.options.buttons button.active
/* ,.options.buttons button:hover  */
{
  background: #fff;
  color: #d7b17b;
}
/* custom checkboxes */
/* Basic styling for label and spacing */
.custom-checkbox {
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  cursor: pointer;
  position: relative;
  font-family: "Optima", sans-serif;
  color: #fff;
  user-select: none;
}

/* Hide the default checkbox */
.custom-checkbox input[type="checkbox"] {
  display: none;
}

/* Create the circle */
.custom-checkbox .checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #fff;
  border-radius: 50%;
  margin-right: 8px;
  position: relative;
  /* transition: border-color 0.2s; */
}

/* Tickmark: hidden initially */
.custom-checkbox .checkmark::after {
  content: '';
  position: absolute;
  left: 11px;
  top: -2px;
  width: 7px;
  height: 18px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(95deg);
  opacity: 0;
  /* transition: opacity 0.2s; */
}

/* When checked: show the tickmark, no top-right border */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  border-color: #fff transparent #fff #fff;
  transform: rotate(-50deg);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
  opacity: 1;
}

/* custom checkboxes */

/* filter search */
.searchbarMain{
  display: flex;
    /*justify-content: center;*/
    justify-content: left;
    align-items: center;
    width: 100%;
    gap: 12px;
}
 .back-btn {
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 12px;
    padding: 10px 20px;
    cursor: pointer;
  }

  .back-btn img {
    width: 30px;
    height: 30px;
  }

  .search-bar {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 10px 15px;
    width: 100%;
  }

  .search-bar img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .search-input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 20px;
    width: 100%;
  }

  .search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
  }
/* filter search */

/* double range */
.wrapperDoubleRange {
  position: relative;
}
.containerDoubleRange {
  position: relative;
  width: 100%;
  height: 60px;
  /* margin-top: 30px; */
}
.filter-section input[type="range"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  background-color: transparent;
  pointer-events: none;
}
.slider-track {
  width: 100%;
  height: 2px;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  border-radius: 5px;
}
input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 2px;
}
input[type="range"]::-moz-range-track {
  -moz-appearance: none;
  height: 2px;
}
input[type="range"]::-ms-track {
  appearance: none;
  height: 2px;
}
.filter-section input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  background-color: #fff;
  cursor: pointer;
  margin-top: -9px;
  pointer-events: auto;
  border-radius: 50%;
}
.filter-section input[type="range"]::-moz-range-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #fff;
  pointer-events: auto;
  border: none;
}
.filter-section input[type="range"]::-ms-thumb {
  appearance: none;
  height: 18px;
  width: 18px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #fff;
  pointer-events: auto;
}
.filter-section input[type="range"]:active::-webkit-slider-thumb {
  background-color: #ffffff;
  border: 1px solid #fff;
}
.values{
  height: 60px;
}
 .filter-section .values {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
  }

  .filter-section .values input[type="number"] {
    background: transparent;
    border: none;
    border-bottom: 1px solid white;
    color: white;
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    outline: none;
  }

  .filter-section .values input[type="number"]::-webkit-inner-spin-button,
  .filter-section .values input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  .filter-section .values span {
    color: white;
  }
  .supDiv{
    width: 20px;
    display: flex;
  }
  .filter-section .values input[type="number"]::-webkit-inner-spin-button,
.filter-section .values input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.filter-section .values input[type="number"] {
  -moz-appearance: textfield; /* for Firefox */
}
.form-check-input[type="radio"]{
  transform: scale(1.4);
}
.formatted-input {
  color: white;
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid white;
  background: transparent;
  text-align: center;
  outline: none;
  width: 100%;
  display: inline-block;
}
.availableCustomCheckBox{
  background:#7799ff;
}
.reservedCustomCheckBox{
  background:#f6bc3b;
}
.soldCustomCheckBox{
  background:#ff4534;
}

/* double range */

@media (min-width: 992px) and (max-width: 1540px){
  .top-controls-container {
    max-width: 400px;
  }
  .filter-header{
    font-size: 18px;
  }
  .filter-header img {
    max-width: 22px;
  }
}
@media (min-width: 1921px) and (max-width: 3000px){
  .detailsCardMain #toggleIcon{
    width: 35px;
  }
  .logo {
    max-width: 250px;
  }
  .top-controls-container{
    max-width: 800px;  
  }
  .sidebar-icon img{
    width: 50px;
    height: 50px;
  }
  .sidebar-icon {
    margin: 15px 0;
  }
  .back-btn img {
    width: 40px;
    height: 40px;
  }
  .search-bar img {
    width: 34px;
    height: 34px;
  }
  .search-input{
    font-size: 28px;
  }
  .filter-panel{
    max-width: 480px;
    width: 480px;
  }
  .filter-header{
    font-size: 32px;
  }
  .filter-header img {
    max-width: 32px;
    margin-right: 16px;
  }
  .filter-section .options{    
    font-size: 30px;
  }
  .availOrientOptions{
    display: flex !important;
    flex-wrap: wrap;
  }
  .formatted-input{    
    font-size: 30px;
  }
  .options.buttons button{    
    font-size: 30px;
  }
  .sidebar-icon:hover::before{
    font-size: 26px;
  }
  /* details card */
  .details-card {    
    width: 550px;
    max-width: 550px;
  }
  .details-card .card-title{
    font-size: 42px;
  }
  .details-card .textStyle {
    font-size: 34px;
  }
  .details-card .available{
    font-size: 25px;
  }
  .details-card .card-image {
    height: 280px;
  }
  .cardDetails span.p20{
    font-size: 22px;
  }
  .details-card .btn{
    font-size: 20px;
  }
  .custom-checkbox .checkmark{
    width: 30px;
    height: 30px;
  }
  .custom-checkbox .checkmark::after{
    left: 15px;
    top: 3px;
  }
}
@media(min-width: 3000px){
  .logo {
    max-width: 350px;
  }
  .top-controls-container{
    max-width: 1000px;  
  }
  .sidebar-icon img{
    width: 70px;
    height: 70px;
  }
  .sidebar-icon {
    margin: 25px 0;
  }
  .back-btn img {
    width: 60px;
    height: 60px;
  }
  .search-bar img {
    width: 44px;
    height: 44px;
  }
  .search-input{
    font-size: 36px;
  }
  .filter-panel{
    max-width: 800px;
    width: 800px;
  }
  .filter-header{
    font-size: 46px;
  }
  .filter-header img {
    max-width: 46px;
    margin-right: 26px;
  }
  .filter-section .options{    
    font-size: 42px;
  }
  .availOrientOptions{
    display: flex !important;
    flex-wrap: wrap;
  }
  .formatted-input{    
    font-size: 42px;
  }
  .options.buttons button{    
    font-size: 42px;
  }
  .wrapperDoubleRange{
    margin-bottom: 30px;
  }
  .sidebar-icon:hover::before{
    font-size: 32px;
  }
  /* details card */
  .details-card {    
    width: 650px;
    max-width: 650px;
  }
  .details-card .card-title{
    font-size: 48px;
  }
  .details-card .textStyle {
    font-size: 38px;
  }
  .details-card .available{
    font-size: 32px;
  }
  .details-card .card-image {
    height: 350px;
  }
  .cardDetails span.p20{
    font-size: 26px;
  }
  .details-card .btn{
    font-size: 24px;
  }
  .custom-checkbox .checkmark{
    width: 30px;
    height: 30px;
  }
  .custom-checkbox .checkmark::after{
    left: 15px;
    top: 3px;
  }
}