.home-bg {
    background-image: url("/images/home-bg.png");
    background-size: cover;
    background-position: center;
}

.fa,
.fa-brands,
.fa-classic,
.fa-regular,
.fa-solid,
.far,
.fas,
.fab {
    font-family: "Font Awesome 6 Free" !important;
}

.header-search-container {
    font-size: 14px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 16px;
    padding-right: 4px;
    border-radius: 32px !important;
    border: 1px solid #9E9E9E;
}

.header-search-input {
    width: 300px;
    border: none;
    border-radius: 32px !important;
    color: #9E9E9E;
    font-weight:normal;
}

.header-search-btn {
    background-color: #4AA488;
    border: none;
    border-radius: 50px !important;
    color: #FFFFFF;
}

.header-search-input:focus {
    border: none;
    box-shadow: none;
}

.header-heart-icon {
    border-radius: 50px;
    border: 1px solid #000;
    padding: 1px 5px;
}

.search-card {
    /* height: calc(100vh - 82px); */
    margin: 0 auto;
}

.breadcrumbs {
    display: flex;
    align-items: center;
}

.breadcrumbs i {
    width: 18px;
    height: 18px;
}

.breadcrumbs span {
    font-size: 14px;
}

.breadcrumbs .fa-angle-right {
    padding: 0 5px;
}

a {
    color: #4AA488;
}

a:hover {
    color: #4AA488;
}

.score {
    padding: 8px;
    background-color: #f7f8f7;
    display: grid;
    gap: 8px;
    border-radius: 8px;
}

.score .title {
    font-size: 12px;
    line-height: 26px;
    color: #111111;
}

.score .value {
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
}

.secondary-score-section {
    position: relative;
}

.secondary-score-section .toggle-favorite {
    position: absolute;
    top: 2px;
    right: 0px;
}
.secondary-score-section .toggle-favorite .fa.fa-heart {
    color: #4aa488;
}
.secondary-score-section .toggle-favorite .far.fa-heart {
    color: #000;
}

/* User Profile Dropdown Styles */
.user-profile-dropdown {
    position: relative;
}
.dropdown-toggle::after {
    position: absolute;
    top: 50%;
    right: 2px;
}
/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .user-profile-dropdown .dropdown-menu {
        position: fixed;
        top: 80px;
        right: 10px;
        left: 10px;
        width: auto;
        margin-top: 0;
    }
    
    .user-avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

.user-avatar-btn {
    padding: 0;
    border: none;
    background: none;
    text-decoration: none;
}

.user-avatar-btn:focus,
.user-avatar-btn:active {
    box-shadow: none;
    outline: none;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4aa488, #6ED6B5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #4aa488;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(74, 164, 136, 0.3);
}

.user-profile-dropdown .dropdown-menu {
    min-width: 250px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 8px;
}

.user-profile-dropdown .dropdown-item {
    padding: 12px 20px;
    color: #333;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    background: none;
}

.user-profile-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #4aa488;
}

.user-profile-dropdown .dropdown-item.text-danger:hover {
    background-color: #fff5f5;
    color: #dc3545;
}

.user-profile-dropdown .dropdown-divider {
    margin: 8px 0;
    border-color: #e9ecef;
}

/* Profile Settings Styles */
.tier-card {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.tier-card:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.card {
    border: none;
    border-radius: 15px;
}

.card-header {
    border-radius: 15px 15px 0 0 !important;
}

.form-control:focus {
    border-color: #4aa488;
    box-shadow: 0 0 0 0.2rem rgba(74, 164, 136, 0.25);
}

.btn-primary {
    background-color: #4aa488;
    border-color: #4aa488;
}

.btn-primary:hover {
    background-color: #3d8a6f;
    border-color: #3d8a6f;
}

/* Referral Page Styles */
.referral-step {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    height: 100%;
}

.referral-step:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
}

.stat-card {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background-color: #e9ecef;
}

.secondary-score-section .score {
    padding: 8px;
    background-color: #f7f8f7;
    display: grid;
    gap: 8px;
    border-radius: 4px;
}

.secondary-score-section .score .title {
    font-size: 12px;
    line-height: 22px;
    color: #111111;
}

.secondary-score-section .score .value {
    font-size: 18px;
    line-height: 28px;
    font-weight: bold;
}

.secondary-score-section h6 {
    min-height: 56px;
}

.tab-content .tab-pane {
    padding: 16px 0px;
}

.tab-pane p {
    font-size: 16px;
    line-height: 26px;
    margin: 16px 0px;
}

