/* Rentals Page Main Styles */

/* Profile Section */
.profile-section {
    position: relative;
    background: url('/media/rentals.png') no-repeat;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: 50% 50%;
    background-size: cover;
}

.profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #91bdf347 50%, #fff 100%);
}

.profile-section .container {
    z-index: 999;
}

/* Profile Content & Forms */
.profile-form .form-control {
    background: #F2F2F2;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 18px;
    height: 80px;
    box-shadow: none;
    color: #000;
    font-weight: 500;
}

.join-sec-content h1 {
    font-weight: 700 !important;
    font-size: 48px !important;
    line-height: 100%;
}

.profile-content {
    /* z-index: 9999; */
    position: relative;
    background: #fff;
    width: 90%;
    margin: -90px auto 0px;
    border-radius: 8px;
    box-shadow: 0px 20px 50px 0px #0000001F;
}

.profile-title {
    position: relative;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #D3D3D3;
}

.form-control:focus {
    box-shadow: 0 0 0 0.05rem rgb(8 8 8 / 25%) !important;
}

.form-select {
    background-color: #f7f7f7;
    border: none;
    border-radius: 10px;
    padding: 20px 15px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 18px;
    color: #000000b3;
    width: 30%;
    margin-bottom: 30px;
}

.form-select:focus {
    box-shadow: 0 0 0 0.05rem rgb(8 8 8 / 25%) !important;
}

.profile-form input::placeholder {
    font-family: Montserrat;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
}

.form-select option {
    background-color: #f7f7f7 !important;
    padding: 12px;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 18px;
    color: #000000b3;
    border: none !important;
    border-radius: 10px !important;
}

/* Custom dropdown styling for select elements that should look like dropdowns */
.profile-form select.form-control {
    background: #F2F2F2;
    border: none;
    border-radius: 10px;
    padding: 15px 45px 15px 15px; /* Add extra padding on right for icon */
    font-size: 18px;
    height: 80px;
    box-shadow: none;
    color: #000;
    font-weight: 500;
    font-family: Montserrat;
    appearance: none; /* Remove default dropdown arrow */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    cursor: pointer;
}

.profile-form select.form-control:focus {
    box-shadow: 0 0 0 0.05rem rgb(8 8 8 / 25%) !important;
    outline: none;
}

.profile-form select.form-control option {
    background-color: #F2F2F2 !important;
    color: #000 !important;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 18px;
    padding: 10px 15px;
}

/* Gender accordion */
.gender .accordion-body {
    padding: 50px 25px !important;
}

.gender-options {
    display: flex;
    gap: 3rem;
    padding-left: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    color: #1C2A3A;
    cursor: pointer;
    font-family: Montserrat;
    font-weight: 500;
    font-size: 20px;
    line-height: 14px;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 22px;
    height: 22px;
    border: 2px solid #0d1b2a;
    border-radius: 2px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
    background: #5598E9;
    border-color: #5598E9;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* CTA Section - Fixed styling */
#cta_sec {
    height: 385px !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 50px 15px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2 !important;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    object-position: 82% 36%;
}

.opn_container {
    max-width: 90%;
    margin: auto;
    position: relative;
    z-index: 2;
}

.cta_col {
    position: relative;
    z-index: 2;
}

.cta_col h3 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 25px;
    text-align: center;
    color: #fff;
}

.cta_col h1 {
    font-family: Montserrat;
    font-weight: 700;
    font-size: 40px;
    padding: 10px 0px;
    color: #fff;
}

.cta_col p {
    font-family: Montserrat;
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    margin-bottom: 0;
    color: #fff;
}

.cta-btn {
    font-family: Montserrat;
    background: #ACC6DD;
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    display: inline-block;
    margin-top: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: #fff !important;
    color: #000 !important;
}

/* Travel & Options */
.travel .accordion-body {
    min-height: 300px;
    padding: 50px 25px !important;
}

.option-row {
    display: flex;
    gap: 25px 45px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.search-col {
    padding: 40px;
}

/* Rent List & Tabs */
#rent-list {
    padding: 30px 15px 100px;
}

.tab-row {
    width: 90%;
    margin: auto;
}

.nav-tabs {
    border-bottom: none;
    justify-content: center;
}

.nav-tabs .nav-link {
    border: none;
    font-size: 24px;
    font-weight: 500;
    color: #000;
    position: relative;
    padding-bottom: 8px;
}

.nav-tabs .nav-link.active {
    color: #ACC6DD;
    background: none;
    font-weight: 700;
}

/* Underline effect */
.nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: #D9EAFF;
    border-radius: 2px;
}

.nav-tabs .nav-link.active::after {
    background: #ACC6DD;
}

.badge-tag {
    background: #BFDAA4 !important;
    color: #000 !important;
}

.location {
    color: #00000080 !important;
    font-weight: 500 !important;
}

.featured-col {
    padding: 40px 0px;
}

/* Map Styling */
.map-view {
    padding-top: 40px;
}

