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

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 60px; /* 为固定的 header 留出空间 */
}

/* 添加微妙的背景装饰 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.02) 0%, transparent 20%);
    pointer-events: none;
    z-index: -1;
}

/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 认证页面容器 */
#auth-container {
    width: 100%;
    min-height: calc(100vh - 60px); /* 减去 header 高度 */
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 顶部 Logo 区域 */
.top-header {
    width: 100%;
    border-bottom: 1px solid #000000;
    padding: 0 20px 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #ffffff;
    z-index: 1000;
}

.logo-img {
    max-width: 140px;
    height: auto;
    object-fit: contain;
}

/* 主内容区 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 40px;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.main-content h1 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 2px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #000000;
    text-transform: uppercase;
}

.subtitle {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 45px;
    color: #000000;
    opacity: 0.8;
    text-transform: uppercase;
}

/* 输入框包装器 */
.input-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    justify-content: center;
}

#name-input {
    flex: 1;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 300;
    border: 1px solid #000000;
    outline: none;
    background: transparent;
    transition: all 0.3s ease;
    font-family: inherit;
}

#name-input::placeholder {
    color: #cccccc;
    font-weight: 300;
    letter-spacing: 0.5px;
}

#name-input:focus {
    border-color: #000000;
}

#submit-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #000000;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

#submit-btn:hover {
    background: #000000;
    color: #ffffff;
}

#submit-btn svg {
    width: 24px;
    height: 24px;
}

/* 底部版权 */
.footer {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100; /* 低于 header 的 z-index (1000) */
}

.footer span {
    font-size: 14px;
    font-weight: 300;
    color: #000000;
    opacity: 0.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        padding-top: 50px; /* 移动设备上 header 高度较小 */
    }
    
    .top-header {
        padding: 0 15px 2px;
    }
    
    .logo-img {
        max-width: 110px;
    }
    
    .main-content {
        padding: 50px 20px;
    }
    
    .main-content h1 {
        font-size: 18px;
        letter-spacing: 1.5px;
    }
    
    .subtitle {
        font-size: 12px;
        letter-spacing: 0.8px;
    }
    
    .input-wrapper {
        max-width: 100%;
    }
    
    #name-input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    #submit-btn {
        width: 44px;
        height: 44px;
    }
    
    .footer {
        bottom: 20px;
        right: 20px;
    }
    
    #auth-container {
        min-height: calc(100vh - 50px); /* 移动设备上减去较小的 header 高度 */
    }
}

/* Work Report 页面样式 */
.work-report-page {
    align-items: center;
    text-align: center;
    padding-top: 20px; /* 减少 padding，因为 body 已经有 padding-top */
    padding-bottom: 40px;
}

.dual-image-container {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    height: calc(100vh - 200px);
    margin: 0 auto;
}

.image-box {
    flex: 1;
    background-color: #d9d9d9;
    position: relative;
    overflow: hidden; /* 由wrapper控制 */
    opacity: 0;
    transform: translateX(-100px);
}

.image-box.animate-in {
    animation: slideInFromLeft 1.5s ease-out forwards;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden; /* wrapper负责裁剪 */
    position: relative;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 填满容器 */
    display: block;
}

/* GUCCI 品牌文字 */
.brand-text {
    position: absolute;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
    font-size: 96px;
    font-weight: 300;
    letter-spacing: 25px;
    color: #ffffff;
    text-transform: uppercase;
    z-index: 10;
    pointer-events: none;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gucci-text {
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 30px;
}

/* BOTTEGA VENETA 品牌文字 */
.bv-text {
    font-family: 'Times New Roman', Times, serif;
    letter-spacing: 12px;
    font-size: 64px;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.image-box:hover .image-overlay {
    opacity: 1;
}

/* Work Performance / Brand Performance 页面样式 */
.work-performance-page {
    align-items: flex-start;
    text-align: left;
    padding-top: 20px; /* 减少 padding，因为 body 已经有 padding-top */
}

.work-performance-page h1 {
    margin-bottom: 15px;
    position: relative;
}

.work-performance-page h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #000000;
}

.work-performance-page .subtitle {
    margin-bottom: 50px;
    opacity: 0.6;
}

.performance-section {
    width: 100%;
    max-width: 800px;
    margin-bottom: 80px;
    opacity: 1; /* 暂时禁用动画，确保内容可见 */
    transform: translateY(0); /* 暂时禁用位移 */
    transition: all 0.6s ease-out;
}

.performance-section.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: 20px;
    font-weight: 100;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #000000;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: #000000;
    opacity: 0.8;
    text-transform: uppercase;
    border-bottom: 1px solid #000000;
    padding-bottom: 10px;
}

