﻿/* COMMOM STYLE */

:root {
    /* REA.com.au inspired color scheme */
  
    --color-primary: #1d6fa4; /* Green */
    --color-primary-dark: #155a84;
    --color-secondary: #2a3f54; /* Navy blue */
    --color-accent: #1d6fa4;
    --color-success: #155a84;
    --color-bg: #f8f9fa;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-light: #6b7280;
    --color-border: #e5e7eb;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bg-page: url('/frontend/images/page-bg.jpg');
}

/* Global page background */
body.has-page-bg {
    background-image: var(--bg-page);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Optional overlay utility */
.page-overlay-dark {
    position: relative;
}
.page-overlay-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    pointer-events: none;
}

/* REA.com.au Font Stack - Compact and Clean */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Use Poppins font for clean, consistent look */
*,
*::before,
*::after {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.4; /* Tighter line height for compact design */
}

/* Reduce all margins and padding globally for compact layout */
body {
    margin: 0;
    padding: 0;
    font-size: 14px; /* Smaller base font like REA */
    color: #333;
    background: #f5f5f5;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 8px; /* Minimal spacing */
    line-height: 1.2;
    font-weight: 600;
}

h1 { font-size: 28px; }
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
    margin: 0 0 8px 0; /* Minimal spacing */
}

.poppins-regular {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
}

.p-0{
    padding: 0;
}
.p-5{
    padding: 5px;
}
.p-10{
    padding: 10px;
}
.p-15{
    padding: 15px;
}
.p-20{
    padding: 20px;
}
.p-30{
    padding: 30px;
}

.p-l-5{
    padding-left: 5px;
}
.p-r-5{
    padding-right: 5px;
}
.p-t-5{
    padding-top: 5px;
}
.p-b-5{
    padding-bottom: 5px;
}

.p-l-10{
    padding-left: 10px;
}
.p-r-10{
    padding-right: 10px;
}
.p-t-10{
    padding-top: 10px;
}
.p-b-10{
    padding-bottom: 10px;
}

.m-0{
    margin: 0;
}
.m-t-0{
    margin-top: 0;
}
.m-b-0{
    margin-bottom: 0;
}
.m-t-b-0{
    margin-top: 0;
    margin-bottom: 0;
}

.m-l-5{
    margin-left: 5px;
}
.m-r-5{
    margin-right: 5px;
}
.m-t-5{
    margin-top: 5px;
}
.m-b-5{
    margin-bottom: 5px;
}

.m-l-10{
    margin-left: 10px;
}
.m-r-10{
    margin-right: 10px;
}
.m-t-10{
    margin-top: 10px;
}
.m-b-10{
    margin-bottom: 10px;
}

.m-t-15{
    margin-top: 15px;
}
.m-b-15{
    margin-bottom: 15px;
}

.m-b-20{
    margin-bottom: 20px;
}
.m-t-25{
    margin-top: 25px;
}
.m-t-30{
    margin-top: 30px;
}
.m-b-30{
    margin-bottom: 30px;
}
.m-l-40{
    margin-left: 40px;
}
.m-t-60{
    margin-top: 60px;
}
.m-b-60{
    margin-bottom: 60px;
}
.p-l-15{
    padding-left: 15px;
}
.p-t-30 {
    padding-top: 30px;
}
.p-l-30 {
    padding-left: 30px;
}
.p-r-30 {
    padding-right: 30px;
}

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

.b-r-50{
    border-radius: 50%;
}
.b-r-20{
    border-radius: 20px;
}

.w100{
    width: 100%;
}
.imgresponsive{
    max-width: 100%;
}

.border-bottom{
    border-bottom: 1px solid #e6e6e6;
}
.border-top-0{
    border-top: 0px solid;
}
.border-bottom-0{
    border-bottom: 0px solid;
}
.border0{
    border: 0px solid !important;
}
.border1{
    border: 1px solid #ededed;
}
.border2{
    border: 1px solid #dddddd;
}

.uppercase{
    text-transform: uppercase;
}
.underline{
    text-decoration: underline;
}
.bold{
    font-weight: bold;
}
.display-block{
    display: block;
}
.grey-text-d-2{
    color: #616161;
}
.float-left{
    float: left;
}


.card-image-bg{
    background-size:cover;
    background-color: #f5f5f5;
    background-repeat: no-repeat;
    background-position: top center;
    height:180px;
    display:block;
}

nav:not(#main-nav) {
    height: 70px;
    line-height: 70px;
    background: transparent !important;
    box-shadow: none !important;
}