.map-view iframe {
    border-radius: 8px;
    overflow: hidden;
}

/* Map loading styles */
.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    display: none;
}

.map-loading .spinner-border {
    width: 3rem;
    height: 3rem;
    margin-bottom: 15px;
}

.map-loading p {
    margin: 0;
    font-weight: 500;
    color: #666;
}

#google-map {
    position: relative;
}

/* Search Buttons */
.search-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 15px;
}

.btn-each {
    width: 30%;
    min-width: 200px;
}

@media (max-width: 768px) {
    .btn-each {
        width: 45%;
        min-width: unset;
    }
}

.btn-each a,
.btn-each button {
    background: #fff;
    padding: 20px 45px;
    border: 2px solid #000;
    display: inline-block;
    border-radius: 8px;
    width: 100%;
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #000;
    cursor: pointer;
    text-decoration: none;
    font-family: Montserrat;
    transition: all 0.2s ease;
}

.btn-each a.btn-1,
.btn-each button.btn-1 {
    background: #5598E9 !important;
    border: 2px solid #5598E9 !important;
    color: #fff !important;
}

.btn-each a.btn-2,
.btn-each button.btn-2 {
    background: #000 !important;
    color: #fff !important;
}

.btn-each button.btn-clear {
    background: #ffffff !important;
    color: #000000 !important;
    border-color: #000000 !important;
}

.btn-each button.btn-clear:hover {
    background: #fff !important;
    border-color: #000 !important;
    opacity: 1;
    transform: translateY(-1px);
}

.btn-each button:hover,
.btn-each a:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.property-content a h5 {
    color: #000 !important;
}

/* Listings grid styling */
.listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
}

@media (max-width: 992px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    div.listing-card.featured-each {
        width: 95% !important;
    }
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: 1fr !important;
    }
    div.listing-card.featured-each {
        width: 100% !important;
    }
}

/* Card styles removed - now handled by unified listing-card.css */

.price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
}

.price span {
    font-size: 16px;
    font-weight: 500;
    color: #7f8c8d;
}

.heart-icon {
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.heart-icon:hover {
    background-color: rgba(245, 245, 245, 0.8);
}

.heart-icon i {
    font-size: 20px;
    transition: all 0.3s ease;
    line-height: 1;
}

/* Pulse animation for favorite heart */
@keyframes heartPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.heart-icon i.pulsing {
    animation: heartPulse 0.6s ease-in-out;
}

.heart-icon img {
    width: 24px;
    height: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c3e50 !important;
    text-decoration: none;
}

.card-title:hover {
    color: #5598E9 !important;
}

.location {
    color: #7f8c8d !important;
    font-size: 16px;
    margin-bottom: 15px;
    text-decoration: none;
}

.details {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: auto;
}

.det-icon {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.det-icon img {
    width: 16px;
    height: 16px;
}

.badge-tag {
    /* position: absolute; */
    /* top: 15px; */
    /* left: 15px; */
    /* background: #27ae60 !important; */
    color: #fff !important;
    padding: 6px 12px;
    /* border-radius: 20px; */
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 10;
}

.badge-tag img {
    width: 14px;
    height: 14px;
}

/* No results styling */
.no-results-container {
    background: #f8f9fa;
    border-radius: 12px;
    margin: 40px 0;
    padding: 60px 40px;
}

.no-results-icon {
    opacity: 0.6;
}

.no-results-container h4 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 15px;
}

.no-results-container p {
    font-size: 16px;
    line-height: 1.6;
}

.btn-primary {
    background: #5598E9;
    border-color: #5598E9;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #4A85D6;
    border-color: #4A85D6;
    transform: translateY(-1px);
}

/* Pagination styling - Modern & Minimal */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin: 50px 0 30px;
}

.pagination-wrapper .pagination {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    display: flex;
    align-items: center;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    margin: 0;
    border-radius: 10px;
    color: #6c757d;
    font-weight: 600;
    font-size: 14px;
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #5598E9;
    color: #5598E9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(85, 152, 233, 0.15);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #5598E9, #4A85D6);
    color: #fff;
    border-color: #5598E9;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(85, 152, 233, 0.3);
}

.pagination .page-item.active .page-link:hover {
    background: linear-gradient(135deg, #4A85D6, #3670C1);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(85, 152, 233, 0.4);
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
    border-color: #e9ecef;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination .page-item.disabled .page-link:hover {
    color: #adb5bd;
    background: #f8f9fa;
    border-color: #e9ecef;
    transform: none;
    box-shadow: none;
}

/* Previous/Next arrows styling */
.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    font-weight: 700;
    padding: 12px 20px;
}

.pagination .page-item:first-child .page-link:before {
    content: "←";
    margin-right: 4px;
}

.pagination .page-item:last-child .page-link:after {
    content: "→";
    margin-left: 4px;
}

/* Ellipsis styling */
.pagination .page-item .page-link[aria-label*="..."]:hover {
    background: transparent;
    border-color: #e9ecef;
    color: #6c757d;
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    cursor: default;
}

