.footer-wrap{
    margin-top: 0;
}
/* Collage More Overlay (for +N more cell) */
.collage-more-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.92);
  color: #111;
  font-weight: 600;
  font-size: 1.1em;
  border-radius: 12px;
  z-index: 2;
  flex-direction: row;
  gap: 8px;
}
.collage-more-overlay .icon-left svg {
  display: inline-block;
  vertical-align: middle;
  color: #111;
  fill: none;
  stroke: #111;
}
.collage-more-overlay .icon-left {
  margin-right: 6px;
  display: flex;
  align-items: center;
}
.collage-img-more {
  position: relative;
  overflow: hidden;
}

/* Make the "+N more" overlay image smaller and visually distinct */
.collage-img-more img {
    filter: brightness(0.7) blur(1px);
}

/* .collage-img-more {
    max-height: 120px;
    min-height: 80px;
} */

.collage-more-overlay {
    font-size: 1.1em;
    padding: 0 8px;
}
.property-search-container button.filter-toggle:hover {
    color: black;
}
.more-overlay {
    display: flex;
    background: var(--Gray-5-Light, #f2f2f2);
    border: 1px solid var(--Gray-5-Light, #f2f2f2);
    color: var(--Text-Default, #1a1b22);
    border-radius: 6px;
    padding: 10px 11px;
}

/* Property Collage Gallery Styles */
.property-collage-gallery {
    margin-bottom: 30px;
}

.collage-grid {
    display: grid;
    gap: 6px;
}

.collage-grid-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
}

.collage-grid-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
}

.collage-grid-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "main side" "main side2";
}

.collage-grid-3 .collage-img:nth-child(1) {
    grid-area: main;
}

.collage-grid-3 .collage-img:nth-child(2) {
    grid-area: side;
}

.collage-grid-3 .collage-img:nth-child(3) {
    grid-area: side2;
}

.collage-grid-4 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.collage-grid-5 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 450px;
}

.collage-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #f3f3f3;
}

.collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s;
}

.collage-img:hover img {
    transform: scale(1.04);
}

.collage-img-more {
    position: relative;
}

.collage-more-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 30, 30, 0.65);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    border-radius: 10px;
}

