* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* 侧边栏样式 */
.sidebar {
    width: 250px;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    white-space: nowrap;
}

.logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    align-items: center;
    text-align: center;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main-text {
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
}

.logo-sub-text {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: normal;
    margin-top: 2px;
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 5px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    border-radius: 0 20px 20px 0;
}

.sidebar-nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-left-color: white;
    transform: translateX(5px);
}

.sidebar-nav li.active a {
    background-color: rgba(255, 255, 255, 0.25);
    border-left-color: white;
    font-weight: 600;
}

.sidebar-nav i {
    width: 20px;
    text-align: center;
}

/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 顶部导航栏 */
.top-nav {
    background-color: white;
    padding: 15px 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5e7eb;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6b7280;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background-color: #f9fafb;
    color: #4b5563;
    transform: rotate(90deg);
}

.search-box {
    position: relative;
    width: 300px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.search-box input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: white;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notification {
    position: relative;
    cursor: pointer;
    font-size: 1.2rem;
    color: #6b7280;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.notification:hover {
    background-color: #f9fafb;
    color: #4b5563;
}

.notification .badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.user-info:hover {
    background-color: #f9fafb;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3b82f6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-name {
    font-weight: 500;
    color: #374151;
}

/* 页面内容 */
.page-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

/* 内容区域 */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.content-body {
    padding: 20px 0;
    font-size: 1rem;
    color: #555;
}

/* 快速操作按钮 */
.quick-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.action-btn.primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.action-btn.secondary {
    background-color: #f9fafb;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.action-btn.secondary:hover {
    background-color: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 筛选区域 */
.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 15px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-left, .filter-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: white;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    min-width: 150px;
}

.filter-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* 项目列表表格 */
.projects-table-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

.projects-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.projects-table th,
.projects-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
}

.projects-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.projects-table tbody tr {
    transition: all 0.3s ease;
    cursor: pointer;
}