.btn {
    padding: 8px 16px;
    font-size: 16px;
    line-height: 28px;
}

.btn:hover {
    border-color: transparent;
    background-color: #5aac4e;
    color: #fff;
}

.btn.dropdown-toggle {
    background-color: #fff;
    color: #111111;
    border-color: #ebebeb;
}

.card-btn {
    padding: 6px, 16px !important;
    font-size: 14px !important;
}

.badge.premium {
    background-color: #5a8d9e;
    font-size: 12px;
    font-weight: normal;
}

h4 {
    font-size: 30px !important;
}

h5 {
    font-size: 26px;
    line-height: 38px;
}

h6 {
    font-size: 20px;
    line-height: 28px;
}

hr {
    background-color: #5a8d9e;
    height: 2px;
    margin: 0px;
}

.price-filter {
    width: 386px;
}

.header-area a {
    text-decoration: none;
}

.btn.btn-primary {
    background-color: #4aa488;
    border: 0;
}

.toggle-buttons {
    padding: 4px;
    display: flex;
    border-radius: 20px;
    border: 1px solid #ebebeb;
}

.toggle-buttons .btn {
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    border-radius: 16px;
    padding: 4px 30px;
    color: #111111;
    border: none !important;
}

.toggle-buttons .btn.active-toggle {
    background-color: #5a8d9e;
    color: white;
}

.calculator h4 {
    font-size: 26px;
    font-weight: 600;
}

.calculator h6 {
    font-size: 18px;
    font-weight: 500;
}

.calculator-container {
    background: white;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 16px 0px;
    margin: 16px auto;
}

.calculator form {
    display: flex;
    border: 1px solid #ebebeb;
    padding: 19px 10px 0px 10px;
    border-radius: 8px;
    gap: 22px;
    flex-wrap: wrap;
}

.calculator form .form-left {
    width: 53%;
}

.calculator form .form-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 44%;
}

.trial-btn {
    border: 1px solid #4aa488;
    color: #111111;
    border-radius: 8px;
    font-weight: 400;
    display: flex;
    gap: 3px;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    padding: 4px 16px;
    background-color: white;
    transition: background-color 0.3s, color 0.3s;
}

.trial-btn svg {
    color: #4aa488;
}

.trial-btn:hover {
    background-color: #4cbba7;
    color: white !important;
}

.lock-icon {
    margin-right: 8px;
}

.tip-box {
    border: 1px solid #5a8d9e;
    border-radius: 8px;
    padding: 23px 24px;
}

.tip-box div {
    font-size: 18px;
    font-weight: 500;
}

.side-panel {
    background-color: #4985a3;
    color: white;
    border-radius: 8px;
    padding: 32px 30px;
}

.value-group {
    display: flex;
    justify-content: space-between;
}

.value-group span {
    font-size: 16px;
    font-weight: 400;
}

.value-group p {
    font-weight: 600;
}

.value-group__left,
.value-group__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-group__left p {
    font-size: 34px;
}

.value-group__right p {
    font-size: 24px;
}

.alert-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid #76a9c2;
    border-radius: 8px;
    padding: 16px;
}

.alert-group small {
    font-size: 12px;
    font-weight: 400;
}

.alert-group div {
    display: flex;
    gap: 10px;
}

.alert-group .btn {
    background-color: #8ccab5;
    border: unset;
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid #17a2b8;
}

.side-panel input {
    border-radius: 8px;
}

.form-label {
    font-weight: 400;
}

.percent-box {
    background-color: #eeeeee;
    border-radius: 0.25rem;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
}

.btn-help {
    background-color: #4aa488;
    border: none;
    border-radius: 8px;
    padding: 8px 24px;
    color: white;
    font-weight: 500;
}

.premium-badge {
    background-color: #5a8d9e;
    color: #ffffff;
    font-weight: 500;
    padding: 10px 8px;
    font-size: 12px;
    border-radius: 8px;
}

.suggested-price {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.price-alert-box input {
    width: 100%;
    margin-bottom: 10px;
}

.price-alert-box .btn {
    width: 100%;
}

.input_box {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.input_box small {
    width: 43%;
    font-size: 9px;
}

.premium-content {
    position: relative;
    filter: blur(2px);
}

.premium-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(90, 141, 158, 0.9);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
    z-index: 10;
    pointer-events: none;
}

.calculator .form-label {
    width: 50%;
    margin-bottom: 0;
    font-size: 16px;
}

.calculator .form-control {
    width: 50%;
}

.calculator form .form-control,
.calculator form .form-select {
    width: 50% !important;
}

.filter-sort-mobile,
.filter-sort-desktop {
    display: none;
}

.sort-dropdown{
    font-size: 14px !important;
}

.filter-btn {
    width: 100%;
    text-align: center;
    border: none;
    font-size: 14px !important;
    padding: 8px;
    border-radius: 8px;
}

.sort-btn{
    width: 100%;
    background-color: white;
    border: none;
   }

.sort-dropdown .sort-option.active {
    position: relative;
}

.sort-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #000 !important;
    font-style: none    !important;
}
.sort-dropdown .checkmark {
    color: #4AA488;
    font-size: 14px;
    margin-right: 1px;
    width: 14px;
    display: inline-block;
    text-align: center;
}