/* Price marker badge for map popup */
.price-marker-badge {
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    width: 60px;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Popup property card styles */
.popup-property-card {
    text-align: center;
    font-family: Arial, sans-serif;
}

.property-card .property-stats,
.property-details {
    gap: 0;
    /* text-align: center; */
}

.property-details p {
    width: 100%;
}

.popup-property-image {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.popup-property-price {
    margin: 5px 0;
    font-weight: bold;
}

.popup-property-address {
    margin: 5px 0;
}

.popup-property-link {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

/* Property card image (list) */
.property-card-image {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.property-card-price {
    font-weight: bold;
    margin: 5px 0;
}

.property-card-address {
    margin: 5px 0;
}

.price-marker {
    text-align: center;
    font-family: Arial, sans-serif;
}

.property-search-container {
    display: flex;
    height: 74vh;
    overflow: hidden;
}

.property-search-container #map {
    width: 55%;
    height: 100%;
}

.property-search-container .sidebar {
    width: 60%;
    /* height: 100%; */
    /* overflow-y: auto; */
    padding: 20px;
    background: #f8f9fa;
    position: relative;
}

.property-search-container .property-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    height: 84%;
    overflow-y: auto;
}

.property-search-container .property-card {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.property-search-container .property-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

.property-search-container .property-card h4 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #333;
}

.property-search-container .property-card p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding: 18px 24px 4px 24px; */
    gap: 5px;
}

.property-search-container .property-card .badge {
    background: #28a745;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.property-container {
    max-width: 1260px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.swiper {
    width: 100%;
    height: 500px;
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-summary h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.property-summary p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #555;
}
.more-overlay {
    font-size: 16px;
}
.section-title {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #222;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
}

.property-stats,
.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.leaflet-popup-content p {
    margin: 5px 0px 2px 0px;
}

.stat,
.detail {
    flex: 1 1 200px;
    padding: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fafafa;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.price-box {
    background-color: #f0f8ff;
    border-left: 4px solid #007bff;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.property-content {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.property-content h2 {
    font-size: 1.25rem;
    margin-top: 1rem;
    color: #333;
}

.property-content p,
.property-content a {
    color: #555;
    line-height: 1.6;
}

.manager-photo {
    max-width: 100px;
    border-radius: 50%;
    margin-top: 0.5rem;
    border: 2px solid #ddd;
}

a.button-link {
    display: inline-block;
    margin-top: 1rem;
    background-color: #007bff;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

a.button-link:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .swiper {
        height: 300px;
    }

    .property-stats,
    .property-details {
        flex-direction: column;
    }
}

.property-search-container .filters-bar {
    display: flex;
   flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
    width: 100%;
}

.property-search-container .filter-dropdown {
    position: relative;
    width: 26%;
}

.property-search-container .filter-toggle {
    background-color: #fff;
    border: 1px solid #d1d5db;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-search-container .filter-toggle:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.property-search-container .filter-panel {
    position: absolute;
    top: 110%;
    left: 0;
    z-index: 100;
    width: 250px;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 15px;
    display: none;
}

.property-search-container .filter-dropdown:hover .filter-panel {
    display: block;
    color: #111827;
}

.property-search-container .drop-heading {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    color: #111827;
}

.property-search-container .price-range-filter,
.property-search-container .arv_range {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.property-search-container .price-range-filter input,
.property-search-container .arv_range input {
    width: 100%;
    padding: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.property-search-container .beds-dropdown-menu label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
}

.property-search-container .beds-dropdown-menu input[type="checkbox"] {
    margin-right: 6px;
}

.property-search-container .filter-btn {
    background-color: #0057ff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    margin-left: 10px;
}

.property-search-container .filter-btn:hover {
    background-color: #0041cc;
}

/* Apply button inside dropdowns */
.property-search-container .filter-panel .filter-btn,
.property-search-container .filter-panel button {
    margin-top: 10px;
    width: 100%;
    background-color: #0057ff;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}

.property-search-container .chevron {
    font-size: 10px;
    margin-left: 4px;
}

.property-search-container .loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.property-search-container .loader img {
    width: 50px;
    height: 50px;
}

.disclosure-statement-section {
    background: #f8f8f8;
    padding: 20px;
    margin-top: 40px;
    border-top: 2px solid #ddd;
}

button.disabled-success {
    background-color: #28a745;
    color: #fff;
    cursor: default;
    border: none;
}

.nearby-deals-section {
    margin-top: 60px;
}

.nearby-properties {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.nearby-property {
    border: 1px solid #ddd;
    padding: 10px;
    width: 23%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nearby-property img {
    width: 100%;
    height: auto;
}

.nearby-property h3 {
    margin: 10px 0 5px;
    font-size: 16px;
}

.property-search-container #property-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 34, 45, 0.18);
    z-index: 99999999;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(6px);
}

.property-search-container #property-loader .loader-card {
    /* background: rgba(255,255,255,0.85); */
    border-radius: 22px;
    /* box-shadow: 0 8px 32px rgba(0,0,0,0.18); */
    padding: 38px 38px 38px 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
    pointer-events: all;
    /* border: 1.5px solid #e5e5e5; */
    font-family: 'Segoe UI', 'Roboto', 'Arial', sans-serif;
    /* backdrop-filter: blur(2px); */
    /* -webkit-backdrop-filter: blur(2px); */
}

.property-search-container #property-loader .property-spinner {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spin 1.1s cubic-bezier(.68, -0.55, .27, 1.55) infinite;
    margin-bottom: 0;
    margin-top: 0;
}

.property-search-container #property-loader .property-spinner svg {
    width: 44px;
    height: 44px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.10));
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#open-house-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#open-house-modal .oh-modal-content,
#open-house-modal>div {
    background: #fff;
    padding: 32px 28px 28px 28px;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    font-family: inherit;
}

#open-house-modal h2 {
    margin-top: 0;
    color: #0073aa;
    font-size: 1.5em;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

/* Calendar styles */
.oh-calendar {
    width: 100%;
    margin-bottom: 18px;
    user-select: none;
}

.oh-calendar table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.oh-calendar th,
.oh-calendar td {
    text-align: center;
    padding: 8px 0;
    font-size: 1em;
}

.oh-calendar th {
    color: #0073aa;
    font-weight: 600;
    background: #f0f8ff;
}

.oh-calendar td {
    border: 1px solid #e5e5e5;
    min-width: 36px;
    height: 38px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.oh-calendar td.oh-today {
    background: #e6f7ff;
    font-weight: bold;
    color: #0073aa;
}

.oh-calendar td.oh-has-slots {
    background: #eafbe7;
    border-color: #46b450;
}

.oh-calendar td.oh-has-slots:hover {
    background: #46b450;
    color: #fff;
}

.oh-calendar .oh-slots-preview {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #0073aa;
    color: #0073aa;
    border-radius: 7px;
    padding: 6px 12px;
    font-size: 0.95em;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 2px;
    display: none;
}

.oh-calendar td.oh-has-slots:hover .oh-slots-preview {
    display: block;
}

#open-house-modal input[type="text"],
#open-house-modal input[type="email"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    margin-bottom: 14px;
    font-size: 1em;
    background: #f8f9fa;
}

#open-house-modal #time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

#open-house-modal .time-slot-button {
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #0073aa;
    background: #f0f8ff;
    color: #0073aa;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-bottom: 6px;
}

