/* Searcher Dashboard Styles */

/* Search Hero Section */
.search-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a5d3a 100%);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 70px;
}

.search-hero h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.search-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Quick Search Bar */
.quick-search-bar {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    gap: 0.75rem;
}

.search-input-group i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.search-input-group input {
    flex: 1;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-type-toggle {
    display: flex;
    background: #f5f5f5;
    border-radius: 25px;
    padding: 0.25rem;
}

.type-btn {
    padding: 0.6rem 1.25rem;
    border: none;
    background: transparent;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s;
}

.type-btn.active {
    background: var(--primary-color);
    color: white;
}

.type-btn:hover:not(.active) {
    background: #e0e0e0;
}

.quick-search-bar .btn {
    border-radius: 25px;
    padding: 0.85rem 2rem;
}

/* Main Content Layout */
.searcher-dashboard-container {
    min-height: 100vh;
}

.search-content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
}

.filters-header h3 {
    margin: 0;
    color: var(--dark-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear-filters {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: underline;
}

.btn-clear-filters:hover {
    color: #1a5d3a;
}

/* Filter Sections */
.filter-section {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h4 {
    margin: 0 0 1rem 0;
    color: var(--dark-color);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-section h4 i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.filter-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.filter-input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Price Inputs */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs input {
    flex: 1;
    min-width: 0;
}

.price-inputs span {
    color: #888;
    font-size: 0.85rem;
}

.price-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.preset-btn {
    padding: 0.4rem 0.8rem;
    border: 1px solid #ddd;
    background: white;
    border-radius: 20px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s;
}

.preset-btn:hover,
.preset-btn.active {
    border-color: var(--primary-color);
    background: rgba(46, 125, 50, 0.1);
    color: var(--primary-color);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-checkbox {
    cursor: pointer;
}

.filter-checkbox input {
    display: none;
}

.filter-checkbox span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #555;
    transition: all 0.3s;
}

.filter-checkbox span i {
    color: #888;
    width: 18px;
    text-align: center;
}

.filter-checkbox input:checked + span {
    border-color: var(--primary-color);
    background: rgba(46, 125, 50, 0.05);
    color: var(--primary-color);
}

.filter-checkbox input:checked + span i {
    color: var(--primary-color);
}

.filter-checkbox:hover span {
    background: #f5f5f5;
}

/* Bedroom Options */
.bedroom-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bedroom-btn {
    width: 42px;
    height: 42px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bedroom-btn:first-child {
    width: auto;
    padding: 0 1rem;
}

.bedroom-btn:hover,
.bedroom-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

/* Mobile Filter Actions */
.filter-actions-mobile {
    display: none;
    padding: 1rem 1.5rem;
    position: sticky;
    bottom: 0;
    background: white;
    border-top: 1px solid #eee;
}

/* Results Section */
.search-results {
    flex: 1;
    min-width: 0;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #666;
    font-size: 1rem;
}

.results-info #resultsCount {
    font-weight: 700;
    color: var(--primary-color);
}

.btn-toggle-filters {
    display: none;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    background: white;
    border-radius: 8px;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-options label {
    color: #666;
    font-size: 0.9rem;
}

.sort-options select {
    padding: 0.6rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    background: white;
}

.sort-options select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #555;
}

.filter-tag i {
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

.filter-tag i:hover {
    color: #e74c3c;
}

/* Properties Grid */
.properties-grid-search {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* Property Card for Search */
.property-card-search {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.property-card-search:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.property-card-search .card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.property-card-search .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.property-card-search:hover .card-image img {
    transform: scale(1.05);
}

.listing-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.listing-badge.rent {
    background: #3498db;
    color: white;
}

.listing-badge.sale {
    background: var(--primary-color);
    color: white;
}

.property-type-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 0.3rem 0.8rem;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
}

.image-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 0.3rem 0.6rem;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-card-search .card-content {
    padding: 1.25rem;
}

.property-card-search .property-title {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-card-search .property-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.property-card-search .property-location i {
    color: var(--primary-color);
}

.property-card-search .property-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.property-card-search .property-price small {
    font-size: 0.8rem;
    font-weight: 400;
    color: #888;
}

.property-card-search .property-features {
    display: flex;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.85rem;
}

.property-card-search .property-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.property-card-search .property-features i {
    color: #888;
}

/* Contact Preview */
.contact-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.contact-blurred {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.85rem;
}

.contact-blurred .blur-text {
    filter: blur(4px);
    user-select: none;
}

.btn-unlock-small {
    padding: 0.4rem 0.8rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: background 0.3s;
}

.btn-unlock-small:hover {
    background: #c0392b;
}

/* No Results */
.no-results-search {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.no-results-search i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.no-results-search h3 {
    color: #666;
    margin-bottom: 0.5rem;
}

.no-results-search p {
    color: #888;
    margin-bottom: 1.5rem;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 4rem 2rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.page-btn:hover,
.page-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Property Detail Modal */
.property-detail-modal .modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 0;
}

.property-detail-content {
    position: relative;
}

.property-detail-content .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: white;
    z-index: 10;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Property Gallery */
.property-gallery {
    position: relative;
    height: 400px;
    background: #000;
}

.gallery-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s;
}

.gallery-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
}

.gallery-thumbnails {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: #f5f5f5;
    overflow-x: auto;
}

.gallery-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Property Info Section */
.property-info-section {
    padding: 2rem;
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.property-header h1 {
    font-size: 1.6rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.property-header .location {
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-header .location i {
    color: var(--primary-color);
}

.property-header .price {
    text-align: right;
}

.property-header .price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.property-header .price .period {
    color: #888;
    font-size: 0.9rem;
}

/* Key Features */
.key-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.feature-item {
    text-align: center;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature-item .value {
    font-weight: 700;
    color: var(--dark-color);
    display: block;
}

.feature-item .label {
    font-size: 0.8rem;
    color: #888;
}

/* Property Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.detail-item .label {
    color: #666;
}

.detail-item .value {
    font-weight: 500;
    color: var(--dark-color);
}

/* Description */
.property-description {
    margin-bottom: 2rem;
}

.property-description h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-description p {
    color: #555;
    line-height: 1.7;
}

/* Amenities Grid */
.amenities-display {
    margin-bottom: 2rem;
}

.amenities-display h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.amenities-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amenity-tag {
    padding: 0.5rem 1rem;
    background: #f0f9f0;
    border: 1px solid #c8e6c9;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Map Placeholder */
.property-map {
    margin-bottom: 2rem;
}

.property-map h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-placeholder-detail {
    height: 250px;
    background: #f5f5f5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #888;
    border: 2px dashed #ddd;
}

.map-placeholder-detail i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #f8f9fa, #e8f5e9);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-section h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contact Locked */
.contact-locked {
    text-align: center;
    padding: 2rem;
}

.contact-locked .lock-icon {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 1rem;
}

.contact-locked h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-locked p {
    color: #888;
    margin-bottom: 1.5rem;
}

.contact-locked .blurred-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.contact-locked .blurred-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    filter: blur(5px);
    user-select: none;
    color: #666;
}

.btn-unlock {
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--accent-color), #c0392b);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-unlock:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

/* Contact Unlocked */
.contact-unlocked {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-item i {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item.phone i {
    background: #e3f2fd;
    color: #1976d2;
}

.contact-item.email i {
    background: #fff3e0;
    color: #f57c00;
}

.contact-item.whatsapp i {
    background: #e8f5e9;
    color: #25d366;
}

.contact-item .info .label {
    font-size: 0.8rem;
    color: #888;
}

.contact-item .info .value {
    font-weight: 600;
    color: var(--dark-color);
}

.contact-item .info .value a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item .info .value a:hover {
    text-decoration: underline;
}

/* Contact Unlock Modal */
.contact-unlock-modal .modal-content {
    max-width: 450px;
    padding: 0;
    overflow: hidden;
}

.unlock-header {
    background: linear-gradient(135deg, var(--primary-color), #1a5d3a);
    color: white;
    padding: 2rem;
    text-align: center;
}

.unlock-header i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.unlock-header h2 {
    margin: 0;
}

.unlock-body {
    padding: 2rem;
}

.property-summary {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.property-summary img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.property-summary .summary-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.property-summary .summary-info p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.unlock-benefits {
    margin-bottom: 1.5rem;
}

.unlock-benefits h4 {
    font-size: 0.95rem;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.unlock-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.unlock-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #555;
}

.unlock-benefits li i {
    color: var(--primary-color);
    width: 20px;
}

.unlock-price {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff9e6, #fff3cd);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.unlock-price .price-label {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.unlock-price .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
}

.unlock-price .price-note {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.25rem;
}

.payment-methods {
    margin-bottom: 1.5rem;
}

.payment-methods h4 {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.75rem;
    text-align: center;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.payment-icons img {
    height: 25px;
}

.payment-icons i {
    font-size: 2rem;
    color: #555;
}

.btn-block {
    width: 100%;
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #219a52, #1e8449);
}

.secure-note {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 1rem;
}

.secure-note i {
    color: var(--primary-color);
}

/* Payment Success Modal */
.payment-success-modal .modal-content {
    max-width: 400px;
    text-align: center;
    padding: 2rem;
}

.success-animation {
    margin-bottom: 1.5rem;
}

.success-animation i {
    font-size: 5rem;
    color: #27ae60;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.payment-success-modal h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.payment-success-modal p {
    color: #888;
    margin-bottom: 1.5rem;
}

.unlocked-contact {
    text-align: left;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.unlocked-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

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

.unlocked-contact-item i {
    font-size: 1.2rem;
    width: 35px;
    color: var(--primary-color);
}

.unlocked-contact-item .label {
    font-size: 0.8rem;
    color: #888;
}

.unlocked-contact-item .value {
    font-weight: 600;
    color: var(--dark-color);
}

.unlocked-contact-item .value a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1000;
        border-radius: 0;
        transition: left 0.3s;
    }
    
    .filters-sidebar.open {
        left: 0;
    }
    
    .filters-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        display: none;
    }
    
    .filters-overlay.show {
        display: block;
    }
    
    .btn-toggle-filters {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .filter-actions-mobile {
        display: block;
    }
    
    .search-content {
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .search-hero {
        padding: 2rem 1rem;
    }
    
    .search-hero h1 {
        font-size: 1.8rem;
    }
    
    .quick-search-bar {
        flex-direction: column;
        border-radius: 15px;
        padding: 1rem;
    }
    
    .search-input-group {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 1rem;
    }
    
    .search-type-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .quick-search-bar .btn {
        width: 100%;
    }
    
    .properties-grid-search {
        grid-template-columns: 1fr;
    }
    
    .results-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-options select {
        flex: 1;
    }
    
    .property-gallery {
        height: 280px;
    }
    
    .property-header {
        flex-direction: column;
    }
    
    .property-header .price {
        text-align: left;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .key-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .key-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-unlocked {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   PAYMENT MODAL STYLES - Plan Selection & Checkout
   ================================================ */

.payment-modal-content {
    max-width: 700px !important;
    padding: 0 !important;
}

.payment-step {
    animation: fadeIn 0.3s ease;
}

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

.unlock-header p {
    margin-top: 0.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Plan Selection */
.plan-selection {
    margin: 1.5rem 0;
}

.plan-selection h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    text-align: center;
}

.plan-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.plan-card {
    position: relative;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.plan-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.plan-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(to right, rgba(39, 174, 96, 0.05), rgba(39, 174, 96, 0.02));
}

.plan-card.premium {
    border-color: #f39c12;
    background: linear-gradient(135deg, #fffbf0, #fff9e6);
}

.plan-card.premium:hover,
.plan-card.premium.selected {
    border-color: #e67e22;
    box-shadow: 0 4px 20px rgba(243, 156, 18, 0.2);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-badge.best-value {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.plan-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.plan-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.plan-card.premium .plan-header i {
    color: #f39c12;
}

.plan-header h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
}

.plan-price .amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.plan-price .period {
    font-size: 0.9rem;
    color: #888;
    margin-left: 0.25rem;
}

.savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.savings-badge i {
    font-size: 0.7rem;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #555;
}

.plan-features li i {
    width: 16px;
    text-align: center;
}

.plan-features li i.fa-check {
    color: #27ae60;
}

.plan-features li i.fa-times {
    color: #e74c3c;
}

.plan-select {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.plan-select input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.plan-select label {
    font-weight: 600;
    color: var(--dark-color);
    cursor: pointer;
}

/* Current Plan Status */
.current-plan-status {
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.current-plan-status i {
    font-size: 1.3rem;
}

/* Payment Summary */
.payment-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #666;
}

.summary-row.total {
    border-top: 2px dashed #ddd;
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* Processing Payment */
.processing-payment {
    text-align: center;
    padding: 4rem 2rem;
}

.processing-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.processing-payment h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.processing-payment p {
    color: #888;
}

.processing-note {
    margin-top: 1.5rem;
    color: #e74c3c !important;
    font-weight: 500;
}

/* Receipt Info */
.receipt-info {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: 1px dashed #ddd;
}

.receipt-row:last-child {
    border-bottom: none;
}

.receipt-row span:first-child {
    color: #888;
}

.receipt-row span:last-child {
    font-weight: 600;
    color: var(--dark-color);
}

/* Receipt Actions */
.receipt-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.receipt-actions .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

/* Updated Payment Success Modal */
.payment-success-modal .modal-content {
    max-width: 500px;
}

.payment-success-modal .close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
}

.payment-success-modal .close:hover {
    color: var(--dark-color);
}

/* Responsive for Payment Modal */
@media (max-width: 768px) {
    .payment-modal-content {
        max-width: 95% !important;
        margin: 1rem;
    }
    
    .plan-selection {
        flex-direction: column;
    }
    
    .plan-card {
        padding: 1.25rem;
    }
    
    .plan-price .amount {
        font-size: 1.75rem;
    }
    
    .receipt-actions {
        flex-direction: column;
    }
    
    .receipt-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .unlock-header {
        padding: 1.5rem;
    }
    
    .unlock-header i {
        font-size: 2.5rem;
    }
    
    .unlock-body {
        padding: 1.5rem;
    }
    
    .plan-features li {
        font-size: 0.85rem;
    }
    
    .payment-icons {
        flex-wrap: wrap;
    }
}