.content-placeholder {
    padding: 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Project Grid Styles */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.project-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.project-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #000000;
}

.project-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    margin-bottom: 15px;
}

.metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.metric {
    background-color: #000000;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* Achievement List Styles */
.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
    position: relative;
    padding-left: 20px;
}

.achievement-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
    font-size: 18px;
}

.achievement-list li:last-child {
    border-bottom: none;
}

.achievement-list li strong {
    color: #000000;
    font-weight: 600;
}

/* Skills Container Styles */
.skills-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-category {
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateX(5px);
}

.skill-category h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #000000;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background-color: #000000;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Supply Chain & Project Status Visualization Styles */
.supply-chain-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* 调试：确保可见 */
    min-height: 100px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #666666;
    text-transform: none;
    display: block;
    margin-top: 5px;
}

/* Timeline Section */
.timeline-section h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #000000;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e0e0e0;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #000000;
    background-color: #ffffff;
}

.timeline-item.completed .timeline-dot {
    background-color: #000000;
}

.timeline-item.in-progress .timeline-dot {
    background-color: #ffd700;
    border-color: #ffd700;
    animation: pulse 2s infinite;
}

.timeline-item.pending .timeline-dot {
    background-color: #ffffff;
    border-color: #cccccc;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 215, 0, 0);
    }
}

.timeline-content {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: #000000;
}

.timeline-date {
    font-size: 12px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 5px;
}

.timeline-desc {
    font-size: 14px;
    color: #666666;
    line-height: 1.5;
}