#open-house-modal .time-slot-button.selected,
#open-house-modal .time-slot-button:hover {
    background: #0073aa;
    color: #fff;
}

#open-house-modal #submit-open-house {
    width: 100%;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

#open-house-modal #submit-open-house:hover {
    background: #005f8d;
}

#open-house-modal button[onclick] {
    position: absolute;
    top: 16px;
    right: 18px;
    background: none;
    border: none;
    font-size: 1.7em;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

#open-house-modal button[onclick]:hover {
    color: #d63638;
}

.oh-calendar {
    width: 100%;
    margin-bottom: 18px;
    user-select: none;
}

.oh-calendar table {
    width: 100%;
    border-collapse: collapse;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
}

.oh-calendar th,
.oh-calendar td {
    text-align: center;
    padding: 8px 0;
    font-size: 1em;
}

.oh-calendar th {
    color: #0073aa;
    font-weight: 600;
    background: #f0f8ff;
}

.oh-calendar td {
    border: 1px solid #e5e5e5;
    min-width: 36px;
    height: 38px;
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.oh-calendar td.oh-today {
    background: #e6f7ff;
    font-weight: bold;
    color: #0073aa;
}

.oh-calendar td.oh-has-slots {
    background: #eafbe7;
    border-color: #46b450;
}

.oh-calendar td.oh-has-slots:hover {
    background: #46b450;
    color: #fff;
}

.oh-calendar td.oh-disabled {
    color: #ccc;
    background: #f5f5f5;
    cursor: not-allowed;
}

.oh-calendar .oh-month-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.oh-calendar .oh-month-btn {
    background: none;
    border: none;
    color: #0073aa;
    font-size: 1.2em;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.oh-calendar .oh-month-btn:hover {
    background: #e6f7ff;
}

#open-house-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000b3;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

#time-slots {
    margin-top: 15px;
}

.user-info,
#submit-open-house {
    margin-top: 20px;
}

#user_name,
#user_email {
    width: 100%;
    margin-bottom: 10px;
}

.close-open-house {
    position: absolute;
    top: 10px;
    right: 10px;
}

#cancel-open-house-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000b3;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cancel-modal-content {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.cancel-modal-message {
    font-size: 1.2em;
    margin-bottom: 18px;
}

#keep-open-house {
    margin-right: 12px;
}

.open-house-label {
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 8px;
}

#open-house-confirmed-datetime {
    font-size: 1.1em;
    font-weight: bold;
    margin: 8px 0;
}

#cancel-open-house {
    margin-top: 10px;
}

.dealRow-row div {
    display: flex;
    /* gap: 7px; */
}

.dealRow-row>* {
    align-items: center;
    display: flex;
}

.dealRow-rowRight {
    -moz-column-gap: 16px;
    column-gap: 16px;
}


.dealRow-row {
    display: flex;
    justify-content: space-between;
    padding: 24px 0;

}

.dealRow-rowRight>* {
    align-items: center;
    color: var(--Text-Medium, #4f5366);
    -moz-column-gap: 4px;
    column-gap: 4px;
    display: grid;
    font-size: 14px;
    font-weight: 400;
    grid-template-columns: max-content max-content;
    line-height: 20px;
}

.dealRow-rowRight svg {
    width: 33px;
}
button.back-ui-button {
    background: transparent !important;
}
button#request-full-address {
    border: none;
    color: blue;
    background: transparent;
}
.additionalDetails-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    justify-content: space-around;
}
.dealsNearby-wrapper {
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    margin-top: 10px;
}

.dealsNearby-top {
    margin-bottom: 24px;
}

.dealsNearby-title {
    font-size: 24px;
    font-weight: bold;
    color: #1a1b22;
}

