/* Buy Apartments Page Styles */

/* Score Filter Styles */
.score-slider-wrapper {
    padding: 10px 0;
}

.score-display {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-top: 8px;
}

.score-preset {
    font-size: 12px;
    padding: 6px 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.score-preset:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.score-preset.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
}

/* Form range customization for score sliders */
.form-range {
    width: 100%;
    height: 6px;
    background: linear-gradient(to right, #e9ecef 0%, #ff6725 0%);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.form-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #ff6725;
    border-radius: 50%;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: #e55a1f;
}

.form-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #ff6725;
    border-radius: 50%;
    cursor: url(../dashboard/images/icon/pointer.svg), pointer !important;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Quick filter improvements */
.filter-tag {
    transition: all 0.2s ease;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 16px;
    margin: 4px;
}

.filter-tag.active {
    background-color: #ff6725;
    color: white;
    border-color: #ff6725;
}

.filter-tag:hover {
    border-color: #ff6725;
    color: #ff6725;
}

.filter-tag.active:hover {
    background-color: #e55a1f;
    border-color: #e55a1f;
    color: white;
}

/* Loading Screen Styles */
.apartments-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.loading-spinner {
    text-align: center;
}

.loading-spinner .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
    color: #ff6725 !important;
}

.loading-spinner p {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* Pagination Styles */
.pagination-two {
    margin: 30px 0 20px 0;
    gap: 8px;
    justify-content: center !important;
    border: none !important;
}

.pagination-two li {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 2px;
}

.pagination-two li a,
.pagination-two li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pagination-two li.active a {
    background: linear-gradient(135deg, #ff6725 0%, #e55a1f 100%);
    border-color: #ff6725;
    color: white;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.3);
    transform: translateY(-1px);
}

.pagination-two li:not(.disabled):not(.active) a:hover {
    background-color: #f9fafb;
    border-color: #ff6725;
    color: #ff6725;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 103, 37, 0.2);
}

.pagination-two li.disabled {
    cursor: not-allowed;
}

.pagination-two li.disabled span {
    background-color: #f9fafb;
    color: #9ca3af;
    border-color: #e5e7eb;
    cursor: not-allowed;
}

.pagination-two li a i {
    font-size: 12px;
}

/* Center pagination container */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px 0;
}

/* Smooth transitions for listings */
#apartment-listings {
    transition: opacity 0.3s ease;
}

#apartment-listings.loading {
    opacity: 0.5;
}

/* Fix z-index issues for dropdowns - must be below header (which is z-index: 999) */
.nice-select {
    z-index: 998 !important;
}

.nice-select .list {
    z-index: 998 !important;
    position: absolute !important;
    background: white !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    max-height: 250px !important;
    overflow-y: auto !important;
}

.nice-select.open {
    z-index: 998 !important;
}

/* Ensure map doesn't interfere with dropdowns */
#apartment-map {
    z-index: 1 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.map-container {
    position: relative;
    z-index: 1 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Fix map container rounded corners */
.property-listing-fullwidth-map .map-container {
    border-radius: 12px !important;
    overflow: hidden !important;
}

.property-listing-fullwidth-map #apartment-map {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Fullscreen map rounded corners */
#fullscreen-map {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* Map Marker Styles */
.custom-div-icon {
    background: none !important;
    border: none !important;
}

.map-marker-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-pin {
    position: relative;
    z-index: 2;
}

.pin-icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.price-tag {
    background: #ff6725;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin-top: -5px;
    position: relative;
    z-index: 1;
}

.price-tag.luxury {
    background: #4a90e2;
}

.price-tag.ultra-luxury {
    background: #7b68ee;
}

/* Map Popup Styles */
.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
    margin: 0;
    line-height: 1.4;
}

.map-popup-card {
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.leaflet-popup-tip {
    background: white;
}

/* Image carousel */
.img-carousel {
    position: relative;
    height: 100%;
}

.img-carousel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}

.img-carousel img.active {
    opacity: 1;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.carousel-controls button {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    transition: all 0.3s;
}

.carousel-controls button:hover {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Filter checkbox styles */
.filter-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 5px;
}

/* Amenity badges */
.amenity-tags .badge {
    font-size: 12px;
    padding: 4px 8px;
}

/* Map Controls - Exact VerifyMyLand Style */
.map-controls {
    position: absolute;
    bottom: 30px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 900;
}

.map-control-btn {
    width: 50px;
    height: 50px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    transition: all 0.3s ease;
}

.map-control-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 103, 37, 0.3);
}

