* {
  font-family: 'Roboto', sans-serif !important;
}

body {
  font-size: 14px !important;
  font-family: 'Roboto', sans-serif;
}

a {
  text-decoration: none !important;
}

.container {
  width: 100%;
}

#page-loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #d9d9d9d6;
  z-index: 9999;
  top: 0;
  left: 0;
}
.loader-center {
  height: 100vh;
}

.leaflet-container {
  overflow: hidden;
}
.leaflet-tooltip {
  max-width: none !important;
  white-space: normal;
}
.leaflet-tooltip.map-tooltip {
  position: absolute !important;
  width: max-content;
  pointer-events: none;
  z-index: 9999;
  transform: none !important;
}
.leaflet-tooltip:before {
  display: none;
}
.leaflet-tooltip-pane {
  pointer-events: none;
}
.fixed-tooltip {
  position: absolute;
  display: none;
  bottom: 60px;
  left: 10px;
  width: max-content;
  max-height: calc(100% - 80px);  /* never taller than the map */
  overflow-y: auto;               /* scroll inside instead of clipping the top */
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  pointer-events: auto; 
  z-index: 9999;
  opacity: 0.9;
}

/* Close icon stays visible at top-right even when tooltip scrolls */
.fixed-tooltip .tooltip-close-btn {
  position: sticky;
  top: 0;   /* required for sticky to work — keeps the icon visible while scrolling */
  float: right;
  background: #ae0f1ea6;
  border: none;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  padding: 0 5px;
  cursor: pointer;
  color: #fff;
  z-index: 10;
  margin: 5px 5px;
}
.comparable-property-chk {
  width: 15px;
  height: 15px;
  border: 2px solid rgb(39, 178, 77);
}
.comparable-property-chk:checked {
  background-color: #3ab87a;
  border-color: #3ab87a;
}

/* Top-right Radius control */
.radius-control {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 1000;
}
.radius-btn {
  min-width: 60px;
  font-weight: 600;
}
.radius-btn.active {
  background-color: #0d6efd !important;
  color: #fff !important;
}
/* End Top-right Radius control */

.form-loader-overlay {
    position: absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#ffffff47;
    z-index:999;
}
.table-loading-cell{
    height:400px;
}
.table-loading-content{
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

#banner-enrollment-form {
  width: 100% !important;
}
#banner-enrollment-form #field_7_29 .gfield_label {
  display: inline-block !important;
}
#banner-enrollment-form .modal-header {
  margin: 0;
}
#banner-enrollment-form .properties-modal .btn-close {
  background: transparent;
}
#banner-enrollment-form .tab-enroll-heading {
  margin: 15px 0px 15px 0px !important;
}
#banner-enrollment-form #gform_submit_button_7 {
  display: none;
}
.popbox .gform_wrapper li.gfield i {
    display: block;
}
.popbox #banner-enrollment-form #gform_7 input[type="radio"] {
  display: block;
}
.popbox .gform_wrapper .gfield.radiobtn ul.gfield_radio li label::before {
  display: none;
}
.popbox .gform_wrapper .gfield.radiobtn ul.gfield_radio li {
  display: flex !important;
}
.popbox .gform_wrapper .gfield.radiobtn ul.gfield_radio li label {
  padding-left: 10px !important;
}
.fancybox-inner .banner-enrollment-form .tab-content {
    padding: 0 5px;
}
.fancybox-inner #banner-enrollment-form .card-container, .fancybox-inner #banner-enrollment-form .list-group-item {
    background: transparent;
    box-shadow: none;
}
.fancybox-wrap {
    width: 700px !important; 
}
.fancybox-inner {
    width: 680px !important;
    height: 590px !important;
}
.fancybox-inner .fancybox-close {
   z-index: 999 !important;
}
.fancybox-inner .popbox {
    width: 660px; 
}
.fancybox-inner #banner-enrollment-form #field_7_20 {
  display:none !important;
}
.fancybox-inner .banner-enrollment-form {
    margin-top: 0 !important;
}
.fancybox-inner .banner-enrollment-form  .form-label {
  color: #444;
}
.fancybox-inner #banner-enrollment-form #field_7_35  {
  margin-right: 0;
}
.fancybox-inner ol, ul {
    padding-left: 0;
}
.fancybox-inner .gform7-terms{ display: none;}
.fancybox-inner #banner-enrollment-form #field_7_34, .fancybox-inner #banner-enrollment-form #field_7_36 {
    width: 46% !important; 
}
.fancybox-inner .popbox .gform_wrapper {
    padding: 0;
}
.fancybox-inner #banner-enrollment-form #field_7_29 {
    margin-bottom: 0;
}
.fancybox-inner #hphead-withform .gform_body ul.gfield_radio li {
   display: flex !important;
}
.fancybox-inner #hphead-withform .gform_body ul.gfield_radio li input[type=radio]:checked+label::before, .fancybox-inner #hphead-withform .gform_body ul.gfield_radio li label::before {
   display: none !important;
}
.fancybox-inner #hphead-withform .gform_body .gfield.radiobtn ul.gfield_radio li label {
    padding: 0 0 0 5px !important;
}

/************ Common Loader ************/
.circle-loader-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-self: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.75);
  z-index: 9999;
}

.circle-loader {
  width: 60px;
  height: 60px;
  position: relative;
}

.circle-loader div {
  height: 10px;
  width: 10px;
  background-color: #27B24D;
  border-radius: 50%;
  position: absolute;
  -webkit-animation: 0.8s opaque ease-in-out infinite both;
  animation: 0.8s opaque ease-in-out infinite both;
}

.circle-loader>div:nth-child(1) {
  top: -25px;
  left: 0;
}

.circle-loader>div:nth-child(2) {
  top: -17px;
  left: 17px;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.circle-loader>div:nth-child(3) {
  top: 0;
  left: 25px;
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.circle-loader>div:nth-child(4) {
  top: 17px;
  left: 17px;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.circle-loader>div:nth-child(5) {
  top: 25px;
  left: 0;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.circle-loader>div:nth-child(6) {
  top: 17px;
  left: -17px;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.circle-loader>div:nth-child(7) {
  top: 0;
  left: -25px;
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.circle-loader>div:nth-child(8) {
  top: -17px;
  left: -17px;
  -webkit-animation-delay: 0.7s;
  animation-delay: 0.7s;
}

@keyframes opaque {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }

  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

/************ Start Background CSS **********/
.bg-green {
  background: #27B24D !important;
}

.bg-light-green {
  background: #F0FFF4 !important;
}

.bg-darkgreen {
  background: #123237 !important;
}

.bg-light-green {
  background: #EFFFF3 !important;
}

.bg-about-card {
  background: #e9e9e9 !important;
}

.bg-light-white {
  background: #f5f5f5 !important;
}

.bg-blue {
  background: #003f63 !important;
}

/************ End Background CSS **********/

/************ Start Text CSS **********/
.text-green {
  color: #27B24D !important;
}

.text-black {
  color: #272727 !important;
}

.text-light-black {
  color: #444444 !important;
}

.text-gray {
  color: #606060 !important;
}

.text-justify {
  text-align: justify !important;
}

.text-dark-blue {
  color: #012646 !important;
}

/************ End Text CSS **********/

/************ Start Green Border CSS **********/
.border-green {
  border: 1px solid #27B24D !important;
}

.border-bottom-green {
  border-bottom: 1px solid #27B24D !important;
}

.border-blue {
  border: 1px solid #003f63 !important;
}

.border-top-blue {
  border-top: 1px solid #27b24d59;
}

.border-bottom-blue {
  border-bottom: 1px solid #27b24d59;
}

.left-spc {
  left: 15px;
}

.right-spc {
  right: 15px;
}

/************ End Green Border CSS **********/

/*********** Start Font Size CSS **********/
.fs-12 {
  font-size: 12px !important;
}

.fs-13 {
  font-size: 13px !important;
}

.fs-14 {
  font-size: 14px !important;
}

.fs-15 {
  font-size: 15px !important;
}

.fs-16 {
  font-size: 16px !important;
}

.fs-17 {
  font-size: 17px !important;
}

.fs-18 {
  font-size: 18px !important;
}

.fs-19 {
  font-size: 19px !important;
}

.fs-20 {
  font-size: 20px !important;
}

.fs-21 {
  font-size: 21px !important;
}

.fs-22 {
  font-size: 22px !important;
}

.fs-23 {
  font-size: 23px !important;
}

.fs-24 {
  font-size: 24px !important;
}

.fs-25 {
  font-size: 25px !important;
}

.fs-26 {
  font-size: 26px !important;
}

.fs-27 {
  font-size: 27px !important;
}

.fs-28 {
  font-size: 28px !important;
}

.fs-29 {
  font-size: 29px !important;
}

.fs-30 {
  font-size: 30px !important;
}

.fs-31 {
  font-size: 31px !important;
}

.fs-32 {
  font-size: 32px !important;
}

.fs-33 {
  font-size: 33px !important;
}

.fs-34 {
  font-size: 34px !important;
}

.fs-35 {
  font-size: 35px !important;
}

.fs-36 {
  font-size: 36px !important;
}

.fs-37 {
  font-size: 37px !important;
}

.fs-38 {
  font-size: 38px !important;
}

.fs-39 {
  font-size: 39px !important;
}

.fs-40 {
  font-size: 40px !important;
}

.fs-41 {
  font-size: 41px !important;
}

.fs-42 {
  font-size: 42px !important;
}

/*********** End Font Size CSS **********/

.top-bar {
  color: white;
  padding: 15px 0;
  /* background-color: #012646; */
  background: #27464b;
}

.bottom-bar {
  font-size: 18px;
  color: white;
  font-weight: 500;
  padding: 15px 0;
  background-color: #27B24D;
}

.phone-icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  margin-right: 10px;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  border-radius: 50%;
}

.phone-icon img {
  width: 45px;
}

.logo-img {
  max-height: 80px;
}

a.white-link {
  color: white;
  text-decoration: underline !important;
}

a.white-link:hover {
  color: #e6e6e6;
}

.section-p-hide>p,
.dual-slider-group p,
.range-container>p {
  display: none !important;
}

/************** Start Search CSS ************/
.county-search-heading {
  color: #012646;
  font-size: 40px;
}

.search-box {
  height: 56px;
  display: flex;
  padding: 12px 10px 12px 20px;
  align-items: center;
  background: #DBEBFB;
  border: 1px solid #45637F;
  border-radius: 40px;
}

.search-box input {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  font-size: 1rem;
  outline: none;
}

.search-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #012646;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.search-icon-loading-btn {
  width: 140px !important;
  border-radius: 20px !important;
}

.advanced-btn {
  height: 56px;
  background: #008CBA;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.clear-filter {
  height: 15px;
  color: #27b24d;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  border-bottom: 1px solid #27b24d;
  line-height: 0.8;
  cursor: pointer;
}

#propertysearch-dropdown {
  width: 95%;
  min-width: 55px;
  max-height: 250px;
  position: absolute;
  display: none;
  left: 28px;
  top: 60px;
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 10px;
  overflow-y: auto;
  scroll-behavior: smooth;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

#propertysearch-dropdown .list-group-item {
  background: #F5F7FF;
}

/************** End Search CSS ************/

/************** Start Dropdown styling **************/
.advanced-dropdown {
  width: 100%;
  height: auto;
  position: absolute;
  /* display: block; */
  left: 0;
  top: 20px !important;
  background: #fff;
  transform: translate(0px, 70px) !important;
  overflow-y: auto;
  border-radius: 12px;
  border: 0;
  box-shadow: 0 0 10px #c1c1c1 !important;
  z-index: 10;
}

#advanced-dropdown {
  width: 100%;
  margin-top: 10px;
  transform: translate(0px, 70px) !important;
}

.section-card {
  position: relative;
  padding: 15px;
  background: #F4F6FF;
  border-radius: 10px;
  border: 0;
}

.section-title {
  display: flex;
  margin-bottom: 10px;
  padding-bottom: 5px;
  color: #012646;
  font-weight: bold;
  font-size: 16px;
  align-items: center;
  border-bottom: 1px solid #27b24d59;
}

.section-title i {
  width: 25px;
  height: 25px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: #27B24D;
  font-size: 12px;
  flex-shrink: 0;
  border-radius: 50%;
}

.section-card .span-to { 
  position: relative;
  top:8px;
}

.sale-date input {
  min-width: 0;
  flex: 1;
}

.section-card .form-control,
.section-card .form-select {
  font-size: 0.9rem;
  border: 1px solid #27b24d87;
}
.section-card .form-control:focus, .section-card .form-select:focus {
  box-shadow: 0 0 0 .25rem #27b24d47;
}

#homesteadSwitch,
#protestedSwitch {
  width: 45px;
  height: 22px;
  background-color: #D9D9D9;
  border: 1px solid #c7c7c7;
  cursor: pointer;
}

.form-switch .form-check-input {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='white'/%3e%3c/svg%3e");
}

#homesteadSwitch:checked,
#protestedSwitch:checked {
  background-color: #D2F6DC;
  border: 1px solid #27B24D;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23118C33'/%3e%3c/svg%3e");
}