.dealsNearby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}


/* Card Wrapper */
.ui-deal-card_wrapper {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05);
}

.ui-deal-card_wrapper:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Image Container */
.ui-deal-card_img-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.ui-deal-card_img-container img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
}

/* Overlay link */
.ui-deal-card_img-container_overlay a.ui-deal-card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Info Container */
.ui-deal-card_info {
    padding: 16px;
}

.ui-deal-card-property-price-and-arv_value {
    font-size: 18px;
    font-weight: 600;
    color: #1a1b22;
}

.ui-deal-card-property-price-and-arv_avg {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.ui-deal-card-property-address p {
    margin: 0 0 10px;
    color: #444;
    font-size: 14px;
}

.ui-deal-card-property-details-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #333;
    align-items: center;
}

.ui-deal-card-property-details-row div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ui-deal-card-property-details-row svg {
    width: 16px;
    height: 16px;
    stroke: #444;
}

/* Container & layout */
.layout-default_content {
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
    color: #1A1B22;
}

.dealContent-body {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.dealContent-left {
    flex: 1 1 65%;
}

.dealContent-right {
    flex: 1 1 30%;
    background: #f9f9ff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    height: 50%;
}

/* Overview top stats */
.overview-top {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    justify-content: space-between;
}
.ui-button.type-filled:hover {
    background-color: #0039e6;
    color: #fff;
}
.overview-topItem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    /* border: 1px solid #e5e5e5; */
    /* border-radius: 10px; */
    min-width: 140px;
}

.overview-topItemTitle {
    font-weight: 600;
    font-size: 14px;
    color: #666;
}

.overview-topItemDescription {
    font-size: 18px;
    font-weight: bold;
    color: #1A1B22;
}

/* Overview bottom */
.overview-bottom {
    margin-top: 20px;
}

.overview-bottomTitle {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.overview-bottomDescription {
    color: #333;
    font-size: 14px;
}

.overview-bottomDescription p,
.overview-bottomDescription ul {
    margin-bottom: 10px;
}

.overview-bottomDescription ul {
    padding-left: 20px;
}

.read-more-link {
    color: #0057ff;
    text-decoration: underline;
    font-weight: 500;
    cursor: pointer;
}

/* Additional Details */
.additionalDetails-wrapper {
    margin-top: 30px;
}

.additionalDetails-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.additionalDetails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.additionalDetails-gridItem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f7f8fa;
    border-radius: 8px;
}

.additionalDetails-gridItemTitle {
    font-size: 13px;
    color: #666;
}

.additionalDetails-gridItemDescription {
    font-size: 15px;
    font-weight: 600;
    color: #1A1B22;
}

/* Open House */
.openHouse-wrapper {
    margin-top: 30px;
    background: #f9f9ff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.openHouse-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.request-btn {
    background-color: #2a5bff;
    color: #fff;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    margin-top: 10px;
    cursor: pointer;
    font-size: 14px;
}

.cancel-note {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Price Block */
.priceBlock-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.priceBlock-costList div {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}

.priceBlock-costList-label,
.priceBlock-label,
.priceBlock-gross-label {
    font-weight: 500;
    color: #666;
}

.priceBlock-cost {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.priceBlock-arv,
.priceBlock-grossValue {
    font-weight: bold;
    color: #1A1B22;
}

.priceBlock-gross {
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* Buttons */
.priceBlock-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ui-button {
    font-weight: 600;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.ui-button.type-filled {
    background-color: #2a5bff;
    color: #fff;
    border: none;
}

.ui-button.type-filled:hover {
    background-color: #0039e6;
}

.ui-button.type-outline {
    background-color: transparent;
    color: #2a5bff;
    border: 2px solid #2a5bff;
}

.ui-button.type-outline:hover {
    background-color: #eaf0ff;
}

button#request-full-address {
    border: none;
    color: blue;
}

button#request-full-address:hover {
    /* text-decoration: underline; */
    cursor: pointer;
    border: none;
    color: rgba(0, 0, 255, 0.692);
    background: none;
}

button#read-more-btn {

    border: none;
}

button#read-more-btn:hover {
    margin-top: 0px !important;
    border: none;
    background: none;
    color: rgba(0, 0, 255, 0.692);
}



.offer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    /* height: 100vh; */
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure modal is always centered horizontally and vertically */
}

