.nav-tabs.property_tabs .nav-link {
  width: 100%;
  background-color: #F7F7F7;
  font-size: 22px;
  font-weight: bold;
  color: var(--gray);
  border-bottom: 4px solid #E0E0E0;
  border-radius: 0;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Active state follows the checked radio */
.nav-tabs.property_tabs .btn-check:checked + .nav-link {
  color: var(--main_primary);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  border-bottom: 4px solid var(--main_primary);
}

/* Hover effect */
.nav-tabs.property_tabs .nav-link:hover {
  background-color: #ececec;
  color: var(--main_primary);
}

/* Hide radios */
.nav-tabs.property_tabs .btn-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Layout side by side */
.nav-tabs.property_tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}


/* Anchor */
#address-autocomplete-wrap {
  position: relative;
  overflow: visible;   /* don’t clip dropdown */
}

/* The menu */
#address-autocomplete-wrap .autocomplete-menu.ui-autocomplete {
  position: absolute !important;   /* force overlay */
  top: calc(100% + 6px);           /* right below input */
  left: 0;
  right: 0;
  z-index: 9999;                   /* always on top */
  max-height: 320px;
  overflow-y: auto;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: .5rem;
  background: #fff;
  margin: 0;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Each item wrapper (we added class via classes.ui-menu-item-wrapper) */
#address-autocomplete-wrap .autocomplete-item {
  padding: 0; /* handled in template */
  line-height: 1.2;
}

/* Hover/active (jQuery UI adds .ui-state-active to the wrapper) */
#address-autocomplete-wrap .ui-state-active {
  background: rgba(0,123,255,.08); /* subtle primary tint */
}

/* Typography tweaks */
#address-autocomplete-wrap .line-1 { font-weight: 600; }
#address-autocomplete-wrap .line-2 { margin-top: .15rem; }

/* Make <mark> look nice in Bootstrap context */
#address-autocomplete-wrap mark {
  background: #ffe38f;
  padding: 0 .15rem;
  border-radius: .2rem;
}

/* Item container */
.autocomplete-item {
  padding: 8px 12px;           /* adds space left & right */
  line-height: 1.3;
  cursor: pointer;
  border-bottom: 1px solid #f1f1f1;
}

