body {
    background: #f8f9fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.search-header {
    text-align: center;
    color: #2d3748;
    margin-bottom: 2rem;
}

.search-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.search-header p {
    font-size: 1.1rem;
    color: #4a5568;
}

.search-box {
    background: white;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
}

.search-box:focus-within {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
    border-color: #667eea;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
}

.search-box i {
    color: #667eea;
    font-size: 1.5rem;
}

/* ⭐ NEW: Filter Section */
.filter-section {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

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

.filter-group select:disabled {
    background-color: #f7fafc;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-reset {
    padding: 0.75rem 1.5rem;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.btn-reset:hover {
    background: #c53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.3);
}

/* ⭐ CARD LEBIH BESAR */
.result-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.result-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.house-photo-result {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #e2e8f0;
    flex-shrink: 0;
}

.result-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
    flex-shrink: 0;
}

.result-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.result-info {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.result-info i {
    color: #667eea;
}

.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #4a5568;
}

.empty-state i {
    font-size: 4rem;
    opacity: 0.3;
    margin-bottom: 1rem;
    color: #a0aec0;
}

.empty-state h3 {
    color: #2d3748;
}

.empty-state p {
    color: #718096;
}

.loading {
    text-align: center;
    padding: 2rem;
    color: #4a5568;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-color: #667eea;
    border-right-color: transparent;
}

.back-button {
    display: inline-block;
    color: #4a5568;
    text-decoration: none;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-button:hover {
    color: #667eea;
    transform: translateX(-5px);
}

/* Modal Styling */
.modal-content {
    border-radius: 20px;
    border: none;
}

.modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2rem;
}

.detail-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #667eea;
    margin-bottom: 1rem;
}

.detail-label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.detail-value {
    color: #2d3748;
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    font-size: 1rem;
}

.modal-body .row {
    margin-bottom: 0;
}

.modal-body hr {
    border-color: #e2e8f0;
    opacity: 1;
}

.modal-body h5 {
    color: #2d3748;
}

@media (max-width: 768px) {
    .search-header h1 {
        font-size: 2rem;
    }
    
    .house-photo-result {
        width: 100%;
        height: 180px;
    }
    
    .result-wrapper {
        flex-direction: column;
    }
    
    .result-name {
        font-size: 1.3rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
}