/* 服务中心页面样式 */
.service-main {
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow: auto;
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.service-header h2 {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

.service-actions {
    display: flex;
}

.create-btn,
.feedback-btn,
.faq-btn {
    height: 36px;
    padding: 0 15px;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    margin-left: 10px;
    border: none;
    cursor: pointer;
}

.create-btn {
    background-color: #2fb3ff;
}

.feedback-btn {
    background-color: #52c41a;
}

.faq-btn {
    background-color: #722ed1;
}

.service-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.service-tabs .tab {
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    position: relative;
}

.service-tabs .tab.active {
    color: #2fb3ff;
}

.service-tabs .tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: #2fb3ff;
}

.service-overview {
    display: flex;
    margin-bottom: 20px;
}

.overview-card {
    flex: 1;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 15px;
    margin-right: 15px;
    text-align: center;
    border: 1px solid #eee;
}

.overview-card:last-child {
    margin-right: 0;
}

.overview-card:nth-child(1) {
    border-left: 3px solid #fa8c16;
}

.overview-card:nth-child(2) {
    border-left: 3px solid #1890ff;
}

.overview-card:nth-child(3) {
    border-left: 3px solid #52c41a;
}

.overview-card:nth-child(4) {
    border-left: 3px solid #722ed1;
}

.card-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.card-value {
    font-size: 24px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
}

.card-status {
    font-size: 12px;
    color: #999;
}

.card-status span {
    font-weight: 500;
}

.pending-status span {
    color: #fa8c16;
}

.processing-status span {
    color: #1890ff;
}

.closed-status span {
    color: #52c41a;
}

.notice-status span {
    color: #722ed1;
}

.message-board {
    background-color: #fff;
    border-radius: 4px;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.message-header h3 {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.more-link {
    font-size: 14px;
    color: #2fb3ff;
    text-decoration: none;
}

.message-content {
    display: flex;
    flex-direction: column;
}

.message-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.message-item:last-child {
    border-bottom: none;
}

.message-title {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
}

.message-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
    margin-right: 10px;
}

.message-tag.system {
    background-color: #e6f7ff;
    color: #1890ff;
}

.message-tag.important {
    background-color: #fff7e6;
    color: #fa8c16;
}

.message-time {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.message-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.service-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    width: 240px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    margin-right: 10px;
}

.search-btn {
    height: 36px;
    padding: 0 15px;
    background-color: #2fb3ff;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    cursor: pointer;
}

.filter-items {
    display: flex;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.filter-item span {
    font-size: 14px;
    color: #666;
    margin-right: 10px;
}

.filter-item select {
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 14px;
    color: #333;
    min-width: 120px;
}

.ticket-table {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.ticket-table table {
    width: 100%;
    border-collapse: collapse;
}

.ticket-table th,
.ticket-table td {
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.ticket-table th {
    color: #666;
    font-weight: normal;
    background-color: #f9f9f9;
}

.ticket-table td {
    color: #333;
}

.priority-high,
.priority-middle,
.priority-low,
.status-pending,
.status-processing,
.status-solved,
.status-closed {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 12px;
}

.priority-high {
    background-color: #fff1f0;
    color: #f5222d;
}

.priority-middle {
    background-color: #fff7e6;
    color: #fa8c16;
}

.priority-low {
    background-color: #f9f0ff;
    color: #722ed1;
}

.status-pending {
    background-color: #fff7e6;
    color: #fa8c16;
}

.status-processing {
    background-color: #e6f7ff;
    color: #1890ff;
}

.status-solved {
    background-color: #f6ffed;
    color: #52c41a;
}

.status-closed {
    background-color: #f5f5f5;
    color: #999;
}

.action-links {
    display: flex;
}

.action-links a {
    margin-right: 10px;
    color: #2fb3ff;
    text-decoration: none;
}

.action-links a:hover {
    text-decoration: underline;
}

.reply-link {
    color: #1890ff !important;
}

.urge-link {
    color: #fa8c16 !important;
}

.evaluate-link {
    color: #52c41a !important;
}

.close-link,
.cancel-link {
    color: #f5222d !important;
}

.reopen-link {
    color: #722ed1 !important;
}

.service-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
}

.page, .prev-page, .next-page {
    display: inline-block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.page.active {
    background-color: #2fb3ff;
    color: #fff;
    border-color: #2fb3ff;
}

.page-info {
    margin-left: 15px;
    font-size: 14px;
    color: #999;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-actions {
        margin-top: 15px;
    }
    
    .service-search {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .filter-items {
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    .filter-item {
        margin-left: 0;
        margin-right: 20px;
        margin-bottom: 10px;
    }
    
    .service-overview {
        flex-wrap: wrap;
    }
    
    .overview-card {
        flex: 1 0 45%;
        margin-bottom: 15px;
    }
    
    .ticket-table {
        overflow-x: auto;
    }
} 