/* 服务人员端首页样式 */

.worker-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 15px;
    background: linear-gradient(135deg, #1890FF 0%, #1565C0 100%);
    border-radius: 8px;
    color: #fff;
}

.worker-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.worker-info {
    flex: 1;
}

.worker-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.worker-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.rating-stars {
    font-size: 14px;
    color: #FFD700;
}

.rating-score {
    font-size: 14px;
    opacity: 0.9;
}

.worker-stats {
    font-size: 12px;
    opacity: 0.8;
}

.worker-status {
    flex-shrink: 0;
}

.status-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
}

/* 订单统计 */
.order-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    position: relative;
    text-decoration: none;
    color: #333;
}

.stat-item:active {
    background-color: #eee;
}

.stat-value {
    font-size: 24px;
    font-weight: 600;
    color: #1890FF;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #666;
}

.stat-item .badge {
    position: absolute;
    top: 8px;
    right: 8px;
}

/* 收入统计 */
.income-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 0;
}

.income-item {
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
}

.income-item.clickable {
    cursor: pointer;
}

.income-item.clickable:active {
    background-color: #eee;
}

.income-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.income-value {
    font-size: 20px;
    font-weight: 600;
    color: #FF4D4F;
}

/* 功能入口图标颜色 */
.function-grid .grid-item[href*="order"] .grid-icon {
    background-color: #E6F7FF;
}

.function-grid .grid-item[href*="income"] .grid-icon {
    background-color: #FFF7E6;
}

.function-grid .grid-item[href*="deposit"] .grid-icon {
    background-color: #F0F5FF;
}

.function-grid .grid-item[href*="review"] .grid-icon {
    background-color: #F6FFED;
}

.function-grid .grid-item[href*="assessment"] .grid-icon {
    background-color: #E6FFFB;
}

.function-grid .grid-item[href*="exit"] .grid-icon {
    background-color: #FFF0F6;
}

.function-grid .grid-item[href*="profile-info"] .grid-icon {
    background-color: #F5F5F5;
}