#homesteadSwitch:focus,
#protestedSwitch:focus {
  background-color: #D2F6DC;
  border: 1px solid #27B24D;
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23118C33'/%3e%3c/svg%3e");
  box-shadow: 0 0 0 .25rem rgb(39 178 77 / 20%);
}

/*** Input range css ***/
.dual-slider-group {
  margin-bottom: 20px;
}

.range-container {
  position: relative;
  height: 40px;
}

.form-label {
  font-size: 15px;
  color: #333;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0;
}

.range-input {
  position: absolute;
  width: 100%;
  top: 14px;
  pointer-events: none;
  background: none;
  appearance: none;
  z-index: 1;
}

.range-input::-webkit-slider-thumb {
  pointer-events: all;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #075F7C;
  cursor: pointer;
  appearance: none;
}

.range-input::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #075F7C;
  cursor: pointer;
}

.slider-track {
  position: absolute;
  height: 3px;
  top: 50%;
  left: 0 !important;
  right: 0 !important;
  transform: translateY(-50%);
  background: #D7D7D7;
  width: 100%;
  border-radius: 4px;
  z-index: 0;
}

.slider-track-fill {
  position: absolute;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: #ba00aa !important;
  border-radius: 4px;
  z-index: 0;
}

.range-footer {
  font-size: 0.85rem;
  color: #555;
  display: flex;
  justify-content: space-between;
}

.btn-apply {
  display: flex;
  margin-top: 15px;
  padding: 0;
  align-items: center;
  color: #606060;
  font-size: 16px;
  font-weight: 600;
  background: transparent;
  border: 0;
  float: right;
}

.btn-apply i {
  width: 35px;
  height: 35px;
  margin-right: 8px;
  margin-left: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 15px;
  background: #27b24d;
  flex-shrink: 0;
  border-radius: 50%;
}

.btn-apply:active {
  color: #444 !important;
  background: transparent !important;
  border: 0;
}

.btn-apply:hover {
  background-color: transparent !important;
  color: #444 !important;
  border: 0;
}

/************** End Dropdown styling **************/

/************** Start feature card CSS ************/
.feature-section {
  width: 100%;
  background: #f9fafc;
}

.feature-section-heading {
  color: #012646;
  font-size: 32px;
}

.feature-section .feature-card {
  height: 100%;
  padding: 10px;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all .2s ease;
}

.feature-section .feature-card:hover {
  background: #F5FFF8;
  border: 1px solid #27B24D;
  box-shadow: 0 4px 12px rgb(39 178 77 / 50%);
}

.feature-section .icon-box {
  width: 75px;
  min-width: 75px;
  height: 75px;
  padding: 15px;
  border-radius: 10px;
  background: #27B24D;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-section .icon-box svg {
  width: 34px;
  height: 34px;
  color: #fff;
}

.feature-section .feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-left: 18px;
  color: #2a2a2a;
}

.feature-section .feature-desc {
  margin-top: 20px;
  margin-bottom: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
}

/************** End feature card CSS ************/

/************** Start Property Search Result CSS ************/
:root {
  --header-bg: #072f5f;
  --primary-blue: #0b82ca;
  --link-blue: #0b8bd9;
  --row-border: #d7e6f6;
  --card-border: #d0d7df;
  --bg: #f6f9fc;
  --row-shadow: 0 2px 6px rgba(5, 33, 63, 0.06);
}

h3.page-title {
  font-size: 22px;
  font-weight: 700;
  color: #16384a;
  margin-bottom: 18px;
}

/* Top action buttons */
.actions-top {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 10px;
}

.actions-top .advanced-dropdown {
  top: -90px !important;
}

.btn-pill {
  border-radius: 26px;
  padding: 8px 18px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-search,
.btn-search:hover,
.btn-search:focus,
.btn-search:active,
.btn-search:focus-visible {
  background: linear-gradient(180deg, #198754, #27b24d);
  color: #fff !important;
  border: none;
}

.btn-edit,
.btn-edit:hover,
.btn-edit:focus,
.btn-edit:active,
.btn-edit:focus-visible {
  background: #0d3c61 !important;
  color: #fff !important;
  border: none;
}

.btn-circle {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: #0d3c61;
  font-size: 18px;
}

#download-csv-format {
  background: #D06800;
  color: #FFF;
}

#save-table-data {
  background: #097C6C;
  color: #FFF;
}

/* Table wrapper */
.table-wrap {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 6px 10px 14px 10px;
}

table.property-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 5px;
}

table.property-table thead th {
  background: #27B24D;
  color: #fff;
  font-weight: 600;
  padding: 12px 14px;
  vertical-align: middle;
  white-space: nowrap;
  border-right: 1px solid #198754;
}

table.property-table>thead>tr>th, table.property-table>thead>tr>td {
    padding: 10px;
    border-bottom: 1px solid #27B24D;
}

table.property-table.dataTable.no-footer {
  border-bottom: 0;
}

table.property-table thead th:first-child {
  border-left: 0;
  border-top-left-radius: 10px;
}

table.property-table thead th:last-child {
  border-right: 0;
  border-top-right-radius: 10px;
}

table.property-table tbody tr {
  background: #c7f1d287;
  box-shadow: var(--row-shadow);
  border-radius: 5px;
  display: table-row;
}

table.property-table tbody tr:hover {
  box-shadow: inset 0 0 0 9999px rgb(123 194 255 / 17%);
}

table.property-table tbody tr {
  outline: 1px solid #27b24d;
  outline-offset: -1px;
}

table.property-table tbody td {
  position: relative;
  padding: 10px;
  font-size: 14px;
  color: #444;
  font-weight: 500;
  vertical-align: middle;
  white-space: nowrap;
}

table.property-table tbody td::after {
  content: "";
  position: absolute;
  right: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: #289d48;
}

table.property-table tbody td:last-child::after {
  display: none;
}

table.dataTable.row-border>tbody>tr>th,
table.dataTable.row-border>tbody>tr>td,
table.dataTable.display>tbody>tr>th,
table.dataTable.display>tbody>tr>td {
  border-top: 0;
}

table.property-table tbody td:last-child {
  border-right: 0;
}

table.property-table tbody td:first-child {
  width: 80px;
  text-align: center;
  color: #606060;
  font-weight: 400;
}

.prop-link {
  color: var(--link-blue);
  text-decoration: none;
  font-weight: 600;
}

.prop-link:hover {
  text-decoration: underline;
}

.muted {
  color: #6c7a84;
}

table.dataTable.stripe>tbody>tr.odd>*,
table.dataTable.display>tbody>tr.odd>*,
table.dataTable.display>tbody>tr.odd>.sorting_1,
table.dataTable.order-column.stripe>tbody>tr.odd>.sorting_1,
table.dataTable.display>tbody>tr.even>.sorting_1,
table.dataTable.order-column.stripe>tbody>tr.even>.sorting_1 {
  box-shadow: none;
}

.dataTables_wrapper .row {
  margin-left: 0;
  margin-right: 0;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  color: #444 !important;
  border: 1px solid #073B3A;
  border-radius: 7px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: white !important;
  border: 1px solid #042c30c7 !important;
  background: #042c30c7 !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  color: #fff !important;
  border: 1px solid #073B3A;
  background: #073B3A;
}

.table-href {
  color: #4576cf !important;
  text-decoration: underline !important;
}

/* .dataTables_wrapper .dataTables_filter {
  display: none;
} */
.dataTables_wrapper .dataTables_paginate .paginate_button.next {
  color: #fff !important;
  border: 1px solid #27B24D;
  background: #27B24D;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
  cursor: default;
  color: #666 !important;
  border: 1px solid transparent;
  background: #dee2e6;
  box-shadow: none;
  cursor: no-drop;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.previous {
  color: #fff !important;
  border: 1px solid #27B24D;
  background: #27B24D;
}

.dataTables_wrapper .dataTables_scroll {
  overflow: visible;
  /* Ensure info and pagination stay visible */
}

.dataTables_paginate i {
  margin: 0 4px;
  font-size: 14px;
}

.dataTables_wrapper .dataTables_info,
.dataTables_length,
.dataTables_filter {
  color: #444 !important;
  font-size: 16px;
  font-weight: 600;
}

.dataTables_wrapper .dataTables_filter input:focus-visible {
  outline: none;
}

/************** End Property Search Result CSS ************/

/************** Start Table Fields Edit Modal CSS ************/
.modal-header {
  background: #FFF;
  color: #012646;
  border-bottom: 1px solid #9CD1FF;
  padding: 10px 10px;
  margin: 0 15px;
}

.modal-title {
  font-weight: 600;
  font-size: 20px;
  width: 100%;
  text-align: center;
}

.btn-close {
  width: 10px;
  height: 10px;
  padding: 7px !important;
  font-size: 10px;
  background-color: #9ce5ac;
  opacity: 1;
  border-radius: 50%;
  color: #FFF !important;
}

.modal-body {
  padding: 30px 40px;
}

.modal-section-title {
  font-weight: 600;
  margin-bottom: 12px;
  text-align: center;
}

.entry-box {
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  background: #fbfcfe;
  padding: 8px;
  /* min-height: 360px; */
  height: 100%;
}

.entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.entry-item {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  font-size: 14px;
}

.entry-item:last-child {
  margin-bottom: 0;
}

.drag-icon {
  font-size: 14px;
  color: #6c757d;
}

.modal-footer {
  background: #e6f1ff;
  border-top: none;
  padding: 16px 24px;
  justify-content: center;
  gap: 12px;
}

.btn-modal-reset,
.btn-modal-reset:hover,
.btn-modal-reset:focus-visible {
  width: 100px;
  background: #0D5190;
  color: #fff;
  padding: 6px 22px;
}

.btn-modal-apply,
.btn-modal-apply:hover,
.btn-modal-apply:focus-visible {
  width: 100px;
  background: #118C33;
  color: #fff;
  padding: 6px 28px;
}

.ui-sortable-placeholder {
  height: 36px;
  background: #eef3f9;
  border: 1px dashed #9db4d8;
  visibility: visible !important;
}

/************** End Table Fields Edit Modal CSS ************/

/************** Start Property Details Tab CSS ************/
.exact-tabs {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
}

.exact-tabs .nav-link {
  width: 100%;
  border: none;
  font-size: 22px;
  font-weight: 600;
  padding: 18px 0;
  color: #0b2d4f;
  background: #c7f1d287;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.exact-tabs .nav-link.active {
  background: #27B24D;
  color: #fff;
  border-radius: 12px 12px 0 0;
}

.property-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.property-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-header h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0;
  color: #012646;
}

.location-icon {
  width: 22px;
  height: 22px;
  font-size: 26px;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #20b25c;
}

/* .location-icon::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 7px;
  left: 7px;
} */
.divider {
  border-top: 1px solid #27b24d7a;
  margin: 5px 0 18px;
}

.btn-download {
  background: #27B24D;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 7px 16px;
}

.btn-download:hover {
  background: #289d48;
  color: #fff;
}