/* Project Status Grid */
.project-status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.status-card {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.status-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.status-card.on-track {
    border-left: 4px solid #4caf50;
}

.status-card.at-risk {
    border-left: 4px solid #ff9800;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-header h5 {
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.on-track {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-badge.at-risk {
    background-color: #fff3e0;
    color: #ef6c00;
}

.status-progress {
    margin-bottom: 15px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background-color: #000000;
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.status-card.at-risk .progress-fill {
    background-color: #ff9800;
}

.progress-text {
    font-size: 13px;
    color: #666666;
    font-weight: 500;
}

.status-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

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

.detail-label {
    font-size: 13px;
    color: #666666;
}

.detail-value {
    font-size: 13px;
    font-weight: 600;
    color: #000000;
}

.detail-value.low {
    color: #4caf50;
}

.detail-value.medium {
    color: #ff9800;
}

.detail-value.high {
    color: #f44336;
}

/* Supply Metrics */
.supply-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.metric-box {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #f0f0f0;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.metric-box .metric-value {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 8px;
}

.metric-box .metric-label {
    font-size: 12px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

/* 添加返回按钮样式 */
.back-button {
    position: fixed;
    top: 40px; /* header 高度约60px，垂直居中即30px，再向下移动10px */
    transform: translateY(-50%); /* 精确垂直居中 */
    left: 20px;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #000000;
    color: #000000;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    z-index: 1001; /* 高于 header 的 z-index (1000) */
}

.back-button:hover {
    background-color: #000000;
    color: #ffffff;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 40px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #666666;
}

#modal-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #000000;
}

#modal-description {
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 25px;
}

#modal-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 响应式设计 - Work Report 页面 */
@media (max-width: 768px) {
    .dual-image-container {
        flex-direction: column;
        gap: 20px;
        height: auto;
        padding: 0 20px;
    }
    
    .image-box {
        height: 400px;
    }
    
    .brand-text {
        font-size: 64px;
        letter-spacing: 15px;
    }
    
    .gucci-text {
        letter-spacing: 18px;
    }
    
    .bv-text {
        font-size: 42px;
        letter-spacing: 8px;
    }
    
    /* Brand Performance 页面响应式 */
    .performance-section {
        margin-bottom: 30px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .content-placeholder {
        padding: 20px;
    }
    
    /* 返回按钮响应式 */
    .back-button {
        top: 35px; /* 移动设备 header 高度约50px，垂直居中即25px，再向下移动10px */
        transform: translateY(-50%);
        left: 15px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    /* 模态框响应式 */
    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    #modal-title {
        font-size: 20px;
    }
    
    #modal-description {
        font-size: 14px;
    }
    
    /* Supply Chain 模块响应式 */
    .supply-chain-container {
        gap: 30px;
    }
    
    .project-status-grid {
        grid-template-columns: 1fr;
    }
    
    .supply-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline {
        padding-left: 20px;
    }
    
    .timeline-content {
        padding: 12px;
    }
    
    .timeline-title {
        font-size: 14px;
    }
    
    .metric-box .metric-value {
        font-size: 24px;
    }
}

/* Gucci Report 页面响应式 */
@media (max-width: 768px) {
    .report-title {
        font-size: 48px;
        letter-spacing: 15px;
    }
    
    .report-subtitle {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .metric-value {
        font-size: 32px;
    }
    
    /* 数据表格模块响应式 */
    .data-tables-container {
        gap: 10px;
    }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .data-table-card {
        flex: 0 0 250px;
    }
    
    .table-header h3 {
        font-size: 16px;
    }
    
    .table-content th,
    .table-content td {
        padding: 8px 10px;
        font-size: 12px;
    }
    
    .indicator-line {
        width: 30px;
    }
}

/* 页面切换动画 - 从左往右平移 */

/* 其他页面的进入动画 - 只应用于 main 内容区 */
body.work-report-page .main-content,
body.brand-performance-page .main-content,
body.gucci-work-report-page .main-content {
    animation: pageSlideIn 2s ease-out;
    animation-fill-mode: both;
}

/* 确保 header 不受动画影响 */
body.work-report-page .top-header,
body.brand-performance-page .top-header,
body.gucci-work-report-page .top-header,
body.work-report-page footer,
body.brand-performance-page footer,
body.gucci-work-report-page footer {
    animation: none !important;
}

/* Gucci Work Report 页面特殊样式 */
.report-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 40px 0;
}

.report-title {
    font-size: 72px;
    font-weight: 300;
    letter-spacing: 20px;
    color: #000000;
    margin-bottom: 15px;
    font-family: 'Times New Roman', Times, serif;
}

.report-subtitle {
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    color: #000000;
    opacity: 0.8;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.metric-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.metric-value {
    font-size: 42px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 14px;
    letter-spacing: 2px;
    color: #666666;
    text-transform: uppercase;
}

/* 核心销售与库存数据模块 */
.data-tables-section {
    margin-top: 80px;
}

.data-tables-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.nav-arrow {
    background: none;
    border: 1px solid #000000;
    width: 50px;
    height: 50px;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-arrow:hover {
    background-color: #000000;
    color: #ffffff;
}

.tables-scroll-wrapper {
    flex: 1;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #cccccc transparent;
    padding: 10px 0;
}

.tables-scroll-wrapper::-webkit-scrollbar {
    height: 6px;
}

.tables-scroll-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.tables-scroll-wrapper::-webkit-scrollbar-thumb {
    background-color: #cccccc;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.tables-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background-color: #000000;
}

.data-table-card {
    flex: 0 0 300px;
    border: 1px solid #000000;
    background-color: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
}

.data-table-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.data-table-card.selected {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.table-header {
    padding: 15px 20px;
}

.table-header h3 {
    font-size: 14px;
    font-weight: 200;
    color: #000000;
    margin: 0 0 3px 0;
    letter-spacing: 1px;
}

.update-time {
    font-size: 10px;
    font-weight: 200;
    color: #999999;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Daily Report 样式 */
.daily-report {
    padding: 15px 20px;
}

.report-item {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.report-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.report-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
    margin-bottom: 6px;
}

.label-en {
    font-size: 12px;
    font-weight: 200;
    color: #000000;
    letter-spacing: 0.5px;
}

.label-cn {
    font-size: 10px;
    font-weight: 200;
    color: #999999;
    letter-spacing: 0.5px;
}

.report-value {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.value-main {
    font-size: 18px;
    font-weight: 200;
    color: #000000;
    letter-spacing: 1px;
}

.value-sub {
    font-size: 10px;
    font-weight: 200;
    color: #999999;
    letter-spacing: 0.5px;
}

.sales-volume .value-main,
.revenue .value-main {
    color: #ff0000;
}

/* MTD Attainment */
.attainment-info {
    margin-bottom: 6px;
}

.attainment-status {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}

.status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.green {
    background-color: #4CAF50;
}

.status-dot.red {
    background-color: #F44336;
}

.status-text {
    font-size: 10px;
    font-weight: 200;
    color: #999999;
    letter-spacing: 0.5px;
}

/* TOP 3 Bestsellers */
.bestseller-cards {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.bestseller-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-image {
    width: 100%;
    aspect-ratio: 1;
    background-color: #f5f5f5;
    border-radius: 2px;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.model-name {
    font-size: 9px;
    font-weight: 200;
    color: #000000;
    letter-spacing: 0.5px;
}

.units {
    font-size: 8px;
    font-weight: 200;
    color: #999999;
    letter-spacing: 0.5px;
}

/* 红色高亮 XX */
.highlight-red {
    color: #ff0000;
    font-weight: 300;
}

/* Channel Performance Chart */
.chart-section {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.chart-container {
    display: flex;
    gap: 15px;
    margin-top: 12px;
}

.y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 180px;
    padding-right: 10px;
}

.channel-label {
    font-size: 9px;
    font-weight: 200;
    color: #000000;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-align: right;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.bars-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.bar-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 28px;
}

.bar {
    height: 18px;
    background-color: #000000;
    transition: all 0.3s ease;
    min-width: 2px;
}

.bar:hover {
    opacity: 0.7;
}

.bar-value {
    font-size: 9px;
    font-weight: 200;
    color: #000000;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.x-axis {
    display: flex;
    justify-content: space-between;
    margin-left: 195px;
    margin-top: 8px;
    padding-top: 5px;
    border-top: 1px solid #e0e0e0;
}

.x-axis span {
    font-size: 8px;
    font-weight: 200;
    color: #999999;
    letter-spacing: 0.5px;
}

/* Weekly Report Styles */
.weekly-report {
    padding: 0;
}

.chart-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

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

.chart-placeholder {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    border-radius: 2px;
}

.line-chart,
.bar-chart {
    height: 80px;
}

.scatter-chart {
    height: 100px;
}

/* Initiatives Table */
.initiatives-section {
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.initiatives-table {
    margin-top: 10px;
    font-size: 8px;
}

.initiative-row {
    display: grid;
    grid-template-columns: 2fr 1fr 2.5fr 1.5fr;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #e0e0e0;
}

.initiative-row.header {
    font-weight: 300;
    color: #000000;
    border-bottom: 1px solid #000000;
    align-items: flex-start;
}

.initiative-row:not(.header) {
    font-weight: 200;
    color: #333333;
}

.init-col {
    display: block;
    line-height: 1.3;
}

.sub-text {
    display: block;
    font-size: 7px;
    font-weight: 200;
    color: #666666;
    margin-top: 2px;
}

.initiative-name {
    font-weight: 200;
    color: #000000;
}

.timeline {
    color: #666666;
}

.key-metrics {
    color: #333333;
}

.result {
    color: #000000;
}

/* Inventory Report Styles */
.inventory-report {
    padding: 0;
}

.scrollable-table {
    max-height: 280px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
}

.inventory-table,
.priority-table {
    width: 100%;
}

.inv-row,
.pri-row {
    display: grid;
    border-bottom: 1px solid #e0e0e0;
}

.inv-row.header,
.pri-row.header {
    font-weight: 300;
    color: #000000;
    background-color: #f5f5f5;
    position: sticky;
    top: 0;
    z-index: 10;
}

.inv-row:not(.header),
.pri-row:not(.header) {
    font-weight: 200;
    color: #333333;
}

/* Inventory Table Columns */
.inv-row {
    grid-template-columns: 1.5fr 1.2fr 0.8fr 1.5fr 1fr;
    gap: 6px;
    padding: 8px 6px;
    font-size: 8px;
}

.inv-col {
    display: block;
    line-height: 1.4;
    padding: 2px 4px;
}

.collection {
    font-weight: 200;
    color: #000000;
}

.chodel {
    color: #333333;
}

.aging {
    text-align: center;
    color: #000000;
}

.hero-colors {
    color: #333333;
}

.hero-colors.red {
    color: #ff0000;
    font-weight: 300;
}

.action {
    text-align: center;
    font-weight: 300;
    padding: 4px 6px;
    border-radius: 2px;
}

.action.green {
    background-color: #e8f5e9;
    color: #4CAF50;
}

.action.urgent {
    background-color: #ffebee;
    color: #F44336;
}

.action.sale {
    background-color: #fff3e0;
    color: #FF9800;
}

.action.replenish {
    background-color: #e3f2fd;
    color: #2196F3;
}

.action.mixed {
    background-color: #f3e5f5;
    color: #9C27B0;
}

.action.travel {
    background-color: #e0f7fa;
    color: #00BCD4;
}

.action.promo {
    background-color: #fce4ec;
    color: #E91E63;
}

/* Priority Table Columns */
.pri-row {
    grid-template-columns: 1fr 2fr 1.5fr 1.2fr;
    gap: 8px;
    padding: 8px 10px;
    font-size: 8px;
}

.pri-col {
    display: block;
    line-height: 1.4;
}

.priority {
    font-weight: 300;
    color: #000000;
}

.priority-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.priority-dot.red {
    background-color: #F44336;
}

.priority-dot.orange {
    background-color: #FF9800;
}

.priority-dot.blue {
    background-color: #2196F3;
}

.priority.p0 {
    font-weight: 400;
}

.priority.p1 {
    font-weight: 300;
}

.priority.p2 {
    font-weight: 200;
}

.pri-col.action {
    color: #333333;
}

.impact {
    color: #000000;
}

.difficulty {
    color: #666666;
}

/* STR Report Styles */
.str-report {
    padding: 0;
    height: 300px;
    overflow-y: auto;
}

/* Bullet Comparison Container */
.bullet-comparison-container {
    margin-top: 10px;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 5px;
}

/* Custom scrollbar for bullet comparison */
.bullet-comparison-container::-webkit-scrollbar {
    width: 4px;
}

.bullet-comparison-container::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 2px;
}

.bullet-comparison-container::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 2px;
}

.bullet-comparison-container::-webkit-scrollbar-thumb:hover {
    background: #666666;
}

.bullet-row {
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 12px;
    margin-bottom: 10px;
}

.bullet-row:last-child {
    margin-bottom: 0;
}

.row-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.collection-name {
    font-size: 9px;
    font-weight: 300;
    color: #000000;
    letter-spacing: 0.5px;
}

.launch-date {
    font-size: 7px;
    font-weight: 200;
    color: #666666;
}

.status-badge {
    display: inline-block;
    font-size: 7px;
    font-weight: 200;
    padding: 2px 6px;
    border-radius: 2px;
    margin-top: 2px;
}

.status-badge.green {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.status-badge.yellow {
    background-color: rgba(255, 152, 0, 0.1);
    color: #FF9800;
    border: 1px solid #FF9800;
}

.status-badge.gray {
    background-color: rgba(158, 158, 158, 0.1);
    color: #9E9E9E;
    border: 1px solid #9E9E9E;
}

.bullet-pair {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bullet-label {
    font-size: 7px;
    font-weight: 200;
    color: #000000;
    min-width: 80px;
    line-height: 1.3;
}

.scatter-plot-container {
    margin-top: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 10px;
    overflow-x: auto;
    position: relative;
    width: 100%;
}

.scatter-plot-container svg {
    display: block;
    min-width: 320px;
}

/* Data Point Hover Effect */
.data-point {
    cursor: pointer;
}

.data-point circle {
    transition: all 0.2s ease;
}

.data-point:hover circle {
    r: 5;
    opacity: 1;
    stroke: #000000;
    stroke-width: 1.5;
}

/* Tooltip Styles */
.scatter-tooltip {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 200;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.scatter-tooltip.visible {
    opacity: 1;
}

.tooltip-product {
    font-weight: 400;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.tooltip-name {
    font-weight: 200;
    opacity: 0.9;
}

.line-chart-container {
    margin-top: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 10px;
    overflow-x: auto;
    width: 100%;
}

.line-chart-container svg {
    display: block;
    min-width: 320px;
}

.bar-chart-container {
    margin-top: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 10px;
    overflow-x: auto;
    width: 100%;
}

.bar-chart-container svg {
    display: block;
    min-width: 320px;
}

.price-tier-chart {
    margin-top: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    padding: 10px;
    overflow-x: auto;
    width: 100%;
}

.price-tier-chart svg {
    display: block;
    min-width: 320px;
}

.scrollable-table-h {
    overflow-x: auto;
    margin-top: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    max-width: 100%;
    width: 100%;
}

.str-table {
    width: 100%;
    min-width: 280px;
    margin-top: 0;
}

.str-row {
    display: grid;
    border-bottom: 1px solid #e0e0e0;
    font-size: 8px;
}

.str-row.header {
    font-weight: 300;
    color: #000000;
    background-color: #f5f5f5;
}

.str-row:not(.header) {
    font-weight: 200;
    color: #333333;
}

/* New Arrival Performance Tracker Columns */
.new-arrival-table .str-row {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr 0.8fr 1fr;
}

.str-col {
    display: block;
    line-height: 1.4;
    padding: 6px 4px;
}

/* Bullet Chart Styles */
.bullet-chart {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bullet-bar {
    position: relative;
    width: 60px;
    height: 10px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.bullet-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #000000;
    transition: width 0.3s ease;
}

.bullet-target {
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background-color: #F44336;
    z-index: 2;
}

.bullet-value {
    font-size: 7px;
    font-weight: 200;
    color: #000000;
    min-width: 30px;
}

.launch-date,
.cumulative-months,
.cumulative-str,
.target-str {
    text-align: center;
}

.status {
    text-align: center;
    font-weight: 300;
}

.status.green {
    color: #4CAF50;
}

.status.yellow {
    color: #FF9800;
}

.status.gray {
    color: #999999;
}

/* STR vs Discount Scatter Plot Columns */
.str-table:nth-of-type(2) .str-row {
    grid-template-columns: 1.5fr 1fr 2fr;
}

.quadrant {
    font-weight: 200;
    color: #000000;
}

.feature {
    display: flex;
    align-items: center;
    gap: 6px;
}

.interpretation {
    color: #333333;
}

/* STR Trend YoY/MoM Columns */
.str-table:nth-of-type(3) .str-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.series {
    font-weight: 200;
    color: #000000;
}

.month1,
.month2,
.month3 {
    text-align: center;
}

/* STR By Channel Columns */
.str-table:nth-of-type(4) .str-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
}

.channel {
    text-align: center;
}

/* STR By Price Tier Columns */
.str-table:nth-of-type(5) .str-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
}

.price-tier {
    font-weight: 200;
    color: #000000;
}

.sku-count,
.cumulative-str,
.avg-discount {
    text-align: center;
}

/* Forecast vs Actual */
.forecast-section {
    padding-top: 15px;
    border-top: 2px solid #2196F3;
}

.forecast-table {
    border: 2px solid #2196F3;
    border-radius: 2px;
    padding: 2px;
}

.forecast-table .str-row {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
}

.purchase-qty,
.forecast-str,
.actual-str {
    text-align: center;
}

.variance {
    text-align: center;
    font-weight: 300;
}

.variance.positive {
    color: #4CAF50;
}

.variance.negative {
    color: #F44336;
}

.table-content {
    padding: 0;
    max-height: 300px;
    overflow-y: auto;
}

.table-content table {
    width: 100%;
    border-collapse: collapse;
}

.table-content th,
.table-content td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.table-content th {
    font-weight: 600;
    color: #000000;
    background-color: #f5f5f5;
}

.table-content td {
    color: #333333;
}

.table-content tr:last-child td {
    border-bottom: none;
}

/* 滚动指示器 */
.scroll-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    margin-bottom: 150px;
}

.indicator-line {
    width: 40px;
    height: 3px;
    background-color: #cccccc;
    transition: background-color 0.3s ease;
    border-radius: 2px;
}

/* Lifecycle Container */
.lifecycle-container {
    margin-top: 0px;
    padding: 0;
}

/* 生命周期内容容器 - 宽度与标题分割线一致,600px高,透明 */
.lifecycle-content-wrapper {
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin-top: 10px; /* 距离标题分割线10px */
    background: transparent;
    overflow-y: auto;
    overflow-x: hidden;
    margin-left: auto;
    margin-right: auto;
}

/* 圆点滚动条样式 */
.lifecycle-content-wrapper::-webkit-scrollbar {
    width: 8px;
}

.lifecycle-content-wrapper::-webkit-scrollbar-track {
    background: transparent;
}

.lifecycle-content-wrapper::-webkit-scrollbar-thumb {
    background: radial-gradient(circle, #999999 2px, transparent 2px);
    background-size: 8px 8px;
    border-radius: 0;
}

.lifecycle-content-wrapper::-webkit-scrollbar-thumb:hover {
    background: radial-gradient(circle, #666666 2px, transparent 2px);
    background-size: 8px 8px;
}

/* 第一个生命周期容器(27SS)增加顶部间距 */
.lifecycle-first {
    margin-top: 10px;
}

/* 垂直分隔符 */
.lifecycle-divider {
    position: relative;
    height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: -10px 0 0 2px;
    padding: 0;
}

.divider-line {
    width: 1px;
    height: 450px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        #4a5568 20%,
        #4a5568 80%,
        transparent 100%
    );
    opacity: 0.4;
}

.series-label {
    font-size: 24px;
    font-weight: 100;
    color: #000000;
    margin-top: 5px;
    margin-bottom: 8px;
    padding: 0;
    display: block;
    width: fit-content;
    margin-left: 50px;
    text-align: left;
    letter-spacing: 8px;
    text-transform: uppercase;
}

/* Product Line Current Status */
.product-line-status {
    margin-left: 50px;
    margin-right: 180px;
    margin-bottom: 0px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
}

.status-title-section {
    display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: left;
}

.status-title-en {
    font-size: 11px;
    font-weight: 200 !important;
    color: #000000;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: left;
}

.status-title-cn {
    font-size: 9px;
    font-weight: 200 !important;
    color: #999999;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: left;
}

.status-separator {
    font-size: 11px;
    font-weight: 400 !important;
    color: #000000;
    letter-spacing: 0.5px;
    padding: 0 1px;
    text-align: left;
}

.status-phase-section {
    display: flex;
    flex-direction: column;
    gap: 0px;
    flex: 1;
    text-align: left;
}

.status-phase-en {
    font-size: 11px;
    font-weight: 200 !important;
    color: #000000;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: left;
}

.status-phase-cn {
    font-size: 9px;
    font-weight: 200 !important;
    color: #999999;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-align: left;
}

.status-progress-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 100px;
    text-align: center;
}

.status-progress-text {
    font-size: 9px;
    font-weight: 200 !important;
    color: #000000;
    letter-spacing: 0.5px;
}

.status-progress-bar {
    width: 100px;
    height: 8px;
    border: 1px solid #000000;
    background-color: transparent;
    overflow: hidden;
}

.status-progress-fill {
    height: 100%;
    background: repeating-linear-gradient(
        -45deg,
        #4CAF50,
        #4CAF50 3px,
        #66BB6A 3px,
        #66BB6A 6px
    );
    transition: width 0.3s ease;
}

.lifecycle-chart {
    width: 100%;
    overflow-x: auto;
    margin-top: -20px;
}

.lifecycle-chart svg {
    min-width: 100%;
}

@keyframes pageSlideIn {
    from {
        opacity: 0;
        transform: translateX(100vw); /* 从右侧屏幕外开始 */
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 页面向左滑出动画 */
body.page-sliding-out {
    animation: pageSlideOut 1s ease-in forwards;
}

@keyframes pageSlideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-100vw); /* 向左滑出屏幕 */
    }
}

/* 过渡遮罩层 */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 9999;
    pointer-events: none;
}

/* ========================================
   Strategic Project Portfolio Styles
   战略项目组合模块样式
   ======================================== */

/* TODO List Styles */
.todo-wrapper-container {
    width: 800px;
    height: 560px;
    margin-top: 10px;
    overflow-y: auto;
    overflow-x: hidden;
    direction: rtl; /* 将滚动条放到左边 */
}

/* 确保内容从左到右显示 */
.todo-list-container {
    direction: ltr;
}

/* Custom scrollbar - ultra thin line on the left */
.todo-wrapper-container::-webkit-scrollbar {
    width: 1px !important;
}

.todo-wrapper-container::-webkit-scrollbar-track {
    background: transparent !important;
    margin: 10px 0;
}

.todo-wrapper-container::-webkit-scrollbar-thumb {
    background-color: #000000 !important;
    border-radius: 0.5px !important;
    min-height: 20px;
}

.todo-wrapper-container::-webkit-scrollbar-thumb:hover {
    background-color: #333333 !important;
}

/* Firefox scrollbar */
.todo-wrapper-container {
    scrollbar-width: thin;
    scrollbar-color: #000000 transparent;
}

.todo-list-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.todo-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    transition: all 0.3s ease;
    min-height: 280px;
}

.todo-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-color: #000000;
}

.todo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.todo-title {
    font-size: 16px;
    font-weight: 200;
    color: #000000;
    letter-spacing: 0.5px;
    flex: 1;
}

.todo-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
}

.progress-text {
    font-size: 14px;
    font-weight: 200;
    color: #FF0000;
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: #e0e0e0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.3s ease;
}

.todo-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 200;
    color: #666666;
    min-width: 100px;
}

.todo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.todo-section {
    padding: 10px;
}

.section-label {
    font-size: 11px;
    font-weight: 200;
    color: #666666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.todo-list li {
    font-size: 12px;
    font-weight: 200;
    color: #333333;
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
    line-height: 1.5;
}

.todo-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

.risk-section {
    grid-column: 1 / -1;
    background-color: #fff9e6;
    border-left: 3px solid #FFC107;
    border-radius: 4px;
    padding: 12px;
}

.risk-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.risk-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.risk-text {
    font-size: 12px;
    font-weight: 200;
    color: #333333;
    line-height: 1.5;
}

.todo-metrics {
    grid-column: 1 / -1;
    display: flex;
    gap: 15px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

.metric-tag {
    font-size: 11px;
    font-weight: 200;
    color: #666666;
    background-color: #fafafa;
    padding: 8px 12px;
    border-radius: 4px;
}

.metric-value-red {
    color: #FF0000;
    font-weight: 200;
}

.strategic-project-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.strategic-project-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-color: #000000;
}

.project-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.project-number {
    font-size: 48px;
    font-weight: 100;
    color: #000000;
    opacity: 0.1;
    line-height: 1;
    min-width: 60px;
}

.project-title-section {
    flex: 1;
}

.project-title-en {
    font-size: 18px;
    font-weight: 200;
    color: #000000;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.project-title-cn {
    font-size: 14px;
    font-weight: 200;
    color: #666666;
    letter-spacing: 1px;
}

.project-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.subsection-title {
    font-size: 14px;
    font-weight: 200;
    color: #000000;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.4;
}

.subsection-title .sub-text {
    display: block;
    font-size: 12px;
    font-weight: 200;
    color: #666666;
    margin-top: 3px;
}

/* Gantt Chart Styles */
.gantt-chart {
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
}

.gantt-chart svg {
    min-width: 100%;
}

/* Swimlane Chart Styles */
.swimlane-chart {
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
}

.swimlane-chart svg {
    min-width: 100%;
}

/* Funnel Chart Styles */
.funnel-chart {
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
}

.funnel-chart svg {
    min-width: 100%;
}

/* Comparison Bar Chart Styles */
.comparison-bar-chart {
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
}

.comparison-bar-chart svg {
    min-width: 100%;
}

/* RAG Status Table Styles */
.rag-status-table {
    border-radius: 4px;
    overflow: hidden;
}

.rag-row {
    display: flex;
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 11px;
}

.rag-row:last-child {
    border-bottom: none;
}

.rag-row.header {
    font-weight: 200;
}

.rag-col {
    flex: 1;
}

.rag-col.module {
    flex: 1.2;
    font-weight: 200;
    color: #000000;
}

.rag-col.status {
    flex: 0.8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.rag-col.note {
    flex: 1.5;
    color: #666666;
    font-size: 10px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.green {
    background-color: #4CAF50;
}

.status-dot.yellow {
    background-color: #FFC107;
}

.status-dot.red {
    background-color: #F44336;
}

/* Metrics Mini Grid */
.metrics-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.metric-mini-item {
    background-color: #fafafa;
    padding: 12px;
    border-radius: 4px;
    text-align: center;
}

.metric-mini-label {
    font-size: 10px;
    font-weight: 200;
    color: #666666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-mini-value {
    font-size: 18px;
    font-weight: 200;
    color: #FF0000;
}

/* Reporting Points */
.reporting-points {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reporting-points li {
    font-size: 12px;
    line-height: 1.6;
    color: #333333;
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.reporting-points li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #000000;
    font-weight: bold;
}

/* PM Confirmation Box */
.pm-confirmation-box {
    background-color: #fff9e6;
    border-left: 3px solid #FFC107;
    padding: 12px;
    border-radius: 4px;
}

.pm-confirmation-box p {
    font-size: 12px;
    line-height: 1.6;
    color: #333333;
    margin: 0;
}

/* Feedback Stats */
.feedback-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feedback-stat-item {
    background-color: #fafafa;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.feedback-stat-number {
    font-size: 28px;
    font-weight: 200;
    color: #FF0000;
    margin-bottom: 5px;
}

.feedback-stat-label {
    font-size: 10px;
    font-weight: 200;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* Responsive Design for TODO List and Strategic Projects */
@media (max-width: 768px) {
    .todo-wrapper-container {
        width: 100%;
        height: auto;
        max-height: 560px;
    }
    
    .todo-item {
        padding: 15px;
    }
    
    .todo-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .todo-title {
        font-size: 14px;
    }
    
    .todo-progress {
        width: 100%;
        min-width: auto;
    }
    
    .todo-status {
        width: 100%;
        min-width: auto;
    }
    
    .todo-content {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .todo-metrics {
        flex-direction: column;
        gap: 8px;
    }
    
    .strategic-project-card {
        padding: 20px;
    }
    
    .project-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-number {
        font-size: 36px;
    }
    
    .project-title-en {
        font-size: 16px;
    }
    
    .project-title-cn {
        font-size: 13px;
    }
    
    .project-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .metrics-mini-grid,
    .feedback-stats {
        grid-template-columns: 1fr;
    }
    
    .rag-row {
        font-size: 10px;
    }
}