/* Service Center Styles */

.service-header {
    background: #fff;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.service-header .back-btn {
    font-size: 18px;
    color: #333;
}

.service-header .search-box {
    flex: 1;
    background: #f5f5f5;
    height: 36px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
}

.service-header .search-box i { color: #999; font-size: 14px; }
.service-header .search-box input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    width: 100%;
}

.app-container {
    background: #fff;
}

.service-layout {
    display: flex;
    height: 100%;
}

/* Side Tabs */
.side-tabs {
    width: 90px;
    background: #f8f9fa;
    height: 100%;
    overflow-y: auto;
}

.tab-item {
    padding: 18px 12px;
    font-size: 13px;
    color: #666;
    text-align: center;
    position: relative;
    transition: all 0.2s;
}

.tab-item.active {
    background: #fff;
    color: #007AFF;
    font-weight: 600;
}

.tab-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: #007AFF;
    border-radius: 0 4px 4px 0;
}

/* Main Content */
.service-main {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    padding: 12px;
}

.category-banner {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.category-banner img { width: 100%; display: block; }
.banner-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    text-align: right;
}

/* Service List */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border-radius: 12px;
    padding: 4px;
}

.s-img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.s-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.s-title {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    font-weight: 600;
}

.s-tags {
    display: flex;
    gap: 4px;
    margin: 4px 0;
}

.s-tags span {
    font-size: 9px;
    color: #007AFF;
    background: rgba(0, 122, 255, 0.1);
    padding: 1px 4px;
    border-radius: 2px;
}

.s-bottom {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.s-price {
    font-size: 16px;
    color: #e74c3c;
    font-weight: 700;
}

.s-price span {
    font-size: 11px;
    color: #999;
    font-weight: normal;
}

.s-sales {
    font-size: 11px;
    color: #999;
}

.service-card:active {
    background: #f0f0f0;
}

.post-request-card {
    margin-top: 12px;
    padding: 20px;
    background: #f0f7ff;
    border-radius: 12px;
    text-align: center;
    border: 1px dashed #007AFF;
}

.post-request-card p {
    font-size: 13px;
    color: #007AFF;
    margin-bottom: 12px;
}

.post-request-card button {
    background: #007AFF;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}