.btn-download:active,
.btn-download:focus {
  background: #289d48 !important;
  color: #fff !important;
}

.custom-back-btn {
    position: absolute;
    right: 170px;
    color: #FFF;
    background-color: #198754 !important;
    border-color: #198754 !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 7px 16px;
}

.custom-back-btn.result-back { 
  position: relative;
  right: 0;
  border-radius: 20px;
}

.custom-back-btn:hover {
    background-color: #219a42 !important;
    border-color: #219a42 !important;
    color: #FFF !important;
}


.property-details {
  padding-right: 30px;
}

.detail-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 15px;
  color: #8a8a8a;
}

.detail-row .data-list {
  /* position: absolute;
  left: 35%; */
  width: 65%;
  display: flex;
  flex-shrink: 0;
}

.detail-row .data-list strong {
  padding-left: 15px;
}

.detail-row strong {
  color: #0b2d4f;
}

.detail-row.highlight strong {
  color: #1f6fb2;
  font-size: 16px;
}

/* Map */
#leafletMap {
  height: 292px;
  border-radius: 12px;
  overflow: hidden;
}

.leaflet-control-zoom {
  border: none !important;
  box-shadow: none !important;
}

.leaflet-control-zoom a {
  background: #0b2d4f !important;
  color: #fff !important;
  border-radius: 4px !important;
}

/* Map */
.map-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 360px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-container.full {
  height: 450px;
}

/* Map zoom buttons */
.map-controls {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.map-controls button {
  background: #0b2d4f;
  color: #fff;
  border: none;
  width: 34px;
  height: 34px;
  font-size: 20px;
}

.section-card {
  background: #fff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}

.section-card-title {
  font-weight: 700;
  color: #012646;
  font-size: 18px;
}

.section-divider {
  height: 1px;
  background: #27b24d7a;
  margin: 10px 0 18px;
}

/* SAME HEIGHT ROOT */
/* .chart-wrapper, .table-wrapper {
  height: 100%;
  display: flex;       
  border-radius: 6px;
} */
.chart-wrapper {
  display: flex;
  border: 1px solid #012646;
  padding: 10px;
  border-radius: 6px;
  max-height: 330px;
}

.chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}

/* TABLE */
.history-table tbody {
  display: block;
  overflow-y: auto;
}

.history-table thead,
.history-table tbody tr {
  display: table;
  width: 100%;
  table-layout: fixed;
  margin-bottom: 8px;
}

.history-table thead th {
  background: #27B24D;
  color: #fff;
  padding: 10px 10px;
  font-weight: 600;
  text-align: center;
  position: relative;
}

.history-table thead th:first-child {
  border-top-left-radius: 10px;
}

.history-table thead th:last-child {
  border-top-right-radius: 10px;
}

.history-table thead th:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: #198754;
}

.history-table tbody tr {
  background: #c7f1d287;
  margin-bottom: 8px;
  border-radius: 6px;
}

.history-table tbody tr:first-child td {
  padding-top: 8px;
}

.history-table tbody tr.active {
  background: #d6ecff;
}

.history-table td {
  padding: 10px 12px;
  text-align: center;
  position: relative;
  white-space: normal;
  word-break: break-word;
  vertical-align: middle;
}

.history-table td:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: #289d48;
}

.history-table tbody tr td:first-child {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.history-table tbody tr td:last-child {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.history-table td.remarks {
  /* max-width: 350px;        
    white-space: nowrap;       
    overflow: hidden;          
    text-overflow: ellipsis;  
    cursor: pointer; */
  max-width: 350px;
  white-space: nowrap;
  overflow: hidden;
}

#valueHistoryPagination .page-link {
  color:#444;
}

#valueHistoryPagination .page-link:hover {
  color:#444;
}

#valueHistoryPagination .active>.page-link, .page-link.active {
   background-color: #27b24d;
   border-color: #27b24d;
   color:#fff;
}

.remarks-wrapper {
  display: flex;
  align-items: center;
  gap: 6px;
}

.remarks-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.info-icon {
  font-size: 15px;
  color: #0d6efd;
  cursor: pointer;
  flex-shrink: 0;
}

.remarks-tooltip .tooltip-inner {
  max-width: 400px;
  text-align: justify;
  white-space: normal;
  line-height: 1.4;
}

.improvement-summary {
  font-size: 16px;
  color: #606060;
  line-height: 1.4;
  margin-bottom: 15px;
}

.improvement-summary strong {
  font-weight: 700;
  color: #062846;
  padding-left: 5px;
}

/* Shared */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

.card-title {
  font-weight: 700;
  color: #062846;
  font-size: 18px;
}

.title-line {
  height: 1px;
  background: #27b24d7a;
  margin: 6px 0 14px;
}

/* Info text */
.info-row {
  position: relative;
  font-size: 15px;
  color: #444;
  margin-bottom: 8px;
}

.taxes-paid .info-row:last-child {
  margin-bottom: 0;
}

.info-row span {
  position: absolute;
  left: 30%;
}

.info-row span strong {
  padding-left: 15px;
}

.info-row strong {
  color: #062846;
  font-weight: 700;
}

/* Taxes Paid */
.taxes-paid {
  padding: 10px 24px;
  background: #ffffff;
}

.taxes-paid .card-body {
  padding: 0;
}

.location-info-table .label {
  width: 25%;
  font-size: 15px;
  color: #444;
  white-space: nowrap;
}

.location-info-table .colon {
  width: 10px;
  color: #6c757d;
}

.location-info-table .value {
  font-weight: 700;
  color: #062846;
  text-align: left;
}

/* .location-info-table .text-truncate {
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} */
/* Tax Savings */
.tax-savings {
  position: relative;
  padding: 10px;
  background: #073B3A;
  color: #ffffff;
}

.tax-savings .card-body {
  padding: 0;
}

.savings-title {
  font-size: 26px;
  font-weight: 700;
}

.savings-divider {
  height: 2px;
  background: #9fc4ff;
  margin: 8px -16px 16px;
}

.savings-title span {
  padding-left: 8px;
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
}

.savings-text {
  font-size: 20px;
  margin-top: 6px;
  font-weight: 400;
}

.savings-text strong {
  padding-left: 15px;
}

/* Icon */
.savings-icon-box {
  width: 100%;
  background: #eef6ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.savings-icon-box img {
  height: 135px;
  margin: 0 auto;
  position: relative;
  display: block;
}

/* Button */
.savings-btn {
  position: absolute;
  right: 30px;
  bottom: 55px;
  background: #27B24D;
  color: #fff;
  padding: 12px 26px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
}

.savings-btn:hover,
.savings-btn:active {
  background: #289d48 !important;
}

/* Location */
.property-location-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
}

.property-location-card .card-body {
  padding: 0;
}

.feature-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #0b4d88;
  padding: 24px;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.feature-card .card-header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card .card-title {
  font-weight: 700;
  color: #062846;
  margin: 0 0 0 15px;
}

.feature-card .icon-circle {
  width: 56px;
  height: 56px;
  background: #eaf4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card .icon-circle img {
  width: 28px;
}

.feature-card .option-box {
  margin-bottom: 14px;
}

.feature-card .option-item {
  display: flex;
  align-items: center;
  border: 1px solid #9fc4ff;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.feature-card .option-icon {
  width: 32px;
  height: 32px;
  background: #2dbf64;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.feature-card .checklist {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.feature-card .checklist span::before {
  content: "●";
  font-size: 20px;
  color: #22b24c;
  margin-right: 6px;
}

.feature-card .checklist-bordered {
  border-top: 1px solid #444;
  padding-top: 12px;
  margin-top: 0px;
  margin-bottom: auto;
}

.feature-card .address-badge {
  background: #007c6c;
  color: #fff;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 14px;
}

.feature-card .address-badge small {
  display: block;
  font-weight: 400;
  font-size: 13px;
}

.feature-card .feature-list {
  padding-left: 18px;
  margin-bottom: auto;
}

.feature-card .feature-list li {
  margin-bottom: 10px;
  position: relative;
}

.feature-card .feature-list li::marker {
  color: #2dbf64;
  font-size: 20px;
}

.feature-card .feature-card .btn-primary {
  background: #0b4d88;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 600;
  border: none;
}

/************** End Property Details Tab CSS ************/
/************** Start Map Tab CSS ************/
.maptab-container .top-bar {
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 22px;
  box-shadow: 0 10px 26px rgba(13, 110, 253, .12);
}

.maptab-container .address-text {
  font-size: 26px;
  font-weight: 700;
  color: #0b2545;
  letter-spacing: .2px;
}

/* .maptab-container .icon {
  width:36px;
  height:36px;
  border-radius:50%;
  background:#e8f9ee;
  color:#18b45b;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
} */

.maptab-container .sidebar {
  position: relative;
  background: #073B3A;
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  height: calc(100vh - 120px);
  overflow: auto;
}

.maptab-container .accordion-item {
  border: 0;
  margin-bottom: 5px;
  border-radius: 12px;
  background-color: transparent;
}

.maptab-container .accordion-button {
  background-color: #27B24D;
  padding: 7px 10px;
  color: #FFF;
  font-size: 15px;
}

.maptab-container .accordion-button {
  box-shadow: none;
}

.maptab-container .accordion-flush>.accordion-item>.accordion-header .accordion-button,
.maptab-container .accordion-flush>.accordion-item>.accordion-header .accordion-button.collapsed {
  border-radius: 7px;
}

.maptab-container .accordion-button:not(.collapsed) {
  box-shadow: none;
}

.maptab-container .accordion-button::after {
  display: none;
}

.maptab-container .accordion-flush>.accordion-item>.accordion-collapse {
  background-color: transparent;
}

.maptab-container .accordion-body {
  color: #FFF;
  padding: 10px;
}

.maptab-container .accordion-body p {
  display: none;
}



.section-view-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: #a8c8b8;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.filter-check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.filter-check-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border: 2px solid #5a9a7a;
  border-radius: 4px;
  background-color: #2a6b4a;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.15s;
}
.filter-check-row input[type="checkbox"]:checked {
  background-color: #3ab87a;
  border-color: #3ab87a;
}
.filter-check-row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0px;
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}
.maptab-container .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-orange { background-color: #f5a623; }
.dot-red { background-color: #e03535; }
.maptab-container .filter-label {
  color: #e8f5ee;
  font-size: 13.5px;
}
.maptab-container .section-divider {
  margin: 14px 0 12px;
}
.maptab-container .year-btn {
  background-color: #2e7d52;
  border: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background-color 0.15s, opacity 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}
.maptab-container .year-btn.active {
  background-color: #2e7d52;
}
.maptab-container .year-btn:not(.active) {
  background-color: #1e4a35;
  border: 1.5px solid #3a6e50;
  color: #8abfa0;
}
.maptab-container .year-btn .check-icon {
  font-size: 11px;
  font-weight: 900;
}
.maptab-container .year-btn:not(.active) .check-icon {
  display: none;
}
.maptab-container .hint-text {
  display: block !important;
  font-size: 11.5px;
  color: #7aab90;
  margin-top: 12px;
  line-height: 1.5;
}




.maptab-container .occupied-switch {
  background: transparent;
  padding: 0;
  border-radius: 8px;
  color: #fff;
}

.maptab-container .occupied-switch p {
  margin-bottom: 0;
}

.maptab-container .occupied-switch .label-text {
  font-weight: 600;
  font-size: 14px;
  margin-right: 20px;
}

.maptab-container .occupied-switch .option-text {
  font-size: 14px;
  opacity: .9;
  margin: 5px 10px 0 10px;
}

.maptab-container .occupied-switch .form-check-input {
  width: 42px;
  height: 22px;
  background-color: #D9D9D9;
  border: none;
  cursor: pointer;
}

.maptab-container .occupied-switch .form-check-input:checked {
  background-color: #D2F6DC;
  border: 1px solid #27b24d;
}

.maptab-container .occupied-switch .form-switch .form-check-input:checked {
  --bs-form-switch-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23118C33'/%3E%3C/svg%3E");
}

.maptab-container .occupied-switch .form-check-input:focus {
  box-shadow: none;
}

.maptab-container .occupied-switch .form-check-input::before {
  background: #27b24d;
}

.maptab-container .occupied-switch .form-switch .form-check-input:focus {
  --bs-form-switch-bg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgba(39,178,77,0.46)'/%3E%3C/svg%3E");
}

/* Map + Insights layout */
.maptab-container .map-wrap {
  position: relative;
  height: calc(100vh - 120px);
}

.maptab-container #maptab-leaflet {
  height: 100%;
  background: #FFF;
  box-shadow: 0 10px 26px rgba(13, 110, 253, .12);
  border-radius: 14px;
  overflow: hidden;
}

.maptab-container .insights-panel {
  background: #D9EDFF;
  border-radius: 14px;
  border: 1px solid #92CDFF;
  padding: 16px;
  height: calc(100vh - 120px);
  overflow: auto;
}

.maptab-container .insights-panel h5 {
  border-bottom: 2px solid #AAD7FF;
  padding-bottom: 6px;
  color: #0b2545;
}

.maptab-container .insight-card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}

