body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

.top-bar {
    background: linear-gradient(#00C853 70%,#f7f8fa 30%);
    color: white;
    padding: 12px 0 0;
    align-items: center;
    justify-content: space-between;
}

.location-section {
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-size: 14px;
    margin: 0 0 12px auto;
}

.location-section i {
    font-size: 14px;
    margin-right: 5px;
    color: white;
}

.top-bar-menu i {
    font-size: 20px;
}

.search-bar-container {
    background-color: #fff; /* Green color from design */
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-radius: 30px;
}

.city-selector {
    background-color: rgba(255, 255, 255, 0.2);
    color: #000;
    padding: 8px 12px;
    border-radius: 15px;
    margin-right: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.city-selector i {
    margin-left: 5px;
}

.search-input-wrapper {
    flex-grow: 1;
    background-color: #f5f6f8;
    border-radius: 15px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.search-input-wrapper i {
    color: #999;
    margin-right: 8px;
}

.search-input-wrapper input {
    border: none;
    outline: none;
    flex-grow: 1;
    font-size: 14px;
    background: #f5f6f8;
}

.filter-tabs {
    display: flex;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
    white-space: nowrap;
}

.filter-tab {
    padding: 8px 15px;
    margin-right: 10px;
    font-size: 14px;
    color: #333;
    border-radius: 15px;
    background-color: #fff;
}

.filter-tab.active {
    font-weight: bold;
    color: #fff;
    background-color: #00C853;
}

/* 筛选弹出层样式 */
.filter-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    display: none;
    flex-direction: column;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1001;
}

.close-btn i {
    font-size: 16px;
    color: #666;
}

.filter-popup.active {
    display: flex;
}

.filter-section {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-section-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    border: none;
}

.filter-option.active {
    background-color: #e6f7f0;
    color: #00C853;
}

.filter-input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    background-color: #f5f5f5;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
}

.filter-actions {
    display: flex;
    padding: 15px 20px;
    margin-top: auto;
    border-top: 1px solid #f0f0f0;
    gap: 15px;
}

.filter-action-btn {
    flex: 1;
    padding: 12px 0;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border: none;
}

.reset-btn {
    background-color: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.confirm-btn {
    background-color: #00C853;
    color: #fff;
}

.more-filters {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    margin-left: auto; /* Pushes to the right */
    padding: 8px 0;
}

.more-filters i {
    margin-left: 5px;
}

.technician-list-area {
    padding: 0 10px;
}

.technician-card-new {
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 15px;
    display: flex;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.technician-avatar-new {
    width: 95px;
    height:95px;
    border-radius: 60px;
    margin-right: 15px;
    position: relative;
    overflow: visible; /* Changed to visible to show service label */
}

.service-label {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #eaa309;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    white-space: nowrap;
}

.technician-avatar-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.technician-badge-new {
    position: absolute;
    top: -5px;
    left: -5px;
    background-color: red;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 5px;
    font-weight: bold;
    transform: rotate(-15deg);
}

.technician-badge-new.gold {
    background-color: gold;
    color: #333;
    padding: 5px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid white;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    bottom: 0;
    right: 0;
    top: auto;
    left: auto;
    transform: none;
}

.technician-info-new {
    flex-grow: 1;
}

.technician-header-new {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.technician-name-new {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-right: 8px;
}

.skill-tag {
    background-color: #00C853; /* Light green */
    color: #fff; /* Darker green */
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

.availability-time {
    font-size: 12px;
    color: #00796B; /* Darker green */
    margin-left: auto; /* Pushes to the right */
    font-size:13px;
    padding: 0 12px;
    background: #e8f9ef;
}

.technician-stats {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    line-height: 60px;
}

.technician-stats .rating {
    color: #FFA000; /* Orange for rating */
    margin-right: 3px;
}
.technician-stats .rating i {
    margin-right: 2px;
}

.technician-stats span {
    margin-right: 10px;
}

.technician-actions-new {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.technician-actions-new span {
    margin-right: 15px;
    display: flex;
    align-items: center;
}

.technician-actions-new i {
    margin-right: 4px;
}

.book-button-new {
    background-color: #00C853; /* Green color from design */
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 18px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    bottom: 15px;
}

.distance-info {
    font-size: 13px;
    color: #00796B; /* Darker green */
    position: absolute;
    right: 20px;
    top: 60px; /* Adjust as needed */
}