/* Main Container */
.rpf-properties-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Properties Grid */
.rpf-properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Property Card */
.rpf-property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Property Image */
.rpf-property-image {
    position: relative;
    height: auto;
    overflow: hidden;
}

.rpf-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Badges */
.rpf-featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #FF9800;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rpf-featured-badge i {
    margin-right: 5px;
}

.rpf-property-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.rpf-status-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rpf-status-badge.available {
    background: #4CAF50;
    color: white;
}

.rpf-status-badge.under-offer {
    background: #2196F3;
    color: white;
}

/* Property Content */
.rpf-property-content {
    padding: 20px;
}

.rpf-property-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.rpf-property-title a {
    color: #333;
    text-decoration: none;
}

.rpf-property-title a:hover {
    color: #FF9800;
}

.rpf-property-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.rpf-property-address i {
    margin-right: 8px;
    color: #999;
}

.rpf-property-price {
    margin-bottom: 15px;
}

.rpf-price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #FF9800;
}

.rpf-price-period {
    color: #666;
    font-size: 14px;
    margin-left: 5px;
}

/* Property Meta */
.rpf-property-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.rpf-meta-item {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 14px;
}

.rpf-meta-item i {
    margin-right: 8px;
    color: #999;
}

/* Property Excerpt */
.rpf-property-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Action Buttons */
.rpf-property-actions {
    display: flex;
    gap: 10px;
}

.rpf-view-details-btn {
    flex: 1;
    background: #333;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.rpf-view-details-btn:hover {
    background: #FF9800;
    color: white;
}