/* .maptab-container .map-legend {
  position:absolute; right:20px; bottom:20px; background:#fff;
  border-radius:12px; padding:14px; box-shadow:0 8px 20px rgba(0,0,0,.15);
  width:280px; z-index:1000;
}
.maptab-container .legend-item { display:flex; align-items:center; gap:8px; font-size:14px; }
.maptab-container .dot { width:10px; height:10px; border-radius:50%; } */
.maptab-container .map-legend {
  position: absolute;
  display: flex;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: #ffffffc4;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  z-index: 1000;
}

.maptab-container .map-legend p {
  display: none;
}

.maptab-container .legend-title {
  display: flex;
  align-self: center;
  margin-bottom: 0;
  margin-right: 10px;
  font-size: 14px;
  white-space: nowrap;
}

.maptab-container .legend-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.maptab-container .legend-col {
    display: grid;
    grid-template-columns: 120px repeat(4, minmax(0, 1fr));
    align-items: center;
    width: 100%;
    column-gap: 12px;	
}

.maptab-container .legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  white-space: nowrap;
}

.maptab-container .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Numbered legend swatch (matches the polygon badge on the map) */
.maptab-container .legend-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-left: 5px;
  background: #fff;
  border: 2px solid #999;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

/* Range-number badge shown at the center of each comparable polygon */
.range-badge-icon {
  background: transparent;
  border: none;
}

.range-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 2px solid #999;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

/* Number of accounts sharing the parcel (shown next to the range badge) */
.range-badge-count {
  position: absolute;
  left: 18px;
  top: -6px;
  background: #0b2d4f;
  color: #fff;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 3px 4px;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

/* ✓ chip on parcels already added to the compare list */
.compare-flag-icon {
  background: transparent;
  border: none;
}

.compare-flag {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #27B24D;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}

/* Hide badges when zoomed out (toggled by JS on zoomend) */
.hide-range-badges .range-badge-icon {
  display: none;
}
/* ── Parcel account switcher (multiple accounts share one parcel polygon) ── */
.parcel-account-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  max-width: 400px;
  margin-bottom: 6px;
  padding: 6px 8px;
  background: #f4f6f8;
  border-radius: 6px;
}

.parcel-account-label {
  font-size: 12px;
  font-weight: 700;
  color: #333;
  margin-right: 2px;
}

.parcel-account-btn {
  border: 1px solid #27B24D;
  background: #fff;
  color: #27B24D;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 6px;
  cursor: pointer;
}

.parcel-account-btn.active,
.parcel-account-btn:hover {
  background: #27B24D;
  color: #fff;
}

/* ── Compare list (e-commerce style) ── */

/* Notification count circle on the Compare button */
.compare-badge {
  background: #dc3545;
  color: #fff !important;
  border-radius: 50%;
  min-width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  padding: 0;
}

/* "Add to Compare" row at the bottom of the tooltip */
.fixed-tooltip .compare-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-top: 8px;
  background: #e9f8ee;              /* light green highlight bar */
  border: 1px solid #27B24D;
  border-radius: 6px;
  font-weight: 700;
}

.fixed-tooltip .compare-check .form-check-input {
  margin: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  border: 2px solid #27B24D;
  flex-shrink: 0;
}

.fixed-tooltip .compare-check .form-check-input:checked {
  background-color: #27B24D;
  border-color: #27B24D;
}

.fixed-tooltip .compare-check .form-check-label {
  cursor: pointer;
  user-select: none;
  color: #1e8c3d;                   /* site green for visibility */
  font-size: 14px;
}

/* Compare modal table: labels first column, properties next columns */
.compare-table {
  table-layout: fixed;      /* equal, fixed column widths */
  width: 100%;
  min-width: 900px;         /* scroll horizontally instead of squeezing */
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  white-space: normal !important;   /* wrap long values (owner address etc.) */
  word-break: break-word;
  overflow-wrap: break-word;
  vertical-align: middle;
  border: 1px solid #dee2e6;
  padding: 10px 12px;
  font-size: 14px;
}

.compare-table thead th {
  background: #27B24D;
  color: #fff;
  border-color: #1e9d41;
}

.compare-table thead th:first-child {
  width: 190px;             /* label column width (fixed layout) */
}

.compare-table tbody th {
  background: #f6f8f7;
  font-weight: 600;
  color: #333;
}

.compare-table tbody tr:nth-child(even) td {
  background: #f9fcfa;
}

/* header cell: account number left, close icon right, vertically centered */
.compare-table .th-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.compare-table .compare-remove {
  flex-shrink: 0;   /* inherits global .btn-close styling */
}

/* Compare modal window: keep close icon aligned with centered title */
#ComparableModal .modal-header {
  display: flex;
  align-items: center;
  position: relative;
}

#ComparableModal .modal-header .btn-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  flex-shrink: 0;
}

.maptab-container .icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #B8DFFF;
  color: #6EB7F6;
  position: relative;
}

.maptab-container .icon-btn.active {
  background: #0D5190;
  color: #FFF;
}

.maptab-container .icon-btn.expand::before {
  content: "";
  position: absolute;
  inset: 9px;
  /* border:2px solid #0d6efd; */
  border-radius: 4px;
}

.maptab-container .icon-btn.fullscreen::before {
  content: "";
  position: absolute;
  inset: 10px;
  /* border:2px solid #0d6efd; */
  border-radius: 50%;
}

@media(max-width:991px) {

  .maptab-container .sidebar,
  .maptab-container .insights-panel,
  .maptab-container .map-wrap {
    height: auto;
  }

  .maptab-container #map {
    height: 60vh;
  }
}

/************** Start Map Tab CSS ************/

.toast-warning {
  background-color: #dd8200 !important;
  color: #FFF !important;
  border: 1px solid #dd8200;
}

.toast-warning:hover {
  box-shadow: 0 0 12px #dd8200 !important;
}

/************* Start Footer CSS ***********/
.footer-section {
  background-color: #143B3F;
  color: #ffffff;
}

.location-card {
  background-color: #042c30;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  height: 100%;
}

.icon-box {
  min-width: 125px;
  height: 115px;
  padding: 15px;
  display: flex;
  align-items: center;
  background-color: #28cc66;
  justify-content: center;
  border-radius: 7px;
}

.icon-box img {
  width: 100px;
  height: auto;
}

.contact-info i {
  color: #28cc66;
  margin-right: 8px;
}

footer {
  background-color: #123237;
  color: #fff;
  padding: 15px 0;
  text-align: center;
}

.border-top-footer {
  border-top: 1px solid #899D9F;
}

footer .bi {
  font-size: 1.5rem;
}

footer .social-icon {
  width: 32px;
  height: 32px;
  padding-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #FFF;
  font-size: 14px;
  background: #123237;
  border: 1px solid #28cc66;
  border-radius: 50%;
}

footer .social-icon:hover.fa-facebook-f {
  background: #5890FF;
  border: 1px solid #FFF;
  transform: rotate(360deg) scale(1.3);
}

footer .social-icon:hover.fa-linkedin-in {
  background: #0077B5;
  border: 1px solid #FFF;
  transform: rotate(360deg) scale(1.3);
}

footer .social-icon:hover.fa-youtube {
  background: #FF0000;
  border: 1px solid #FFF;
  transform: rotate(360deg) scale(1.3);
}

footer .social-icon:hover.fa-x-twitter {
  background: #000000;
  border: 1px solid #FFF;
  transform: rotate(360deg) scale(1.3);
}

/************* End Footer CSS ***********/

/**************** Start Media Query CSS **************/
@media (max-width: 575.98px) {
  .container {
    width: 100%;
  }

  .advanced-btn {
    width: 100%;
    justify-content: center;
  }

  .top-bar {
    padding: 4px 0;
  }

  .logo-img {
    position: relative;
    max-height: 80px;
    width: 135px;
    top: 5px;
  }

  .phone-icon {
    margin-right: 0;
  }

  .phone-icon img {
    width: 25px;
  }

  .inquiries {
    font-size: 12px !important;
  }

  .phone-number {
    font-size: 16px !important;
  }

  #propertysearch-dropdown {
    left: 11px;
    top: 42px;
  }

  .feature-title {
    font-size: 18px;
  }

  .bottom-bar {
    font-size: 10px;
    padding: 5px 5px;
    text-align: justify !important;
  }

  .county-search-heading {
    color: #012646;
    font-size: 26px;
  }

  .search-box,
  .advanced-btn {
    height: 40px;
  }

  .feature-section-heading {
    color: #012646;
    font-size: 20px;
    margin-bottom: 15px !important;
  }

  .advanced-dropdown {
    top: 40px !important;
  }

  .table-list-dropdown {
    display: block !important;
  }

  h3.page-title {
    margin-bottom: 18px !important;
  }

  .actions-top .advanced-dropdown {
    top: 20px !important;
  }

  .actions-top {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .actions-top .btn-search {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: center;
  }

  .social-icon-container {
    justify-content: center !important;
  }

  .location-heading {
    font-size: 26px !important;
    margin-bottom: 15px !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    width: 100%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .container {
    width: 100%;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .container {
    width: 100%;
  }
  .exact-tabs {
    margin-top: 25px;
  }
  .bottom-bar {
    font-size: 15px;
  }
  .detail-row .data-list {
    /* position: absolute;
    left: 52%; */
    width: 60%;
  }
  .info-row span {
    left: 40%;
  }
  .neighborhood-result-container .nb-icon { 
    width: 70px !important;
    height: 70px !important;
  }
  .improvement-summary {
    font-size: 12px;
  }
  
  .maptab-container .legend-title {
    font-size: 12px;
    white-space: break-spaces;
  }
  .maptab-container .legend-header {
    font-size: 12px;
  }
  .maptab-container .legend-col {
    grid-template-columns: 105px repeat(4, minmax(0, 1fr));
    column-gap: 0px;
  }
  .maptab-container .legend-item {
    font-size: 11px;
  }
  #compareListBtn {
    position: relative !important;
    width: 100% !important;
    bottom: 0 !important;
  }
}

@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1600px;
  }
}

@media (min-width: 1400px) and (max-width: 1900px) {
  .maptab-container .legend-col {
    column-gap: 0px;
  }
  .maptab-container .legend-item {
    gap: 5px;
    font-size: 14px;
  }
}

/**************** End Media Query CSS ****************/
#initLoading {
  font-size: 16px;
  font-weight: bold;
  color: #06284696;
  display: inline-block;
  animation: loadingAnimation 2s infinite;
}

@keyframes loadingAnimation {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(20px);
    /* Moves to the right */
  }

  100% {
    transform: translateX(0);
    /* Returns to original position */
  }
}