.offer-modal-header,
.offer-modal-footer {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

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

.offer-modal-title {
    font-weight: 600;
    font-size: 16px;
}


.offer-property-card {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
}

.offer-property-card img {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
}

.offer-property-info {
    display: flex;
    flex-direction: column;
    text-align: justify;
}

.offer-price {
    font-weight: bold;
}

.offer-arv {
    color: #666;
    font-size: 12px;
}

.offer-location {
    font-size: 13px;
    color: #777;
}

.offer-tab-switch {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.offer-tab-switch button {
    flex: 1;
    padding: 10px;
    border: none;
    background: #f0f0f0;
    cursor: pointer;
}

.offer-tab-switch button.offer-active {
    background: #fff;
    border-bottom: 3px solid #005eff;
    font-weight: bold;
    color: #005eff;
}

.offer-tab-btn {
    background: #fff;
    /* font-weight: bold; */
    color: #005eff;
}

.offer-tab-btn:hover {
    color: #1f6df5;
    font-weight: bold;
}

.offer-close-btn,
#close-submitted-offers-modal {
    background: none;
    color: #0057ff;
    border: none;
}

.offer-close-btn:hover,
#close-submitted-offers-modal:hover {
    background: none;
    color: #1f6df5;
    font-weight: bold;
    border: none;
}
.popup-property-card {
    border-radius: 5px;
    padding: 18px;
}
.property-search-container .property-card {
    position: relative;
}
.ui-deal-card-overlay_bottom {
    position: absolute;
    top: 0;
    right: 20px;
    margin-top: 20px;
    background: #fff;
    border-radius: 20px;
}
.leaflet-popup-content-wrapper{
    border-radius: 5px !important;
}
.leaflet-popup.leaflet-zoom-animated {
    border-radius: 5px;
}
.property-stats, .property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0 !important;
}
.inside_the_modal {
    overflow-x: auto;
    height: 300px;
    scrollbar-width: thin;
    scrollbar-color: #1976d2 #f0f0f0;
}

.offer-modal input[type="text"],
.offer-modal input[type="number"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.offer-modal textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.offer-upload-box {
    border: 2px dashed #a0c2f8;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 10px;
    color: #555;
    background: #f1f7ff;
    overflow: auto;
    height: 300px;
}

.offer-upload-box input[type="file"] {
    display: none;
}

.offer-btn-primary {
    background-color: #005eff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 14px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
}

.offer-btn-primary:hover {
    background-color: #0041cc;
}

.offer-btn-secondary {
    background-color: #eaeaea;
    color: #333;
    border: none;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    cursor: pointer;
    margin-top: 10px;
}

.offer-btn-secondary:hover {
    background-color: #dcdcdc;
}



.offer-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.offer-success {
    text-align: center;
    padding: 30px;
}

.offer-success img {
    width: 60px;
    margin-bottom: 16px;
}

/* Add this to the top of your CSS or in a <style> block in single-property.php */
.offer-modal {
    position: fixed;
    top: 0;
    left: 0;
    /* width: 100vw; */
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Ensure modal is always centered horizontally and vertically */
}
div#offer-modal {
    padding: 20px;
}
.offer-modal-content {
    left: 0;
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 0;
    position: relative;
    top: 5%;
    right: 0;
    margin: 0 auto;
}
.offer-modal {
    padding: 10px;
}
/* Optional: prevent scrolling when modal is open */
body.offer-modal-open {
    overflow: hidden;
}

/* Offer Modal Progress Bar */
.offer-modal-progress {
    display: flex;
    gap: 8px;
    margin: 16px 0 24px 0;
    justify-content: center;
}

.offer-modal-progress .progress-line {
    width: 145px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    transition: background 0.2s;
}

.offer-modal-progress .progress-line.active,
.offer-modal-progress .progress-line.step-active {
    background: #0073aa;
}

/* Previous Button */
.offer-prev-btn {
    background: none;
    border: none;
    color: #0073aa;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 8px;
    padding: 0 8px 0 0;
}

.offer-prev-btn:hover {
    background: none;
    border: none;
    color: #0073aa;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 8px;
    padding: 0 8px 0 0;
}

/* File Preview List */
#file-preview-list {
    margin-top: 10px;
}

.file-preview-item {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 6px 12px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
    display: inline-block;
}


.dealRow-rowRight div img {
    width: 55px;
    height: 55px;
}

.property-content {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    font-family: Arial, sans-serif;
    max-width: 600px;
}

