/*
@font-face {
    font-family: 'Junicode';
    src: url('lib/fonts/junicode/Junicode.woff') format('woff');
}*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
/* MAIN STYLES */

:root {
    --main-bg-color: #F9F9F9;
    --primary-text: #222222;
    --secondary-text: #4F4F4F;
    --cta-green: #00A86B;
    --cta-golden: #FFC93C;
    --hover: #E0F4FF;
    --accent-and-icons: #005788;
}

html, body {
    color: var(--primary-text);
    background-color: var(--main-bg-color);
    font-family: 'Open Sans';
}

.btn-primary:hover {
    background-color: var(--cta-golden);
    color: var(--accent-and-icons)
}


.main-prop-card {
    background-color: rgba(255, 255, 255, 0.7);
    font-weight:bolder;
}
/* For Property Edit/Create */
.featurelist-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(1, 1fr);
}



/*  =========================================================================   Featured Listing Properties  */
.featured-list-card .card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

    .featured-list-card .card-image img {
        transition: .5s linear;
    }

.featured-list-card:hover .card-image img {
    transform: scale(1.2);
}

.featured-list-card .card-image span {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--main-color);
    color: white;
    padding: .25rem .75rem;
    font-size: 13px;
}

.featured-list-card .card-image .location-gallery {
    position: absolute;
    bottom: 0;
    font-size: 12px;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, black 0, transparent);
    color: white;
    display: flex;
    justify-content: space-between;
}

    .featured-list-card .card-image .location-gallery i {
        font-size: 19px;
        vertical-align: bottom;
        margin-right: 0.25rem;
    }

.featured-list-card .card-body .price {
    margin: .5rem 0;
    display: block;
    font-weight: 600;
    color: var(--main-color);
}

.featured-list-card .card-body h6 {
    font-size: 18px;
}

.featured-list-card .card-body p {
    margin: .5rem 0;
}

.featured-list-card .card-body ul {
    margin-top: 1.5rem;
}

.featured-list-card .card-body {
    border: 1px solid #e8e5e5;
}



.category-card .card-block {
    font-size: 1em;
    position: relative;
    margin: 0;
    padding: 1em;
    border: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
}

.card-block:hover {
    background-color: rgba(255, 255, 255, 0);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.category-card a, .category-card a:visited {
    text-decoration: none;
    color: black;
}

.category-card a:hover {
    transition: all 0.15s ease-in-out;
}

.category-card {
    font-size: 1em;
    border: none;
    border-radius: .28571429rem;
    box-shadow: 0 1px 3px 0 #d4d4d5, 0 0 0 1px #d4d4d5;
    width:100%;
    height: 180px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .category-card {
        width: 97%;
    }
}

.category-card-responsive-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(1, 1fr); /* Mobile default */
}

@media (min-width: 992px) {
    .category-card-responsive-grid {
        grid-template-columns: repeat(4, 1fr); /*  lg */
    }
}


    .category-card .category-image {
        overflow: hidden;
        height: 180px;

        background-size: cover;
        background-repeat: no-repeat;
    }





.property-amentity-boxes {
}

.r868-card-fieldset {
    all: revert;
}

.featured-agent-container {
    padding-top: 3em;
    padding-bottom: 3em;
    background-size: cover !important; /* Cover entire element */
    background-repeat: no-repeat !important; /* Do not repeat */
    background-position: center !important; /* Center the image */
}


#chat4 .form-control {
    border-color: transparent;
}

    #chat4 .form-control:focus {
        border-color: transparent;
        box-shadow: inset 0px 0px 0px 1px transparent;
    }

.divider:after,
.divider:before {
    content: "";
    flex: 1;
    height: 1px;
    background: #eee;
}


.btn-refresh {
    display: none;
}


.section-header {
    border-bottom: 2px solid #0d36bc;
    margin: 3rem 0 2rem 0;
    padding-bottom: 1rem;
}

    .section-header.commercial {
        border-bottom-color: #0d36bc;
        background: linear-gradient(135deg, #0d36bc 0%, #ffffff 100%);
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(11, 47, 163, 0.1);
    }

.commercial a {
    text-decoration: none;
    color: white;
}

.property-count {
    font-size: 1.2rem;
    opacity: 0.8;
    font-weight: 400;
}


.company-card  .logo-circle {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-card-link {
    text-decoration: none;
}

.r868-links a:hover {
    color: #ffd900;
}

.r868-links  .active {
    color: #ffd900 !important;
}


.profile-card {
    height: 350px; /* Fixed height for consistency */
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
/*
    .profile-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
*/
.profile-image {
    height: 250px; /* Fixed image height */
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-content {
    height: 100px; /* Fixed content height */
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #212529;
}

.profile-title {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0;
}

.dash-icon {
    opacity: 0.75;
}

    .dash-icon:hover {
        opacity: 1;
        transition: opacity 0.5s ease; /* duration + easing */
    }