.bottom-sheet-overlay {
    position: fixed;
    left: 0; right: 0; bottom: 0; top: 0;
    background: rgba(0,0,0,0.7); /* Darker mask */
    z-index: 1050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.bottom-sheet {
    background: #fff;
    width: 100%;
    max-width: 420px;
    border-radius: 0; /* No rounded corners */
    box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
    padding: 16px 16px 16px 16px;
    animation: slideUp 0.3s;
}

.form-check-input:checked {
    background-color: #4AA488;
    border-color: #4AA488;
    /* width: 20px !important;
    height: 20px !important; */
}

.reset-filter, .show-filter{
    font-weight: 100 !important;
    height: 44px;
}

#filter-chips .badge {
    background: #F5F5F5;
    color: #222;
    border: 1px solid #E0E0E0;
    font-size: 15px;
    font-weight: inherit;
    margin-right: 6px;
    margin-bottom: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

#filter-chips .btn-close {
    font-size: 0.8em;
    margin-left: 6px;
}

.filter-chips-container{
    font-weight: inherit !important;
}

.comparison-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.comparison-count-box {
    padding:5px 0;
}

.comparison-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.comparison-scroll::-webkit-scrollbar {
    height: 6px;
}

.comparison-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.comparison-scroll::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.comparison-slot {
    width: 300px;
    height: 175px;
    background: white;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comparison-slot.filled {
    border: none;
    background: #f8fff9;
}

.comparison-slot.filled:hover {
    border-color: #dc3545;
}

.comparison-slot .project-info {
    text-align: center;
    padding: 10px;
    width: 100%;
}

.comparison-slot .project-name {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.2;
}

.comparison-slot .project-score {
    font-size: 12px;
    color: #666;
    margin-bottom: 3px;
}

.comparison-slot .project-transactions {
    font-size: 12px;
    color: #666;
}

.comparison-slot .remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    display: none;
}

.comparison-slot.filled .remove-btn {
    display: block;
}

.comparison-slot .add-text {
    color: #666;
    font-size: 12px;
    text-align: center;
}

.comparison-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    max-width: 20%;
}

.comparison-instruction {
    color: #111111;
    font-size: 14px;
}

#compareNowBtn {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    padding: 8px 16px;
    font-size: 14px;
    width: 100%;
    line-height: 24px !important;
}

#compareNowBtn:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

.qcompare-btn.selected {
    background-color: #dc3545;
    border-color: #dc3545;
}

.qcompare-btn.selected:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

#filter-chips .badge {
    background: #F5F5F5;
    color: #222;
    border: 1px solid #E0E0E0;
    font-size: 15px;
    font-weight: inherit;
    margin-right: 6px;
    margin-bottom: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

#filter-chips .btn-close {
    font-size: 0.8em;
    margin-left: 6px;
}

.filter-chips-container{
    font-weight: inherit !important;
}

html {
    scroll-behavior: smooth;
}

.compare-container {
    background: white;
    border-radius: 8px;
}

.compare-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.compare-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.header-buttons {
    display: flex;
    gap: 10px;
}

.header-btn {
    background: #4AA488;
    border: 1px solid #dee2e6;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.header-btn:hover {
    background: #e9ecef;
}

.btn-outline {
    display: block;
    background: #fff;
    color: #4aa488;
    border: 1px solid #4aa488;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.2s;
}

.btn-outline:hover {
    background: #4AA488;
    border: 1px solid #dee2e6;
    color: #ffffff;
}


.compare-header-btn {
    background: #E4E4E4;
    border: 1px solid #dee2e6;
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 
}

.compare-table th,
.compare-table td {
    border: 1px solid #e9ecef;
    padding: 15px;
    text-align: center;
    vertical-align: top;
    width: 16.66%;
}

.compare-table th:first-child,
.compare-table td:first-child {
    width: 200px; 
}

.compare-table th {
    font-weight: 600;
    position: relative;
}