.map-control-btn i {
    color: #ff6725;
    font-size: 20px;
}

/* Hide default Leaflet zoom controls */
.leaflet-control-zoom {
    display: none !important;
}

/* Score slider styling - Enhanced elegant design */
.score-slider-wrapper {
    position: relative;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.score-slider-wrapper:hover {
    background: #f3f4f6;
    box-shadow: 0 2px 8px rgba(255, 103, 37, 0.1);
}

.score-display {
    font-size: 14px;
    color: #666;
    margin-top: 12px;
    text-align: right;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.score-value {
    font-weight: 700;
    color: #ff6725;
    font-size: 18px;
    min-width: 35px;
    text-align: center;
}

/* Orange range slider styling - Complete Modern Design */
.form-range {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 5px;
    outline: none !important;
    opacity: 1;
    -webkit-transition: .2s;
    transition: opacity .2s;
    margin: 15px 0;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
}

/* Remove all default styling */
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none !important;
}

.form-range::-moz-range-thumb {
    -moz-appearance: none !important;
    border: none !important;
}

.form-range::-ms-thumb {
    appearance: none !important;
}

/* Custom thumb styling for all browsers */
.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #ff6725;
    cursor: url(../dashboard/images/icon/grab.svg), grab ;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(255, 103, 37, 0.3);
    transition: all 0.3s ease;
    margin-top: -8px;
}

.form-range::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #ff6725;
    cursor: url(../dashboard/images/icon/grab.svg), grab ;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(255, 103, 37, 0.3);
    transition: all 0.3s ease;
}

.form-range::-ms-thumb {
    width: 22px;
    height: 22px;
    background: #ff6725;
    cursor: url(../dashboard/images/icon/grab.svg), grab ;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(255, 103, 37, 0.3);
    transition: all 0.3s ease;
}

/* Hover states */
.form-range::-webkit-slider-thumb:hover {
    background: #e55a1f;
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(255, 103, 37, 0.4);
}

.form-range::-moz-range-thumb:hover {
    background: #e55a1f;
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(255, 103, 37, 0.4);
}

.form-range::-ms-thumb:hover {
    background: #e55a1f;
    transform: scale(1.2);
    box-shadow: 0 3px 12px rgba(255, 103, 37, 0.4);
}

/* Active/pressed states */
.form-range::-webkit-slider-thumb:active {
    background: #d44d1a;
    transform: scale(1.1);
    box-shadow: 0 1px 5px rgba(255, 103, 37, 0.5);
}

.form-range::-moz-range-thumb:active {
    background: #d44d1a;
    transform: scale(1.1);
    box-shadow: 0 1px 5px rgba(255, 103, 37, 0.5);
}

/* Track styling */
.form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 6px;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    background: #e9ecef;
    border-radius: 5px;
    border: none;
}

.form-range::-moz-range-track {
    width: 100%;
    height: 6px;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    background: #e9ecef;
    border-radius: 5px;
    border: none;
}

.form-range::-ms-track {
    width: 100%;
    height: 6px;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

/* Remove focus outline on all browsers */
.form-range:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-range:focus::-webkit-slider-thumb {
    outline: none !important;
    box-shadow: 0 3px 12px rgba(255, 103, 37, 0.4) !important;
}

.form-range:focus::-moz-range-thumb {
    outline: none !important;
    box-shadow: 0 3px 12px rgba(255, 103, 37, 0.4) !important;
}

/* Progress fill effect */
.form-range {
    background-image: linear-gradient(to right, #ff6725 0%, #ff6725 var(--value, 0%), #e9ecef var(--value, 0%), #e9ecef 100%);
}

/* Utility classes */
.text-orange {
    color: #ff6725 !important;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #ff6725 0%, #e55a1f 100%) !important;
}

/* Save Search Modal Styling */
.save-search-icon {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.notification-card {
    transition: all 0.3s ease;
}

.notification-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,103,37,0.1);
}

.form-check-input:checked {
    background-color: #25D366 !important;
    border-color: #25D366 !important;
}

/* Perfect Circle Button Fix */
.btn-four.rounded-circle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.btn-four.rounded-circle i {
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Elegant Left-Side Scrollbar for Apartment Listings */
.listing-container {
    scrollbar-width: thin;
    scrollbar-color: #ff6725 #f1f1f1;
    position: relative;
}

/* Webkit Scrollbar Styling (Chrome, Safari, Edge) */
.listing-container::-webkit-scrollbar {
    width: 4px;
    background: transparent;
}

.listing-container::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.2);
    border-radius: 6px;
    margin: 10px 0;
}