/* Main line (city/town) */
.autocomplete-item .line-1 {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

/* Secondary line (county/region) */
.autocomplete-item .line-2 {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

/* Hover/active state */
.ui-menu-item-wrapper.ui-state-active,
.autocomplete-item:hover {
  background: #f8f9fa;
  border-radius: 4px;
}

/* Wrapper label */
.checkbox_design {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  font-size: 14px;
  user-select: none;
}

/* Hide native checkbox */
.checkbox_design input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Custom box */
.checkbox_design .checkmark {
  height: 22px;
  width: 22px;
  background-color: #F7F7F7;
  border: 2px solid #C3C3C3;
  border-radius: 3px;
  display: inline-block;
  margin-right: 8px;
  position: relative;
  margin-left: 10px;
}

/* Tick when checked */
.checkbox_design input:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid var(--main_primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tool_t {
  position: relative;
  display: inline-block;
}

.tool_t .tooltip_text {
  visibility: hidden;
  width: 18vw;
  background-color: #fff;
  color: rgb(66, 66, 66);
  border-radius: 4px;
  padding: 6px;
  position: absolute;
  z-index: 199;
  font-size: 11px;
  border: solid 1px #d1d1d1;
  font-weight: 500;
  left: -30px;
  top: 25px;
  text-align: justify;
  font-weight: 600;
  word-spacing: normal;
  right: auto;
}
.tool_t:hover .tooltip_text{
      visibility: visible;
}
.tool_t span {
  display: inline-block;
  margin-left: 5px;
}

.tooltip_text::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid lightblue;
  left: 34px;
  bottom: -7px;
  margin: 0 auto;
}

.tool_t i.fa {
  cursor: pointer;
  color: #003366;
  font-size: 14px;
  vertical-align: middle;
}

.chart-donut2 svg {
    font-weight: bold;
    font-size: 20px;
    display: block;

}

.chart-donut2 text.toolCircle {
    font-size: 14px !important;
    font-weight: 600 !Important;
}

.chart-donut2 polyline {
    stroke: #000;
    stroke-width: 2px;
    fill: none
}

.chart-donut2 .labelName tspan {
    font-style: normal;
    font-weight: 700
}

.chart-donut2 .labelName {
    font-size: .9em;
    font-style: italic;
    color: red
}

.chart-donut2 {
    margin-top: 0px;
}

.chart-donut2 svg {
    font-weight: bold;
    font-size: 20px;
    display: block;
    padding-left: 69px;
}

.chart-donut2 text.toolCircle {
    font-size: 14px !important;
    font-weight: 600 !Important;
}

.chart-donut2 polyline {
    stroke: #000;
    stroke-width: 2px;
    fill: none
}

.chart-donut2 .labelName tspan {
    font-style: normal;
    font-weight: 700
}

.chart-donut2 .labelName {
    font-size: .9em;
    font-style: italic;
    color: red
}

@media (max-width: 768px) {
  .chart-donut2 svg {
      margin: -40px auto 40px;
  }
}

@media (max-width: 767px){
    .chart-head {top: 75%}
    .chart-head {
        left: 12px;
    }
    .chart-head .falling,
    .chart-head .flat,
    .chart-head .rising {
        margin-right: 5px;
    }
}

@media only screen and (min-width: 1024px) and (max-height: 1366px) and (-webkit-min-device-pixel-ratio: 1.5) {
  .chart-head {
      bottom: 40px;
  }
  .chart-donut2 {
      margin-left: -58px;
  }
}
@media (max-width: 768px) {
  .chart-donut2,
  .chart-donut {
      margin-left: -15px;
  }
}

.chart-head,
.westmap {

    position: relative;
    bottom: 0;
    vertical-align: middle;
    line-height: 30px
}
  
.chart-head {
    top: 34%;
    left: 24px
}

.chart-head {
    left: 0;
    right: 0;
    text-align: center;
}

.chart-head .falling,
.chart-head .flat,
.chart-head .rising {
    display: inline-block;
    margin-right: 15px;
}

.westmap {
    top: 0%;
}

.avgprice {
    font-size: 13px;
    font-weight: 700
}

.falling span,
.flat span,
.rising span {
    margin-left: 10px;
    font-size: 15px;
    font-weight: 700
}

.arrow-fall {
    width: 36px;
    height: 12px;
    position: relative;
    background: #e71f01;
    display: inline-block
}

.arrow-fall:after,
.arrow-fall:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent
}

.arrow-fall:after {
    left: 0;
    border-left: 6px solid #f6f6f6
}

.arrow-fall:before {
    right: -6px;
    border-left: 6px solid #e71f01
}

.falling span {
    color: #e71f01
}

.arrow-flat {
    width: 36px;
    height: 12px;
    position: relative;
    background: #fed23e;
    display: inline-block
}

.arrow-flat:after,
.arrow-flat:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent
}

.arrow-flat:after {
    left: 0;
    border-left: 6px solid #f6f6f6
}

.arrow-flat:before {
    right: -6px;
    border-left: 6px solid #fed23e
}

.flat span {
    color: #fed23e
}

.arrow-rise {
    width: 36px;
    height: 12px;
    position: relative;
    background: #98c000;
    display: inline-block
}

.arrow-rise:after,
.arrow-rise:before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent
}

.arrow-rise:after {
    left: 0;
    border-left: 6px solid #f6f6f6
}

.arrow-rise:before {
    right: -6px;
    border-left: 6px solid #98c000
}

.rising span {
    color: #98c000
}

/* ===== Scrollbar Styling for All Browsers ===== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f2f2f2; /* Light background */
}

::-webkit-scrollbar-thumb {
  background-color: #c06;  /* Your brand color */
  border-radius: 10px;
  border: 2px solid #f2f2f2; /* creates some spacing effect */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #a00555; /* Darker shade on hover */
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #c06 #f2f2f2; /* thumb | track */
}


/* Step 3 list reveal animation */
.step3 .check_end li {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.step3 .check_end li.visible {
  opacity: 1;
  transform: none;
}

/* Simple progress bar */
.eea-progress {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 999px;
  overflow: hidden;
}
.eea-progress-bar {
  height: 100%;
  width: 0%;
  background: #E30074; /* your primary */
  transition: width .3s ease;
}
