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

.search-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.search-form .form-select,
.search-form .form-control {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 16px;
    height: auto;
}

.search-form .form-select:focus,
.search-form .form-control:focus {
    border-color: #7c4dff;
    box-shadow: 0 0 0 2px rgba(124, 77, 255, 0.1);
}

.search-btn {
    background: #7c4dff;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 500;
    height: 48px;
    width: 100%;
}

.search-btn:hover {
    background: #6a3de8;
}

.price-note {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    color: #666;
    margin-top: 1rem;
}

.sidebar {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.filter-section h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.price-range {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-range li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.price-range li:last-child {
    border-bottom: none;
}

.price-count {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
}

.more-filters {
    margin-top: 2rem;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.results-header {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

.results-count {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.service-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.service-avatar img{
    height:100% !important;
    width:100% !important;
}

.service-avatar i {
    color: white;
    font-size: 1.5rem;
}

.service-info {
    text-align: center;
    margin-bottom: 1rem;
}

.service-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.service-details {
    color: #666;
    margin-bottom: 0.5rem;
}

.service-location {
    color: #999;
    margin-bottom: 1rem;
}

.service-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size:12px;
}

.service-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.action-btn {
    background: none;
    border: none;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.action-btn:hover {
    color: #7c4dff;
}

.share-count {
    color: #7c4dff;
    font-weight: 500;
}

/* Desktop adjustments */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }

    /* Sidebar above content on mobile */
    .filters-mobile {
        order: -1 !important;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .search-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .sidebar {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .service-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .results-header {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .search-form .row > div {
        margin-bottom: 0.75rem;
    }
    
    .service-actions {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}