.listing-container::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff6725 0%, #e55a1f 100%);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 1px 3px rgba(255, 103, 37, 0.3);
    transition: all 0.3s ease;
}

.listing-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e55a1f 0%, #d44d1a 100%);
    transform: scaleX(1.3);
    box-shadow: 0 2px 6px rgba(255, 103, 37, 0.5);
}

.listing-container::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #d44d1a 0%, #c44015 100%);
}

/* Custom Scrollbar Position - Move to Left */
.listing-container {
    direction: rtl; /* This moves scrollbar to left */
}

.listing-container > * {
    direction: ltr; /* Reset content direction */
}

/* Location search indicator */
.location-search-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 103, 37, 0.95);
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
    animation: fadeInOut 0.3s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Map click indicator */
.map-click-indicator {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff6725;
    border: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 10px rgba(255,103,37,0.5);
    animation: mapClickPulse 1.5s ease-out;
    z-index: 1000;
    pointer-events: none;
}

@keyframes mapClickPulse {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

/* Clean Map Styling - Exactly like VerifyMyLand */
#apartment-map {
    height: 100%;
    width: 100%;
    z-index: 1;
}

/* Map Search Box - Exact VerifyMyLand Style */
.apartment-map-search-container {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 900;
    width: 350px;
}

.apartment-search-wrapper {
    position: relative;
    width: 100%;
}

.apartment-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 16px;
}

.apartment-map-search-input {
    width: 100%;
    padding: 14px 45px 14px 45px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    font-family: "Gordita", sans-serif;
    cursor: url(../dashboard/images/icon/type.svg),auto !important;
}

.apartment-map-search-input:focus {
    outline: none;
    box-shadow: 0 8px 30px rgba(255, 103, 37, 0.25);
    transform: translateY(-2px);
}

.apartment-clear-search-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    padding: 5px;
    transition: color 0.3s ease;
}

.apartment-clear-search-btn:hover {
    color: #ff6725;
}

.apartment-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
    max-height: 350px;
    overflow-y: auto;
    display: none;
    z-index: 1002;
}

.search-result-item {
    padding: 12px 20px;
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    font-family: "Gordita", sans-serif;
}

.search-result-item:hover {
    background-color: #fff5f0;
}

.search-result-item:last-child {
    border-bottom: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.search-result-item:first-child {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.result-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.result-subtitle {
    font-size: 12px;
    color: #666;
}

/* Remove Location Filter Button */
.remove-location-filter {
    background: rgba(255, 103, 37, 0.1) !important;
    border-color: #ff6725 !important;
    color: #ff6725 !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    padding: 6px 12px !important;
    transition: all 0.3s ease !important;
    border-width: 1px !important;
    font-family: "Gordita", sans-serif !important;
}

.remove-location-filter:hover {
    background: #ff6725 !important;
    color: white !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.3) !important;
}

/* Advanced Filter Modal Z-index Fixes */
#advanceFilterModal .modal-dialog {
    z-index: 1055 !important;
}

/* Custom cursors for input elements */
input[type="text"],
input[type="number"],
input[type="search"],
textarea {
    cursor: url(../dashboard/images/icon/type.svg),auto !important;
}

/* Custom cursor for all clickable elements */
a,
button,
.btn,
.nice-select,
.filter-tag,
.fav-btn,
select {
    cursor: url(../dashboard/images/icon/pointer.svg), auto !important;
}

#advanceFilterModal .nice-select {
    z-index: 1056 !important;
}

#advanceFilterModal .nice-select .list {
    z-index: 1057 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
}