/* Mobile responsive pagination */
@media (max-width: 768px) {
    .pagination .page-link {
        padding: 10px 12px;
        min-width: 44px;
        height: 44px;
        font-size: 13px;
    }
    
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding: 10px 16px;
    }
    
    .pagination-wrapper {
        margin: 40px 0 20px;
    }
    
    .pagination {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .pagination .page-link {
        padding: 8px 10px;
        min-width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding: 8px 14px;
    }
    
    .pagination {
        gap: 4px;
    }
}

/* Free User Restrictions & Upgrade Overlays - Enhanced Design */

/* Main upgrade notice at top - Enhanced */
.free-user-notice {
    background: linear-gradient(135deg, #5598E9 0%, #ACC6DD 100%);
    color: #0b1f33;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(85, 152, 233, 0.25);
    border: 1px solid rgba(74, 138, 211, 0.3);
    position: relative;
    overflow: hidden;
    animation: slideInFromTop 0.6s ease-out;
}

.free-user-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(11,31,51,0.08), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.free-user-notice h4 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #0b1f33;
}

.free-user-notice h4 i {
    font-size: 24px;
    color: #BFDAA4;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
    animation: pulse 2s infinite;
}

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

.free-user-notice p {
    margin-bottom: 20px;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
    color: #0b1f33;
}

.free-user-notice .upgrade-btn {
    background: #BFDAA4;
    color: #0b1f33;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(191, 218, 164, 0.4);
    position: relative;
    overflow: hidden;
}

.free-user-notice .upgrade-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 198, 144, 0.3), transparent);
    transition: left 0.5s;
}

.free-user-notice .upgrade-btn:hover::before {
    left: 100%;
}

.free-user-notice .upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(191, 218, 164, 0.5);
    background: #A8C690;
    color: #0b1f33;
}

.free-user-notice .upgrade-btn i {
    font-size: 14px;
}

/* Availability section styling */
.availability-title {
    font-size: 28px;
    font-weight: 600;
    margin: 15px 0;
    color: #555;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.availability-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ACC6DD;
    border-radius: 3px;
}

/* Premium feature box styling */
.premium-feature-box {
    background: linear-gradient(135deg, #f6f9fc, #eef2f7);
    border: 1px dashed #c6d8e4;
    border-radius: 10px;
    padding: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.premium-feature-box:before {
    content: 'PREMIUM';
    position: absolute;
    top: 8px;
    right: -28px;
    background: #ffd700;
    color: #333;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 30px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.premium-feature-content {
    text-align: center;
    z-index: 2;
}

.premium-feature-content i {
    font-size: 24px;
    color: #ACC6DD;
    margin-bottom: 10px;
}

.premium-feature-content p {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.upgrade-link {
    background: linear-gradient(135deg, #5598E9, #ACC6DD);
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.upgrade-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(85, 152, 233, 0.3);
    color: #fff;
}

/* Date Range Modal Styling */
#dateRangeModal {
    z-index: 10050 !important;
}

#dateRangeModal .modal-dialog {
    z-index: 10051 !important;
}

/* Bootstrap modal backdrop fix */
.modal-backdrop {
    z-index: 10040 !important;
}

/* Ensure modal content appears above backdrop */
.modal.show {
    z-index: 10050 !important;
}

.modal-dialog {
    z-index: 10051 !important;
}

/* Additional specificity for our date range modal */
#dateRangeModal.modal.show {
    z-index: 10055 !important;
}

#dateRangeModal .modal-dialog {
    z-index: 10056 !important;
}

/* Ensure date range modal appears above profile content */
#dateRangeModal.modal {
    z-index: 10060 !important;
}

#dateRangeModal .modal-content {
    z-index: 10061 !important;
    position: relative;
}

.date-range-picker-container {
    padding: 15px 0;
}

.selected-date-range-display {
    margin-top: 20px;
}

/* Image overlay improvements */
.image-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(85, 152, 233, 0.9), rgba(172, 198, 221, 0.9));
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 12px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.blur-content {
    text-align: center;
    color: #fff;
    padding: 25px;
    max-width: 280px;
}

.blur-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.blur-content p {
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.95;
}

.upgrade-btn-small {
    background: linear-gradient(45deg, #fff, #f8f9fa);
    color: #5598E9;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upgrade-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: #4A85D6;
}

/* Enhanced content blur effects */
.content-blur {
    filter: blur(3px);
    opacity: 0.5;
    position: relative;
    transition: all 0.3s ease;
}

.content-blur::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(255,255,255,0.7) 50%, 
        rgba(255,255,255,0.95) 100%
    );
    pointer-events: none;
    border-radius: 8px;
}

/* Enhanced upgrade prompts */
.upgrade-prompt {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.4s ease-out;
}