.project-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    flex: 1;
    padding-right: 25px;
}

.remove-project {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin-left: 8px;
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.remove-project:hover {
    color: #dc3545;
}

.metric-row {
    background: white;
}

.metric-label {
    font-size: 14px !important;
    color: #495057;
    min-width: 200px;
    background: #EBEBEB;
}

.bedroom-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bedroom-btn {
    background: #5A8D9E;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.score-value {
    font-weight: bold;
    color: #495057;
}

.transaction-value {
    font-weight: bold;
    color: #495057;
}

.placeholder-value {
    color: #111111;
    font-weight: bold;
}

.metric-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 8px;
}

.metric-icon-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #6c757d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    position: relative;
}

.metric-icon-circle .red-overlay {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #dc3545;
    color: white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: bold;
}

/* Premium table styles */
.premium-container {
    background: white;
    border-radius: 8px;
    position: relative;
}

.premium-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.premium-badge {
    background: #5A8D9E;
    color: white;
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 12px;
}

.trial-btn {
    background: #FFFFFF;
    color: #111111;
    border: 1px solid #4AA488;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.trial-btn:hover {
    background: #5A8D9E;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; 
    font-size: 12px;
}

.premium-table th,
.premium-table td {
    border: 1px solid #e9ecef;
    padding: 15px;
    text-align: center;
    vertical-align: top;
    width: 16.66%; 
}

.premium-table th:first-child,
.premium-table td:first-child {
    width: 200px; 
}

.premium-table th {
    font-weight: 600;
}

.premium-table th .placeholder-value {
    color: #111111;
    font-size: 14px !important;
}

.premium-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 12px;
    border-top: 1px solid #e9ecef;
    border: 1px solid #4AA488;
    margin: 16px 0;
    border-radius: 8px;
    font-weight: 500;
}

.footer-text {
    color: #111111;
    font-size: 14px;
    line-height: 1.5;
}

.next-step-btn {
    background: #4AA488;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.next-step-btn:hover {
    background: #5A8D9E;
}

@keyframes slideUp {
    from { transform: translateY(100%);}
    to { transform: translateY(0);}
}
.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.close-bottom-sheet {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #333;
    cursor: pointer;
}
@media (max-width: 600px) {
    .bottom-sheet {
        max-width: 100vw;
        min-width: 100vw;
        left: 0;
        right: 0;
    }
}

