.carousel .listing-card {
    transition: box-shadow 0.3s ease;
    background-color: #ffffff00;
    overflow: hidden;
    position: relative;
    padding: 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box; /* Ensure padding is included in height calculation */    
    z-index: 9996;
    margin: 10px;
}
 
a:link {
    text-decoration: none;
}

.carousel .listing-card img {
    width: 100%;
    height: 220px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
    margin: 0; /* Remove any default margin */       
}

.carousel .listing-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 3px 3px;
    font-weight: bold;
    border-radius: 3px;
    font-size: 0.75em; /* Adjust the font size here */
    color: #333; /* Adjust the text color if needed */
}

.carousel .listing-content {
    padding: 10px;
    flex-grow: 1; /* Ensures that this section takes up available space */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: 9996;
}

.carousel .listing-price {
    font-size: 1.5em;
    font-weight: bold;
    margin: 5px 0;

    /* Use Flexbox to position elements */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.strikethrough {
    text-decoration: line-through;
    color: #999;
    margin-right: 10px;
}

.sold-price {
    font-weight: bold;
    color: #8f0101;
    margin-left: auto; /* Push it to the right */
    text-align: right; /* Align the text to the right */
}

.carousel .listing-details {
    font-size: 0.9em;
    color: #666;
}

.carousel .listing-address {
    font-size: 1.1em;
    font-weight: bold;
    margin: 5px 0;
}

.carousel .listing-mls {
    font-size: 0.8em;
    color: #919191;
    margin-top: 10px;

}


.carousel {
    padding-left: 40px;
    padding-right:40px;
}

.slick-prev {
    position: absolute;
    top: 50%;
    left: -30px; /* Adjust distance from the carousel */
    transform: translateY(-50%);
    z-index: 1000;
    background: none;
    border: none;
    font-size: 2rem; /* Adjust size of the chevron */
    color: #000; /* Adjust color */
    background-color: none;
    box-shadow: none;

}


.slick-next {
    position: absolute;
    top: 50%;
    right: -30px; /* Adjust distance from the carousel */
    transform: translateY(-50%);
    z-index: 1000;
    background: none;
    border: none;
    font-size: 2rem; /* Adjust size of the chevron */
    color: #000; /* Adjust color */
    background-color: none;
    box-shadow: none;

}
/* Adjust hover effect for arrows */
.slick-prev:hover, .slick-next:hover {
    background: transparent;
    cursor: pointer;
}
.slick-prev:focus, .slick-next:focus,
.slick-prev:focus-visible, .slick-next:focus-visible {
    outline: none;
    background: transparent;
    box-shadow: none;
}
/* General container styling */
.signup-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto; /* Center the form */
    padding: 20px;
    border-radius: 8px;
}

/* Form element styling */
.signup-form form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between fields */
}
/* Group first and last name into a single row */
#signup-form .name-fields {
    display: flex;
    gap: 15px; /* Space between first and last name fields */
}

/* Ensure equal width for first and last name fields */
#signup-form .name-fields > div {
    flex: 1;
}

.signup-form label {
    font-weight: bold;
    font-size: 1rem;
    color: #333; /* Darker text for better readability */
}

.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form input[type="tel"] {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    border: 1px solid #ccc; /* Subtle border */
    border-radius: 10px;
    box-sizing: border-box;
}

/* Button styling */
.signup-form button {
    background-color: var(--repliers-primary-color); /* Primary blue */
    color: #fff;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/*
.google-sign-in-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; 
    background-color: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    padding: 10px 20px;
    font-size: 16px;
    color: #757575;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
    width: 100%; 
}

.google-sign-in-button:hover {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    background-color: #f7f7f7;
}

.google-sign-in-button:active {
    background-color: #e0e0e0;
}

.google-icon {
    width: 20px;
    height: 20px;
}

.google-button-text {
    font-family: 'Roboto', sans-serif;
} */

#signup-success-message {
    background-color: #e8f4e8;
    color: #1a7e1a;
    border: 1px solid #1a7e1a;
    padding: 15px;
    font-size: 16px;
    text-align: center;
    margin-top: 20px;
}

.loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Search Bar Container */
#city-search-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 50px;
    border: 1.5px solid #e2e6ed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, border-color 0.2s;
    overflow: visible;
}

#city-search-container:focus-within {
    border-color: var(--repliers-primary-color, #1a56a0);
    box-shadow: 0 0 0 3px rgba(26,86,160,0.10), 0 2px 8px rgba(0,0,0,0.07);
}

/* Search Input */
#city-search-input {
    flex: 1;
    min-width: 0;
    padding: 15px 22px;
    font-size: 15px;
    border: none;
    outline: none;
    background: transparent;
    color: #1a1a1a;
    border-radius: 50px 0 0 50px;
}

/* Placeholder Style */
#city-search-input::placeholder {
    color: #b2b9c4;
}

/* Submit Button */
#search-submit-btn {
    flex-shrink: 0;
    width: 58px;
    border: none;
    background: var(--repliers-primary-color, #1a56a0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: filter 0.15s, transform 0.1s;
}

#search-submit-btn:hover {
    filter: brightness(1.12);
}

#search-submit-btn:active {
    transform: scale(0.95);
}

/* Submit Icon */
#search-submit-btn i {
    font-size: 17px;
}

/* Suggestions List (Dropdown) */
#city-suggestions-list {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    max-height: 340px;
    overflow-y: auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 1000;
    display: none;
    padding: 4px 0;
}

/* Base list reset */
#city-suggestions-list li {
    list-style: none;
    margin: 0;
}

/* Section headers */
#city-suggestions-list .qs-section-title {
    padding: 6px 16px 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #999;
    cursor: default;
    border-top: 1px solid #f0f0f0;
}

#city-suggestions-list .qs-section-title:first-child {
    border-top: none;
}

/* Clickable items */
#city-suggestions-list .qs-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s;
    color: #222;
    gap: 8px;
}

#city-suggestions-list .qs-item:hover {
    background: #f5f7fa;
}

#city-suggestions-list .qs-item--neighborhood {
    justify-content: flex-start;
}

/* Neighborhood icon */
.qs-nb-icon {
    font-size: 13px;
    margin-right: 6px;
    color: #555;
    flex-shrink: 0;
}

/* Listing count badge on city items */
.qs-count {
    font-size: 11px;
    color: #999;
    margin-left: auto;
    flex-shrink: 0;
}

/* Listing items — address left, price right */
#city-suggestions-list .qs-item--listing {
    gap: 12px;
}

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

.qs-price {
    font-size: 13px;
    font-weight: 600;
    color: var(--repliers-primary-color, #1a56a0);
    flex-shrink: 0;
}

/* ── Sidebar Listings (.sbl-*) ────────────────────────── */
.sbl-wrap {
    width: 100%;
    font-family: inherit;
}

.sbl-group {
    display: none;
    flex-direction: column;
}

.sbl-group--active {
    display: flex;
}

.sbl-item {
    display: flex;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s;
    align-items: flex-start;
}

.sbl-item:last-child {
    border-bottom: none;
}

.sbl-item:hover {
    opacity: 0.75;
}

.sbl-img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 115px;
    height: 80px;
}