.map-loader {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-tooltip {
  background: #ffffff;
  color: #000;
  border-radius: 6px;
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

.map-tooltip table th {
  font-weight: 600;
  padding-right: 8px;
  white-space: nowrap;
}

.chart-legend {
    position: absolute;
    top: -20px;
    left: 20px;
}


/* ============================== Neighborhood & Subdivision ========================== */
.neighborhood-container .page-title {
  color: #27B24D;
  font-weight: 700;
  letter-spacing: .2px;
  text-align: center;
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 36px;
}

.neighborhood-container .page-subtitle {
  text-align: center;
  color: #606060;
  margin: 0 auto 30px auto;
  font-size: 18px;
  line-height: 1.65;
}

.neighborhood-container .filter-card {
  margin-bottom: 36px;
  background: #f6f6f6;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.neighborhood-container .filter-label {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  color: #27464b;
}

.neighborhood-container .filter-control {
  height: 45px;
  border: 2px solid #27B24D !important;
  border-radius: 4px;
  box-shadow: none !important;
  outline: none !important;
  font-size: 16px;
  padding-left: 16px;
  color: #111;
  background-color: #fff;
}

.neighborhood-container .filter-control::placeholder,
.neighborhood-container option:disabled {
  color: #9a9a9a;
}

.neighborhood-container .form-select.filter-control {
  background-position: right 16px center;
  padding-right: 42px;
}

.neighborhood-container .filter-control:focus {
  border-color: #1db954 !important;
  box-shadow: none !important;
}

.neighborhood-container .field-block {
  margin-bottom: 2px;
}

.neighborhood-container .field-block p {
  margin-bottom: 0;
}

.neighborhood-result-container {
  margin-bottom: 36px;
}

.neighborhood-result-container .page-wrap {
  padding: 12px;
}

.neighborhood-result-container .nb-card {
  height: 100%;
  background: #FDFDFD;
  border: 1.5px solid #CFCFCF;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  cursor: pointer;
}

.neighborhood-result-container .nb-card:hover {
  background: #FFF;
  border: 1px solid #27B24D;
  box-shadow: 0 0 8px rgb(39 178 77 / 50%);
}

.neighborhood-result-container .nb-icon {
  width: 112px;
  height: 72px;
  border-radius: 6px;
  background: #606060;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.neighborhood-result-container .nb-card:hover .nb-icon {
  background: #27B24D;
}

.neighborhood-result-container .nb-icon svg {
  width: 62px;
  height: 62px;
  opacity: 1;
}

.neighborhood-result-container .nb-content {
  flex: 1 1 auto;
  min-width: 0;
}

.neighborhood-result-container .nb-title {
  font-weight: 700;
  color: #606060;
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
}

.neighborhood-result-container .nb-card:hover .nb-title {
  color: #27B24D;
}

.neighborhood-result-container .nb-divider {
  height: 1px;
  background: #DADADA;
  margin: 6px 0 8px;
  width: 100%;
}

.neighborhood-result-container .nb-card:hover .nb-divider {
  background: #27B24D;
}

.neighborhood-result-container .nb-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #606060;
  font-size: 16px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.neighborhood-result-container .nb-pin {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nb-pagination .page-item .page-link {
  color: #444;
}
.nb-pagination .page-item .page-link:focus{
  box-shadow: 0 0 0 0.25rem #27b24d4a;
}
.nb-pagination .page-item.active, .nb-pagination .page-item.active>.page-link {
  color: #fff;
  background-color: #27b24d;
  border-color:#27b24d;
}
.nb-pagination .page-item.active>.page-link:focus{
  box-shadow: 0 0 0 0.25rem #27b24d4a;
}

@media (max-width: 991px) {
  .neighborhood-container .filter-card {
    padding: 18px;
  }

  .neighborhood-container .filter-label {
    font-size: 16px;
  }

  .neighborhood-container .filter-control {
    height: 35px;
  }
}

/* */
.btn-nbh-submit {
  height: 45px;
  font-weight: 600;
  border: 2px solid #27B24D !important;
  background: #27b24d;
}
.btn-nbh-submit:hover, .btn-nbh-submit:focus, .btn-nbh-submit:active  {
  border: 2px solid #27B24D !important;
  background: #27b24d !important;
}
.btn-reset {
  height: 45px; 
}
.select-wrapper {
    position: relative;
}
.filter-control {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    cursor: pointer;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    color: #212529;
    width: 100%;
    user-select: none;
}
.filter-control:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}
.filter-control.open {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}
.custom-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    scroll-behavior: smooth;
    z-index: 999;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.custom-dropdown.open {
    display: block;
}
.search-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #dee2e6;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    background: #f8f9fa;
    color: #212529;
}
.search-input:focus {
    background: #fff;
    border-bottom-color: #27b24d;
}
.dropdown-item-opt {
    padding: 9px 14px;
    font-size: 14px;
    cursor: pointer;
    color: #212529;
    transition: background .1s;
}
.dropdown-item-opt:hover {
    background: #f8f9fa;
}
.dropdown-item-opt.selected {
  background: #9ce5ac;
  color: #000;
  font-weight: 500;
}
.dropdown-item-opt.no-result {
    color: #6c757d;
    font-style: italic;
    cursor: default;
    padding: 10px 12px;
    font-size: 13px;
}
input.filter-control {
    background-image: none;
    padding-right: 12px;
    cursor: text;
}

/* ======================== TOP HEADER (LEFT ALIGN EXACT LIKE IMAGE  ========================== */
.topbar {
  position: sticky;
  top: 0;
  padding: 14px 0 0 0;
  margin-bottom: 50px;
  background: #fff;
  border-bottom: 1px solid #CECECE;
  z-index: 1000;
}

.back-btn {
  background: #008CBA;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.back-btn:hover, .back-btn:active, .back-btn:focus {
  filter: brightness(0.97);
  background: #008cbad1;
  color: #fff;
}

.back-btn .arrow {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

.top-tabs {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 90px;
  flex-wrap: wrap;
  margin: 0 0 0 35px;
  padding: 0;
  list-style: none;
  font-weight: 600;
  color: #3f3f3f;
}

.top-tabs li {
  position: relative;
  padding: 8px 0 18px;
  cursor: pointer;
  font-size: 16px;
  color: #444;
  white-space: nowrap;
  user-select: none;
}

.top-tabs li::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  /* width: 140px; */
  height: 7px;
  background: #bdbdbd;
  border-radius: 12px 12px 0 0;
  opacity: .55;
}

.top-tabs li.np::after {
  width: 150px;
}

.top-tabs li.svh::after {
  width: 150px;
}

.top-tabs li.ptt::after {
  width: 140px;
}

.top-tabs li.ptpa::after {
  width: 200px;
}

.top-tabs li.cs::after {
  width: 105px;
}

.top-tabs li.la::after {
  width: 115px;
}

.top-tabs li.active::after {
  opacity: 1;
  background: #27B24D;
}

@media (max-width: 991px) {
  .top-tabs {
    /* gap: 18px; */
    gap: 15px 35px;
  }

  .top-tabs li::after {
    width: 110px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) { 
  .top-tabs {
    gap: 22px;
    margin: 0 0 0 30px; 
  }
}

/* ========================= MAIN LAYOUT ========================== */
.map-box {
  position: relative;
  height: 308px;
  background: #e9eef3;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
#leafletMap_neighborhood {
    height: 100%;
    width: 100%;
}

.map-watermark {
  position: absolute;
  left: 16px;
  top: 14px;
  background: #fff;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  color: #4b4b4b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.map-fullscreen {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #083b75;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.map-fullscreen svg {
  width: 22px;
  height: 22px;
}

.nb-title {
  font-size: 26px;
  font-weight: 800;
  color: #27B24D;
  margin: 12px 0 0 0;
  line-height: 1.05;
}

.nb-title-line {
  height: 1px;
  width: 100%;
  background: #CDCDCD;
  margin: 10px 0 14px;
}

.location-row {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #444;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.pin {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.stat-card {
  background: #f2f2f2;
  border-radius: 8px;
  padding: 10px 15px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  flex: 0 0 auto;
}

.stat-icon svg {
  width: 50px;
  height: 50px;
}

.stat-label {
  font-size: 22px;
  color: #444;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #2C2C2C;
  line-height: 1.05;
}

.stat-sub {
  margin-left: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #2d2d2d;
}

.section-bar {
  background: #F6F6F6;
  border-radius: 0;
  padding: 10px 22px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
  color: #123237;
  scroll-margin-top: 130px;
}

.mini-card {
  background: #fff;
  border: 2px solid #188a2f;
  border-radius: 6px;
  padding: 14px;
  display: flex;
  gap: 12px;
  min-height: 92px;
  align-items: center;
}

.mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #188a2f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mini-icon svg {
  width: 26px;
  height: 26px;
}

.mini-label {
  font-size: 18px;
  color: #444;
  margin-bottom: 4px;
  line-height: 1.1;
}

.mini-line {
  height: 2px;
  width: 100%;
  background: #DDDDDD;
  margin: 6px 0;
}

.mini-value {
  font-size: 22px;
  font-weight: 800;
  color: #2b2b2b;
  line-height: 1.05;
}

.desc-box {
  background: #f6f6f6;
  border-radius: 8px;
  padding: 26px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 1px solid #efefef;
}

.desc-text {
  color: #3b3b3b;
  font-size: 16px;
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto 18px auto;
}

.download-btn {
  background: #0b4c7a;
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  padding: 14px 24px;
  border-radius: 8px;
  width: min(450px, 100%);
  margin: 0 auto;
}

.download-btn:hover {
  filter: brightness(0.96);
}

@media (max-width: 991px) {
  .nb-title {
    font-size: 30px;
  }
  .map-box {
    height: 300px;
  }
  .stat-value {
    font-size: 28px;
  }
}

/**************** Sales & Value History **************/
.sales-value-history {
  margin-bottom: 30px;
}
.sales-value-history .chart-card {
  height: 100%;
  border: 1px solid #2b4c70;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}
.sales-value-history .pill-tabs {
  background: #eee;
  border-radius: 30px;
  padding: 4px;
  display: inline-flex;
}
.sales-value-history .pill-btn {
  border: none;
  padding: 6px 18px;
  border-radius: 20px;
  background: transparent;
  font-weight: 600;
  color: #444;
  cursor: pointer;
}
.sales-value-history .pill-btn.active {
  background: #0b8b28;
  color: #fff;
}
.sales-value-history .pill-btn.green.active {
  background: #28a745;
}
#avgMedianGroup .pill-btn.active {
  background: #2F74B4;
  color: #fff;
}
.sales-value-history .chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
  border-top: 1px solid #eee;
  padding-top: 10px;
}
.sales-value-history .legend-dot {
  width: 28px;
  height: 4px;
  display: inline-block;
}
.sales-value-history .dot-blue { background: #6bd0e6; }
.sales-value-history .dot-green { background: #18a84d; }
.sales-value-history .chart-area { height: 450px; margin: 15px 0; }
.sales-value-history canvas {
  width: 100% !important;
  height: 100% !important;
}
.sales-value-history .chart-footer {
  margin-top: 10px;
  background: #20b14a;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

/* ========================= RIGHT TABLE AREA ========================== */
.sales-value-history .right-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.sales-value-history .recent-title {
  font-weight: 800;
  font-size: 20px;
  margin: 0;
}

.sales-value-history .filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.sales-value-history .filter-wrap label {
  font-weight: 500;
  color: #2b2b2b;
}

.sales-value-history .property-select {
  min-width: 220px;
  height: auto;
  border: 1.5px solid #22b24a !important;
  border-radius: 4px;
  padding-left: 14px;
  box-shadow: none !important;
}

.sales-value-history .table-wrap { 
  position: relative;
  height: 100%;
}

.sales-value-history table.dataTable {
  border-collapse: collapse !important;
  width: 100% !important;
  margin: 0 !important;
}

.sales-value-history table.dataTable thead th {
  background: #dfffe7 !important;
  color: #0b8b28 !important;
  font-weight: 800 !important;
  border-bottom: none !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: 16px !important;
  text-align: center !important;
}

.sales-value-history table.dataTable tbody td {
 padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #e1e1e1 !important;
  font-size: 15px;
  color: #363636;
  vertical-align: middle;
}

.sales-value-history table.dataTable tbody td:nth-child(1) {
  text-align: left !important;
  padding-left: 12px !important;
  width: 22%;
}

.sales-value-history table.dataTable tbody td:nth-child(2),
.sales-value-history table.dataTable tbody td:nth-child(3),
.sales-value-history table.dataTable tbody td:nth-child(4) {
  text-align: center !important;
}

.sales-value-history .dataTables_filter,
.sales-value-history .dataTables_length,
.sales-value-history .dataTables_info {
  display: none !important;
}

.sales-value-history .sales-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.sales-value-history .sales-count {
  font-size: 16px;
  font-weight: 700;
  color: #2f2f2f;
}

.sales-value-history .sales-count span {
  color: #12a23a;
  font-weight: 900;
  margin-left: 10px;
  font-size: 18px;
}

.sales-value-history .dataTables_paginate {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sales-value-history .dataTables_paginate .paginate_button {
  border: 1px solid #cfcfcf !important;
  background: #f3f3f3 !important;
  border-radius: 6px !important;
  padding: 5px 10px !important;
  margin: 0 2px;
  color: #444 !important;
  font-weight: 700;
  min-width: 44px;
  text-align: center;
  cursor: pointer;
}

.sales-value-history .dataTables_paginate .paginate_button.current {
  background: #dcdcdc !important;
  border-color: #bfbfbf !important;
  color: #333 !important;
}

.sales-value-history .dataTables_paginate .paginate_button.disabled {
  opacity: .55;
  cursor: not-allowed;
}

.sales-value-history .dataTables_paginate .paginate_button.previous,
.sales-value-history .dataTables_paginate .paginate_button.next {
  background: #5e5e5e !important;
  border-color: #4c4c4c !important;
  color: #fff !important;
  min-width: 40px;
}

@media (max-width: 991px) {
  .sales-value-history .pill-btn {
    min-width: auto;
  }

  .sales-value-history .chart-area {
    height: 320px;
  }

  .sales-value-history .right-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sales-value-history .filter-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .sales-value-history .property-select {
    width: 100%;
    min-width: auto;
  }

  .sales-value-history .sales-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1400px) and (max-width: 1900px) {  
  .top-tabs {
    gap: 70px;
  }
}

/**************** Sales & Value History **************/
.property-tax-trends {
  margin-bottom: 30px;
}
.property-tax-trends .chart-card {
  border:1px solid #2b4c70;
  border-radius:8px;
  padding:16px;
  background:#fff;
}
.property-tax-trends .pill-tabs {
  background:#eee;
  border-radius:30px;
  padding:4px;
  display:inline-flex;
}
.property-tax-trends .pill-btn {
  border:none;
  padding:6px 16px;
  border-radius:20px;
  background:transparent;
  font-weight:600;
  color:#444;
  cursor:pointer;
}
.property-tax-trends .pill-btn.active {
  background:#2F74B4;
  color:#fff;
}
.property-tax-trends .legend-dot {
  width:28px;
  height:4px;
  position: relative;
  display:inline-block;
  top: -2px;
}
.property-tax-trends .dot-blue { background:#6bd0e6; }
.property-tax-trends .dot-green { background:#18a84d; }
.property-tax-trends .chart-area { height:400px;  margin-top:10px; }
.property-tax-trends canvas {
  width:100% !important;
  height:100% !important;
}
.property-tax-trends .chart-footer {
  margin-top:10px;
  background:#28a745;
  color:#fff;
  text-align:center;
  padding:10px;
  font-weight:bold;
}

.protest-activity {
  margin-bottom: 30px;
}
.protest-activity .main-card {
    border-radius: 10px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
}
.protest-activity .chart-container {
    height: 475px;
}
.protest-activity .bottom-banner {
    background: #1b8d3c;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 15px;
    font-weight: 500;
}
.protest-activity .info-card {
    border: 1px solid #118C33;
    border-radius: 10px;
    padding: 15px;
    background: #F0FFF4;
    display: flex;
    align-items: center;
    gap: 32px;
}
.protest-activity .info-card img {
  width: 200px;
  max-height: 120px;
  background: #FFF;
  padding: 10px;
  border-radius: 16px;
  box-shadow: rgb(77 183 72 / 38%) 0px 0px 10px;
}
.protest-activity .info-card h2 {
    color: #1b8d3c;
    font-weight: 700;
}
.protest-activity .dark-card {
    background: #143B3F;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.protest-activity .dark-card .value-box {
  width: 80%;
  background: #F0FFF4;
  color: #1b8d3c;
  padding: 20px;
  border-radius: 8px;
  font-size: 32px;
  font-weight: 700;
  margin: 20px auto;
}
.protest-activity .btn-green {
  width: 80%;
  background: #118C33;
  color: #fff;
  border-radius: 6px;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 20px;
}
.protest-activity .btn-green:hover {
  background: #157a33;
}

.crime-safety {
  margin-bottom: 30px;
}
.crime-safety .map-box {
  position:relative;
  height:100%;
  border-radius:6px;
  overflow:hidden;
}
.crime-safety #map { height:100%; }
.crime-safety .legend {
    width: 85%;
    position: absolute;
    bottom: 12px;
    left: 7.5%;
    background:rgba(255,255,255,0.9);
    padding:8px 50px;
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:4px;
    z-index: 1000;
}
.crime-safety .legend-scale {
    display:flex;
    flex:1;
}
.crime-safety .legend-scale span {
    flex:1;
    height:12px;
}
.crime-safety .legend-scale span:nth-child(1){background:#e6ecf5;}
.crime-safety .legend-scale span:nth-child(2){background:#ccd6f6;}
.crime-safety .legend-scale span:nth-child(3){background:#aab4ff;}
.crime-safety .legend-scale span:nth-child(4){background:#6d7df2;}
.crime-safety .legend-scale span:nth-child(5){background:#3c4fdc;}
.crime-safety .legend-scale span:nth-child(6){background:#1c2faa;}
.crime-safety .legend-text {
  font-size: 18px;
  color:#555;
}
.crime-safety .table-box {
  background:#fff;
  border-radius:6px;
  overflow:hidden;
}
.crime-safety .table {
  margin:0;
}
.crime-safety .table thead tr {
  background:#cfe5d3;
}
.crime-safety .table th {
  background: #F0FFF4;
  color: #27b24d;
  font-weight: 600;
  font-size: 18px;
  padding: 14px;
  border: none;
}
.crime-safety .table td {
  font-size: 15px;
  padding:14px;
  border-bottom:1px solid #ddd;
}
.crime-safety .insight-box {
  border:1px solid #9fb3c8;
  border-radius:6px;
  background:#f7f7f7;
  padding:18px;
}
.crime-safety .insight-title {
  font-size: 22px;
  font-weight:600;
  margin-bottom:12px;
}
.crime-safety .insight-list {
  list-style:none;
  padding-left:0;
}
.crime-safety .insight-list li {
  position:relative;
  padding-left:22px;
  margin-bottom:12px;
  font-size: 18px;
}
.crime-safety .insight-list li::before {
  content:"";
  width:10px;
  height:10px;
  background:#1b8d3c;
  border-radius:50%;
  position:absolute;
  left:0;
  top:6px;
}
.two-col {
    column-count: 2;
    column-gap: 20px;
    margin: 0;
}

.local-amenities {
  margin-bottom: 30px;
}
.local-amenities .map-box { height:420px; border-radius:6px; overflow:hidden; position:relative; }


/* Structure & Features CSS */
.structure-features .form-check {
    margin-right: 18px;
}
.structure-features .form-check-input {
    width: 14px;
    height: 14px;
    margin-top: 0.2rem;
    border: 1px solid #27b24d7a;
    cursor: pointer;
}
.structure-features .form-check-input:checked {
    background-color: #27b24d;
    border-color: #27b24d;
}
.structure-features .form-check-label {
    font-size: 14px;
    color: #8b8f95;
    font-weight: 500;
    cursor: pointer;
}
:root{
  --sc-accent:#0e8a6d;
  --sc-accent-soft:#e5f4ef;
  --sc-accent-border:#bfe3d5;
  --sc-label:#8a94a3;
  --sc-value:#1f2733;
  --sc-muted-bg:#f4f5f7;
  --sc-muted-border:#e7e9ed;
  --sc-muted-text:#9aa2af;
  --sc-rule:#edeff2;
}

.structure-features .sc-section{
  padding:20px 0 18px;
  border-bottom:1px solid var(--sc-rule);
}
.structure-features .sc-section:last-of-type{
  border-bottom:none;
}

.structure-features .sc-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}

.structure-features .sc-section-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#2b3440;
  margin:0;
}

.structure-features .sc-section-title::before{
  content:"";
  display:inline-block;
  width:3px;
  height:15px;
  background:#27b24d;
  border-radius:2px;
}

.structure-features .sc-field-count{
  display: none;
  font-size:12px;
  color:var(--sc-label);
  white-space:nowrap;
}

.structure-features .sc-field-label{
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#8a8a8a;
  margin-bottom:4px;
}

.structure-features .sc-field-value{
  display:block;
  font-size:15px;
  font-weight:600;
  color:var(--sc-value);
}
.structure-features .sc-field-value.is-empty{
  color:var(--sc-muted-text);
  font-weight:500;
}
.structure-features .sc-field-value.sc-link{
  color:#2563eb;
}

.structure-features .sc-field{
  margin-bottom:0;
}

/* Fixed-column grid so multi-row sections (e.g. 8 fields = 5 + 3,
   like Outdoor & Lot) keep every field aligned to the same column
   position instead of stretching to fill whichever row it wraps into. */
.structure-features .sc-fields-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  column-gap:20px;
  row-gap:18px;
  align-items:start;
  margin-bottom:4px;
}

@media (max-width:768px){
  .structure-features .sc-fields-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}
@media (max-width:480px){
  .structure-features .sc-fields-grid{
    grid-template-columns:repeat(2, 1fr);
    row-gap:14px;
  }
}

.structure-features .sc-subhead{
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--sc-label);
  margin:4px 0 10px;
}

/* chips */
.structure-features .sc-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.structure-features .sc-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:8px;
  font-size:13px;
  font-weight:600;
  border:1px solid transparent;
  line-height:1.2;
}

.structure-features .sc-chip.is-active{
 background: #c7f1d287;
 border-color: #27b24d;
 color: #27b24d;
}

.structure-features .sc-chip.is-inactive{
  background:var(--sc-muted-bg);
  border-color:var(--sc-muted-border);
  color:var(--sc-muted-text);
  font-weight:500;
}

.structure-features .sc-chip .sc-chip-icon{
  font-size:11px;
  line-height:1;
}
.structure-features .sc-chip.is-active .sc-chip-icon{ color:var(--sc-accent); }
.structure-features .sc-chip.is-inactive .sc-chip-icon{ color:#c2c8d1; }

/* footer note */
.structure-features .sc-footnote{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:var(--sc-label);
  padding-top:16px;
  margin-top:2px;
}
.structure-features .sc-footnote .sc-info-dot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:14px;
  height:14px;
  border-radius:50%;
  border:1px solid #c7ccd4;
  font-size:9px;
  color:#9aa2af;
  flex:0 0 auto;
}

@media (max-width:576px){
  .structure-features{ padding:8px 16px 16px; margin:16px; }
}

.property-disclaimer {
    margin: 0px auto 10px;
    padding: 10px 10px;
    max-width: 90%;
    background: #f8f9fa;
    border: 1px solid #cfffdc;
    border-left: 4px solid #27b24d;
    border-radius: 6px;
    color: #143b3f !important;
    line-height: 1.8;
    font-size: 13px;
    text-align: justify;
    box-sizing: border-box;
}

.property-disclaimer p {
    margin: 0;
}

.property-disclaimer strong {
    color: #333;
}

/* ============================== Neighborhood & Subdivision ========================== */
.neighborhood-container .page-title {
  color: #27B24D;
  font-weight: 700;
  letter-spacing: .2px;
  text-align: center;
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 36px;
}

.neighborhood-container .page-subtitle {
  text-align: center;
  color: #606060;
  margin: 0 auto 30px auto;
  font-size: 18px;
  line-height: 1.65;
}

.neighborhood-container .filter-card {
  margin-bottom: 36px;
  background: #f6f6f6;
  border-radius: 18px;
  padding: 26px 28px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.neighborhood-container .filter-label {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  color: #27464b;
}

.neighborhood-container .filter-control {
  height: 45px;
  border: 2px solid #27B24D !important;
  border-radius: 4px;
  box-shadow: none !important;
  outline: none !important;
  font-size: 16px;
  padding-left: 16px;
  color: #111;
  background-color: #fff;
}

.neighborhood-container .filter-control::placeholder,
.neighborhood-container option:disabled {
  color: #9a9a9a;
}

.neighborhood-container .form-select.filter-control {
  background-position: right 16px center;
  padding-right: 42px;
}

.neighborhood-container .filter-control:focus {
  border-color: #1db954 !important;
  box-shadow: none !important;
}

.neighborhood-container .field-block {
  margin-bottom: 2px;
}

.neighborhood-container .field-block p {
  margin-bottom: 0;
}

.neighborhood-result-container {
  margin-bottom: 36px;
}

.neighborhood-result-container .page-wrap {
  padding: 12px;
}

.neighborhood-result-container .nb-card {
  height: 100%;
  background: #FDFDFD;
  border: 1.5px solid #CFCFCF;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  cursor: pointer;
}

.neighborhood-result-container .nb-card:hover {
  background: #FFF;
  border: 1px solid #27B24D;
  box-shadow: 0 0 8px rgb(39 178 77 / 50%);
}

.neighborhood-result-container .nb-icon {
  width: 112px;
  height: 72px;
  border-radius: 6px;
  background: #606060;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.neighborhood-result-container .nb-card:hover .nb-icon {
  background: #27B24D;
}

.neighborhood-result-container .nb-icon svg {
  width: 62px;
  height: 62px;
  opacity: 1;
}

.neighborhood-result-container .nb-content {
  flex: 1 1 auto;
  min-width: 0;
}

.neighborhood-result-container .nb-title {
  font-weight: 700;
  color: #606060;
  font-size: 20px;
  line-height: 1.1;
  margin: 0;
}

.neighborhood-result-container .nb-card:hover .nb-title {
  color: #27B24D;
}

.neighborhood-result-container .nb-divider {
  height: 1px;
  background: #DADADA;
  margin: 6px 0 8px;
  width: 100%;
}

.neighborhood-result-container .nb-card:hover .nb-divider {
  background: #27B24D;
}

.neighborhood-result-container .nb-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #606060;
  font-size: 16px;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
}

.neighborhood-result-container .nb-pin {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nb-pagination .page-item .page-link {
  color: #444;
}
.nb-pagination .page-item .page-link:focus{
  box-shadow: 0 0 0 0.25rem #27b24d4a;
}
.nb-pagination .page-item.active, .nb-pagination .page-item.active>.page-link {
  color: #fff;
  background-color: #27b24d;
  border-color:#27b24d;
}
.nb-pagination .page-item.active>.page-link:focus{
  box-shadow: 0 0 0 0.25rem #27b24d4a;
}

@media (max-width: 991px) {
  .neighborhood-container .filter-card {
    padding: 18px;
  }

  .neighborhood-container .filter-label {
    font-size: 16px;
  }

  .neighborhood-container .filter-control {
    height: 35px;
  }
}

/* */
.btn-nbh-submit {
  height: 45px;
  font-weight: 600;
  border: 2px solid #27B24D !important;
  background: #27b24d;
}
.btn-nbh-submit:hover, .btn-nbh-submit:focus, .btn-nbh-submit:active  {
  border: 2px solid #27B24D !important;
  background: #27b24d !important;
}
.btn-reset {
  height: 45px;
}
.select-wrapper {
    position: relative;
}
.filter-control {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    cursor: pointer;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236c757d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 8px 36px 8px 12px;
    font-size: 14px;
    color: #212529;
    width: 100%;
    user-select: none;
}
.filter-control:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}
.filter-control.open {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .15);
}
.custom-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    scroll-behavior: smooth;
    z-index: 999;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.custom-dropdown.open {
    display: block;
}
.search-input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #dee2e6;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    background: #f8f9fa;
    color: #212529;
}
.search-input:focus {
    background: #fff;
    border-bottom-color: #27b24d;
}
.dropdown-item-opt {
    padding: 9px 14px;
    font-size: 14px;
    cursor: pointer;
    color: #212529;
    transition: background .1s;
}
.dropdown-item-opt:hover {
    background: #f8f9fa;
}
.dropdown-item-opt.selected {
  background: #9ce5ac;
  color: #000;
  font-weight: 500;
}
.dropdown-item-opt.no-result {
    color: #6c757d;
    font-style: italic;
    cursor: default;
    padding: 10px 12px;
    font-size: 13px;
}
input.filter-control {
    background-image: none;
    padding-right: 12px;
    cursor: text;
}

/* ======================== TOP HEADER (LEFT ALIGN EXACT LIKE IMAGE  ========================== */
.topbar {
  position: sticky;
  top: 0;
  padding: 14px 0 0 0;
  margin-bottom: 50px;
  background: #fff;
  border-bottom: 1px solid #CECECE;
  z-index: 1000;
}

.back-btn {
  background: #008CBA;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.back-btn:hover, .back-btn:active, .back-btn:focus {
  filter: brightness(0.97);
  background: #008cbad1;
  color: #fff;
}

.back-btn .arrow {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  transform: translateY(-1px);
}

.top-tabs {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 90px;
  flex-wrap: wrap;
  margin: 0 0 0 35px;
  padding: 0;
  list-style: none;
  font-weight: 600;
  color: #3f3f3f;
}

.top-tabs li {
  position: relative;
  padding: 8px 0 18px;
  cursor: pointer;
  font-size: 16px;
  color: #444;
  white-space: nowrap;
  user-select: none;
}

.top-tabs li::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  /* width: 140px; */
  height: 7px;
  background: #bdbdbd;
  border-radius: 12px 12px 0 0;
  opacity: .55;
}

.top-tabs li.np::after {
  width: 150px;
}

.top-tabs li.svh::after {
  width: 150px;
}

.top-tabs li.ptt::after {
  width: 140px;
}

.top-tabs li.ptpa::after {
  width: 200px;
}

.top-tabs li.cs::after {
  width: 105px;
}

.top-tabs li.la::after {
  width: 115px;
}

.top-tabs li.active::after {
  opacity: 1;
  background: #27B24D;
}

@media (max-width: 991px) {
  .top-tabs {
    /* gap: 18px; */
    gap: 15px 35px;
  }

  .top-tabs li::after {
    width: 110px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .top-tabs {
    gap: 22px;
    margin: 0 0 0 30px;
  }
}

/* ========================= MAIN LAYOUT ========================== */
.map-box {
  position: relative;
  height: 308px;
  background: #e9eef3;
  border: 0;
  border-radius: 0;
  overflow: hidden;
}
#leafletMap_neighborhood {
    height: 100%;
    width: 100%;
}

.map-watermark {
  position: absolute;
  left: 16px;
  top: 14px;
  background: #fff;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  color: #4b4b4b;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.map-fullscreen {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: #083b75;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.map-fullscreen svg {
  width: 22px;
  height: 22px;
}

.nb-title {
  font-size: 26px;
  font-weight: 800;
  color: #27B24D;
  margin: 12px 0 0 0;
  line-height: 1.05;
}

.nb-title-line {
  height: 1px;
  width: 100%;
  background: #CDCDCD;
  margin: 10px 0 14px;
}

.location-row {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #444;
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 16px;
}

.pin {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.stat-card {
  background: #f2f2f2;
  border-radius: 8px;
  padding: 10px 15px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 25px;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  flex: 0 0 auto;
}

.stat-icon svg {
  width: 50px;
  height: 50px;
}

.stat-label {
  font-size: 22px;
  color: #444;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.1;
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: #2C2C2C;
  line-height: 1.05;
}

.stat-sub {
  margin-left: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #2d2d2d;
}

.section-bar {
  background: #F6F6F6;
  border-radius: 0;
  padding: 10px 22px;
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 700;
  color: #123237;
  scroll-margin-top: 130px;
}

.mini-card {
  background: #fff;
  border: 2px solid #188a2f;
  border-radius: 6px;
  padding: 14px;
  display: flex;
  gap: 12px;
  min-height: 92px;
  align-items: center;
}

.mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  background: #188a2f;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.mini-icon svg {
  width: 26px;
  height: 26px;
}

.mini-label {
  font-size: 18px;
  color: #444;
  margin-bottom: 4px;
  line-height: 1.1;
}

.mini-line {
  height: 2px;
  width: 100%;
  background: #DDDDDD;
  margin: 6px 0;
}

.mini-value {
  font-size: 22px;
  font-weight: 800;
  color: #2b2b2b;
  line-height: 1.05;
}

.desc-box {
  background: #f6f6f6;
  border-radius: 8px;
  padding: 26px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 1px solid #efefef;
}

.desc-text {
  color: #3b3b3b;
  font-size: 16px;
  line-height: 1.65;
  max-width: 700px;
  margin: 0 auto 18px auto;
}

.download-btn {
  background: #0b4c7a;
  border: none;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  padding: 14px 24px;
  border-radius: 8px;
  width: min(450px, 100%);
  margin: 0 auto;
}

.download-btn:hover {
  filter: brightness(0.96);
}

@media (max-width: 991px) {
  .nb-title {
    font-size: 30px;
  }
  .map-box {
    height: 300px;
  }
  .stat-value {
    font-size: 28px;
  }
}

/**************** Sales & Value History **************/
.sales-value-history {
  margin-bottom: 30px;
}
.sales-value-history .chart-card {
  height: 100%;
  border: 1px solid #2b4c70;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}
.sales-value-history .pill-tabs {
  background: #eee;
  border-radius: 30px;
  padding: 4px;
  display: inline-flex;
}
.sales-value-history .pill-btn {
  border: none;
  padding: 6px 18px;
  border-radius: 20px;
  background: transparent;
  font-weight: 600;
  color: #444;
  cursor: pointer;
}
.sales-value-history .pill-btn.active {
  background: #0b8b28;
  color: #fff;
}
.sales-value-history .pill-btn.green.active {
  background: #28a745;
}
#avgMedianGroup .pill-btn.active {
  background: #2F74B4;
  color: #fff;
}
.sales-value-history .chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 15px 0;
  border-top: 1px solid #eee;
  padding-top: 10px;
}
.sales-value-history .legend-dot {
  width: 28px;
  height: 4px;
  display: inline-block;
}
.sales-value-history .dot-blue { background: #6bd0e6; }
.sales-value-history .dot-green { background: #18a84d; }
.sales-value-history .chart-area { height: 450px; margin: 15px 0; }
.sales-value-history canvas {
  width: 100% !important;
  height: 100% !important;
}
.sales-value-history .chart-footer {
  margin-top: 10px;
  background: #20b14a;
  color: #fff;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

/* ========================= RIGHT TABLE AREA ========================== */
.sales-value-history .right-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 15px;
}

.sales-value-history .recent-title {
  font-weight: 800;
  font-size: 20px;
  margin: 0;
}

.sales-value-history .filter-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.sales-value-history .filter-wrap label {
  font-weight: 500;
  color: #2b2b2b;
}

.sales-value-history .property-select {
  min-width: 220px;
  height: auto;
  border: 1.5px solid #22b24a !important;
  border-radius: 4px;
  padding-left: 14px;
  box-shadow: none !important;
}

.sales-value-history .table-wrap {
  position: relative;
  height: 100%;
}

.sales-value-history table.dataTable {
  border-collapse: collapse !important;
  width: 100% !important;
  margin: 0 !important;
}

.sales-value-history table.dataTable thead th {
  background: #dfffe7 !important;
  color: #0b8b28 !important;
  font-weight: 800 !important;
  border-bottom: none !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: 16px !important;
  text-align: center !important;
}

.sales-value-history table.dataTable tbody td {
 padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid #e1e1e1 !important;
  font-size: 15px;
  color: #363636;
  vertical-align: middle;
}

.sales-value-history table.dataTable tbody td:nth-child(1) {
  text-align: left !important;
  padding-left: 12px !important;
  width: 22%;
}

.sales-value-history table.dataTable tbody td:nth-child(2),
.sales-value-history table.dataTable tbody td:nth-child(3),
.sales-value-history table.dataTable tbody td:nth-child(4) {
  text-align: center !important;
}

.sales-value-history .dataTables_filter,
.sales-value-history .dataTables_length,
.sales-value-history .dataTables_info {
  display: none !important;
}

.sales-value-history .sales-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.sales-value-history .sales-count {
  font-size: 16px;
  font-weight: 700;
  color: #2f2f2f;
}

.sales-value-history .sales-count span {
  color: #12a23a;
  font-weight: 900;
  margin-left: 10px;
  font-size: 18px;
}

.sales-value-history .dataTables_paginate {
  display: flex;
  align-items: center;
  gap: 2px;
}

.sales-value-history .dataTables_paginate .paginate_button {
  border: 1px solid #cfcfcf !important;
  background: #f3f3f3 !important;
  border-radius: 6px !important;
  padding: 5px 10px !important;
  margin: 0 2px;
  color: #444 !important;
  font-weight: 700;
  min-width: 44px;
  text-align: center;
  cursor: pointer;
}

.sales-value-history .dataTables_paginate .paginate_button.current {
  background: #dcdcdc !important;
  border-color: #bfbfbf !important;
  color: #333 !important;
}

.sales-value-history .dataTables_paginate .paginate_button.disabled {
  opacity: .55;
  cursor: not-allowed;
}

.sales-value-history .dataTables_paginate .paginate_button.previous,
.sales-value-history .dataTables_paginate .paginate_button.next {
  background: #5e5e5e !important;
  border-color: #4c4c4c !important;
  color: #fff !important;
  min-width: 40px;
}

@media (max-width: 991px) {
  .sales-value-history .pill-btn {
    min-width: auto;
  }

  .sales-value-history .chart-area {
    height: 320px;
  }

  .sales-value-history .right-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .sales-value-history .filter-wrap {
    width: 100%;
    justify-content: flex-start;
  }

  .sales-value-history .property-select {
    width: 100%;
    min-width: auto;
  }

  .sales-value-history .sales-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1400px) and (max-width: 1900px) {
  .top-tabs {
    gap: 70px;
  }
}

/**************** Sales & Value History **************/
.property-tax-trends {
  margin-bottom: 30px;
}
.property-tax-trends .chart-card {
  border:1px solid #2b4c70;
  border-radius:8px;
  padding:16px;
  background:#fff;
}
.property-tax-trends .pill-tabs {
  background:#eee;
  border-radius:30px;
  padding:4px;
  display:inline-flex;
}
.property-tax-trends .pill-btn {
  border:none;
  padding:6px 16px;
  border-radius:20px;
  background:transparent;
  font-weight:600;
  color:#444;
  cursor:pointer;
}
.property-tax-trends .pill-btn.active {
  background:#2F74B4;
  color:#fff;
}
.property-tax-trends .legend-dot {
  width:28px;
  height:4px;
  position: relative;
  display:inline-block;
  top: -2px;
}
.property-tax-trends .dot-blue { background:#6bd0e6; }
.property-tax-trends .dot-green { background:#18a84d; }
.property-tax-trends .chart-area { height:400px;  margin-top:10px; }
.property-tax-trends canvas {
  width:100% !important;
  height:100% !important;
}
.property-tax-trends .chart-footer {
  margin-top:10px;
  background:#28a745;
  color:#fff;
  text-align:center;
  padding:10px;
  font-weight:bold;
}

.protest-activity {
  margin-bottom: 30px;
}
.protest-activity .main-card {
    border-radius: 10px;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
}
.protest-activity .chart-container {
    height: 475px;
}
.protest-activity .bottom-banner {
    background: #1b8d3c;
    color: #fff;
    text-align: center;
    padding: 10px;
    margin-top: 15px;
    font-weight: 500;
}
.protest-activity .info-card {
    border: 1px solid #118C33;
    border-radius: 10px;
    padding: 15px;
    background: #F0FFF4;
    display: flex;
    align-items: center;
    gap: 32px;
}
.protest-activity .info-card img {
  width: 200px;
  max-height: 120px;
  background: #FFF;
  padding: 10px;
  border-radius: 16px;
  box-shadow: rgb(77 183 72 / 38%) 0px 0px 10px;
}
.protest-activity .info-card h2 {
    color: #1b8d3c;
    font-weight: 700;
}
.protest-activity .dark-card {
    background: #143B3F;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
}
.protest-activity .dark-card .value-box {
  width: 80%;
  background: #F0FFF4;
  color: #1b8d3c;
  padding: 20px;
  border-radius: 8px;
  font-size: 32px;
  font-weight: 700;
  margin: 20px auto;
}
.protest-activity .btn-green {
  width: 80%;
  background: #118C33;
  color: #fff;
  border-radius: 6px;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 20px;
}
.protest-activity .btn-green:hover {
  background: #157a33;
}

.crime-safety {
  margin-bottom: 30px;
}
.crime-safety .map-box {
  position:relative;
  height:100%;
  border-radius:6px;
  overflow:hidden;
}
.crime-safety #map { height:100%; }
.crime-safety .legend {
    width: 85%;
    position: absolute;
    bottom: 12px;
    left: 7.5%;
    background:rgba(255,255,255,0.9);
    padding:8px 50px;
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:4px;
    z-index: 1000;
}
.crime-safety .legend-scale {
    display:flex;
    flex:1;
}
.crime-safety .legend-scale span {
    flex:1;
    height:12px;
}
.crime-safety .legend-scale span:nth-child(1){background:#e6ecf5;}
.crime-safety .legend-scale span:nth-child(2){background:#ccd6f6;}
.crime-safety .legend-scale span:nth-child(3){background:#aab4ff;}
.crime-safety .legend-scale span:nth-child(4){background:#6d7df2;}
.crime-safety .legend-scale span:nth-child(5){background:#3c4fdc;}
.crime-safety .legend-scale span:nth-child(6){background:#1c2faa;}
.crime-safety .legend-text {
  font-size: 18px;
  color:#555;
}
.crime-safety .table-box {
  background:#fff;
  border-radius:6px;
  overflow:hidden;
}
.crime-safety .table {
  margin:0;
}
.crime-safety .table thead tr {
  background:#cfe5d3;
}
.crime-safety .table th {
  background: #F0FFF4;
  color: #27b24d;
  font-weight: 600;
  font-size: 18px;
  padding: 14px;
  border: none;
}
.crime-safety .table td {
  font-size: 15px;
  padding:14px;
  border-bottom:1px solid #ddd;
}
.crime-safety .insight-box {
  border:1px solid #9fb3c8;
  border-radius:6px;
  background:#f7f7f7;
  padding:18px;
}
.crime-safety .insight-title {
  font-size: 22px;
  font-weight:600;
  margin-bottom:12px;
}
.crime-safety .insight-list {
  list-style:none;
  padding-left:0;
}
.crime-safety .insight-list li {
  position:relative;
  padding-left:22px;
  margin-bottom:12px;
  font-size: 18px;
}
.crime-safety .insight-list li::before {
  content:"";
  width:10px;
  height:10px;
  background:#1b8d3c;
  border-radius:50%;
  position:absolute;
  left:0;
  top:6px;
}
.two-col {
    column-count: 2;
    column-gap: 20px;
    margin: 0;
}

.local-amenities {
  margin-bottom: 30px;
}
.local-amenities .map-box { height:420px; border-radius:6px; overflow:hidden; position:relative; }


/* Structure & Features CSS */
.structure-features .form-check {
    margin-right: 18px;
}
.structure-features .form-check-input {
    width: 14px;
    height: 14px;
    margin-top: 0.2rem;
    border: 1px solid #27b24d7a;
    cursor: pointer;
}
.structure-features .form-check-input:checked {
    background-color: #27b24d;
    border-color: #27b24d;
}
.structure-features .form-check-label {
    font-size: 14px;
    color: #8b8f95;
    font-weight: 500;
    cursor: pointer;
}
:root{
  --sc-accent:#0e8a6d;
  --sc-accent-soft:#e5f4ef;
  --sc-accent-border:#bfe3d5;
  --sc-label:#8a94a3;
  --sc-value:#1f2733;
  --sc-muted-bg:#f4f5f7;
  --sc-muted-border:#e7e9ed;
  --sc-muted-text:#9aa2af;
  --sc-rule:#edeff2;
}

.structure-features .sc-section{
  padding:20px 0 18px;
  border-bottom:1px solid var(--sc-rule);
}
.structure-features .sc-section:last-of-type{
  border-bottom:none;
}

.structure-features .sc-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}

.structure-features .sc-section-title{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:15px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#2b3440;
  margin:0;
}

.structure-features .sc-section-title::before{
  content:"";
  display:inline-block;
  width:3px;
  height:15px;
  background:#27b24d;
  border-radius:2px;
}

.structure-features .sc-field-count{
  display: none;
  font-size:12px;
  color:var(--sc-label);
  white-space:nowrap;
}

.structure-features .sc-field-label{
  display:block;
  font-size:12px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#8a8a8a;
  margin-bottom:4px;
}

.structure-features .sc-field-value{
  display:block;
  font-size:15px;
  font-weight:600;
  color:var(--sc-value);
}
.structure-features .sc-field-value.is-empty{
  color:var(--sc-muted-text);
  font-weight:500;
}
.structure-features .sc-field-value.sc-link{
  color:#2563eb;
}

.structure-features .sc-field{
  margin-bottom:0;
}

/* Fixed-column grid so multi-row sections (e.g. 8 fields = 5 + 3,
   like Outdoor & Lot) keep every field aligned to the same column
   position instead of stretching to fill whichever row it wraps into. */
.structure-features .sc-fields-grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  column-gap:20px;
  row-gap:18px;
  align-items:start;
  margin-bottom:4px;
}

@media (max-width:768px){
  .structure-features .sc-fields-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}
@media (max-width:480px){
  .structure-features .sc-fields-grid{
    grid-template-columns:repeat(2, 1fr);
    row-gap:14px;
  }
}

.structure-features .sc-subhead{
  font-size:10.5px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--sc-label);
  margin:4px 0 10px;
}

/* chips */
.structure-features .sc-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.structure-features .sc-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:8px;
  font-size:13px;
  font-weight:600;
  border:1px solid transparent;
  line-height:1.2;
}

.structure-features .sc-chip.is-active{
 background: #c7f1d287;
 border-color: #27b24d;
 color: #27b24d;
}

.structure-features .sc-chip.is-inactive{
  background:var(--sc-muted-bg);
  border-color:var(--sc-muted-border);
  color:var(--sc-muted-text);
  font-weight:500;
}

.structure-features .sc-chip .sc-chip-icon{
  font-size:11px;
  line-height:1;
}
.structure-features .sc-chip.is-active .sc-chip-icon{ color:var(--sc-accent); }
.structure-features .sc-chip.is-inactive .sc-chip-icon{ color:#c2c8d1; }

/* footer note */
.structure-features .sc-footnote{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:var(--sc-label);
  padding-top:16px;
  margin-top:2px;
}
.structure-features .sc-footnote .sc-info-dot{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:14px;
  height:14px;
  border-radius:50%;
  border:1px solid #c7ccd4;
  font-size:9px;
  color:#9aa2af;
  flex:0 0 auto;
}

@media (max-width:576px){
  .structure-features{ padding:8px 16px 16px; margin:16px; }
}

/* ✅ Map tab loading state (spinner + wait cursor while map data loads) */
#nav-link-map.map-tab-loading {
  cursor: wait !important;
  opacity: 0.75;
}
#nav-link-map.map-tab-loading .spinner-border {
  vertical-align: -0.15em;
}
.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: -0.125em;
  border: 0.15em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}
.spinner-border-sm {
  width: 0.85rem;
  height: 0.85rem;
  border-width: 0.12em;
}
@keyframes spinner-border {
  to { transform: rotate(360deg); }
}