/* Location upgrade prompt specific positioning - Complete override */
.location-container {
    position: relative;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: visible;
    padding: 8px;
    background: rgba(248, 249, 250, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.upgrade-prompt.location-upgrade {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    animation: fadeInUp 0.4s ease-out;
}

/* Even more specific override for location upgrade prompt */
.location-container .upgrade-prompt.location-upgrade,
.property-content .location-container .upgrade-prompt.location-upgrade,
div.location-container div.upgrade-prompt.location-upgrade {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 8px 0 0 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;
}

/* ULTIMATE OVERRIDE - Maximum CSS Specificity for Location Upgrade Prompt */
body section#rent-list .container .featured-each .each-box .property-content .location-container .upgrade-prompt.location-upgrade,
body section#rent-list div.container div.featured-each div.each-box div.property-content div.location-container div.upgrade-prompt.location-upgrade,
html body section#rent-list .listings-grid .featured-each .property-content .location-container .upgrade-prompt.location-upgrade {
    position: static !important;
    bottom: unset !important;
    right: unset !important;
    left: unset !important;
    top: unset !important;
    z-index: initial !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 8px 0 0 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;
    inset: unset !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upgrade-prompt .upgrade-text {
    background: linear-gradient(135deg, #5598E9, #ACC6DD);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(85, 152, 233, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upgrade-btn-mini {
    background: linear-gradient(135deg, #FED1BE, #FDBC9D);
    color: #0b1f33;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(254, 209, 190, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.upgrade-btn-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 209, 190, 0.5);
    background: linear-gradient(135deg, #FDBC9D, #FCAB89);
}

.upgrade-btn-mini i {
    font-size: 9px;
}

/* Enhanced container styles */
.location-container,
.listing-description,
.amenities-preview {
    position: relative;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.listing-description {
    margin: 12px 0;
}

.listing-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    padding: 8px;
    border-radius: 6px;
}

.amenities-preview {
    margin-top: 10px;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 8px;
}

.amenity-tag {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.amenity-tag.more {
    background: linear-gradient(135deg, #5598E9, #ACC6DD);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 8px rgba(85, 152, 233, 0.3);
}

/* Save Search Modal Styling */
.save-search-modal {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 99999;
}

.modal-backdrop {
    z-index: 99998;
}

#saveSearchModal {
    z-index: 99999;
}

.save-search-modal .modal-header {
    background: linear-gradient(135deg, #5598E9, #4A85D6);
    color: #fff;
    border-bottom: none;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
}

.save-search-modal .modal-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-search-modal .modal-title i {
    font-size: 16px;
}


.save-search-modal .modal-body {
    padding: 25px;
}

.save-search-content .modal-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.save-search-modal .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.save-search-modal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.save-search-modal .form-control:focus {
    border-color: #5598E9;
    box-shadow: 0 0 0 0.1rem rgba(85, 152, 233, 0.25);
}

.save-search-modal .form-help {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.save-search-modal .modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    justify-content: space-between;
}

.save-search-modal .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.save-search-modal .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.save-search-modal .btn-secondary:hover {
    background: #545b62;
    border-color: #545b62;
    transform: translateY(-1px);
}

.save-search-modal .btn-primary {
    background: #5598E9;
    border-color: #5598E9;
}

.save-search-modal .btn-primary:hover {
    background: #4A85D6;
    border-color: #4A85D6;
    transform: translateY(-1px);
}

.save-search-modal .btn-primary:disabled {
    background: #bdc3c7;
    border-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

/* Screen reader only text */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Improved focus states for accessibility */
.upgrade-btn-small:focus,
.upgrade-btn-mini:focus,
.upgrade-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .content-blur {
        filter: none;
        opacity: 1;
        border: 2px solid #000;
    }
    
    .image-blur-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .upgrade-btn-small,
    .upgrade-btn-mini {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .image-blur-overlay,
    .upgrade-prompt,
    .free-user-notice {
        animation: none;
    }
    
    .upgrade-btn-small:hover,
    .upgrade-btn-mini:hover,
    .upgrade-link:hover {
        transform: none;
    }
}

/* Image Gallery Styles */
.property-image-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-item {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.image-item.active {
    display: block;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Image navigation dots */
.image-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot-more {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    background: rgba(85, 152, 233, 0.8);
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

h5.filter-title {
    font-size: 22px;
    font-weight: 600;
    margin: 15px 0;
    color: #555;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

/* Responsive Design */
@media(max-width:1024px) {
    .profile-section {
        height: 510px;
    }
}

@media(max-width:991px) {
    .profile-con , .profile-content {
        max-width: 100% !important;
    }
    .search-col {
        padding: 20px;
    }
}

@media(max-width:820px) {
    .profile-content {
        width: 100%;
    }
    .profile-form input::placeholder {
        font-size: 14px !important;
    }
}

@media(max-width:768px) {
    .profile-section {
        height: 400px !important;
    }
    .form-select {
        width: auto;
    }
    
    .free-user-notice {
        padding: 20px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .free-user-notice h4 {
        font-size: 20px;
    }
    
    .free-user-notice p {
        font-size: 15px;
    }
    
    .free-user-notice .upgrade-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .blur-content {
        padding: 20px;
        max-width: 240px;
    }
    
    .blur-content i {
        font-size: 2rem;
    }
    
    .blur-content p {
        font-size: 14px;
    }
    
    .upgrade-btn-small {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .upgrade-prompt {
        position: static;
        justify-content: center;
        margin-top: 10px;
        flex-direction: column;
        gap: 6px;
    }
    
    .amenities-list {
        justify-content: center;
    }
    
    .listing-description p {
        font-size: 13px;
    }
}

@media(max-width:576px) {
    .search-btns {
        flex-direction: column;
        align-items: center;
    }
    .btn-each {
        width: 60%;
    }
    .btn-each a {
        font-size: 16px;
    }
}

@media(max-width:480px) {
    .profile-section {
        height: 320px !important;
        background-position: 70% center !important;
    }
    .join-sec-content h1 {
        font-size: 40px !important;
    }
    .form-select {
        width: 80% !important;
    }
    .checkbox-label {
        font-size: 17px;
        line-height: 25px !important;
        white-space: unset !important;
    }
    .btn-each {
        width: 100% !important;
    }
    
    .free-user-notice {
        padding: 18px;
        margin: 0 10px 20px;
    }
    
    .free-user-notice h4 {
        font-size: 18px;
        flex-direction: column;
        gap: 5px;
    }
    
    .free-user-notice p {
        font-size: 14px;
    }
    
    .blur-content {
        padding: 15px;
        max-width: 200px;
    }
    
    .upgrade-prompt {
        margin-top: 8px;
    }
    
    .save-search-modal .modal-dialog {
        margin: 10px;
    }
    
    .save-search-modal .modal-header,
    .save-search-modal .modal-body,
    .save-search-modal .modal-footer {
        padding: 15px 20px;
    }
    
    .save-search-modal .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .save-search-modal .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    .rent-con {
        padding: 0px;
        margin: 0px;
    }
    .tab-row .col-12 {
        /* padding-left: 0px; */
        margin-top: 0px !important;
    }
    .tab-row {
        width: 100%;
    }
    .nav-tabs .nav-link {
        font-size: 20px !important;
    }
}
/* Free User Restrictions & Upgrade Overlays - Enhanced Design */

/* Main upgrade notice at top - Enhanced */
.free-user-notice {
    background: linear-gradient(135deg, #5598E9 0%, #ACC6DD 100%);
    color: #fff;
    padding: 25px 30px;
    margin-bottom: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(85, 152, 233, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideInFromTop 0.6s ease-out;
}

.free-user-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.free-user-notice h4 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.free-user-notice h4 i {
    font-size: 24px;
    color: #ffd700;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    animation: pulse 2s infinite;
}

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

.free-user-notice p {
    margin-bottom: 20px;
    font-size: 16px;
    opacity: 0.95;
    line-height: 1.5;
    font-weight: 400;
}

.free-user-notice .upgrade-btn {
    background: linear-gradient(45deg, #fff, #f8f9fa);
    color: #5598E9;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.free-user-notice .upgrade-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(85, 152, 233, 0.1), transparent);
    transition: left 0.5s;
}

.free-user-notice .upgrade-btn:hover::before {
    left: 100%;
}

.free-user-notice .upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    color: #4A85D6;
}

.free-user-notice .upgrade-btn i {
	font-size: 14px;
}

/* Availability section styling */
.availability-title {
    font-size: 28px;
    font-weight: 600;
    margin: 15px 0;
    color: #555;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.availability-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #ACC6DD;
    border-radius: 3px;
}

/* Premium feature box styling */
.premium-feature-box {
    background: linear-gradient(135deg, #f6f9fc, #eef2f7);
    border: 1px dashed #c6d8e4;
    border-radius: 10px;
    padding: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.premium-feature-box:before {
    content: 'PREMIUM';
    position: absolute;
    top: 8px;
    right: -28px;
    background: #ffd700;
    color: #333;
    font-size: 8px;
    font-weight: bold;
    padding: 2px 30px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.premium-feature-content {
    text-align: center;
    z-index: 2;
}

.premium-feature-content i {
    font-size: 24px;
    color: #ACC6DD;
    margin-bottom: 10px;
}

.premium-feature-content p {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.upgrade-link {
    background: linear-gradient(135deg, #5598E9, #ACC6DD);
    color: #fff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.upgrade-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(85, 152, 233, 0.3);
    color: #fff;
}

/* Date Range Modal Styling */
#dateRangeModal {
    z-index: 10050 !important;
}

#dateRangeModal .modal-dialog {
    z-index: 10051 !important;
}

/* Bootstrap modal backdrop fix */
.modal-backdrop {
    z-index: 10040 !important;
}

/* Ensure modal content appears above backdrop */
.modal.show {
    z-index: 10050 !important;
}

.modal-dialog {
    z-index: 10051 !important;
}

/* Additional specificity for our date range modal */
#dateRangeModal.modal.show {
    z-index: 10055 !important;
}

#dateRangeModal .modal-dialog {
    z-index: 10056 !important;
}

/* Ensure date range modal appears above profile content */
#dateRangeModal.modal {
    z-index: 10060 !important;
}

#dateRangeModal .modal-content {
    z-index: 10061 !important;
    position: relative;
}

.date-range-picker-container {
    padding: 15px 0;
}

.selected-date-range-display {
    margin-top: 20px;
}

/* Image overlay improvements */
.image-blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(85, 152, 233, 0.9), rgba(172, 198, 221, 0.9));
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 12px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.blur-content {
    text-align: center;
    color: #fff;
    padding: 25px;
    max-width: 280px;
}

.blur-content i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.blur-content p {
    font-size: 15px;
    margin-bottom: 18px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.95;
}

.upgrade-btn-small {
    background: linear-gradient(45deg, #fff, #f8f9fa);
    color: #5598E9;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upgrade-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: #4A85D6;
}

/* Enhanced content blur effects */
.content-blur {
    filter: blur(3px);
    opacity: 0.5;
    position: relative;
    transition: all 0.3s ease;
}

.content-blur::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(255,255,255,0.7) 50%, 
        rgba(255,255,255,0.95) 100%
    );
    pointer-events: none;
    border-radius: 8px;
}

/* Enhanced upgrade prompts */
.upgrade-prompt {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 15;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.4s ease-out;
}

/* Location upgrade prompt specific positioning - Complete override */
.location-container {
    position: relative;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: visible;
    padding: 8px;
    background: rgba(248, 249, 250, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.upgrade-prompt.location-upgrade {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    animation: fadeInUp 0.4s ease-out;
}

/* Even more specific override for location upgrade prompt */
.location-container .upgrade-prompt.location-upgrade,
.property-content .location-container .upgrade-prompt.location-upgrade,
div.location-container div.upgrade-prompt.location-upgrade {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    top: auto !important;
    z-index: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 8px 0 0 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;
}

/* ULTIMATE OVERRIDE - Maximum CSS Specificity for Location Upgrade Prompt */
body section#rent-list .container .featured-each .each-box .property-content .location-container .upgrade-prompt.location-upgrade,
body section#rent-list div.container div.featured-each div.each-box div.property-content div.location-container div.upgrade-prompt.location-upgrade,
html body section#rent-list .listings-grid .featured-each .property-content .location-container .upgrade-prompt.location-upgrade {
    position: static !important;
    bottom: unset !important;
    right: unset !important;
    left: unset !important;
    top: unset !important;
    z-index: initial !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 8px 0 0 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    float: none !important;
    clear: both !important;
    inset: unset !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.upgrade-prompt .upgrade-text {
    background: linear-gradient(135deg, #5598E9, #ACC6DD);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(85, 152, 233, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upgrade-btn-mini {
    background: linear-gradient(135deg, #FED1BE, #FDBC9D);
    color: #0b1f33;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(254, 209, 190, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.upgrade-btn-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(254, 209, 190, 0.5);
    background: linear-gradient(135deg, #FDBC9D, #FCAB89);
}

.upgrade-btn-mini i {
    font-size: 9px;
}

/* Enhanced container styles */
.location-container,
.listing-description,
.amenities-preview {
    position: relative;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.listing-description {
    margin: 12px 0;
}

.listing-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0;
    padding: 8px;
    border-radius: 6px;
}

.amenities-preview {
    margin-top: 10px;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    padding: 8px;
    border-radius: 8px;
}

.amenity-tag {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.amenity-tag.more {
    background: linear-gradient(135deg, #5598E9, #ACC6DD);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 3px 8px rgba(85, 152, 233, 0.3);
}

/* Responsive improvements */
@media(max-width:768px) {
    .free-user-notice {
        padding: 20px;
        margin-bottom: 25px;
        border-radius: 12px;
    }
    
    .free-user-notice h4 {
        font-size: 20px;
    }
    
    .free-user-notice p {
        font-size: 15px;
    }
    
    .free-user-notice .upgrade-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .blur-content {
        padding: 20px;
        max-width: 240px;
    }
    
    .blur-content i {
        font-size: 2rem;
    }
    
    .blur-content p {
        font-size: 14px;
    }
    
    .upgrade-btn-small {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .upgrade-prompt {
        position: static;
        justify-content: center;
        margin-top: 10px;
        flex-direction: column;
        gap: 6px;
    }
    
    .amenities-list {
        justify-content: center;
    }
    
    .listing-description p {
        font-size: 13px;
    }
}

@media(max-width:480px) {
    .free-user-notice {
        padding: 10px;
        margin: 0 0px 20px;
    }

    .featured-col{
        padding:10px 0 !important;
    }
    
    .free-user-notice h4 {
        font-size: 18px;
        flex-direction: column;
        gap: 5px;
    }
    
    .free-user-notice p {
        font-size: 14px;
    }
    
    .blur-content {
        padding: 15px;
        max-width: 200px;
    }
    
    .upgrade-prompt {
        margin-top: 8px;
    }
}

/* Save Search Modal Styling */
.save-search-modal {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 99999;
}

.modal-backdrop {
    z-index: 99998;
}

#saveSearchModal {
    z-index: 99999;
}

.save-search-modal .modal-header {
    background: linear-gradient(135deg, #5598E9, #4A85D6);
    color: #fff;
    border-bottom: none;
    padding: 20px 25px;
    border-radius: 12px 12px 0 0;
}

.save-search-modal .modal-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-search-modal .modal-title i {
    font-size: 16px;
}


.save-search-modal .modal-body {
    padding: 25px;
}

.save-search-content .modal-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.save-search-modal .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.save-search-modal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    transition: border-color 0.2s ease;
}

.save-search-modal .form-control:focus {
    border-color: #5598E9;
    box-shadow: 0 0 0 0.1rem rgba(85, 152, 233, 0.25);
}

.save-search-modal .form-help {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

.save-search-modal .modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e9ecef;
    justify-content: space-between;
}

.save-search-modal .btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.save-search-modal .btn-close {
    opacity: 0.8 !important;
    background: transparent;
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
}

.save-search-modal .btn-close:focus {
    box-shadow: none !important;
}

.save-search-modal .btn-close:hover {
    color: #fff !important;
}

.btn-close:hover {
    background: none !important;
}

.save-search-modal .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: #fff;
}

.save-search-modal .btn-secondary:hover {
    background: #545b62;
    border-color: #545b62;
    transform: translateY(-1px);
}

.save-search-modal .btn-primary {
    background: #5598E9;
    border-color: #5598E9;
}

.save-search-modal .btn-primary:hover {
    background: #4A85D6;
    border-color: #4A85D6;
    transform: translateY(-1px);
}

.save-search-modal .btn-primary:disabled {
    background: #bdc3c7;
    border-color: #bdc3c7;
    cursor: not-allowed;
    transform: none;
}

.pagination-wrapper div p.text-sm {
    margin-right: 12px !important;
}

@media(max-width:480px) {
    .save-search-modal .modal-dialog {
        margin: 10px;
    }
    
    .save-search-modal .modal-header,
    .save-search-modal .modal-body,
    .save-search-modal .modal-footer {
        padding: 15px 20px;
    }
    
    .save-search-modal .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .save-search-modal .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Screen reader only text */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Improved focus states for accessibility */
.upgrade-btn-small:focus,
.upgrade-btn-mini:focus,
.upgrade-link:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .content-blur {
        filter: none;
        opacity: 1;
        border: 2px solid #000;
    }
    
    .image-blur-overlay {
        background: rgba(0, 0, 0, 0.9);
    }
    
    .upgrade-btn-small,
    .upgrade-btn-mini {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .image-blur-overlay,
    .upgrade-prompt,
    .free-user-notice {
        animation: none;
    }
    
    .upgrade-btn-small:hover,
    .upgrade-btn-mini:hover,
    .upgrade-link:hover {
        transform: none;
    }
}

/* Image Gallery Styles */
.property-image-gallery {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-item {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.image-item.active {
    display: block;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

/* Image navigation dots */
.image-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.dot-more {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.8);
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* ========================================
   SORTING DROPDOWN STYLES
   ======================================== */

/* Force override Bootstrap styles for perfect alignment */
.listing-controls .d-flex .sort-dropdown .form-select.sort-select {
    box-sizing: border-box !important;
    vertical-align: middle !important;
    top: 0 !important;
    transform: none !important;
}

/* Listing controls container */
.listing-controls {
    margin-bottom: 30px;
    padding: 0;
}

.listing-controls .d-flex {
    align-items: center;
    gap: 20px;
}

/* Results count styling */
.results-count {
    flex: 1;
}

.results-count span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Sort dropdown container */
.sort-dropdown {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 10px;
    height: 40px;
}

.sort-dropdown::before {
    content: "Sort by:";
    font-size: 14px;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    line-height: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* Sort select styling - Override Bootstrap form-select */
.form-select.sort-select {
    background: #fff !important;
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 0 35px 0 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #495057 !important;
    min-width: 180px !important;
    height: 40px !important;
    line-height: 36px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px !important;
    vertical-align: top !important;
    display: inline-block !important;
    margin: 0 !important;
}

.form-select.sort-select:hover {
    border-color: #bdc3c7 !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08) !important;
}

.form-select.sort-select:focus {
    border-color: #5598E9 !important;
    box-shadow: 0 0 0 3px rgba(85, 152, 233, 0.1) !important;
    outline: none !important;
}

/* Option styling */
.form-select.sort-select option {
    background: #fff !important;
    color: #495057 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 10px 12px !important;
    border: none !important;
}

.form-select.sort-select option:checked {
    background: #5598E9 !important;
    color: #fff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .listing-controls .d-flex {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .results-count {
        text-align: center;
        order: 2;
    }
    
    .sort-dropdown {
        justify-content: center;
        order: 1;
    }
    
    .sort-dropdown {
        height: 40px;
    }
    
    .sort-dropdown::before {
        font-size: 13px;
        line-height: 40px;
        height: 40px;
    }
    
    .form-select.sort-select {
        min-width: 160px !important;
        font-size: 13px !important;
        height: 40px !important;
        line-height: 36px !important;
        padding: 0 30px 0 10px !important;
    }
}

@media (max-width: 576px) {
    .listing-controls {
        margin-bottom: 20px;
    }
    
    .listing-controls .d-flex {
        gap: 12px;
    }
    
    .sort-dropdown {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sort-dropdown {
        height: 36px;
        flex-direction: column;
    }
    
    .sort-dropdown::before {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
        font-size: 12px;
        line-height: 20px;
        height: auto;
    }
    
    .form-select.sort-select {
        min-width: 140px !important;
        font-size: 12px !important;
        height: 36px !important;
        line-height: 32px !important;
        padding: 0 30px 0 10px !important;
    }
    
    .results-count span {
        font-size: 13px;
    }
}

/* nim 19-9-2025 */

@media(max-width:1024px) {
    .amenities-options{
        gap: 0px 20px !important; 
    }
}

@media  (max-width: 1199px){
    label.checkbox-label {
        white-space: nowrap;
    }

    .amenities-options{
        gap: 0px 20px !important; 
    }
}

@media (max-width: 768px) {
    .amenities-options{
        gap: 0px 15px !important; 
    }
    .upgrade-swipe-overlay{
        z-index:0 !important;
    }
    .upgrade-swipe-content {
        max-width: 100% !important;
    }
    #rent-list .featured-each .property-image 
    .property-image-gallery .image-dots{
        z-index:0 !important;
    }
}

@media (max-width: 576px) {
    .profile-form select.form-control {
        font-size: 16px;
    }

    .option-row{
        margin-bottom:25px !important;
    }

    .sort-dropdown::before{
        width:25% !important;
        margin-bottom:0 !important;
    }

    .cta_col p{
        font-size: 15px !important;
    }

    .cta_col h1{
        font-size: 30px !important;
    }

    .cta_col h3{
        font-size: 25px !important;
    }

    body #rent-list .featured-each .property-image-gallery .image-dots{
        bottom:22px !important;
    }
}

.checkbox-label{
    line-height:20px !important;
}

#rent-list {
    padding: 30px 15px 20px !important;
}

.dot-more{
    background: #5598e9 !important;
}

.premium-feature-box:before{
    top:16px !important;
    right: -33px !important;

}

.save-search-modal .modal-header{
    background: #5598E9;
}

.save-search-modal .btn-primary:hover {
    background: #ACC6DD !important;
    border-color: #ACC6DD !important;
}

.save-search-modal .btn-secondary {
    background: #000 !important;
}

#advancedDateBtn{
    height:80px !important;
}

/* Select Specific date button pop-up */
#dateRangeModal .modal-content {
    border-radius: 12px !important;
}

#dateRangeModal .modal-header {
    background: #5598E9 !important;
    color: #fff !important;
    border-bottom: none !important;
    padding: 20px 25px !important;
    border-radius: 12px 12px 0 0 !important;
}

h5#dateRangeModalLabel {
    font-size: 18px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

#dateRangeModal .btn-close {
    opacity: 0.8 !important;
    background: transparent;
    position: absolute;
    right: 20px;
    top: 20px;
}

#dateRangeModal .btn-close:focus {
    box-shadow: none !important;
}

.date-range-picker-container .form-label {
    font-weight: 700 !important;
}

.selected-date-range-display .alert-light , 
.selected-date-range-display .alert-info {
    font-size: 14px !important;
}

button#clearDateRange {
    font-size: 14px !important;
    background: #000 !important;
    padding: 12px 24px !important;
}

button#applyDateRange {
    font-size: 14px !important;
    padding: 12px 24px !important;
}

@media(max-width:320px){
    .selected-date-range-display .modal-footer{
        flex-wrap: nowrap !important;
    }

    button#clearDateRange {
        padding: 12px 15px !important;
    }
}
/* roommates page*/

.roommates-grid{
    gap: 20px !important;
}
@media (max-width: 991px) {
    .search-col {
        padding: 30px !important;
    }
    .option-row{
        flex-direction:column !important;
    }
}

@media (max-width: 767px) {
    .btn-each button{
        padding: 20px 0px !important;
        font-size: 16px !important;
    }

    .option-row{
        justify-content: left !important;
    }
        
}

.upgrade-swipe-content{
    max-width: 100% !important;
}

.upgrade-swipe-overlay{
    z-index:0 !important
}

#rent-list .featured-each .property-image 
.property-image-gallery .image-dots{
    z-index:0 !important;
}
.profile-image-indicator{
    z-index:0 !important;
}

/* Property Type Validation Shake Animation */
@keyframes shake {
    0%, 20%, 40%, 60%, 80%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Validation message styling */
.validation-message {
    animation: slideDown 0.3s ease-out;
    margin-bottom: 20px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