.property-content h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.property-content p {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.property-content .button {
    background-color: #3056ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease;
}

.property-content .button:hover {
    background-color: #2548cc;
}

.openHouse-buttonDescription {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #555;
    margin-top: 8px;
}

.openHouse-buttonDescription svg {
    margin-right: 6px;
    stroke: #666;
}



#open-house-confirmation .open-house-label {
    font-weight: bold;
    margin-bottom: 5px;
}

#open-house-confirmation div {
    font-size: 14px;
    margin-bottom: 6px;
}

#cancel-open-house.button-secondary {
    background-color: transparent;
    color: #3056ff;
    border: 1px solid #3056ff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

#cancel-open-house.button-secondary:hover {
    background-color: #eef2ff;
}

#offer-modal .offer-modal-body {
    padding: 20px;
    width: 100%;
    text-align: center;
    height: 500px;
}

.offer-modal-body {
    padding: 20px;
}





/* Offer Details Modal container */
#submitted-offers-modal .offer-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    /* width: 100%; */
    height: 100%;
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
}

/* Modal content */
#submitted-offers-modal .offer-modal-content {
    background: #fff;
    /* margin: 40px auto; */
    /* padding: 20px; */
    border-radius: 12px;
    max-width: 500px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Header */
#submitted-offers-modal .offer-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
}

#submitted-offers-modal .offer-modal-header button {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* Offer item card */
.offersSent-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fafafa;
}

/* Offer item top section */
.offersSent-itemTop {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
}

/* Status badge */
.ui-message-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 30px;
    font-weight: 600;
    text-transform: capitalize;
}

.scheme-blue-10 {
    background-color: #f0f7ff;
    color: #1976d2;
}

.scheme-yellow-10 {
    background-color: #fff8e1;
    color: #ff9800;
}

/* Card content */
.cardInfo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.roundedImage {
    width: 48px;
    height: 48px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-right: 12px;
    background-color: #eee;
}

.cardInfo-content .cardInfo-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cardInfo-label {
    font-size: 13px;
    color: #777;
}

.cardInfo-description {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
}

/* Offer info */
.totalOfferInfo-wrapper {
    font-size: 14px;
    color: #444;
}

.totalOfferInfo-row {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.totalOfferInfo-rowTitleBold {
    font-weight: 600;
}

.totalOfferInfo-rowValueBold {
    font-weight: 600;
    color: #222;
}

/* View details button */
.view-offer-details-btn {
    margin-top: 15px;
    width: 100%;
    padding: 10px 0;
    border: 2px solid #1976d2;
    background: #fff;
    color: #1976d2;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-offer-details-btn:hover {
    background-color: #1976d2;
    color: #fff;
}

/* Submitted Offer details */
#offer-details-view .offer-modal-title {
    font-size: 18px;
    font-weight: 600;
}

.submittedOffer-wrapper {
    font-size: 14px;
    color: #444;
}

/* Close button */
#offer-details-view .offer-prev-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    margin-right: 10px;
}

/* Success message */
#submitted-offers-modal .offer-modal-body .success-message {
    background-color: #e6f4ea;
    color: #2e7d32;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Close button */
#submitted-offers-modal .offer-modal .close {
    background-color: #f1f1f1;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    margin-top: 20px;
    font-weight: 500;
    cursor: pointer;
}

/* Make the list scrollable within the modal */
#submitted-offers-modal .offer-modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

/* Optional: style scrollbar for better UX */
#submitted-offers-modal .offer-modal-body::-webkit-scrollbar {
    width: 6px;
}

#submitted-offers-modal .offer-modal-body::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

#submitted-offers-modal .offer-modal-body::-webkit-scrollbar-thumb {
    background-color: #c0c0c0;
    border-radius: 3px;
}



/* Modal body scroll */
#offer-details-view .offer-modal-body {
    max-height: 75vh;
    overflow-y: auto;
    /* padding: 10px; */
}

/* Scrollbar styling (optional) */
#offer-details-view .offer-modal-body::-webkit-scrollbar {
    width: 6px;
}

#offer-details-view .offer-modal-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}

/* Alert success box */
.ui-alert.type-success {
    display: flex;
    align-items: flex-start;
    background-color: #e6f4ea;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 16px;
    color: #2e7d32;
    font-size: 14px;
}

.ui-alert_icon {
    margin-right: 10px;
    margin-top: 2px;
}

.ui-alert_container_label {
    font-weight: 600;
}