@media (min-width: 1200px) {
    .col-5th {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media screen and (max-width: 768px) {
    .btn-group {
        width: 100%;
    }

    .btn-group .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        text-align: left;
    }

    .calculator form .form-left,
    .calculator form .form-right {
        width: 100%;
    }

    .calculator .form-label {
        font-size: 14px;
    }

    .calculator .form-label {
        width: 68%;
    }

    .calculator form .form-control,
    .calculator form .form-select {
        width: 31%;
    }

    .calculator form {
        gap: unset;
    }

    .tip-box {
        flex-direction: column;
        gap: 12px;
    }

    .side-panel {
        margin-top: 25px;
    }

    .alert-group div {
        flex-direction: column;
    }

    .alert-group div .form-control {
        width: 100%;
    }

    .calculator-container {
        border: unset;
    }

    .search-card {
        /* height: calc(100vh - 65px); */
        margin: 0 auto;
    }

}

@media (max-width: 576px) {
    .btn-group {
        width: 100%;
    }
    .btn-group .btn {
        width: 100%;
        text-align: left;
    }
    .card .fw-bold.p-2 {
        font-size: 1rem;
    }
    .card .score .value {
        font-size: 1rem;
    }
    .col-5th {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .search-card {
        min-height: 30vh !important;
    }
}
@media (min-width: 577px) and (max-width: 991px) {
    .col-5th {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (min-width: 992px) {
    .col-5th {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 768px) {
    .filter-sort-mobile {
        display: block !important;
    }
    .filter-sort-section {
        border: 2px solid #2196F3;
        border-radius: 4px;
        padding: 8px 4px;
        margin: 0 4px 16px 4px;
        background: #fff;
    }
    .filter-sort-section .dropdown .btn,
    .filter-sort-section .btn-light {
        font-size: 14px;
        min-height: 44px;
    }
    .filter-sort-section .btn-light {
        background: #f7f7f7;
    }
    .filter-sort-section .btn-light .fa-filter {
        font-size: 20px;
        display: block;
        margin-bottom: 2px;
    }
    .filter-sort-section .fw-bold {
        letter-spacing: 1px;
    }
}

/* Show desktop version only on >=375px */
@media (min-width: 769px) {
    .filter-sort-desktop {
        display: block !important;
    }
}

#range-from, #range-to {
    pointer-events: all;
    background: none;
}
#range-from::-webkit-slider-thumb {
    z-index: 2;
    position: relative;
}
#range-to::-webkit-slider-thumb {
    z-index: 3;
    position: relative;
}

.bottom-sheet-content .btn {
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
    padding: 8px 0;
}
.bottom-sheet-content .btn-outline-success {
    border: 1.5px solid #4AA488;
    color: #4AA488;
    background: #fff;
}
.bottom-sheet-content .btn-success {
    background: #4AA488;
    border: 1.5px solid #4AA488;
}

.asset-class-group .form-check:not(:last-child) {
    margin-bottom: 10px;
}

#filter-chips .badge {
    background: #F5F5F5;
    color: #222;
    border: 1px solid #E0E0E0;
    font-size: 15px;
    font-weight: normal;
    margin-right: 6px;
    margin-bottom: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
#filter-chips .btn-close {
    font-size: 0.8em;
    margin-left: 6px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #5A8D9E;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #5A8D9E;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input[type="range"]::-webkit-slider-track {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 4px;
}

input[type="range"]::-moz-range-track {
    background: transparent;
    height: 4px;
}


.slicknav_btn .fa-times {
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

.slicknav_btn .fa-times:hover {
    color: #4AA488;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #5A8D9E;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #5A8D9E;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

input[type="range"]::-webkit-slider-track {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 4px;
}

input[type="range"]::-moz-range-track {
    background: transparent;
    height: 4px;
}


.slicknav_btn .fa-times {
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

.slicknav_btn .fa-times:hover {
    color: #4AA488;
}

.btn.btn-outline-primary {
    background-color: #fff;
    color: #111111;
    border-color: #ebebeb;
}

.project-boarder {
    border: solid #ebebeb 1px;
    border-radius: 8px;
    padding: 16px;
}

.param-card {
    flex: 1;
    padding: 8px;
    display: grid;
    gap: 4px;
    border-radius: 8px;
    border: solid 1px #5A8D9E;
}
button.param-card {
    background-color: #FFF;
}
button.param-card .param-card .title  {
    color: #111111;
}

.param-card .title {
    font-size: 14px;
    line-height: 26px;
    color: #111111;
}

.param-card .value {
    font-size: 20px;
    line-height: 30px;
    font-weight: bold;
    color: #111111;
}

#autocomplete-list {
    background-color: white;
    border: 1px solid #FFFEEE;
    max-height: 200px;
    overflow-y: auto;
    top: 50px;
}

.mobile-menu-container {
    background: white;
    width: 100%;
    padding: 0 25px;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    overflow-y: auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.mobile-logo {
    color: #4aa488;
    font-size: 24px;
    font-weight: bold;
}

.mobile-header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.mobile-search-icon {
    border-radius: 50%;
    background: #4aa488;
    color: white;
    padding: 4px 8px;
}

.mobile-search-icon i {
    font-size: 15px;
    cursor: pointer;
}

.mobile-heart-icon {
    border-radius: 50%;
    color: #333333;
    padding: 3px 6px;
    border: 1px solid #333333;
}

.mobile-heart-icon i {
    font-size: 15px;
    cursor: pointer;
}

.mobile-close-icon i {
    font-size: 24px;
}

.mobile-close-btn {
    color: #666 !important;
    font-size: 18px;
}

.mobile-user-profile {
    display: flex;
    align-items: center;
    padding: 16px 0;
    gap: 15px;
    border-bottom: 1px solid #E4E4E4;
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4aa488;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.mobile-user-info {
    flex: 1;
}

.mobile-user-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}

.mobile-user-email {
    font-size: 14px;
    color: #666;
}

.mobile-nav-links {
    padding: 0;
}

.mobile-nav-item {
    display: block;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s;
}

.mobile-nav-item:hover {
    background-color: #f8f9fa;
    color: #4aa488;
    text-decoration: none;
}

.mobile-account-links {
    padding: 10px 0;
    border-top: 1px solid #E4E4E4;
    border-bottom: 1px solid #E4E4E4;
}

.mobile-account-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    transition: background-color 0.2s;
}

.mobile-account-item:hover {
    background-color: #f8f9fa;
    color: #4aa488;
    text-decoration: none;
}

.mobile-account-item i {
    width: 20px;
    margin-right: 15px;
    color: #666;
}

.mobile-logout-btn {
    cursor: pointer;
}

.mobile-cta-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
}

.mobile-login-btn {
    display: block;
    width: 100%;
    padding: 13px;
    background: #fff;
    color: #4aa488;
    border: 1px solid #4aa488;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.2s;
}

.mobile-cta-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: #4aa488;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    transition: background-color 0.2s;
}

.mobile-cta-btn:hover {
    background: #3d8a73;
    color: white;
    text-decoration: none;
}

#mobile-nav-actions:not([style*="display: none"]) ~ .slicknav_nav {
    display: none !important;
}