nav .brand-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: none;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff !important;
    letter-spacing: -0.5px;
}
nav .brand-logo i{
    margin-right: 0px !important;
    font-size: 22px;
}
/* Image-based logo styling */
.brand-logo-img { 
    display: flex; 
    align-items: center; 
    gap: 10px;
    max-width: 200px;
}
.brand-logo-img .logo-img { height: 45px; width: auto; display: block; }
.brand-logo-img.text-fallback { font-weight: 800; letter-spacing: -0.5px; }
.brand-logo-img .logo-text { 
    font-weight: 800; 
    letter-spacing: -0.5px; 
    color: #fff !important; 
    text-transform: none;
    font-size: 1.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dropdown-content{
    min-width: 200px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    margin-top: 8px;
}
.dropdown-content li>a,
.dropdown-content li>span {
    color: var(--color-text) !important;
    padding: 14px 20px !important;
    display: flex !important;
    align-items: center;
    transition: var(--transition);
}
.dropdown-content li>a i {
    margin-right: 12px;
    color: var(--color-text-light);
}
.dropdown-content li>a:hover {
    background-color: var(--color-bg) !important;
}
.dropdown-content li.divider {
    margin: 4px 0;
}
.dropdown-trigger{
    outline: none;
    position: relative;
}
.dropdown-trigger::before{
    width: 0;
    height: 20px;
    content: "";
    display: inline-block;
    top: 23px;
    left: 0;
    position: absolute;
    border-left: 2px groove #2f3f9f;
}

/**** HEADING STYLE ****/
.section-heading{
    text-align: left;
    text-transform: none;
    font-size: 28px;
    font-weight: 700;
    margin-top: 50px;
    margin-bottom: 30px;
    color: #202124;
    letter-spacing: -0.5px;
}
.contact-title{
    text-transform: uppercase;
    font-size: 28px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 30px;
}
h5.m-0 {
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
}
h4.single-title {
    text-transform: uppercase;
    font-size: 28px;
    margin-bottom: 20px;
}

/**** PAGINATION ****/
.pagination li.page-item.active {
    background-color: #2f3f9f;
}
.pagination li.page-item {
    height: 40px;
    margin-left: 5px;
    padding-left: 8px;
    padding-right: 8px;
    margin-right: 5px;
    background-color: #5467d4;
    margin-bottom: 12px;
}
.pagination li.page-item a{
    color: #ffffff;
    line-height: 40px;
}
.pagination li.page-item span.page-link{
    color: #ffffff;
    display: inline-block;
    font-size: 1.2rem;
    padding: 0 10px;
    line-height: 40px;
}


/**** SEARCH BAR ****/
.searchbar {
    margin-top: 0;
    margin-bottom: 20px;
}

.sidebar-search-modern .searchbar {
    height: auto;
}
.searchbar input[type=text]:not(.browser-default):focus:not([readonly]){
    box-shadow: 0 1px 0 0 #1e2f7e;
}

.searchbar .custominputbox {
    background-color: rgba(255,255,255,0.9) !important;
    padding: 5px 10px !important;
    border: 1px solid #f2f2f2 !important;
    border-radius: 2px !important;
    box-sizing: border-box !important;
    margin-bottom: 0;
}
.btnsearch {
    background-color: rgba(255,255,255,0.9) !important;
    color: #000;
    height: 3rem;
}
.btnsearch i{
    line-height: 3rem;
    font-weight: bold;
}
.searchbar .input-field.col label {
    left: 1.5rem;
    color: #333333;
}
.searchbar .input-field.col label.active {
    color: #ffffff !important;
}


/**** SINGLE PROPERTY ****/
.card-no-shadow{
    box-shadow: none;
}
.card-no-box-shadow{
    box-shadow: none;
    border: 1px solid #e0e0e0;
    border-radius: 0;
}
.collection {
    border-radius: 0;
}

.btn.disabled{
    color: #333 !important;
    font-weight: bold;
}

.single-image img{
    border: 1px solid #e0e0e0;
}
.single-slider{
    border: 1px solid #e0e0e0;
}
li.p-0{
    padding: 0 !important;
}

.single-description{
    margin-top: -8px;
}


/**** TESTIMONIAL ****/

.testimonial-item{
    width: 40% !important;
}
.testimonial-card{
    margin-top: -60px;
}
.testimonial-image{
    width: 100px;
    height: 100px;
    border: 1px solid #ddd;
    margin-left: auto;
    border-radius: 50%;
    display: block;
    overflow: hidden;
    margin-right: auto;
}


/**** PROPERTY ACTION ****/

.property-content a .card-title{
    color: #202124;
    text-transform: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    line-height: 1.3;
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.property-content a:hover .card-title{
    color: var(--color-primary);
}

.property-content h5 small{
    text-transform: none;
    font-size: 11px;
    font-style: normal;
    color: #5f6368;
    font-weight: 400;
}

.property-content .address{
    color: #5f6368;
    margin-left: 0;
    font-size: 12px;
    margin-bottom: 8px;
}
.property-content .address i{
    font-size: 0.75rem;
    margin-right: 4px;
    color: #80868b;
}

/* Property card modernization - Simple & Clean */
.card-property {
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid #e8eaed;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card-property:hover {
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    border-color: #dadce0;
}
.card-property .property-media { position: relative; }
.property-badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    z-index: 2;
}
.property-badges .badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    background: #fff;
    color: #202124;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.property-badges .badge.purpose.sale { background: var(--color-primary); color: #fff; }
.property-badges .badge.purpose.rent { background: #1a73e8; color: #fff; }
.property-badges .badge.type { display: none; }
.property-badges .badge.featured { display: none; }

.price-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.price-row .price { margin: 0; font-weight: 700; font-size: 16px; color: #202124; }
.price-row .price small { margin-left: 2px; font-weight: 400; font-size: 12px; color: #5f6368; }

.card-action.property-action {
    padding: 8px 12px;
    border-top: 1px solid #f1f3f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}
.card-action.blog-action a {
    margin-right: 12px !important;
    font-size: 11px;
    padding: 0;
}
.card-action.property-action span.btn-flat {
    line-height: 1;
    display: inline-flex;
    padding: 2px 4px;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #5f6368;
}
.card-action.property-action span.btn-flat i {
    font-size: 12px;
    color: #5f6368;
}

/* Explore cities chip */
.chip-city {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #eef2ff; /* indigo-50 */
    color: #3730a3; /* indigo-700 */
    font-weight: 600;
    margin: 0 10px 10px 0;
}
.chip-city:hover { background: #e0e7ff; }

/* Horizontal scroll carousel for latest listings */
.latest-listings .carousel-wrapper {
    position: relative;
}
.properties-scroll {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-behavior: smooth;
    padding: 8px 4px 12px;
}
.properties-scroll::-webkit-scrollbar { height: 8px; }
.properties-scroll::-webkit-scrollbar-track { background: #f1f5f9; }
.properties-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.scroll-card {
    flex: 0 0 240px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    position: relative;
    transition: var(--transition);
}
.scroll-card:hover { 
    transform: translateY(-4px); 
    box-shadow: var(--shadow-lg); 
}
.scroll-card-inner { display: flex; flex-direction: column; text-decoration: none; color: #111827; }
.scroll-card .media {
    height: 130px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.scroll-card .info { padding: 10px 12px 12px; }
.scroll-card .info .title { font-weight: 600; font-size: 14px; margin: 0 0 4px; line-height: 1.2; }
.scroll-card .info .meta { font-size: 13px; margin: 0 0 2px; font-weight: 700; color: var(--color-primary); }
.scroll-card .info .meta small { font-weight: 500; }
.scroll-card .info .sub { font-size: 12px; margin: 0; color: #475569; }
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 42px; height: 42px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s;
}
.scroll-btn:hover { background: #fff; }
.scroll-btn.left { left: -10px; }
.scroll-btn.right { right: -10px; }
@media (max-width: 600px) {
    .scroll-card { flex: 0 0 180px; }
    .scroll-card .media { height: 110px; }
    .scroll-btn { display: none; }
}

.card.horizontal .card-image.agent-image {
    max-width: 30%;
}

.city-categories {
    margin-top: 30px;
    margin-bottom: 20px;
    overflow: hidden;
}
.city-category {
    background-color: #1a2a71;
    padding: 20px 10px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
}

a.city-list{
    padding: 10px 20px;
    display: block;
    color: #3f51b5;
}



/**** SEARCH PROPERTY ****/

h2.sidebar-title {
    text-transform: uppercase;
    font-size: 24px;
    margin-left: 15px;
    font-weight: bold;
}
.sidebar-search .searchbar{
    margin-top: 0;
}

.sidebar-search select,
.sidebar-search .custominputbox{
    border: 1px solid #ddd !important;
}
.sidebar-search .btnsearch{
    width: 100%;
    box-shadow: none;
    background-color: rgb(30, 47, 126) !important;
    color: #ffffff;
}
.sidebar-search .btnsearch span{
    padding-top: 5px;
    display: block;
    font-weight: bold;
}

.featured-stars i{
    font-size: 1rem;
    padding-top: 5px;
    color: rgb(30, 47, 126);
}


/**** BLOG POST ****/

.card-title > a{
    color: #464646;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease-in;
}
.card-title > a:hover{
    color: #686868;
}
.card-action.blog-action {
    padding: 12px;
}
.card-action.blog-action a {
    margin-right: 12px !important;
    font-size: 12px;
    padding: 0;
}
.card-action.blog-action a i {
    font-size: 12px;
    margin-right: 3px;
}
.card-action.blog-action a.btn-flat {
    line-height: 0;
    display: inline;
}
.card-action.blog-action a {
    color: #555555 !important;
}
.card-action.blog-action a:hover {
    color: #333333 !important;
    text-decoration: underline;
}

.card-image.blog-content-image{
    float: left;
    padding-right: 20px;
    padding-bottom: 20px;
}

.category-bg-image{
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 80px !important;
    margin-bottom: 8px !important;
    background-color: #1a2a71;
}
.category-bg-image > a{
    background-color: #3949ab;
    color: white;
    padding: 6px 8px 4px;
    text-transform: uppercase;
    font-size: 14px;
    display: block;
    overflow: hidden;
}
.category-bg-image > a > span.right{
    font-size: 12px;
    border: 2px groove #4d5ec1;
    padding-left: 6px;
    padding-right: 6px;
}

/* AGENT PAGE */
.card-agent .card-image-bg{
    width: 120px;
    height: 120px;
    margin: auto;
    border-radius: 50%;
    border: 5px solid #f5f5f5;
}
.card-agent h5 > a {
    color: #121212;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease-in;
}
.card-agent h6.email {
    padding-bottom: 20px;
    font-weight: 300;
    font-style: italic;
    text-decoration: overline;
    border-bottom: 1px solid #e6e6e6;
    margin-top: 0;
}
.card-agent p.about {
    min-height: 46px;
}

.card-image.horizontal-bg-image{
    width: 38%;
    border-right: 1px solid #ededed;
}

.profile-link{
    margin-bottom: 15px;
    display: block;
    text-transform: uppercase;
    color: #222222;
    font-weight: bold;
    text-decoration: underline;
}

.read-message{
    margin-top: 20px;
    margin-bottom: 40px;
}
.read-message span{
    font-weight: bold;
}
.read-message p{
    background-color: #f9f9f9;
    padding: 12px;
    margin-top: 5px;
}


/* AGENT DASHBOARD AND OTHERS */

.agent-sidebar {
    margin-top: 30px;
}
.agent-sidebar .collection.with-header{
    border: 1px solid #f2f2f2;
}
.agent-sidebar .collection.with-header .collection-item {
    padding-left: 20px;
    border-top: 1px solid #f2f2f2;
}
.agent-sidebar .collection .collection-item.active {
    color: #ffffff;
    background-color: #1e2f7e;
    border-top: 1px solid #1e2f7e;
}
.agent-sidebar i.left{
    font-size: 15px;
    padding-top: 4px;
}
.agent-sidebar a{
    color: #000;
}
.agent-sidebar .collection.with-header a:hover .collection-item{
    color: #ffffff;
    background-color: #3f51b5;
    border-top: 1px solid #3f51b5;
}
.agent-sidebar .collection.with-header .collection-header {
    background-color: #f8f8f8;
}

h4.agent-title {
    background-color: #f8f8f8;
    color: #464646;
    padding: 15px;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid #f2f2f2;
    font-weight: bold;
    font-size: 24px;
    text-transform: uppercase;
}
.small-star{
    font-size: 1.3rem;
}
.small-comment{
    font-size: 1.3rem;
    margin-right: 4px !important;
}
.swal-footer{
    text-align: center;
}

label.label-custom {
    font-size: 1rem;
}
.input-field label.active {
    color: #1e2f7e;
}
.input-field input[type=password]:focus + label,
.input-field input[type=email]:focus + label,
.input-field input[type=number]:focus + label,
.input-field input[type=text]:focus + label {
    color: #1e2f7e !important;
}
.input-field textarea:focus,
.input-field input[type=password]:focus,
.input-field input[type=email]:focus,
.input-field input[type=number]:focus,
.input-field input[type=text]:focus {
    border-bottom: 1px solid #1e2f7e !important;
    box-shadow: 0 1px 0 0 #1e2f7e !important;
}
.input-field input[type=password].valid,
.input-field input[type=email].valid,
.input-field input[type=number].valid,
.input-field input[type=text].valid {
    border-bottom: 1px solid #1e2f7e;
    box-shadow: 0 1px 0 0 #1e2f7e;
}
.input-field .prefix.active {
    color: #1e2f7e;
}

input[type="checkbox"].filled-in:checked+span:not(.lever):after {
    border: 2px solid #1e2f7e;
    background-color: #1e2f7e;
}
input[type="radio"]:checked+span:after, 
input[type="radio"].with-gap:checked+span:after {
    background-color: #1e2f7e;
}
input[type="radio"]:checked+span:after, 
input[type="radio"].with-gap:checked+span:before, 
input[type="radio"].with-gap:checked+span:after {
    border: 2px solid #1e2f7e;
}
input[type="checkbox"]:checked+span:not(.lever):before {
    border-right: 2px solid #1e2f7e;
    border-bottom: 2px solid #1e2f7e;
}


/* AGENT PROPERTY EDIT */

.gallery-image-edit{
    position: relative;
    border: 1px solid #e6e6e6;
}
.gallery-image-edit button{
    position: absolute;
    top: 5px;
    right: 5px;
    height: 24px;
    line-height: 24px;
    padding: 0 2px;
}


/* AGENT SINGLE MESSAGE  */

li.collection.agent-message {
    border: 0 solid;
}
.agent-message-box{
    margin-left: 15px;
    margin-right: 15px;
}
.agent-message-box .box{
    padding: 10px 10px 0 10px;
}
.agent-message-box .box input{
    font-size: 15px;
}
.agent-message-box .box textarea {
    border-bottom: 1px solid #9e9e9e;
    border-top: 0 solid;
    border-left: 0 solid;
    border-right: 0 solid;
    outline: none;
    font-size: 15px;
}
.box textarea:not(.browser-default):focus:not([readonly]),
.box input[type=number]:not(.browser-default):focus:not([readonly]),
.box input[type=email]:not(.browser-default):focus:not([readonly]),
.box input[type=text]:not(.browser-default):focus:not([readonly]){
    border-bottom: 1px solid #1e2f7e;
    box-shadow: 0 1px 0 0 #1e2f7e;
}

/* COMMENT */
.comment{
    margin-bottom: 40px;
}
.comment .author-image{
    float:left;
    border: 3px solid #e0e0e0;
    border-radius: 50%;
}
.comment .author-image span{
    background-color:#ddd;
    width:50px;
    height:50px;
    display: block;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.comment.children{
    margin-left: 60px;
}

.comment-login {
    border-top: 1px solid #ddd;
}

.comment .content{
    margin-left: 70px;
}
.content .author-name{
    border-bottom: 1px solid #efefee;
    padding-bottom: 4px;
}
.content .author-comment{
    padding-top: 8px;
}
.content .author-name span.time{
    color: #666;
    font-size: 13px;
    font-style: italic;
}
.content .author-name span.right{
    color: #666;
    font-size: 13px;
    font-style: italic;
}
.content .author-name span.right:hover{
    text-decoration: underline;
    cursor: pointer;
}

.comment .comment-box {
    margin-left: 60px;
    margin-top: 15px;
}

.comment-box .box{
    min-height: 80px;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px;
    outline: none;
}


/* CONTACT US PAGE */

.contact-sidebar {
    margin-top: 95px;
    padding-left: 20px;
}

/* ===== REA/Domain-like Hero Search ===== */
.search-hero { 
    padding-top: 30px; 
    padding-bottom: 15px; 
    position: relative;
    margin-bottom: 0;
    min-height: 200px;
    overflow: visible;
}
.search-hero.hero-overlay { margin-top: -100px; position: relative; z-index: 3; }
/* When no slider: remove any accidental margin and tighten spacing */
.search-hero:not(.hero-overlay) { margin-top: 0; padding-top: 70px; min-height: 200px; }

/* Container for search box positioning */
.search-hero .container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* White search box wrapping tabs + inputs - positioned to overlap */
.search-box { 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 4px 16px rgba(0,0,0,0.12); 
    padding: 10px 14px 12px;
    border: 1px solid #e5e7eb;
    position: absolute;
   
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    z-index: 10;
    overflow: visible;
}

/* Tabs row inside box */
.rea-search-form .tabs { background: transparent; border-bottom: 1px solid #e5e7eb; border-radius: 0; overflow: visible; display: flex; gap: 6px; justify-content: center; }
.rea-search-form .tabs .tab-link { 
    color: var(--color-text); 
    padding: 10px 16px; 
    text-transform: none; 
    font-weight: 600; 
    letter-spacing: 0; 
    border-radius: var(--radius-md);
    transition: var(--transition);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.rea-search-form .tabs .tab-link i.left {
    margin-right: 0;
}
.rea-search-form .tabs .tab-link.active { 
    background: var(--color-primary); 
    color: #fff; 
}
.rea-search-form .tabs .tab-link:hover:not(.disabled):not(.active) {
    background: var(--color-bg);
}
.rea-search-form .tabs .tab-link.disabled { opacity: .5; cursor: not-allowed; }

/* Inputs row */
.rea-search-form .searchbar { background: transparent; border-radius: 0; padding-top: 8px; padding-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.rea-search-form .custominputbox { background: rgba(255,255,255,0.95) !important; }
.rea-search-form select.browser-default { height: 3rem; padding: 6px 8px; background: rgba(255,255,255,0.95); border: 1px solid #f2f2f2; border-radius: 6px; }
.rea-search-form .btnsearch { 
    background: var(--color-primary) !important; 
    color: #fff; 
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.rea-search-form .btnsearch:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.rea-search-form .btnsearch i { color: #fff; margin-right: 0; }

#toggle-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#toggle-filters i.left {
    margin-right: 0;
}

.rea-search-form .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.rea-search-form .btn i.left {
    margin-right: 0;
}

/* Filters panel (full width under search box) */
.filters-panel { 
    background: #fff; 
    border: none;
    border-radius: 0; 
    box-shadow: none; 
    padding: 24px 32px;
    margin: 0;
    width: 100%;
}
.filters-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-bottom: 16px; 
    border-bottom: 1px solid #e8eaed; 
    margin-bottom: 20px; 
    text-align: left;
}
.filters-header strong {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    letter-spacing: -0.2px;
    margin: 0;
}
.filters-header a {
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}
.filters-header a:hover {
    color: var(--color-primary) !important;
}
.filters-group { 
    padding: 20px 0; 
    border-bottom: 1px solid #f1f3f4; 
    text-align: left;
}
.filters-group:last-child { border-bottom: 0; padding-bottom: 0; }
.filters-group:first-child { padding-top: 0; }
.filters-group .group-title { 
    font-weight: 600; 
    margin: 0 0 14px 0;
    color: #202124;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    display: block;
    text-align: left;
}
.filters-footer { padding-top:8px; }

/* Nicer inputs in panel */
.filters-panel .custominputbox { 
    height: 44px; 
    border-radius: 4px; 
    border: 1px solid #dadce0 !important;
    padding: 10px 14px !important;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    background: #fff !important;
    color: #202124;
}
.filters-panel .custominputbox:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 2px rgba(200, 135, 75, 0.1) !important;
    outline: none;
}
.filters-panel .custominputbox::placeholder {
    color: #80868b;
    font-weight: 400;
}
.filters-panel .browser-default { 
    height: 48px; 
    border-radius: var(--radius-md); 
    border: 1.5px solid var(--color-border);
    padding: 12px 16px;
    font-size: 15px;
}

/* Sticky actions at bottom */
.filters-actions { 
    position: sticky; 
    bottom: 0; 
    background: #fff; 
    border-top: 1px solid #e8eaed; 
    padding: 20px 32px; 
    margin: 24px -32px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}
.filters-actions .btn { 
    min-width: 160px; 
    height: 44px;
    line-height: 44px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    box-shadow: none;
    padding: 0 32px;
}
.filters-actions .btn:hover {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.filters-actions .link-reset { 
    color: #5f6368;
    margin-right: 16px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}
.filters-actions .link-reset:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* Property types styling - Override Materialize defaults */
.filters-group input[type="checkbox"],
.filters-group input[type="radio"] {
    position: relative;
    width: 18px;
    height: 18px;
    margin-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
    flex-shrink: 0;
    vertical-align: middle;
    opacity: 1;
}
.filters-group label {
    display: inline-flex !important;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    color: #202124;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1.4;
    height: auto !important;
    padding-left: 0 !important;
}
.filters-group label:hover {
    color: #000;
}
/* Override Materialize checkbox span styling */
.filters-group [type="checkbox"] + span:not(.lever),
.filters-group [type="radio"] + span:not(.lever) {
    position: static !important;
    padding-left: 0 !important;
    height: auto !important;
    line-height: inherit !important;
}

/* Toggle chips */
.chip-toggle { display:inline-flex; align-items:center; margin:0 8px 8px 0; }
.chip-toggle input { display:none; }
.chip-toggle span { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 8px 20px; 
    border-radius: 20px; 
    background: #fff; 
    color: #5f6368; 
    font-weight: 500; 
    border: 1px solid #dadce0; 
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    min-width: 65px;
    user-select: none;
    height: 36px;
}
.chip-toggle span:hover {
    background: #f8f9fa;
    border-color: #dadce0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.chip-toggle input:checked + span { 
    background: var(--color-primary) !important; 
    color: #fff !important; 
    border-color: var(--color-primary) !important;
    box-shadow: none;
}

/* Filter chips container */
.filters-group .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

/* Price inputs row */
.filters-group .row {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Input field styling */
.filters-panel .input-field {
    margin-bottom: 0;
}
.filters-panel .input-field label {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-light);
}

/* Full-screen filters overlay */
.filters-overlay { 
    position: fixed !important; 
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important; 
    z-index: 9999 !important; 
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 0 !important;
    overflow-y: auto;
}
.filters-sheet { 
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    background: #ffffff; 
    overflow: auto; 
    padding: 0;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.filters-header { 
    position: sticky; 
    top: 0; 
    background: #fff; 
    z-index: 1;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 20px 32px 16px;
    border-bottom: 1px solid var(--color-border);
}
body.no-scroll { overflow: hidden; }

@media (max-width: 992px) {
    .search-hero.hero-overlay { margin-top: -60px; }
    .search-hero {
        min-height: 280px;
        padding-bottom: 150px;
    }
    .search-hero .hero-title {
        font-size: 2rem;
    }
    .search-hero .hero-sub {
        font-size: 1rem;
    }
    .search-box {
        bottom: -50px;
    }
    .filters-panel {
        padding: 24px;
    }
    .filters-group .chips {
        gap: 8px;
    }
    .chip-toggle {
        margin: 0 6px 8px 0;
    }
    .chip-toggle span {
        padding: 9px 18px;
        font-size: 13px;
        min-width: 60px;
    }
}

@media (max-width: 600px) {
    .filters-panel {
        padding: 16px;
        border-radius: 8px;
    }
    .filters-header {
        padding-bottom: 14px;
        margin-bottom: 16px;
    }
    .filters-header strong {
        font-size: 16px;
    }
    .filters-group {
        padding: 16px 0;
    }
    .filters-group .group-title {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .filters-panel .custominputbox {
        height: 40px;
        font-size: 14px;
        padding: 8px 12px !important;
    }
    .filters-group label {
        font-size: 13px;
        margin-right: 16px;
        margin-bottom: 10px;
    }
    .filters-actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .filters-actions .btn {
        width: 100%;
        min-width: auto;
        height: 44px;
        line-height: 44px;
    }
    .filters-actions .link-reset {
        margin-right: 0;
        text-align: center;
        order: 2;
    }
    .chip-toggle span {
        padding: 7px 16px;
        font-size: 13px;
        height: 32px;
    }
}

/* Domain-like hero heading */
.search-hero .hero-title { 
    margin: 8px 0 4px; 
    font-weight: 700; 
    letter-spacing: -0.5px;
    font-size: 2rem;
}
.search-hero .hero-sub { 
    margin: 0 0 20px; 
    font-weight: 400; 
    opacity: .95;
    font-size: 1.1rem;
}
.search-hero .container { max-width: 1100px; }
.rea-search-form .searchbar { border-radius: 8px; }

/* Add spacing for sections after hero to accommodate overlapping search box */
body > section:first-of-type,
.search-hero ~ section,
.search-hero ~ .container {
    padding-top: 5px;
}
.search-hero ~ .main {
    padding-top: 70px;
}
.search-hero ~ .main > section:first-child {
    padding-top: 0 !important;
}

/* Optional hero background image support */
.search-hero.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.search-hero.bg-cover .hero-title, .search-hero.bg-cover .hero-sub { text-shadow: 0 2px 8px rgba(0,0,0,.35); }

/* ===== Modern Nav tweaks ===== */
.nav-modern {
    background: transparent !important;
    box-shadow: none !important;
}
.nav-modern .brand-logo-img .logo-text {
    color: #fff !important;
}
.nav-modern .nav-wrapper a {
    color: #fff !important;
}
.nav-green {
    background: var(--color-primary) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}
.nav-transparent {
    background: transparent !important;
    box-shadow: none !important;
}
.nav-transparent .nav-wrapper a,
.nav-transparent .brand-logo,
.nav-transparent .sidenav-trigger {
    color: #ffffff !important;
}
.nav-transparent .dropdown-content li>a,
.nav-transparent .dropdown-content li>span {
    color: #0f172a !important; /* keep dropdown items readable */
}
.nav-transparent .btn-cta { filter: brightness(1); }
.nav-modern .brand-logo { letter-spacing: .5px; }

/* Homepage nav overlay positioning */
/* Remove old overlay pattern; navbar now renders inside hero for homepage */
.homepage .search-hero { margin-top: 0; }
.homepage .search-hero.bg-cover { padding-top: 24px; height: 350px; }

/* Improve hero image appearance */
.search-hero.bg-cover { background-size: cover; }

/* Inside-hero navbar spacing */
.search-hero .hero-nav nav { 
    background: transparent !important; 
    box-shadow: none !important; 
    
    z-index: 10;
    backdrop-filter: none;
}
.search-hero .hero-nav .brand-logo .logo-text { 
    color: #fff !important; 
    font-weight: 800; 
    letter-spacing: -0.5px; 
    display: inline-block;
    font-size: 1.5rem;
}
.search-hero .hero-nav .nav-wrapper { 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}
.search-hero .hero-nav .nav-wrapper a { color: #fff !important; }

/* Hide hamburger menu on desktop for homepage */
@media (min-width: 993px) {
    .search-hero .hero-nav .sidenav-trigger {
        display: none !important;
    }
    .search-hero .hero-nav .brand-logo {
        left: 0;
        transform: none;
    }
}

/* Show hamburger menu on mobile for homepage */
@media (max-width: 992px) {
    .search-hero {
        position: relative;
    }
    .search-hero .hero-nav {
        position: relative;
        margin-bottom: 15px;
        min-height: 60px;
        z-index: 1000;
    }
    .search-hero .hero-nav nav {
        position: relative;
        z-index: 1001;
    }
    .search-hero .hero-nav .sidenav-trigger {
        display: block !important;
        color: var(--color-primary) !important;
        position: fixed;
        left: 15px;
        top: 15px;
        z-index: 1002;
        margin: 0;
        padding: 8px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: 6px;
        width: 44px;
        height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }
    .search-hero .hero-nav .sidenav-trigger i {
        color: var(--color-primary) !important;
        font-size: 28px;
    }
    .search-hero .hero-nav .brand-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 10px;
    }
    .search-hero .hero-nav .nav-wrapper {
        padding-top: 0;
    }
    .search-box {
        position: relative;
        z-index: 10;
    }
}
.btn-cta {
    background: var(--color-primary) !important;
    color: #fff !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-transform: none;
    transition: var(--transition);
    padding: 0 24px !important;
}
.btn-cta:hover { 
    background: var(--color-primary-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Ensure nav links have good contrast on green */
.nav-green .nav-wrapper a { color: #fff !important; }
.nav-green .nav-wrapper a:hover { color: var(--color-primary) !important; }
.nav-green .dropdown-content li>a, .nav-green .dropdown-content li>span { color: var(--color-text) !important; }
.nav-green .sidenav a { color: var(--color-text) !important; }

/* Navbar spacing fixes */
nav .nav-wrapper ul.right {
    margin-left: auto;
}

nav .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Responsive adjustments for logo text */
@media (max-width: 1200px) {
    .brand-logo-img .logo-text {
        font-size: 1.3rem;
    }
    nav .brand-logo,
    .brand-logo-img {
        max-width: 180px;
    }
}

@media (max-width: 992px) {
    .brand-logo-img .logo-text {
        font-size: 1.2rem;
    }
    nav .brand-logo,
    .brand-logo-img {
        max-width: 160px;
    }
    .search-hero .hero-title {
        font-size: 2.25rem;
    }
    .search-hero .hero-sub {
        font-size: 1.1rem;
    }
}

/* ===== Results header & chips ===== */
.results-header { padding: 10px 0 0; }
.results-header h5 { margin: 0; font-weight: 700; }
.chip-filter {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef2ff; /* indigo-50 */
  color: #3730a3; /* indigo-700 */
  margin-right: 8px;
  font-weight: 600;
}
.chip-filter.active { background: #c7d2fe; }

/* ===== Modern Property Cards ===== */
.modern-property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0,0,0,.07);
    border: 1px solid #eef0f3;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modern-property-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,.13);
    transform: translateY(-4px);
    border-color: #e0c9b0;
}

.modern-property-card .property-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* â”€â”€ Image wrapper â”€â”€ */
.modern-property-card .property-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    flex-shrink: 0;
}

.modern-property-card .property-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center center;
    background-color: #e8ecf0;
    transition: transform 0.5s ease;
}

.modern-property-card:hover .property-image {
    transform: scale(1.05);
}

/* â”€â”€ Bottom gradient overlay with price â”€â”€ */
.modern-property-card .image-bottom-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.68) 100%);
    padding: 36px 50px 10px 12px;
    pointer-events: none;
    z-index: 2;
}

.modern-property-card .img-price {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.45);
    line-height: 1;
}

.modern-property-card .img-price small {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.88;
    letter-spacing: 0;
}

/* â”€â”€ Top badges â”€â”€ */
.modern-property-card .property-overlay-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 4;
}

.badge-group-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.modern-property-card .badge-modern {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.modern-property-card .badge-purpose.rent {
    background: #3b82f6;
    color: #fff;
}

.modern-property-card .badge-purpose.sale {
    background: #1d6fa4;
    color: #fff;
}

.modern-property-card .badge-featured {
    background: #0f3661;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 3px;
}

.modern-property-card .badge-featured i {
    font-size: 12px;
}

.modern-property-card .badge-new {
    background: #517970;
    color: #fff;
}

/* â”€â”€ Favorite Heart Button â”€â”€ */
.favorite-heart-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255,255,255,0.92);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}

.favorite-heart-btn:hover {
    transform: scale(1.18);
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.28);
}

.favorite-heart-btn i {
    font-size: 18px;
    color: #94a3b8;
    transition: color 0.25s ease, transform 0.2s ease;
}

.favorite-heart-btn[data-favorited="true"] i {
    color: #ef4444;
}

.favorite-heart-btn:hover i {
    color: #ef4444;
    transform: scale(1.1);
}

.favorite-heart-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Large Favorite Button for Single Property Page */
.favorite-heart-btn-large {
    background: linear-gradient(135deg, #4fa8d5 0%, #1d6fa4 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 12px rgba(29,111,164,0.35);
}

.favorite-heart-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29,111,164,0.45);
}

.favorite-heart-btn-large[data-favorited="true"] {
    background: linear-gradient(135deg, #fca5a5 0%, #ef4444 100%);
    box-shadow: 0 4px 12px rgba(239,68,68,0.35);
}

.favorite-heart-btn-large i { font-size: 20px; }

.favorite-heart-btn-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* â”€â”€ Agent in card body (no image overlay) â”€â”€ */
.property-agent-overlay { display: none; } /* hidden â€“ agent shown in card body instead */

.card-agent-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px 10px;
    border-top: 1px solid #f3f4f6;
    margin-top: 8px;
}
.card-agent-avatar {
    width: 32px; height: 32px;
    border-radius: 50%; object-fit: cover;
    border: 1.5px solid #d0e8f5;
    flex-shrink: 0;
}
.card-agent-name {
    font-size: 13px; color: #6b7280; font-weight: 600;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    flex: 1;
}
.card-view-btn {
    display: inline-flex; align-items: center; gap: 4px;
    background: linear-gradient(135deg, #1d6fa4, #155a84);
    color: #fff; font-size: 12px; font-weight: 700;
    padding: 7px 14px; border-radius: 6px;
    text-transform: uppercase; letter-spacing: .3px;
    transition: all .2s; white-space: nowrap;
    flex-shrink: 0;
}
.card-view-btn:hover { filter: brightness(1.08); color: #fff; }
.card-view-btn i { font-size: 14px; }

.agent-avatar {
    width: 90px; height: 90px;
    border-radius: 50%; object-fit: cover;
    flex-shrink: 0;
    border: 1.5px solid #d0e8f5;
}

/* â”€â”€ Card Details â”€â”€ */
.modern-property-card .property-details {
    padding: 12px 14px 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.modern-property-card .property-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #1d6fa4;
    font-size: 10.5px;
    font-weight: 700;
    background: #e8f4fc;
    padding: 3px 9px;
    border-radius: 20px;
    margin-bottom: 7px;
    align-self: flex-start;
    text-transform: uppercase;
    letter-spacing: .3px;
}

.modern-property-card .property-type-tag i {
    font-size: 12px;
}

.modern-property-card .property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
    min-height: 40px;
}

.modern-property-card .property-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    height: 2.7em;
}

.modern-property-card:hover .property-title {
    color: #1d6fa4;
}

.modern-property-card .property-rating-small {
    margin-left: 8px;
    flex-shrink: 0;
}

.modern-property-card .property-location {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #6b7280;
    font-size: 12px;
    margin: 0 0 10px;
}

.modern-property-card .property-location span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-property-card .property-location i {
    font-size: 14px;
    color: #1d6fa4;
    flex-shrink: 0;
}

/* â”€â”€ Features bar â”€â”€ */
.modern-property-card .property-features {
    display: flex;
    gap: 0;
    background: #f9fafb;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 0;
    margin-top: 8px;
    overflow: hidden;
}

.modern-property-card .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    color: #1f2937;
    font-size: 12.5px;
    font-weight: 700;
    flex: 1;
    padding: 8px 4px;
    border-right: 1px solid #f0f0f0;
}

.modern-property-card .feature-item:last-child {
    border-right: none;
}

.modern-property-card .feature-item i {
    font-size: 15px;
    color: #1d6fa4;
}

.modern-property-card .feature-item .feat-label {
    font-size: 9px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Responsive */
@media (max-width: 992px) {
    .modern-property-card .property-image { height: 185px; }
}
@media (max-width: 768px) {
    .modern-property-card .property-image { height: 175px; }
}
@media (max-width: 600px) {
    .modern-property-card .property-image { height: 165px; }
    .modern-property-card .img-price { font-size: 17px; }
}
@media (max-width: 480px) {
    .modern-property-card .property-image { height: 150px; }
}

/* Mobile Menu Styles */
.sidenav-trigger {
    display: block !important;
    color: #fff !important;
    cursor: pointer;
    position: relative;
    z-index: 10;
}

.nav-transparent .sidenav-trigger,
.nav-modern .sidenav-trigger {
    color: #fff !important;
}

.nav-green .sidenav-trigger {
    color: #fff !important;
}

.sidenav {
    background-color: #fff;
    width: 280px;
    z-index: 1000;
}

.sidenav li > a {
    color: #334155 !important;
    font-size: 15px;
    padding: 0 32px;
    height: 48px;
    line-height: 48px;
}

.sidenav li > a:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.sidenav li > a > i {
    color: var(--color-primary);
    margin-right: 16px;
}

.sidenav li.active {
    background-color: rgba(200, 135, 75, 0.1);
}

.sidenav li.active > a {
    color: var(--color-primary) !important;
    font-weight: 600;
}

.sidenav .subheader {
    color: var(--color-primary) !important;
    font-weight: 700;
    padding: 0 32px;
}

.sidenav .divider {
    height: 1px;
    background-color: #e2e8f0;
    margin: 8px 0;
}

.sidenav-overlay {
    z-index: 999;
}

@media (min-width: 993px) {
    .sidenav-trigger {
        display: none !important;
    }
}

/* ===== Modern Blog Cards ===== */
.modern-blog-card {
    background: var(--color-surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 32px;
    display: flex;
    flex-direction: row;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.modern-blog-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    border-color: rgba(200, 135, 75, 0.2);
}

.modern-blog-card .blog-link {
    display: flex;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.modern-blog-card .blog-image-wrapper {
    flex-shrink: 0;
    width: 320px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
}

.modern-blog-card .blog-image {
    width: 100%;
    height: 100%;
    min-height: 240px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-blog-card:hover .blog-image {
    transform: scale(1.12);
}

.modern-blog-card .blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-blog-card:hover .blog-image::after {
    opacity: 1;
}

.modern-blog-card .blog-content-wrapper {
    flex: 1;
    padding: 32px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.modern-blog-card .blog-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 16px 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    letter-spacing: -0.3px;
}

.modern-blog-card:hover .blog-title {
    color: var(--color-primary);
}

.modern-blog-card .blog-excerpt {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.modern-blog-card .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-top: 16px;
    border-top: 2px solid #f0f4f8;
}

.modern-blog-card .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.modern-blog-card .meta-item:hover {
    color: var(--color-primary);
}

.modern-blog-card .meta-item i {
    font-size: 20px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.modern-blog-card .meta-item:hover i {
    transform: scale(1.1);
}

/* Badge styles for blog cards */
.modern-blog-card .blog-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(200, 135, 75, 0.95);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(200, 135, 75, 0.3);
}

@media (max-width: 768px) {
    .modern-blog-card {
        flex-direction: column;
        margin-bottom: 24px;
        border-radius: 12px;
    }
    
    .modern-blog-card .blog-image-wrapper {
        width: 100%;
        height: 220px;
    }
    
    .modern-blog-card .blog-image {
        min-height: 220px;
    }
    
    .modern-blog-card .blog-content-wrapper {
        padding: 24px;
    }
    
    .modern-blog-card .blog-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .modern-blog-card .blog-excerpt {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .modern-blog-card .blog-meta {
        gap: 14px;
        padding-top: 12px;
    }
    
    .modern-blog-card .meta-item {
        font-size: 13px;
    }
}

/* ===== Modern Sidebar Card ===== */
.modern-sidebar-card {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}

.sidebar-title-modern {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 20px 0;
    text-transform: capitalize;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.sidebar-search-modern .input-field {
    margin-bottom: 16px;
}

.sidebar-search-modern .input-field input,
.sidebar-search-modern .input-field select {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 14px;
    height: auto !important;
    line-height: 1.5;
}

.sidebar-search-modern .input-field input:focus,
.sidebar-search-modern .input-field select:focus {
    border-color: var(--color-primary) !important;
    box-shadow: 0 0 0 3px rgba(200, 135, 75, 0.1) !important;
}

.sidebar-search-modern .input-field label {
    color: var(--color-text-light);
    font-size: 14px;
    left: 16px;
}

.sidebar-search-modern .input-field label.active {
    color: var(--color-primary);
    transform: translateY(-24px) scale(0.9);
}

.sidebar-search-modern .browser-default {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 14px;
    height: 48px;
    background: white;
}

.sidebar-search-modern .browser-default:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(200, 135, 75, 0.1);
}

.sidebar-search-modern .switch label {
    color: var(--color-text);
    font-weight: 500;
}

.sidebar-search-modern .switch label input[type=checkbox]:checked + .lever {
    background-color: rgba(200, 135, 75, 0.5);
}

.sidebar-search-modern .switch label input[type=checkbox]:checked + .lever:after {
    background-color: var(--color-primary);
}

/* ===== Results Header ===== */
.results-header {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    padding: 24px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}

.results-header h5 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.results-header .grey-text {
    color: var(--color-text-light) !important;
    font-weight: 400;
}

/* ===== Section Heading ===== */
.section-heading {
    font-size: 36px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 20px 0;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--color-primary) 0%, rgba(200, 135, 75, 0.3) 100%);
    border-radius: 3px;
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 40px;
    height: 5px;
    background: var(--color-primary);
    border-radius: 3px;
    opacity: 0.4;
}

/* ===== Pagination Improvements ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination li {
    display: inline-block;
}

.pagination li a,
.pagination li span {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
}

.pagination li a:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination li.active span {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.pagination li.disabled span {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== Mobile Responsive Improvements ===== */
@media (max-width: 992px) {
    .results-header h5 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .results-header .chip-filter {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .section-heading {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .modern-sidebar-card {
        padding: 20px;
    }
    
    .sidebar-title-modern {
        font-size: 18px;
    }
    
    .section-heading {
        font-size: 24px;
    }
}

/* ===== Blog Sidebar Widgets ===== */
.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 40px;
    height: 3px;
    background: rgba(200, 135, 75, 0.4);
}

/* Popular Posts Widget */
.sidebar-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-post-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f4f8;
}

.sidebar-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-post-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.sidebar-post-link:hover {
    background: #f0f7fd;
    transform: translateX(4px);
}

.sidebar-post-link i {
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.sidebar-post-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.sidebar-post-link:hover .sidebar-post-title {
    color: var(--color-primary);
}

/* Categories Widget */
.sidebar-category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.sidebar-category-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sidebar-category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(200, 135, 75, 0.9) 0%, rgba(10, 138, 102, 0.85) 100%);
    transition: opacity 0.3s ease;
}

.sidebar-category-item:hover::before {
    opacity: 0.95;
}

.sidebar-category-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(200, 135, 75, 0.3);
}

.sidebar-category-link {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    color: white;
    text-decoration: none;
}

.category-name {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.category-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

/* Archives Widget */
.sidebar-archive-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-archive-item {
    margin-bottom: 10px;
}

.sidebar-archive-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sidebar-archive-link:hover {
    background: #f0f7fd;
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.sidebar-archive-link i {
    color: var(--color-primary);
    font-size: 18px;
}

.archive-date {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
}

.archive-count {
    background: var(--color-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    min-width: 28px;
    text-align: center;
}

/* Tags Widget */
.sidebar-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modern-tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    color: var(--color-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.modern-tag-pill:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(200, 135, 75, 0.3);
}

@media (max-width: 600px) {
    .sidebar-widget-title {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .sidebar-category-link {
        padding: 14px 16px;
    }
    
    .category-name {
        font-size: 14px;
    }
    
    .modern-tag-pill {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ===== Modern Agent Dashboard ===== */
.modern-agent-sidebar {
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 80px;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

.agent-profile-card {
    background: linear-gradient(135deg, #1d6fa4 0%, #1a6090 100%);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    border-radius: 12px 12px 0 0;
    flex-shrink: 0;
}

.agent-avatar-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
}

.agent-avatar {
    width: 90px;
    height: 90px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.agent-profile-text {
    min-width: 0;
}

.agent-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    color: white;
    word-wrap: break-word;
    line-height: 1.2;
}

.agent-email {
    font-size: 11px;
    margin: 2px 0 0;
    opacity: 0.8;
    color: white;
    word-wrap: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agent-nav-menu {
    padding: 8px 0;
    overflow-y: auto;
    flex: 1;
}

.agent-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 20px;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    font-size: 13px;
}

.agent-nav-item i {
    font-size: 19px;
    color: #94a3b8;
    transition: color 0.15s ease;
    flex-shrink: 0;
}

.agent-nav-item span {
    flex: 1;
}

.agent-nav-item:hover {
    background: #f0f7fd;
    border-left-color: #1d6fa4;
    color: #155a84;
}

.agent-nav-item:hover i {
    color: #1d6fa4;
}

.agent-nav-item.active {
    background: #f0f7fd;
    border-left-color: #1d6fa4;
    color: #155a84;
    font-weight: 600;
}

.agent-nav-item.active i {
    color: #1d6fa4;
}

.agent-nav-item.active::before {
    display: none;
}

/* Modern Stat Cards */
.modern-stat-card {
    background: white;
    border-radius: 12px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.15s ease;
    border-left: 4px solid #1d6fa4;
    margin-bottom: 16px;
}

.modern-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-primary .stat-icon {
    background: linear-gradient(135deg, #1d6fa4 0%, #155a84 100%);
}

.stat-success .stat-icon {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

.stat-icon i {
    font-size: 22px;
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.1;
}

/* Modern Dashboard Widget */
.modern-dashboard-widget {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 16px;
}

.widget-header {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    background: transparent;
    color: #0f172a;
}

.widget-header i {
    font-size: 18px;
    color: #1d6fa4;
}

.widget-header span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.widget-content {
    padding: 6px 10px 10px;
}

.widget-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 2px;
    transition: background 0.12s ease;
    text-decoration: none;
    color: inherit;
    background: transparent;
}

.widget-item:hover {
    background: #f8fafc;
}

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

.widget-item-number {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg,#4fa8d5,#4fa8d5);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
}

.widget-item-details {
    flex: 1;
    min-width: 0;
}

.widget-item-title {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.widget-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #1d6fa4;
}

.widget-item-arrow {
    color: #cbd5e1;
    font-size: 18px;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.widget-item:hover .widget-item-arrow {
    transform: translateX(3px);
    color: #1d6fa4;
}

.widget-message-icon {
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.widget-message-icon i {
    font-size: 17px;
    color: #0284c7;
}

.widget-message-sender {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.widget-message-text {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .modern-agent-sidebar {
        position: static;
        margin-bottom: 16px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .stat-icon i {
        font-size: 20px;
    }
}

@media (max-width: 600px) {
    .agent-avatar {
        width: 36px;
        height: 36px;
    }
    
    .agent-name {
        font-size: 13px;
    }
    
    .agent-email {
        font-size: 10px;
    }
    
    .agent-nav-item {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .modern-stat-card {
        padding: 14px 16px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .widget-item-title {
        font-size: 12px;
    }
}

/* ===== Modern Agent Pages ===== */
.modern-page-header {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #faf3eb;
}

.page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.page-title i {
    color: #1d6fa4;
    font-size: 24px;
}

.page-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

/* Modern Form Card */
.modern-form-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.modern-form-card .input-field {
    margin-top: 24px;
    margin-bottom: 24px;
}

.modern-form-card .input-field input:focus,
.modern-form-card .input-field textarea:focus {
    border-color: #4fa8d5 !important;
    box-shadow: 0 1px 0 0 #4fa8d5 !important;
}

.modern-form-card .input-field label.active {
    color: #4fa8d5 !important;
}

.modern-form-card .input-field .prefix.active {
    color: #4fa8d5;
}

/* Modern File Upload */
.modern-file-upload {
    padding: 20px 0;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px;
    border: 2px dashed #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.file-upload-label:hover {
    border-color: #4fa8d5;
    background: #faf3eb;
}

.file-upload-label i {
    font-size: 48px;
    color: #4fa8d5;
    margin-bottom: 12px;
}

.file-upload-label span {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
}

.file-upload-input {
    display: none;
}

.file-upload-hint {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--color-text-light);
}

/* Modern Button */
.btn-modern-primary {
    background: linear-gradient(135deg, #4fa8d5 0%, #4fa8d5 100%);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-modern-primary:hover {
    background: linear-gradient(135deg, #4fa8d5 0%, #1d6fa4 100%);
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
    transform: translateY(-2px);
}

.btn-modern-primary i {
    font-size: 20px;
}

/* Modern Table Card */
.modern-table-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.table-responsive {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table thead {
    background: linear-gradient(135deg, #1d6fa4 0%, #1a6090 100%);
}

.modern-table thead tr th {
    padding: 20px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-table thead tr th.center-align {
    text-align: center;
}

.modern-table thead tr th i {
    font-size: 18px;
    vertical-align: middle;
}

.modern-table tbody tr {
    border-bottom: 1px solid #f0f4f8;
    transition: background 0.3s ease;
}

.modern-table tbody tr:hover {
    background: #f8f9fa;
}

.modern-table tbody tr.message-unread {
    background: #fffbf0;
}

.modern-table tbody tr.message-unread:hover {
    background: #fff8e6;
}

.modern-table tbody tr td {
    padding: 16px;
    font-size: 14px;
    color: var(--color-text);
}

.modern-table tbody tr td.center-align {
    text-align: center;
}

.table-number {
    font-weight: 700;
    color: #4fa8d5;
    width: 50px;
}

.table-title-cell {
    font-weight: 500;
    max-width: 300px;
}

.table-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #faf3eb;
    color: #1d6fa4;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.table-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.table-location i {
    color: #4fa8d5;
}

.table-count {
    background: #f0f4f8;
    padding: 6px 12px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--color-text);
}

.table-star {
    color: #fbbf24;
    font-size: 20px;
}

.table-star-empty {
    color: #d1d5db;
    font-size: 20px;
}

.table-user-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-user-cell i {
    color: #4fa8d5;
    font-size: 20px;
}

.table-email-cell {
    color: var(--color-text-light);
    font-size: 13px;
}

.table-message-preview {
    color: var(--color-text);
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Table Actions */
.table-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f0f4f8;
    color: var(--color-text);
}

.btn-action i {
    font-size: 18px;
}

.btn-action-view {
    background: #dbeafe;
    color: #3b82f6;
}

.btn-action-view:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-action-edit {
    background: #fed7aa;
    color: #f97316;
}

.btn-action-edit:hover {
    background: #f97316;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.btn-action-delete {
    background: #fecaca;
    color: #dc2626;
}

.btn-action-delete:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-action-unread {
    background: #fef3c7;
    color: #f59e0b;
}

.btn-action-unread:hover {
    background: #f59e0b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-action-read {
    background: #faf3eb;
    color: #1d6fa4;
}

.btn-action-read:hover {
    background: #1d6fa4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-action-reply {
    background: #e0e7ff;
    color: #6366f1;
}

.btn-action-reply:hover {
    background: #6366f1;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.table-pagination {
    padding: 20px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #f0f4f8;
}

@media (max-width: 992px) {
    .modern-form-card {
        padding: 24px;
    }
    
    .modern-table-card {
        border-radius: 12px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .page-title i {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .modern-form-card {
        padding: 20px;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .page-subtitle {
        font-size: 14px;
    }
    
    .modern-table thead tr th {
        padding: 16px 12px;
        font-size: 11px;
    }
    
    .modern-table tbody tr td {
        padding: 12px;
        font-size: 13px;
    }
    
    .table-actions {
        gap: 6px;
    }
    
    .btn-action {
        width: 32px;
        height: 32px;
    }
    
    .btn-action i {
        font-size: 16px;
    }
}

/* FEATURES SECTION STYLES */
.modern-feature-card {
    background: white;
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;  
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.modern-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #f0e4d4 0%, #f5ebe0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modern-feature-card:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, #4fa8d5 0%, #4fa8d5 100%);
}

.feature-icon-wrapper i {
    font-size: 40px;
    color: #1d6fa4;
    transition: all 0.3s ease;
}

.modern-feature-card:hover .feature-icon-wrapper i {
    color: white;
    transform: scale(1.1);
}

.feature-title {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 12px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    min-height: 72px;
    max-height: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

@media (max-width: 768px) {
    .modern-feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon-wrapper {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon-wrapper i {
        font-size: 35px;
    }
    
    .feature-title {
        font-size: 20px;
    }
    
    .feature-description {
        font-size: 14px;
    }
}

/* REA.com.au Style - Compact Property Cards */
.modern-property-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid #e4e6e8;
    margin-bottom: 16px; /* Minimal margin like REA */
    height: 100%;
    display: flex;
    flex-direction: column;
}

.modern-property-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.property-image-wrapper {
    position: relative;
    padding-bottom: 66.67%; /* 3:2 aspect ratio like REA */
    overflow: hidden;
    background: #85b9d3;
}

.property-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.modern-property-card:hover .property-image {
    transform: scale(1.05);
}

.property-details {
    padding: 12px; /* Compact padding like REA */
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-header {
    margin-bottom: 6px;
}

.property-title {
    font-size: 16px; /* Compact font size */
    font-weight: 600;
    color: #212121;
    margin: 0 0 4px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-location {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 13px; /* Smaller text */
    margin-bottom: 8px;
    line-height: 1.3;
}

.property-location i {
    font-size: 14px;
    color: #9ca3af;
}

.property-price-tag {
    margin-bottom: 8px;
}

.price-amount {
    font-size: 20px; /* Prominent but not huge */
    font-weight: 700;
    color: #212121;
}

.price-period {
    font-size: 13px;
    color: #6b7280;
    font-weight: 400;
}

.property-features {
    display: flex;
    align-items: center;
    gap: 12px; /* Compact spacing */
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px; /* Smaller text */
    color: #4b5563;
}

.feature-item i {
    font-size: 16px; /* Compact icons */
    color: #6b7280;
}

.property-type-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #6b7280;
    margin-top: auto;
}

.property-type-tag i {
    font-size: 14px;
}

/* Compact sections spacing */
section.section {
    padding: 24px 0 !important; /* Reduce from 40px to 24px */
}

.section-heading {
    font-size: 24px !important; /* Smaller headings */
    margin-bottom: 16px !important; /* Less spacing */
    font-weight: 600 !important;
}

.container {
    padding: 0 12px !important; /* Tighter container padding */
}

.row {
    margin-bottom: 0 !important; /* Remove row margins */
}

.row .col {
    padding: 0 8px !important; /* Tighter column gutters */
}

/* Compact Dream Homes section */
.dream-homes-section {
    padding: 24px 0 !important;
}

/* Compact Latest Listings */
.latest-listings {
    padding: 24px 0 !important;
}

.scroll-card {
    min-width: 240px; /* Smaller cards */
    margin-right: 12px; /* Less spacing */
}

/* Compact feature cards */
.modern-feature-card {
    padding: 20px 16px !important; /* Less padding */
    margin-bottom: 12px !important;
}

.feature-title {
    font-size: 18px !important; /* Smaller */
    min-height: auto !important;
    margin-bottom: 8px !important;
}

.feature-description {
    font-size: 14px !important; /* Smaller */
    line-height: 1.4 !important;
    min-height: auto !important;
    max-height: none !important;
}

.feature-icon-wrapper {
    width: 50px !important; /* Smaller icons */
    height: 50px !important;
    margin-bottom: 12px !important;
}

.feature-icon-wrapper i {
    font-size: 24px !important;
}

/* Compact property rating */
.property-rating-small {
    margin: 4px 0 !important;
}

/* Remove excessive spacing in cards */
.card {
    margin: 0 0 12px 0 !important; /* Minimal margin */
}

.card .card-content {
    padding: 12px !important; /* Compact padding */
}

.card .card-action {
    padding: 8px 12px !important; /* Compact action area */
}

/* =====================================================
   CUSTOM PAGINATION STYLES
   ===================================================== */

.custom-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-item {
    list-style: none;
}

.pagination-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 16px;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.pagination-link:hover:not([aria-disabled="true"]) {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.pagination-link i {
    font-size: 20px;
}

.pagination-item.disabled .pagination-link {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--color-bg);
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.pagination-number:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.pagination-number.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    cursor: default;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    color: var(--color-text-light);
    font-size: 14px;
}

.pagination-info {
    font-size: 14px;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Responsive pagination */
@media (max-width: 600px) {
    .pagination-text {
        display: none;
    }
    
    .pagination-link {
        padding: 10px 12px;
    }
    
    .pagination-number {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
    
    .pagination-list {
        gap: 4px;
    }
    
    .pagination-numbers {
        gap: 2px;
    }
}

/* ===== Search Page Property Grid Fix ===== */
.results-header + section .container {
    max-width: 100%;
    width: 100%;
}

.results-header + section .modern-property-card {
    min-width: 0;
    width: 100%;
}

.results-header + section .modern-property-card .property-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.results-header + section .modern-property-card .property-location {
    font-size: 11px;
}

.results-header + section .modern-property-card .price-amount {
    font-size: 15px;
}

.results-header + section .modern-property-card .property-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}

.results-header + section .modern-property-card .feature-item {
    font-size: 11px;
}

.results-header + section .modern-property-card .feature-item i {
    font-size: 12px;
}

.results-header + section .modern-property-card .property-type-tag {
    font-size: 11px;
}

@media (min-width: 993px) {
    .results-header + section .col.l3 {
        width: 20%;
    }
    .results-header + section .col.l9 {
        width: 80%;
    }
}
nav.nav-modern.nav-green

{ 
    padding-top: 25px;
}
/* Compact card design for property pages */
.property-card, .agent-card, .feature-card, .contact-card {
    border-radius: 10px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    padding: 12px !important;
    margin-bottom: 16px !important;
    background: #fff !important;
}

.property-card img, .agent-card img {
    border-radius: 8px !important;
    max-height: 220px !important;
    object-fit: cover !important;
}

.property-card .card-title, .agent-card .card-title, .feature-card .card-title, .contact-card .card-title {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

.property-card .card-content, .agent-card .card-content, .feature-card .card-content, .contact-card .card-content {
    font-size: 14px !important;
    padding: 8px 0 !important;
}

.feature-card .feature-list {
    gap: 8px !important;
}

.feature-card .feature-item {
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    background: #f0f7fd !important;
}

/* Ultra-compact property description page */
.property-card, .feature-card, .contact-card {
    border-radius: 8px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
    padding: 10px !important;
    margin-bottom: 12px !important;
    background: #fff !important;
}

.property-card img {
    border-radius: 6px !important;
    max-height: 180px !important;
    object-fit: cover !important;
}

.card-title, .section-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
}

.card-content, .property-description, .feature-list, .contact-card form {
    font-size: 13px !important;
    padding: 6px 0 !important;
    margin-bottom: 6px !important;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px !important;
    margin-bottom: 0 !important;
}

.feature-item {
    font-size: 13px !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    background: #f0f7fd !important;
    margin-bottom: 0 !important;
}

.section, .property-section, .feature-section, .contact-section {
    margin-bottom: 10px !important;
    padding: 8px 0 !important;
}

.contact-card input, .contact-card textarea {
    font-size: 13px !important;
    padding: 6px 8px !important;
    margin-bottom: 6px !important;
}

.btn, .btn-primary {
    padding: 6px 12px !important;
    font-size: 14px !important;
    border-radius: 4px !important;
}

/* Property Details Page Modern Compact UI */
.property-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.property-main {
    flex: 2 1 600px;
    min-width: 350px;
}

.property-sidebar {
    flex: 1 1 320px;
    min-width: 260px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.property-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.property-address {
    color: #6b7280;
    font-size: 1rem;
    margin-bottom: 12px;
}

.property-price {
    font-size: 2rem;
    color: #155a84;
    font-weight: 700;
    margin-bottom: 16px;
}

.property-image-slider {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.property-description, .property-features {
    background: #fff;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.property-description-title, .property-features-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.property-features-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.property-feature-item {
    background: #e6f9ed;
    color: #1d6fa4;
    border-radius: 6px;
    padding: 6px 14px;
    font-size: 0.95rem;
    margin-bottom: 0;
}

.mortgage-calculator, .contact-agent, .share-property {
    background: #fff;
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .property-details-container {
        flex-direction: column;
    }
    .property-main, .property-sidebar {
        min-width: 0;
        width: 100%;
    }
}