.sbl-img-wrap img {
    width: 115px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.sbl-badge {
    position: absolute;
    bottom: 4px;
    left: 4px;
    background: rgba(255, 255, 255, 0.88);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    line-height: 1.4;
    white-space: nowrap;
    max-width: 107px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.sbl-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.sbl-price {
    font-size: 16px;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.2;
    white-space: nowrap;
}

.sbl-price-original {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    font-size: 13px;
    margin-right: 4px;
}

.sbl-price-sold {
    color: #8f0101;
}

.sbl-beds {
    font-size: 12px;
    color: #666;
    line-height: 1.3;
}

.sbl-addr {
    font-size: 14px;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sbl-footer {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.sbl-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.sbl-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s;
}

.sbl-dot--active {
    background: var(--repliers-primary-color, #0073aa);
}

/* ── Listings Grid (.repliers-grid) ─────────────────────── */
.repliers-grid-wrap {
    width: 100%;
}

.repliers-grid {
    display: grid;
    grid-template-columns: repeat(var(--rg-cols, 3), 1fr);
    gap: 20px;
}

.repliers-grid .listing-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    margin: 0;
}

.repliers-grid .listing-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.repliers-grid .listing-image-container {
    position: relative;
}

.repliers-grid .listing-card img {
    width: 100%;
    height: 200px;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    display: block;
    margin: 0;
}

.repliers-grid .listing-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255,255,255,0.9);
    padding: 3px 8px;
    font-weight: bold;
    border-radius: 3px;
    font-size: 0.75em;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.repliers-grid .listing-card.is-featured {
    box-shadow: 0 0 0 2px var(--repliers-primary-color, #1a56a0);
}

.repliers-grid .featured-badge {
    background: var(--repliers-primary-color, #1a56a0);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85em;
}

.repliers-grid .listing-content {
    padding: 12px;
    flex-grow: 1;
}

.repliers-grid .listing-price {
    font-size: 1.35em;
    font-weight: bold;
    margin: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.repliers-grid .listing-details {
    font-size: 0.9em;
    color: #666;
}

.repliers-grid .listing-address {
    font-size: 1.05em;
    font-weight: bold;
    margin: 5px 0;
}

.repliers-grid .listing-mls {
    font-size: 0.8em;
    color: #919191;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .repliers-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .repliers-grid { grid-template-columns: 1fr; }
}

.rg-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.rg-load-more-btn {
    background-color: var(--repliers-primary-color, #1a56a0);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    transition: filter 0.15s;
}
.rg-load-more-btn:hover { filter: brightness(1.1); }
.rg-load-more-btn:disabled { opacity: 0.6; cursor: default; }

/* ── Featured Listings (.repliers-featured / .rfl-*) ────── */
.repliers-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) {
    .repliers-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .repliers-featured { grid-template-columns: 1fr; }
}

.rfl-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}

.rfl-card .listing-card {
    box-shadow: none;
    margin: 0;
}

.rfl-card .listing-image-container {
    position: relative;
}

.rfl-card .listing-card img {
    width: 100%;
    height: 200px;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    display: block;
    margin: 0;
}

.rfl-card .listing-status {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(255,255,255,0.9);
    padding: 3px 8px;
    font-weight: bold;
    border-radius: 3px;
    font-size: 0.75em;
    color: #333;
}

.rfl-card .listing-content { padding: 12px; }
.rfl-card .listing-price { font-size: 1.35em; font-weight: bold; margin: 4px 0; }
.rfl-card .listing-details { font-size: 0.9em; color: #666; }
.rfl-card .listing-address { font-size: 1.05em; font-weight: bold; margin: 5px 0; }
.rfl-card .listing-mls { font-size: 0.8em; color: #919191; margin-top: 8px; }

.rfl-agent {
    border-top: 1px solid #eee;
    padding: 12px;
    margin-top: auto;
}

.rfl-agent-card {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.rfl-agent-photo,
.rfl-agent-photo--placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    background: #e6e6e6;
}

.rfl-agent-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 13px;
    min-width: 0;
}
.rfl-agent-info strong { font-size: 14px; color: #1a1a1a; }
.rfl-agent-info span { color: #777; }
.rfl-agent-info a { color: var(--repliers-primary-color, #1a56a0); text-decoration: none; }
.rfl-agent-name-link { text-decoration: none; color: inherit; }
.rfl-agent-name-link:hover strong { color: var(--repliers-primary-color, #1a56a0); }
.rfl-agent-photo-link { display: block; flex-shrink: 0; }
.rfl-agent-photo-link:hover .rfl-agent-photo { opacity: 0.85; }

.rfl-agent-profile-btn {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--repliers-primary-color, #1a56a0);
    border: 1.5px solid var(--repliers-primary-color, #1a56a0);
    border-radius: 6px;
    padding: 8px 12px;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.rfl-agent-profile-btn:hover {
    background: var(--repliers-primary-color, #1a56a0);
    color: #fff;
}