#mobile-nav-actions {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
}

.logo {
    padding: 23px 0;
}

@media (max-width: 480px) {
    .logo {
        padding: 0;
    }
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    pointer-events: auto;
}

.mobile-menu-overlay.active {
    display: block;
}

#mobile-nav-actions {
    z-index: 9999;
}

@media (min-width: 992px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Mobile Responsive Styles for Compare Page */
@media (max-width: 768px) {
    .compare-container {
        margin: 0;
        border-radius: 0;
        overflow: hidden;
    }
    
    .compare-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        align-items: flex-start;
    }
    
    .compare-title {
        font-size: 18px;
    }
    
    .header-buttons {
        flex-direction: column;
        width: 100%;
        gap: 8px;
    }
    
    .compare-header-btn {
        width: 100%;
        text-align: center;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* Horizontal scrollable table container */
    .compare-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #888 #f1f1f1;
    }
    
    .compare-table-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    
    .compare-table-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .compare-table-wrapper::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }
    
    .compare-table {
        min-width: 600px; /* Ensure minimum width for content */
        table-layout: auto;
    }
    
    .compare-table th,
    .compare-table td {
        min-width: 120px;
        max-width: 150px;
        padding: 10px 8px;
        font-size: 12px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .compare-table th:first-child,
    .compare-table td:first-child {
        min-width: 120px;
        max-width: 140px;
        position: sticky;
        left: 0;
        background: #f8f9fa;
        z-index: 10;
    }
    
    .project-header {
        position: relative;
        padding-right: 25px;
    }
    
    .project-title {
        font-size: 12px;
        line-height: 1.2;
        padding-right: 20px;
    }
    
    .remove-project {
        position: absolute;
        top: -5px;
        right: -5px;
        width: 18px;
        height: 18px;
        font-size: 14px;
    }
    
    .bedroom-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
    }
    
    .bedroom-btn {
        font-size: 10px;
        padding: 4px 6px;
        border-radius: 4px;
    }
    
    .metric-label {
        font-size: 11px;
        font-weight: 600;
        background: #EBEBEB;
    }
    
    .score-value,
    .transaction-value,
    .placeholder-value {
        font-size: 11px;
    }
    
    /* Premium section mobile styles */
    .premium-container {
        margin-top: 20px;
        overflow: hidden;
    }
    
    .premium-header {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        align-items: flex-start;
    }
    
    .premium-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .trial-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
    }
    
    /* Premium table horizontal scroll */
    .premium-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #888 #f1f1f1;
    }
    
    .premium-table-wrapper::-webkit-scrollbar {
        height: 6px;
    }
    
    .premium-table-wrapper::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .premium-table-wrapper::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 3px;
    }
    
    .premium-table {
        min-width: 600px;
        table-layout: auto;
        font-size: 11px;
    }
    
    .premium-table td {
        min-width: 100px;
        max-width: 120px;
        padding: 10px 8px;
        white-space: normal;
        word-wrap: break-word;
    }
    
    .premium-table td:first-child {
        min-width: 100px;
        max-width: 120px;
        position: sticky;
        left: 0;
        background: #f8f9fa;
        z-index: 10;
        font-weight: 600;
    }
    
    .premium-footer {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }
    
    .footer-text {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .next-step-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 13px;
    }
}

@keyframes slideUp {
    from { transform: translateY(100%);}
    to { transform: translateY(0);}
}
.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.close-bottom-sheet {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: #333;
    cursor: pointer;
}
@media (max-width: 600px) {
    .bottom-sheet {
        max-width: 100vw;
        min-width: 100vw;
        left: 0;
        right: 0;
    }
}