.rpf-enquire-btn {
    flex: 1;
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.rpf-enquire-btn:hover {
    background: #388E3C;
}

/* No Properties Message */
.rpf-no-properties {
    text-align: center;
    padding: 50px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.rpf-no-properties h3 {
    color: #666;
    margin-bottom: 10px;
}

/* Load More Button */
.rpf-load-more-container {
    text-align: center;
    margin-top: 40px;
}

.rpf-load-more-btn {
    background: #2196F3;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.rpf-load-more-btn:hover {
    background: #1976D2;
}

.rpf-load-more-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Pagination */
.rpf-pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.rpf-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.rpf-pagination .page-numbers.current {
    background: #2196F3;
    color: white;
}

.rpf-pagination .page-numbers:hover {
    background: #ddd;
}

/* Featured Properties */
.rpf-featured-properties {
    margin-bottom: 40px;
}

.rpf-featured-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.rpf-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rpf-properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .rpf-property-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .rpf-property-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .rpf-properties-grid {
        grid-template-columns: 1fr;
    }
    
    .rpf-property-content {
        padding: 15px;
    }
}

/* Numbered Pagination Styles */
.rpf-numbered-pagination {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.rpf-numbered-pagination ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}

.rpf-numbered-pagination li {
    display: inline;
    margin: 0;
}

.rpf-numbered-pagination a,
.rpf-numbered-pagination span {
    display: inline-block;
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.rpf-numbered-pagination a:hover {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
    transform: translateY(-2px);
}

.rpf-numbered-pagination .current {
    background: #2196F3;
    color: white;
    border-color: #2196F3;
}

.rpf-numbered-pagination .dots {
    background: transparent;
    border: none;
    color: #999;
}

.rpf-numbered-pagination .prev a,
.rpf-numbered-pagination .next a {
    background: #333;
    color: white;
    border-color: #333;
    padding: 0 20px;
}

.rpf-numbered-pagination .prev a:hover,
.rpf-numbered-pagination .next a:hover {
    background: #2196F3;
    border-color: #2196F3;
}

.rpf-numbered-pagination .prev.disabled a,
.rpf-numbered-pagination .next.disabled a {
    background: #f0f0f0;
    color: #999;
    border-color: #e0e0e0;
    cursor: not-allowed;
}

/* Page Info */
.rpf-page-info {
    text-align: center;
    margin-top: 20px;
    color: #666;
    font-size: 14px;
}

.rpf-page-info .rpf-current-page {
    font-weight: 700;
    color: #2196F3;
}

.rpf-page-info .rpf-total-pages {
    font-weight: 700;
    color: #333;
}

/* Archive Header Results Count */
.rpf-results-count {
    font-size: 16px;
    color: #666;
    background: #f0f8ff;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
}

/* Sort Options Active State */
.rpf-sort-btn.active {
    background: #2196F3 !important;
    color: white !important;
    border-color: #2196F3 !important;
}

/* No Results */
.rpf-no-results {
    text-align: center;
    padding: 60px 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 40px 0;
}

.rpf-no-results-icon {
    font-size: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.rpf-no-results h3 {
    margin: 0 0 15px 0;
    color: #333;
}

.rpf-no-results p {
    margin: 0 0 25px 0;
    color: #666;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.rpf-browse-all-btn {
    display: inline-block;
    background: #2196F3;
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.rpf-browse-all-btn:hover {
    background: #1976D2;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .rpf-numbered-pagination ul {
        gap: 3px;
    }
    
    .rpf-numbered-pagination a,
    .rpf-numbered-pagination span {
        min-width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
    }
    
    .rpf-numbered-pagination .prev a,
    .rpf-numbered-pagination .next a {
        padding: 0 15px;
        font-size: 13px;
    }
}



/* Advanced Enquiry Modal Styles */
.rpf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.rpf-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rpf-modal {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.rpf-modal-overlay.active .rpf-modal {
    transform: translateY(0);
    opacity: 1;
}

/* Modal Header */
.rpf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.rpf-modal-property-info {
    display: flex;
    gap: 20px;
    flex: 1;
}

.rpf-modal-property-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rpf-modal-property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rpf-modal-property-details {
    flex: 1;
}

.rpf-modal-property-details h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: white;
    font-weight: 600;
}

.rpf-modal-price {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 5px;
}

.rpf-modal-location {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rpf-modal-location i {
    font-size: 12px;
}

.rpf-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.rpf-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Form Steps */
.rpf-form-steps {
    display: flex;
    justify-content: space-between;
    padding: 25px 30px 0;
    position: relative;
}

.rpf-form-steps::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: #f0f0f0;
    z-index: 1;
}

.rpf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.rpf-step-number {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    color: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.rpf-step.active .rpf-step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

.rpf-step-text {
    font-size: 13px;
    color: #999;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

.rpf-step.active .rpf-step-text {
    color: #333;
}

/* Modal Content */
.rpf-modal-content {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}

.rpf-form-step {
    display: none;
}

.rpf-form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.rpf-step-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.rpf-step-description {
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* Form Groups */
.rpf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .rpf-form-row {
        grid-template-columns: 1fr;
    }
}

.rpf-form-group {
    margin-bottom: 20px;
}

.rpf-form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.rpf-form-group label i {
    color: #667eea;
}

.rpf-form-group input,
.rpf-form-group select,
.rpf-form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.rpf-form-group input:focus,
.rpf-form-group select:focus,
.rpf-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.rpf-form-group input::placeholder,
.rpf-form-group textarea::placeholder {
    color: #999;
}

/* Form Progress */
.rpf-form-progress {
    margin-top: 30px;
    padding: 20px 0;
}

.rpf-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.rpf-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Modal Footer */
.rpf-modal-footer {
    padding: 20px 30px;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.rpf-modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.rpf-btn-prev {
    background: #f0f0f0;
    color: #666;
}

.rpf-btn-prev:hover {
    background: #e0e0e0;
    color: #333;
}

.rpf-btn-next {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-left: auto;
}

.rpf-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.rpf-btn-submit {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.rpf-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Confirmation Step */
.rpf-confirmation-content {
    text-align: center;
    padding: 20px;
}

.rpf-confirmation-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.rpf-confirmation-title {
    margin: 0 0 30px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.rpf-confirmation-summary {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.rpf-summary-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.rpf-summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rpf-summary-label {
    flex: 0 0 120px;
    color: #666;
    font-weight: 500;
}

.rpf-summary-value {
    flex: 1;
    color: #333;
    font-weight: 600;
}

.rpf-confirmation-notice {
    background: #e8f4fd;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1976d2;
}

.rpf-confirmation-notice i {
    font-size: 24px;
}

.rpf-confirmation-notice p {
    margin: 0;
    font-size: 14px;
}

/* Loading Spinner */
.rpf-loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.rpf-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

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

/* Success Message */
.rpf-success-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 10;
}

.rpf-success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.rpf-success-message h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.rpf-success-message p {
    margin: 0 0 30px 0;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.rpf-btn-close {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 40px;
}

/* Error Message */
.rpf-error-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 10;
}

.rpf-error-icon {
    font-size: 80px;
    color: #F44336;
    margin-bottom: 20px;
}

.rpf-error-message h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.rpf-error-text {
    margin: 0 0 30px 0;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.rpf-btn-retry {
    background: #F44336;
    color: white;
    padding: 12px 40px;
}

.rpf-btn-retry:hover {
    background: #d32f2f;
}

/* Enquiry Button in Property Card */
.rpf-enquire-btn {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rpf-enquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.rpf-enquire-btn i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rpf-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .rpf-modal-header {
        padding: 20px 20px 0;
    }
    
    .rpf-modal-property-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .rpf-modal-property-thumb {
        width: 100%;
        height: 150px;
    }
    
    .rpf-modal-content {
        padding: 20px;
    }
    
    .rpf-form-steps {
        padding: 20px 20px 0;
    }
    
    .rpf-step-text {
        font-size: 11px;
    }
    
    .rpf-modal-footer {
        padding: 15px 20px;
    }
    
    .rpf-modal-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}



.rpf-page-info {
    display: none;
}



















/* enquiry from css */

/* Advanced Enquiry Modal Styles */
.rpf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.rpf-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.rpf-modal {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

.rpf-modal-overlay.active .rpf-modal {
    transform: translateY(0);
    opacity: 1;
}

/* Modal Header */
.rpf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px 30px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
}

.rpf-modal-property-info {
    display: flex;
    gap: 20px;
    flex: 1;
}

.rpf-modal-property-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.rpf-modal-property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rpf-modal-property-details {
    flex: 1;
}

.rpf-modal-property-details h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: white;
    font-weight: 600;
}

.rpf-modal-price {
    font-size: 18px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 5px;
}

.rpf-modal-location {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rpf-modal-location i {
    font-size: 12px;
}

.rpf-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.rpf-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Form Steps */
.rpf-form-steps {
    display: flex;
    justify-content: space-between;
    padding: 25px 30px 0;
    position: relative;
}

.rpf-form-steps::before {
    content: '';
    position: absolute;
    top: 42px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: #f0f0f0;
    z-index: 1;
}

.rpf-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.rpf-step-number {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    color: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 3px solid white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.rpf-step.active .rpf-step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: scale(1.1);
}

.rpf-step-text {
    font-size: 13px;
    color: #999;
    font-weight: 600;
    text-align: center;
    transition: color 0.3s ease;
}

.rpf-step.active .rpf-step-text {
    color: #333;
}

/* Modal Content */
.rpf-modal-content {
    padding: 30px;
    flex: 1;
    overflow-y: auto;
}

.rpf-form-step {
    display: none;
}

.rpf-form-step.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.rpf-step-title {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 22px;
    font-weight: 600;
}

.rpf-step-description {
    color: #666;
    margin: 0 0 30px 0;
    line-height: 1.6;
}

/* Form Groups */
.rpf-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .rpf-form-row {
        grid-template-columns: 1fr;
    }
}

.rpf-form-group {
    margin-bottom: 20px;
}

.rpf-form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 15px;
}

.rpf-form-group label i {
    color: #667eea;
}

.rpf-form-group input,
.rpf-form-group select,
.rpf-form-group textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.rpf-form-group input:focus,
.rpf-form-group select:focus,
.rpf-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.rpf-form-group input::placeholder,
.rpf-form-group textarea::placeholder {
    color: #999;
}

/* Form Progress */
.rpf-form-progress {
    margin-top: 30px;
    padding: 20px 0;
}

.rpf-progress-bar {
    height: 6px;
    background: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.rpf-progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Modal Footer */
.rpf-modal-footer {
    padding: 20px 30px;
    background: #f9f9f9;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.rpf-modal-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.rpf-btn-prev {
    background: #f0f0f0;
    color: #666;
}

.rpf-btn-prev:hover {
    background: #e0e0e0;
    color: #333;
}

.rpf-btn-next {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin-left: auto;
}

.rpf-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.rpf-btn-submit {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.rpf-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* Confirmation Step */
.rpf-confirmation-content {
    text-align: center;
    padding: 20px;
}

.rpf-confirmation-icon {
    font-size: 60px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.rpf-confirmation-title {
    margin: 0 0 30px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.rpf-confirmation-summary {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: left;
    margin-bottom: 30px;
    border-left: 4px solid #667eea;
}

.rpf-summary-item {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.rpf-summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.rpf-summary-label {
    flex: 0 0 120px;
    color: #666;
    font-weight: 500;
}

.rpf-summary-value {
    flex: 1;
    color: #333;
    font-weight: 600;
}

.rpf-confirmation-notice {
    background: #e8f4fd;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #1976d2;
}

.rpf-confirmation-notice i {
    font-size: 24px;
}

.rpf-confirmation-notice p {
    margin: 0;
    font-size: 14px;
}

/* Loading Spinner */
.rpf-loading-spinner {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.rpf-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #f0f0f0;
    border-top: 5px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

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

/* Success Message */
.rpf-success-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 10;
}

.rpf-success-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.rpf-success-message h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.rpf-success-message p {
    margin: 0 0 30px 0;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.rpf-btn-close {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 40px;
}

/* Error Message */
.rpf-error-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    z-index: 10;
}

.rpf-error-icon {
    font-size: 80px;
    color: #F44336;
    margin-bottom: 20px;
}

.rpf-error-message h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 24px;
    font-weight: 600;
}

.rpf-error-text {
    margin: 0 0 30px 0;
    color: #666;
    text-align: center;
    line-height: 1.6;
}

.rpf-btn-retry {
    background: #F44336;
    color: white;
    padding: 12px 40px;
}

.rpf-btn-retry:hover {
    background: #d32f2f;
}

/* Enquiry Button in Property Card */
.rpf-enquire-btn {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rpf-enquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.rpf-enquire-btn i {
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rpf-modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .rpf-modal-header {
        padding: 20px 20px 0;
    }
    
    .rpf-modal-property-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .rpf-modal-property-thumb {
        width: 100%;
        height: 150px;
    }
    
    .rpf-modal-content {
        padding: 20px;
    }
    
    .rpf-form-steps {
        padding: 20px 20px 0;
    }
    
    .rpf-step-text {
        font-size: 11px;
    }
    
    .rpf-modal-footer {
        padding: 15px 20px;
    }
    
    .rpf-modal-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}


/* End  */