.ui-alert_container_content {
    font-size: 13px;
    color: #2e7d32;
}

/* Submitted card section */
.submittedOffer-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    padding: 16px;
}

/* Top section: status & date */
.submittedOffer-cardTop {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: #666;
}

/* Status badge */
.ui-message-status-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 12px;
    text-transform: capitalize;
}

.scheme-blue-10 {
    background-color: #e3f2fd;
    color: #1976d2;
}

/* Card content (image and address) */
.cardInfo-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.roundedImage {
    width: 48px;
    height: 48px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-right: 10px;
    background-color: #eee;
}

.cardInfo-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.cardInfo-label {
    font-size: 13px;
    color: #777;
}

.cardInfo-description {
    font-size: 13px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

/* Info rows */
.submittedOffer-userInfoItem {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin: 6px 0;
    color: #444;
}

/* Comment */
.withLabel-wrapper {
    margin-top: 14px;
}

.withLabel-label {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #444;
}

.submittedOffer-comment {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #444;
}

/* Total offer block */
.totalOfferInfo-wrapper {
    margin-top: 16px;
}

.totalOfferInfo-row {
    display: flex;
    justify-content: space-between;
    margin: 6px 0;
    font-size: 15px;
    color: #333;
}

.totalOfferInfo-rowTitleBold {
    font-weight: 700;
}

.totalOfferInfo-rowValueBold {
    font-weight: 700;
}

/* Close button */
.submittedOffer-actions {
    margin-top: 20px;
    text-align: right;
}

#submittedOffer-close {
    background-color: #1976d2;
    color: white;
    padding: 10px 18px;
    font-size: 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

#submittedOffer-close:hover {
    background-color: #125ca1;
}

.offer-details-modal-btn {
    background-color: transparent;
    color: #2a5bff;
    border: 2px solid #2a5bff;
}

button#offers-sent-btn {
    border: none;
}

button#offers-sent-btn:hover {
    background-color: #e3e1ddcc;
    color: #2a5bff;
    /* border: 2px solid #2a5bff; */
}


/* Offer submission error styles */
.offer-submission-error {
    background: #fff0f0;
    border: 1px solid #e57373;
    color: #c62828;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(230, 115, 115, 0.08);
    margin: 0 10px 0 10px;
}

.offer-error-msg {
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

.offer-error-msg:before {
    content: "⚠️ ";
    position: absolute;
    left: 0;
    top: 0;
}

.offer-modal-body small {
    float: inline-start;
    margin-bottom: 15px;
}

div.offer-error {
    text-align: justify;
    margin-bottom: 13px;
    padding: 0;
    margin: 0;
}

.dealContent-backRow {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 8px 0;
    background: none;
}

.dealContent-backRow a {
    text-decoration: none;
}

.dealContent-backRow button {
    display: flex;
    align-items: center;
    gap: 8px;
    /* background: #f5f7fa; */
    border: none;
    /* border-radius: 6px; */
    padding: 8px 18px;
    color: #2958FF;
    font-weight: 500;
    font-size: 15px;
    /* box-shadow: 0 1px 4px rgba(41,88,255,0.08); */
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.dealContent-backRow button:hover {
    background: transparent;
    color: #1a1b22;
}

.dealContent-backRow .icon-left {
    display: flex;
    align-items: center;
    margin-right: 6px;
}

.dealContent-backRow .content {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.back-ui-button span.front-layer {
    display: flex;
    background: transparent;
}


#offer-step-2 .offer-modal-body {
    height: 515px;
}

#offer-step-3 .offer-modal-body {
    height: 380px;
}

#offer-step-4 .offer-modal-body {
    height: 370px;
}

.ui-menu {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 10;
}

.ui-menu_row {
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    user-select: none;
}

.ui-menu_row_chevron {
    margin-left: 5px;
}

.ui-menu_list {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    width: 150px;
    display: none;
    /* HIDE BY DEFAULT */
    flex-direction: column;
}

.ui-menu.ui-menu_open .ui-menu_list {
    display: flex;
}

.ui-dropdown-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.ui-dropdown-option:hover {
    background: #f1f1f1;
}

.sorting-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
    /* Optional: allows responsive wrapping */
}

.map-and-catalog-count p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.ui-menu {
    min-width: 120px;
}

@media (max-width: 600px) {
    .sorting-count {
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }
}


button.filter-toggle {
    width: 100%;
}

.filter-dropdown button span.chevron {
    font-size: 16px;
    text-align: end;
}