@media (min-width: 1200px) {
    .col-5th {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media screen and (max-width: 768px) {
    .btn-group {
        width: 100%;
    }

    .btn-group .btn {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        text-align: left;
    }

    .calculator form .form-left,
    .calculator form .form-right {
        width: 100%;
    }

    .calculator .form-label {
        font-size: 14px;
    }

    .calculator .form-label {
        width: 50%;
    }

    .calculator form .form-control,
    .calculator form .form-select {
        width: 50%;
    }

    .calculator form {
        gap: unset;
    }

    .tip-box {
        flex-direction: column;
        gap: 12px;
    }

    .side-panel {
        margin-top: 25px;
    }

    .alert-group div {
        flex-direction: column;
    }

    .alert-group div .form-control {
        width: 100%;
    }

    .calculator-container {
        border: unset;
    }

    .search-card {
        /* height: calc(100vh - 65px); */
        margin: 0 auto;
    }

}

@media (max-width: 576px) {
    .btn-group {
        width: 100%;
    }
    .btn-group .btn {
        width: 100%;
        text-align: left;
    }
    .card .fw-bold.p-2 {
        font-size: 1rem;
    }
    .card .score .value {
        font-size: 1rem;
    }
    .col-5th {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .search-card {
        min-height: 30vh !important;
    }
    .calculator-title >h4{
        font-size: 22px !important;
    }
    .toggle-buttons .btn{
        font-size: 14px !important;
    }
    .comparison-section{
        padding: 10px 10px !important;
    }
    .comparison-header{
        margin-bottom: 10px !important;
    }
    .comparison-container{
        flex-direction: column;
    }
    .comparison-container .comparison-actions{
        width: 100% !important;
        max-width: none !important;
    }

    .comparison-slot { 
        min-width: 224px !important;
        height: 182px !important;
    }
    .comparison-scroll{
        width: 380px !important;
    }
}
@media (min-width: 577px) and (max-width: 991px) {
    .col-5th {
        flex: 0 0 50%;
        max-width: 50%;
    }
}
@media (min-width: 992px) {
    .col-5th {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (max-width: 768px) {
    .filter-sort-mobile {
        display: block !important;
    }
    .filter-sort-section {
        border: 2px solid #2196F3;
        border-radius: 4px;
        padding: 8px 4px;
        margin: 0 4px 16px 4px;
        background: #fff;
    }
    .filter-sort-section .dropdown .btn,
    .filter-sort-section .btn-light {
        font-size: 14px;
        min-height: 44px;
    }
    .filter-sort-section .btn-light {
        background: #f7f7f7;
    }
    .filter-sort-section .btn-light .fa-filter {
        font-size: 20px;
        display: block;
        margin-bottom: 2px;
    }
    .filter-sort-section .fw-bold {
        letter-spacing: 1px;
    }
}

/* Show desktop version only on >=375px */
@media (min-width: 769px) {
    .filter-sort-desktop {
        display: block !important;
    }
}

/* Mobile Calculator Styles */
.mobile-calculator {
    border: 1px solid #EBEBEB;
    border-radius: 8px;
    padding: 10px;
}

.mobile-header {
    text-align: center;
    margin-bottom: 30px;
}

.mobile-title {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 20px;
}

.mobile-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-around;
    margin-bottom: 20px;
}

.mobile-premium-btn {
    background: #4AA488;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 14px;
}

.mobile-trial-btn {
    background: white;
    color: #111111;
    border: 1px solid #4AA488;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 400;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mobile-trial-btn svg {
    color: #4AA488;
}

.mobile-form-section {
    background: white;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #EBEBEB;
}

.mobile-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 24px;
}

.mobile-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.mobile-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
}

.mobile-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    appearance: none;
    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='currentColor' 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 12px center;
    background-size: 16px;
}

.mobile-note small {
    color: #6c757d;
    font-size: 12px;
}

.mobile-percent-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #EBEBEB;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    min-width: 95px;
    justify-content: space-between;
}

.mobile-price-section{
    background-color: #4985A3;
    border-radius:8px;
    padding: 10px;
    margin: 10px 0;
}