/* Fix dropdown overlay issue in modal */
#advanceFilterModal .input-box-one {
    position: relative;
    z-index: auto;
}

#advanceFilterModal .nice-select.open + .input-box-one,
#advanceFilterModal .nice-select.open ~ .input-box-one {
    z-index: 1 !important;
}

/* Ensure proper stacking in modal rows */
#advanceFilterModal .row > .col-md-6:nth-child(1) .nice-select.open {
    z-index: 1058 !important;
}

#advanceFilterModal .row > .col-md-6:nth-child(2) .nice-select.open {
    z-index: 1057 !important;
}

/* Fix z-index issues for score filter dropdowns */
#advanceFilterModal .col-md-6 .nice-select.open {
    z-index: 1060 !important;
}

#advanceFilterModal .col-md-6 .nice-select .list {
    z-index: 1061 !important;
    position: absolute !important;
    background: white !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
}

/* Score indicators styling */
.score-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #666;
    font-size: 13px;
}

.score-indicator i {
    color: #ff6725;
    font-size: 16px;
}

/* Add visual feedback for slider values */
.score-slider-wrapper[data-score="high"] {
    background: linear-gradient(135deg, #fff5f0 0%, #ffe8df 100%);
    border: 1px solid rgba(255, 103, 37, 0.2);
}

.score-slider-wrapper[data-score="high"] .score-value {
    color: #28a745;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .map-controls {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .map-control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .price-tag {
        font-size: 10px;
        padding: 3px 6px;
    }

    .location-search-indicator {
        font-size: 14px;
        padding: 12px 20px;
    }
}


/* Search Location Marker Styles */
.search-location-marker {
    position: relative;
}

.search-location-marker .pin {
    width: 30px;
    height: 30px;
    background: #ff6725;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    transform: rotate(-45deg);
    top: -15px;
    left: -15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.search-location-marker .pin::after {
    content: '';
    width: 14px;
    height: 14px;
    background: white;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.search-location-marker .pulse {
    width: 60px;
    height: 60px;
    border: 3px solid #ff6725;
    border-radius: 50%;
    position: absolute;
    top: -30px;
    left: -30px;
    animation: pulse-ring 1.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.listing-type-filter{
    padding: 30px 40px 42px !important;
}

.search-wrapper-three{
    padding: 27px 10px !important;
}

/* Show on Map Button Styles */
.show-on-map {
    background: linear-gradient(135deg, #ff6725 0%, #e55a1f 100%);
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.show-on-map:hover {
    background: linear-gradient(135deg, #e55a1f 0%, #cc4f1a 100%);
    color: white;
    transform: scale(1.05);
}

/* Map Highlight Styles */
.highlight-marker {
    z-index: 1000;
}

.pulse-ring {
    width: 80px;
    height: 80px;
    border: 3px solid #ff6725;
    border-radius: 50%;
    position: absolute;
    top: -20px;
    left: -20px;
    animation: pulse-highlight 1.5s ease-out infinite;
}

.property-marker-highlight {
    background: #ff6725;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(255, 103, 37, 0.4);
    animation: bounce-highlight 0.6s ease-out;
}

.temp-highlight-marker .temp-pulse {
    width: 30px;
    height: 30px;
    background: #ff6725;
    border-radius: 50%;
    animation: pulse-temp 1s ease-out infinite;
}

@keyframes pulse-highlight {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes bounce-highlight {
    0% {
        transform: scale(0.3) translateY(-20px);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) translateY(-5px);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes pulse-temp {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Favourite Heart Icon Styles */
.fav-btn.favourited i {
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 900 !important; /* This makes it solid */
    color: #ff6725 !important;
}

.fav-btn:not(.favourited) i {
    font-family: "Font Awesome 6 Pro" !important;
    font-weight: 300 !important; /* This makes it light */
    color: #666 !important;
}

.fav-btn.favourited {
    border-color: #ff6725 !important;
}

.fav-btn.favourited:hover i {
    color: #e55a1f !important;
}

/* Card Footer Redesign */
.pl-footer {
    margin-top: auto !important;
    padding-top: 15px !important;
}

.price-section {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px !important;
}

.price-section .price {
    font-size: 18px !important;
    font-weight: 600 !important;
    text-align: left !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}