.projects-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* 状态标签 */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.in-progress {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-badge.completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-badge.delayed {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.status-badge.paused {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* 小进度条 */
.progress-bar-small {
    width: 100px;
    height: 6px;
    background-color: #f3f4f6;
    border-radius: 3px;
    overflow: hidden;
    display: inline-block;
    margin-right: 10px;
    vertical-align: middle;
}

.progress-bar-small .progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* 进度条 */
.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #f3f4f6;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* 操作图标 */
.action-icons {
    display: flex;
    gap: 10px;
}

.action-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.3s ease;
}

.action-icons a:hover {
    background-color: #f9fafb;
    transform: translateY(-2px);
}

.icon-view:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
}

.icon-edit:hover {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
}

.icon-delete:hover {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-btn {
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover:not(.disabled) {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
    transform: translateY(-2px);
}

.page-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.disabled:hover {
    background-color: white;
    color: #333;
    border-color: #ddd;
    transform: none;
}

.page-info {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-left: 15px;
}

/* 项目列表容器 */
.projects-table-container {
    overflow-x: auto;
}

/* 项目列表（卡片式） */
.projects-grid-section {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ecf0f1;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.section-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.project-card {
    background-color: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transform-origin: left;
    transition: all 0.3s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

/* 项目logo */
.project-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.project-logo-img {
    width: 100%;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.project-card:hover .project-logo-img {
    transform: scale(1.05);
}

.project-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.project-status-badge.in-progress {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.project-status-badge.completed {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.project-status-badge.delayed {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.project-card h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #6b7280;
}

.project-card-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-card-meta i {
    color: #3b82f6;
    width: 16px;
    text-align: center;
}

.project-card p {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-card-progress {
    margin-bottom: 20px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #6b7280;
}

.progress-label span:last-child {
    font-weight: 600;
    color: #3b82f6;
}

.project-card-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: #f9fafb;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.card-action-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.card-action-btn i {
    width: 16px;
    text-align: center;
}

/* 项目详情内容 */
.project-detail-content {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    margin-top: 20px;
}

.project-detail-header {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.project-detail-logo {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-detail-logo .project-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.project-detail-info {
    flex: 1;
    min-width: 300px;
}

.project-detail-status {
    margin-bottom: 15px;
}

.project-detail-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #6b7280;
}

.project-detail-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-detail-meta i {
    color: #3b82f6;
}

.project-detail-description,
.project-detail-progress,
.project-detail-actions {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.project-detail-description:last-child,
.project-detail-progress:last-child,
.project-detail-actions:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.project-detail-description h3,
.project-detail-progress h3,
.project-detail-actions h3 {
    font-size: 1.2rem;
    color: #1f2937;
    margin-bottom: 15px;
    font-weight: 600;
}

.project-detail-description p {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-detail-actions .quick-actions {
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 18px;
    }
    
    .project-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-left, .filter-right {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select {
        min-width: auto;
    }
    
    .projects-table {
        font-size: 0.8rem;
    }
    
    .projects-table th,
    .projects-table td {
        padding: 10px 8px;
    }
    
    .progress-bar-small {
        width: 80px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-card {
        padding: 18px;
    }
    
    .project-card-meta {
        gap: 10px;
    }
    
    .card-action-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .project-card p {
        -webkit-line-clamp: 2;
    }
    
    .card-action-btn {
        flex: 1 0 100%;
        justify-content: center;
    }
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.page-header p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* 页面标题动作 */
.header-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

/* 返回按钮 */
.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
}

.back-btn i {
    width: 16px;
    text-align: center;
}

/* 页面标题操作按钮组 */
.header-action-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

/* 数据统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.stat-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.stat-icon.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.stat-icon.orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.stat-content h3 {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 5px;
    line-height: 1.2;
}

.stat-change {
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-change.positive {
    color: #10b981;
}

.stat-change.negative {
    color: #ef4444;
}

.stat-change span {
    color: #9ca3af;
    margin-left: 5px;
    font-weight: normal;
}

/* 统计数字链接 */
.stat-number-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: all 0.3s ease;
}

.stat-number-link:hover {
    color: #3498db;
    transform: scale(1.05);
}

.stat-number-link .stat-number {
    margin-bottom: 0;
}

/* 图表和数据区域 */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.chart-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.chart-header {
    padding: 20px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chart-header h2 {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.chart-filter select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    outline: none;
    background-color: white;
    cursor: pointer;
}

.chart-content {
    padding: 20px;
}

/* 右侧面板 */
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.panel-header {
    padding: 20px;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-header h2 {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
}

.view-all {
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.view-all:hover {
    text-decoration: underline;
}

/* 待办事项列表 */
.todo-list {
    padding: 20px;
}

.todo-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.todo-item:last-child {
    border-bottom: none;
}

.todo-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.todo-item label {
    flex: 1;
    cursor: pointer;
    font-size: 0.95rem;
    color: #333;
    transition: all 0.3s ease;
}

.todo-item input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    color: #95a5a6;
}

.todo-date {
    font-size: 0.8rem;
    color: #7f8c8d;
    background-color: #f5f7fa;
    padding: 4px 10px;
    border-radius: 15px;
}

/* 最近项目 */
.project-list {
    padding: 20px;
}

.project-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.project-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.project-info h3 {
    font-size: 0.95rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.project-info p {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 10px;
}

.project-progress {
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background-color: #ecf0f1;
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #3498db;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.project-progress span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #3498db;
    min-width: 35px;
    text-align: right;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .right-panel {
        flex-direction: row;
    }
    
    .panel-card {
        flex: 1;
    }
}

@media (max-width: 992px) {
    .sidebar {
        width: 80px;
    }
    
    .sidebar .logo span,
    .sidebar-nav span {
        display: none;
    }
    
    .sidebar-nav a {
        justify-content: center;
        padding: 15px 10px;
    }
    
    .search-box {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        flex-direction: row;
        overflow-x: auto;
    }
    
    .sidebar-header {
        border-bottom: none;
        border-right: 1px solid #34495e;
    }
    
    .sidebar-nav {
        flex: 1;
        padding: 0;
    }
    
    .sidebar-nav ul {
        display: flex;
        height: 100%;
    }
    
    .sidebar-nav li {
        margin-bottom: 0;
    }
    
    .sidebar-nav a {
        flex-direction: column;
        gap: 5px;
        padding: 15px 20px;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .sidebar-nav li.active a {
        border-left-color: transparent;
        border-bottom-color: #2980b9;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .right-panel {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .top-nav {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .nav-left,
    .nav-right {
        justify-content: space-between;
    }
    
    .search-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 15px;
    }
    
    .stat-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .chart-header,
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}