.mobile-suggested-price {
    color: white;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-price-left span,
.mobile-price-right span {
    font-size: 14px;
    font-weight: 400;
    display: block;
    margin-bottom: 4px;
}

.mobile-price-left p,
.mobile-price-right p {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
}

.mobile-price-left p {
    font-size: 30px !important;
}

.mobile-alert-section {
    color: white;
    border-radius: 12px;
    border: 1px solid #76A9C2;
    margin: 15px;
}

.mobile-alert-section h6 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.mobile-alert-section small {
    display: block;
    margin-bottom: 16px;
    opacity: 0.9;
}

.mobile-alert-input {
    display: flex;
    gap: 12px;
}

.mobile-alert-input .mobile-input {
    flex: 1;
}

.mobile-alert-btn {
    background: #8CCAB5;
    color: #111111;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    white-space: nowrap;
}

.mobile-help-section {
    background: white;
    border: 1px solid #5A8D9E;
    border-radius: 12px;
    padding: 24px;
}

.mobile-help-content p {
    font-size: 16px;
    font-weight: 500;
    color: #111111;
    margin-bottom: 16px;
}

.mobile-help-btn {
    background: #4AA488;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-size: 16px;
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mobile-buttons {
        align-items: center;
    }
    
    .mobile-premium-btn,
    .mobile-trial-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .mobile-alert-input {
        flex-direction: column;
    }
    
    .mobile-alert-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .compare-header {
        padding: 12px;
    }
    
    .compare-title {
        font-size: 16px;
    }
    
    .compare-header-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .compare-table {
        min-width: 500px;
    }
    
    .compare-table th,
    .compare-table td {
        min-width: 100px;
        max-width: 120px;
        padding: 8px 6px;
        font-size: 11px;
    }
    
    .compare-table th:first-child,
    .compare-table td:first-child {
        min-width: 100px;
        max-width: 110px;
    }
    
    .project-title {
        font-size: 11px;
    }
    
    .bedroom-btn {
        font-size: 9px;
        padding: 3px 5px;
    }
    
    .metric-label {
        font-size: 10px;
    }
    
    .score-value,
    .transaction-value,
    .placeholder-value {
        font-size: 10px;
    }
    
    .premium-header {
        padding: 12px;
    }
    
    .premium-badge {
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .trial-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .premium-table {
        min-width: 500px;
    }
    
    .premium-table td {
        min-width: 80px;
        max-width: 100px;
        padding: 8px 6px;
        font-size: 10px;
    }
    
    .premium-table td:first-child {
        min-width: 90px;
        max-width: 100px;
    }
    
    .premium-footer {
        padding: 12px;
    }
    
    .footer-text {
        font-size: 11px;
    }
    
    .next-step-btn {
        padding: 10px 12px;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .compare-table {
        min-width: 450px;
    }
    
    .compare-table th,
    .compare-table td {
        min-width: 90px;
        max-width: 110px;
        padding: 6px 4px;
        font-size: 10px;
    }
    
    .compare-table th:first-child,
    .compare-table td:first-child {
        min-width: 90px;
        max-width: 100px;
    }
    
    .project-title {
        font-size: 10px;
    }
    
    .bedroom-btn {
        font-size: 8px;
        padding: 2px 4px;
    }
    
    .premium-table {
        min-width: 450px;
    }
    
    .premium-table td {
        min-width: 70px;
        max-width: 90px;
        padding: 6px 4px;
        font-size: 9px;
    }
    
    .premium-table td:first-child {
        min-width: 80px;
        max-width: 90px;
    }
}
.trial-list {
    list-style-type: none; /* Remove default list style */
    padding-left: 0; /* Remove padding */
}

.trial-list li::before {
    content: "· "; /* Add hyphen before each list item */
}

.search-results {
    margin-top: 2rem;
}

.blurred-item {
    filter: blur(3px);
    opacity: 0.6;
    pointer-events: none;
}

.unlock-button {
    background: #28a745;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.unlock-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.community-name {
    color: #667eea;
    font-weight: 600;
}


        
.search-results {
    margin-top: 2rem;
}

.blurred-item {
    filter: blur(3px);
    opacity: 0.6;
    pointer-events: none;
}


.unlock-button {
    background: #28a745;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.unlock-button:hover {
    background: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.community-name {
    color: #667eea;
    font-weight: 600;
}

#autocomplete-list {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: -1px;
    overflow-x: hidden;
}

#autocomplete-list .list-group-item {
    border: none;
    border-bottom: 1px solid #f8f9fa;
    padding: 12px 20px;
    transition: all 0.2s ease;
}

#autocomplete-list .list-group-item:last-child {
    border-bottom: none;
}

#autocomplete-list .list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

#autocomplete-list .list-group-item i {
    color: #4aa488;
}

.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    background: #5a8d9e;
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 24px 16px 16px 32px;
    align-items: start;
}
.modal-title {
    color: #FFF;
    font-size: 24px;
    line-height: 36px;
}

.modal-body {
    padding: 24px 32px 40px 32px;
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-submit {
    background: #4aa488;
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
    .mobile-calculator {
        margin: 16px 0;
    }
    
.mobile-form-section,
.mobile-suggested-price,
.mobile-alert-section,
.mobile-help-section {
    padding: 20px;
}

.mobile-title {
    font-size: 20px;
}

.mobile-price-left p {
    font-size: 20px;
}

.mobile-price-right p {
    font-size: 18px;
}