/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.4;
}

/* 头部信息样式 */
.header-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background-color: #FFFFFF;
    margin-bottom: 20px;
}

.welcome-text {
    margin-bottom: 0;
    white-space: nowrap;
    font-size: 14px;
    color: #000000;
    font-weight: 400;
}

.top-banner {
    background-color: #ff5722;
    color: #FFFFFF;
    padding: 0 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 1px;
    display: inline-block;
}

.main-container {
    display: flex;
    flex-direction: row;
    /* min-height: calc(100vh - 200px); */
    background-color: #F1F2F3;
    padding: 10px;
}

/* 左侧图表区域 */
.charts-section {
    padding: 10px;
    width: 70%;
    border-radius: 5px;
    position: relative;
    background-color: #FFFFFF;
}

.charts-title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 30px;
}

.charts-subtitle {
    text-align: center;
    font-size: 18px;
    color: #000000;
    margin-bottom: 30px;
}

.charts-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 40px;
    margin-bottom: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.chart-item {
    text-align: center;
    position: relative;
}

.pie-chart {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: conic-gradient(#C0392B 97.34%, #34495E 2.66%);
    position: relative;
    margin: 0 auto 30px;
}

.chart-2 {
    background: conic-gradient(#C0392B 96.43%, #34495E 3.57%);
}

.chart-3 {
    background: conic-gradient(#C0392B 98.02%, #34495E 1.98%);
}

.chart-4 {
    background: conic-gradient(#C0392B 97.03%, #34495E 2.97%);
}

.chart-labels {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.satisfied-label {
    color: #C0392B;
    margin-bottom: 10px;
}

.dissatisfied-label {
    color: #34495E;
}

.chart-percentage {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-top: 20px;
}

.large-text {
    text-align: center;
    font-size: 120px;
    font-weight: bold;
    color: #D3D3D3;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.6;
}

.background-shapes {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background-color: #D2B48C;
    top: -200px;
    left: 0%;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background-color: #F5DEB3;
    top: -150px;
    right: 10%;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background-color: #D2B48C;
    top: -50px;
    left: 50%;
}

/* 右侧侧边栏 */
.sidebar {
    width: 30%;
    margin-left: 10px;
    padding: 5px;
    display: flex;
    flex-direction: column;
}

.cta-button {
    height: 150px;
    line-height: 150px;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
    display: inline-block;
    vertical-align: middle;
    background-color: #009688;
    color: #fff;
    white-space: nowrap;
    text-align: center;
    border-radius: 2px;
    cursor: pointer;
    -moz-user-select: none;
    -webkit-user-select: none;
    border: none;
}

.cta-button:hover {
    background-color: #3d8b7a;
}

.info-text {
    min-height: 267px;
    color: #009688;
    padding-bottom: 55px;
    padding-top: 25px;
    padding-left: 20px;
    padding-right: 10px;
    text-indent: 2em;
    background-color: #fff;
}

.info-text p {
    margin-bottom: 25px;
}

.footer-elements {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 30px;
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #4BA090;
    font-weight: 500;
}

.icon {
    width: 20px;
    height: 20px;
    background-color: #4BA090;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 14px;
}

.paper-plane {
    width: 20px;
    height: 20px;
    background-color: #4BA090;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 14px;
    margin-right: 12px;
}

.right-footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 新闻内容区域样式 */
.news-content-section {
    background-color: #F1F2F3;
    padding: 20px;
    /* margin-top: 20px; */
}

.news-main-container {
    display: flex;
    gap: 20px;
    margin: 0 auto;
}

/* 左侧栏样式 */
.news-left-column {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-left-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-left-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.news-star-icon {
    color: #ff4757;
    font-size: 16px;
}

.news-view-more-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-view-more-btn:hover {
    background-color: #357abd;
}

/* 话题列表样式 */
.news-topic-list {
    list-style: none;
}

.news-topic-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.news-topic-item:last-child {
    border-bottom: none;
}

.news-comment-icon {
    width: 20px;
    height: 20px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 2px;
}

.news-topic-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex: 1;
}

.news-topic-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.4;
}

.news-topic-time {
    font-size: 12px;
    color: #999;
    text-align: right;
}

/* 右侧栏样式 */
.news-right-column {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.news-right-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.news-right-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.news-view-all-btn {
    background-color: #4a90e2;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-view-all-btn:hover {
    background-color: #357abd;
}

/* 事务请求列表样式 */
.news-request-list {
    list-style: none;
}

.news-request-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-request-item:last-child {
    border-bottom: none;
}

.news-request-item:hover {
    background-color: #f8f9fa;
}

.news-request-item.news-selected {
    background-color: #f0f8ff;
}

.news-request-department {
    font-size: 12px;
    color: #666;
}

.news-request-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-left: 10px;
}

.news-request-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.news-status-pending {
    background-color: #ff6b6b;
    color: white;
}

.news-status-negotiating {
    background-color: #ffa726;
    color: white;
}

.news-request-item-content {
    display: flex;
    align-items: center;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .main-container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .charts-container {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .charts-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .large-text {
        font-size: 80px;
    }
    
    .charts-title {
        font-size: 32px;
    }
    
    .header-section {
        display: flex;
        align-items: center;
        gap: 30px;
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .pie-chart {
        width: 200px;
        height: 200px;
    }
    
    .news-main-container {
        flex-direction: column;
    }
    
    .news-left-column,
    .news-right-column {
        margin-bottom: 20px;
    }
}


/* 三栏布局：各部门处理情况 */
.departments-section {
    background-color: #f8f9fa;
    /* padding: 40px 0; */
    /* margin-top: 40px; */
}

.departments-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.department-column {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.department-header {
    background: #f8f9fa;
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.department-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.department-star {
    color: #ff4757;
    margin-right: 8px;
    font-size: 18px;
}

.department-view-all-btn {
    background: #1e9fff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.department-view-all-btn:hover {
    background: #0056b3;
}

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

.department-request-item {
    padding: 12px 20px;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.department-request-item:hover {
    background-color: #f8f9fa;
}

.department-request-item:last-child {
    border-bottom: none;
}

.request-title {
    font-size: 14px;
    color: #333;
    flex: 1;
    margin-right: 12px;
    line-height: 1.4;
}

.request-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.status-negotiating {
    color: #6c757d;
    background-color: #f8f9fa;
}

.status-pending {
    color: #fd7e14;
    background-color: #fff3cd;
}

.status-evaluated {
    color: #28a745;
    background-color: #d4edda;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .departments-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .departments-section {
        padding: 20px 0;
    }
    
    .departments-container {
        padding: 0 15px;
    }
    
    .department-header {
        padding: 15px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .department-title {
        font-size: 14px;
    }
    
    .department-request-item {
        padding: 12px 15px;
    }
    
    .request-title {
        font-size: 13px;
    }
}