.property-search-container .filters-bar button.filter-btn {
    height: 48px;
}

/* House Type css */
.property-search-container .home-type-dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px 0px;
}

.property-search-container .home-type-dropdown-menu label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}
.property-search-container .filter-panel {
    width: 340px;
    max-height: 400px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.property-search-container .drop-heading {
    font-weight: bold;
    font-size: 16px;
    color: #0073aa;
    margin-bottom: 0px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.property-search-container .beds-bath-filter .filter-panel {
    width: 320px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    padding: 18px;
    font-family: 'Segoe UI', sans-serif;
}

.property-search-container .beds-bath-filter .drop-heading {
    font-weight: 600;
    font-size: 17px;
    color: #0073aa;
    margin-bottom: 18px;
    display: block;
}

.property-search-container .beds-bath-filter .bedrooms-label,
.property-search-container .beds-bath-filter .bathrooms-label {
    font-weight: 500;
    margin: 10px 0 8px;
    display: block;
    color: #444;
    font-size: 14px;
}

.property-search-container .beds-bath-filter .beds-dropdown-menu,
.property-search-container .beds-bath-filter .bath-dropdown-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.property-search-container .beds-bath-filter .beds-dropdown-menu label,
.property-search-container .beds-bath-filter .bath-dropdown-menu label {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.25s, border-color 0.25s, color 0.25s;
    user-select: none;
    font-weight: 500;
}

/* Hide native checkboxes */
.property-search-container .beds-bath-filter input[type="checkbox"] {
    display: none;
}

/* Highlight on check */
.property-search-container .beds-bath-filter input[type="checkbox"]:checked + span {
    background-color: #f0f8ff;
    border-color: #1a73e8;
    color: #1a73e8;
}

/* Apply styling directly on span (inside label) */
.property-search-container .beds-bath-filter .beds-dropdown-menu span,
.property-search-container .beds-bath-filter .bath-dropdown-menu span {
     display: inline-block;
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: 8px;  /* same border radius to blend */
    box-sizing: border-box;
}

/* Hover effect */
.property-search-container .beds-bath-filter .beds-dropdown-menu label:hover,
.property-search-container .beds-bath-filter .bath-dropdown-menu label:hover {
    background-color: #f0f8ff;
    border-color: #1a73e8;
    color: #1a73e8;
}

.property-search-container .beds-bath-filter .beds-dropdown-menu label:has(input[type="checkbox"]:checked),
.property-search-container .beds-bath-filter .bath-dropdown-menu label:has(input[type="checkbox"]:checked) {
    background-color: #f0f8ff;
    border-color: #1a73e8;
    color: #1a73e8;
}
div#leaf_map {
    width: 40%;
}
.popup-property-details .inline_svg{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.property-search-container #property-loader img.property-loader-image {
    width: 100%;
}


 @media only screen and (max-width: 1024px) {

.property-search-container .sidebar {
    width: 100%;
}

.property-search-container #map {
    width: 100%;
}

.property-search-container {
    display: grid;

}
div#leaf_map {
    width: 100%;
    /* position: unset !important; */
    height: 100% !important;
    height: 35vh !important;
}
.property-search-container .sidebar {
    width: 100%;
    overflow: scroll;
}
    .dealsNearby-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .property-search-container {
    overflow: visible;
}
.property-search-container .sidebar {
    width: 100%;
 
}
.property-search-container {
    height: 100vh;

}
 }

 
@media (max-width: 768px) {
    .dealsNearby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #offer-modal .offer-modal-body {
    padding: 20px;
    width: 100%;
    text-align: center;
    height: 100%;
}
.layout-default_content {
    padding: 0;

}
.more-overlay {
    font-size: 10px;
    padding: 3px;
    display: block;
    text-align: center;
    justify-content: center;
}
}

@media (max-width: 480px) {
    .dealsNearby-grid {
        grid-template-columns: 1fr;
    }
    .dealRow-row {
    display: block;
    padding: 0;
}
.dealRow-row div {
    display: block;

}
.property-search-container .property-list {
    grid-template-columns: repeat(1, 1fr);
}
.disclosure-statement-section {
    background: #f8f8f8;
    padding: 10px 0px;
    margin-top: 40px;
    border-top: 2px solid #ddd;
}
.property-search-container .filter-dropdown {
    position: relative;
    width: 46%;
}
.offer-tab-switch button{
    font-size: 12px;
}
}
