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

/* ==================== 古风主题变量与全局背景 ==================== */
:root {
    /* 主题色取自用户图片：温暖米色+棕色系 */
    --gufeng-primary: #9C6A3A; /* 主色：温润棕色 */
    --gufeng-primary-dark: #7F4F2C; /* 深一点的棕色 */
    --gufeng-primary-darker: #6B4326; /* 更深的棕色 */
    --gufeng-accent: #6E4B21;  /* 强调：深棕 */
    --gufeng-paper: rgba(242, 232, 217, 0.88); /* 宣纸感背景（更透一点，便于看到背景图） */
    --gufeng-border: rgba(129, 98, 58, 0.30); /* 棕色边框 */
    --gufeng-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    --gufeng-primary-20: rgba(156, 106, 58, 0.20); /* 阴影用 */
    --gufeng-primary-15: rgba(156, 106, 58, 0.15); /* 聚焦光晕用 */
}

/* 字体说明：去除 Google Fonts 远程导入，使用本地/系统字体回退 */

body {
    font-family: 'Noto Serif SC', 'STKaiti', 'KaiTi', 'Kaiti SC', 'Songti SC', serif;
    line-height: 1.6;
    color: #2b2b2b;
    /* 背景图 + 淡色蒙版 */
    background: 
        linear-gradient(0deg, rgba(255, 255, 255, 0.60), rgba(255, 255, 255, 0.60)),
        url('images/background.png') center/cover fixed no-repeat;
    min-height: 100vh;
}

/* 全局标题与强调色切换为古风配色 */
.header h1,
.section-header h2,
.work-detail-header .student-info h3 {
    color: var(--gufeng-primary) !important;
}

/* 主要容器宣纸风格（不改变现有布局，仅视觉覆盖） */
.login-container,
.student-grid,
.explanation-list,
.explanation-item,
.work-card,
.work-info,
.work-detail-header,
.upload-column,
.work-info-section {
    background: var(--gufeng-paper) !important;
    border: 1px solid var(--gufeng-border) !important;
    box-shadow: var(--gufeng-shadow) !important;
}

/* 全局导航与主按钮统一换色为棕色主题 */
.nav-bar {
    background: var(--gufeng-primary) !important;
}
.nav-tab {
    background: var(--gufeng-primary) !important;
    color: #fff !important;
}
.nav-tab:hover {
    background: var(--gufeng-primary-dark) !important;
}
.nav-tab.active {
    background: var(--gufeng-primary-darker) !important;
    box-shadow: inset 0 -3px 0 var(--gufeng-paper) !important;
}
.logout-btn-nav {
    border-color: rgba(255,255,255,0.3) !important;
}

/* 关键标题与表单焦点颜色统一为棕色 */
.questions-header h2,
.explanation-header h2,
.section-header h2,
.header h1 {
    color: var(--gufeng-primary) !important;
}
.explanation-textarea:focus,
.control-group select:focus,
.control-group input[type="text"]:focus {
    border-color: var(--gufeng-primary) !important;
    box-shadow: 0 0 0 3px var(--gufeng-primary-15) !important;
}

/* 卡片与诗句展示中的蓝色边与高亮替换为棕色 */
.poem-display {
    border-left-color: var(--gufeng-primary) !important;
}
.poem-line:first-child {
    color: var(--gufeng-primary) !important;
}

/* 行动按钮统一为棕色渐变 */
.submit-explanation-btn {
    background: linear-gradient(135deg, var(--gufeng-primary), var(--gufeng-primary-dark)) !important;
    color: #fff !important;
}
.submit-explanation-btn:hover {
    background: linear-gradient(135deg, var(--gufeng-primary-dark), var(--gufeng-primary-darker)) !important;
    box-shadow: 0 4px 12px var(--gufeng-primary-20) !important;
}
.explore-btn {
    background: linear-gradient(135deg, var(--gufeng-primary), var(--gufeng-primary-dark)) !important;
    box-shadow: 0 4px 15px var(--gufeng-primary-20) !important;
}

/* admin 页面主要模块的颜色统一 */
.admin-header {
    background: linear-gradient(135deg, var(--gufeng-primary) 0%, var(--gufeng-primary-dark) 100%) !important;
}
.admin-container,
.data-section,
.stats-card-db,
.table-info {
    background: var(--gufeng-paper) !important;
    border-left-color: var(--gufeng-primary) !important;
}
.stat-card {
    background: var(--gufeng-paper) !important;
    border-left-color: var(--gufeng-primary) !important;
}
.stat-number,
.score-display,
.table-info h4 {
    color: var(--gufeng-primary) !important;
}
.section-title {
    border-bottom-color: var(--gufeng-primary) !important;
}
.pagination button:hover:not(:disabled) {
    background: var(--gufeng-primary) !important;
    border-color: var(--gufeng-primary) !important;
    color: #fff !important;
}

/* 按钮古风化：稳重墨绿与红棕点缀 */
.student-number-btn {
    border-color: var(--gufeng-primary) !important;
    color: var(--gufeng-primary) !important;
}

.explore-btn {
    background: linear-gradient(135deg, #3a5f5f 0%, #2f4f4f 100%) !important;
}

/* 登录页面专用的body样式 */
body.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 通用弹窗遮罩，居中显示登录容器 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    display: none; /* 通过脚本显示/隐藏 */
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* 登录容器 */
.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 40px;
    max-width: 900px;
    width: 90%;
    margin: 20px;
}

/* 页面标题 */
.header {
    text-align: center;
    margin-bottom: 40px;
}

.header h1 {
    color: #2c5aa0;
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 10px;
}

.header p {
    color: #666;
    font-size: 16px;
}

/* 学号选择区域 */
.student-section {
    margin-bottom: 20px;
}

/* 区域标题 */
.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    color: #2c5aa0;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
}

.section-header p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* 学号按钮网格 */
.student-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin-bottom: 25px;
    max-height: 300px;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

/* 学号按钮样式 */
.student-number-btn {
    background: white;
    border: 2px solid #2C5AA0;
    color: #2C5AA0;
    padding: 12px 8px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* 龙城飞将意象探讨模块样式 */
.longcheng-module {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.poem-quote {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.poem-quote h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 300;
}

.poem-quote p {
    font-size: 18px;
    line-height: 1.8;
    font-style: italic;
}

.explore-section {
    text-align: center;
    margin-bottom: 30px;
}

.description-text {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 15px 0 25px 0;
    text-align: center;
}

.action-area {
    text-align: center;
    margin: 30px 0;
}

.result-footer {
    text-align: center;
    margin-top: 20px;
}

.explore-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.6);
}

.loading-indicator {
    text-align: center;
    padding: 40px;
    display: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: #666;
    font-size: 16px;
}

.explanation-results {
    display: none;
    margin-top: 30px;
    text-align: center;
}

.results-header {
    text-align: center;
    margin-bottom: 25px;
}

.results-header h4 {
    color: #2c5aa0;
    font-size: 20px;
    margin-bottom: 10px;
}

.explanation-count {
    color: #666;
    font-size: 14px;
}

.explanation-list {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.explanation-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #4facfe;
}

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

.explanation-number {
    background: #4facfe;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.explanation-text {
    flex: 1;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
    text-align: justify;
    text-justify: inter-ideograph;
    word-break: break-word;
    hyphens: auto;
}

/* 加载更多指示器样式 */
.loading-more-item {
    opacity: 0.8;
    background: linear-gradient(135deg, #fff8f2 0%, #f3e7dd 100%);
    border-left: 4px solid var(--gufeng-primary);
}

.loading-more-item .explanation-text {
    color: var(--gufeng-primary);
    font-style: italic;
}

/* 建议项样式 */
.suggestion-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #fff8f2 0%, #f3e7dd 100%);
    border-radius: 12px;
    border-left: 4px solid var(--gufeng-primary);
    box-shadow: 0 2px 10px var(--gufeng-primary-15);
    transition: all 0.5s ease;
}

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

.suggestion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--gufeng-primary-20);
}

.suggestion-number {
    background: linear-gradient(135deg, var(--gufeng-primary) 0%, var(--gufeng-primary-dark) 100%);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    margin-right: 15px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px var(--gufeng-primary-20);
}

.suggestion-text {
    flex: 1;
    line-height: 1.8;
    color: #333;
    font-size: 16px;
    text-align: justify;
    text-justify: inter-ideograph;
    word-break: break-word;
    hyphens: auto;
}

.load-more-section {
    margin-top: 20px;
    text-align: center;
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 180px;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 18px rgba(102, 126, 234, 0.6);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
}

.action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.explore-again-btn {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.explore-again-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 237, 234, 0.4);
}

.load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.load-more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.student-number-btn {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-number-btn:hover {
    background: linear-gradient(135deg, var(--gufeng-primary), var(--gufeng-primary-dark));
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--gufeng-primary-20);
}

.student-number-btn.selected {
    background: linear-gradient(135deg, var(--gufeng-primary), var(--gufeng-primary-dark));
    color: #fff !important;
    box-shadow: 0 4px 12px var(--gufeng-primary-20);
}

/* 按下状态保持一致的白字与棕色背景 */
.student-number-btn:active {
    background: linear-gradient(135deg, var(--gufeng-primary-dark), var(--gufeng-primary-darker));
    color: #fff !important;
}

/* 登录区域 */
.login-section {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.login-section p {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

/* 登录按钮样式 */
.login-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.login-btn {
    background: linear-gradient(135deg, var(--gufeng-primary), var(--gufeng-primary-dark));
    color: white;
}

.login-btn:hover {
    background: linear-gradient(135deg, var(--gufeng-primary-dark), var(--gufeng-primary-darker));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gufeng-primary-20);
}



/* 分隔线 */
.divider {
    text-align: center;
    margin: 40px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    color: #666;
    padding: 0 20px;
    font-size: 16px;
    position: relative;
    z-index: 1;
}

/* 教师登录区域 */
.teacher-section {
    text-align: center;
}

.teacher-section h2 {
    color: #28a745;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
}

.teacher-section p {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

/* 固定在右上角的用户信息 */
.user-info-fixed {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* 学生页面样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    z-index: 1000;
}

/* 水平导航栏样式 */
.nav-bar {
    display: flex;
    align-items: center;
    background: #2C5AA0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin: 0;
    padding: 0;
}

.nav-tab {
    background: #2C5AA0;
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 80px;
}

.nav-tab:hover {
    background: #1E3F73;
}

.nav-tab.active {
    background: #1A3366;
    box-shadow: inset 0 -3px 0 #fff;
}

/* 导航栏中的用户信息 */
.user-info-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.logout-btn-nav {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* 学生页面容器 */
.container {
    margin-top: 60px; /* 为固定导航栏留出空间 */
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-container {
    max-width: 800px;
    margin: 2rem auto 0;
}

/* 问题提交模块样式 */
.questions-container {
    max-width: 800px;
    margin: 2rem auto 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: none; /* 默认隐藏 */
}

.questions-header {
    text-align: center;
    margin-bottom: 30px;
}

.questions-header h2 {
    color: #2c5aa0;
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.question-input-section {
    margin-bottom: 40px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.question-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e1e5e9;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.question-textarea:focus {
    outline: none;
    border-color: #2C5AA0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.question-textarea::placeholder {
    color: #999;
}

.input-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.submit-question-btn, .clear-question-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.submit-question-btn {
    background: #2C5AA0;
    color: white;
}

.submit-question-btn:hover {
    background: #1E3F73;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.3);
}

.submit-question-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.clear-question-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5e9;
}

.clear-question-btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.submitted-questions {
    border-top: 2px solid #f1f3f4;
    padding-top: 30px;
}

.submitted-questions h3 {
    color: #2c5aa0;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
}

.questions-list {
    max-height: 300px;
    overflow-y: auto;
}

.no-questions {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 20px;
    margin: 0;
}

/* 诗词讲解模块样式 */
.explanation-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    display: none; /* 默认隐藏 */
}

/* 学生发言模块样式 */
.speech-container {
    display: none;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.speech-header h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

.speech-content {
    margin-top: 20px;
}

.speech-prompt {
    background: #f8f9fa;
    border-left: 4px solid #3498db;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
}

.prompt-text {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

.speech-input-section {
    margin-bottom: 30px;
}

.speech-input-section .input-group {
    margin-bottom: 20px;
}

.speech-input-section label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.speech-textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.speech-textarea:focus {
    outline: none;
    border-color: #2C5AA0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.submit-speech-btn, .clear-speech-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.submit-speech-btn {
    background: #2C5AA0;
    color: white;
}

.submit-speech-btn:hover {
    background: #1E3F73;
    transform: translateY(-2px);
}

.clear-speech-btn {
    background: #95a5a6;
    color: white;
}

.clear-speech-btn:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.submitted-speeches {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
}

.submitted-speeches h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 20px;
}

.speeches-list {
    max-height: 400px;
    overflow-y: auto;
}

.speech-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.speech-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.speech-content {
    color: #2c3e50;
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 15px;
}

.speech-time {
    color: #6c757d;
    font-size: 12px;
    text-align: right;
}

.no-speeches {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 40px 20px;
    margin: 0;
}

.explanation-header {
    text-align: center;
    margin-bottom: 30px;
}

.explanation-header h2 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 28px;
}

.poem-display {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #2C5AA0;
}

.poem-display h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 20px;
}

.poem-content {
    text-align: center;
}

.poem-line {
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    margin: 8px 0;
    font-weight: 500;
}

.poem-line:first-child {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #2C5AA0;
}

.poem-author {
    font-size: 16px;
    color: #6c757d;
    margin-top: 15px;
    font-style: italic;
}

.explanation-input-section {
    margin-bottom: 30px;
}

.explanation-textarea {
    width: 100%;
    min-height: 150px;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.explanation-textarea:focus {
    outline: none;
    border-color: #2C5AA0;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.submit-explanation-btn, .clear-explanation-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
}

.submit-explanation-btn {
    background: linear-gradient(135deg, #2C5AA0, #1E3F73);
    color: white;
}

.submit-explanation-btn:hover {
    background: linear-gradient(135deg, #1E3F73, #1A3366);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.3);
}

.clear-explanation-btn {
    background: #6c757d;
    color: white;
}

.clear-explanation-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.ai-evaluation {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border: 2px solid #e9ecef;
}

.ai-evaluation h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 22px;
}

.evaluation-criteria {
    margin-bottom: 25px;
}

.criteria-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
    flex-direction: column;
    align-items: flex-start;
}

.criteria-header {
    display: flex;
    align-items: center;
    width: 100%;
}

.criteria-examples {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    width: 100%;
}

.criteria-examples small {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
}

.criteria-label {
    font-size: 16px;
    color: #2c3e50;
    font-weight: 500;
}

.criteria-score {
    font-size: 18px;
    color: #ffc107;
    font-weight: bold;
}

.evaluation-feedback {
    background: white;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.evaluation-feedback h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 18px;
}

.feedback-text {
    font-size: 16px;
    line-height: 1.6;
    color: #495057;
}

.question-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #4285f4;
}

.question-item .question-time {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
}

.question-item .question-content {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
}

.quiz-header h2 {
    color: #2c5aa0;
    font-size: 24px;
    margin-bottom: 10px;
}

.instruction {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* 题目样式 */
.question-item {
    display: flex;
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.question-item:hover {
    border-color: #2C5AA0;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.1);
}

.question-number {
    font-size: 18px;
    font-weight: bold;
    color: #2c5aa0;
    margin-right: 15px;
    min-width: 30px;
}

.question-content {
    flex: 1;
}

.question-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.highlight {
    color: #e74c3c;
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: #e74c3c;
}

/* 选项样式 */
.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.option {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    border-color: #4a90e2;
    background: #f0f7ff;
}

.option input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.option input[type="radio"]:checked + .option-label {
    color: #2c5aa0;
    font-weight: 600;
}

.option:has(input[type="radio"]:checked) {
    border-color: #4a90e2;
    background: #e8f4fd;
}

.option-label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

/* 提交区域样式 */
.submit-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.submit-btn {
    background: #2C5AA0;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.submit-btn:hover {
    background: #1E3F73;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.progress-info {
    color: #666;
    font-size: 16px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .header h1 {
        font-size: 28px;
    }
    
    .student-grid {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 8px;
        padding: 12px;
    }
    
    .student-number-btn {
        padding: 10px 6px;
        font-size: 13px;
        min-height: 40px;
    }
    
    .student-section h2,
    .teacher-section h2 {
        font-size: 20px;
    }
    
    .login-btn {
        padding: 12px 25px;
        font-size: 15px;
        min-width: 130px;
    }
    
    .question-item {
        flex-direction: column;
        padding: 20px;
    }
    
    .question-number {
        margin-bottom: 10px;
    }
    
    .options {
        gap: 8px;
    }
    
    .option {
        padding: 10px 12px;
    }
    
    .submit-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    .user-info-fixed {
        top: 10px;
        right: 10px;
        padding: 10px 15px;
        font-size: 14px;
        gap: 10px;
    }
    
    .logout-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 25px 15px;
    }
    
    .student-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 6px;
        max-height: 250px;
    }
    
    .student-number-btn {
        padding: 8px 4px;
        font-size: 12px;
        min-height: 35px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .login-btn {
        padding: 10px 20px;
        font-size: 14px;
        min-width: 120px;
    }
}

/* 教师端样式 */
.teacher-module {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 30px;
    margin: 20px 0;
}

.module-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--gufeng-primary) !important;
}

.module-header h2 {
    color: var(--gufeng-primary) !important;
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 10px;
}

.module-header .module-description {
    text-align: center;
    margin-bottom: 20px; /* 为描述文字下方增加间距 */
}

.module-header .instruction {
    color: #666;
    font-size: 16px;
}

.teacher-content {
    max-width: 1000px;
    margin: 0 auto;
}

/* 统计卡片样式 */
.stats-section {
    margin-bottom: 40px;
}

.stats-section h3 {
    color: #2c5aa0;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

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

.stat-card {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* 管理功能样式 */
.management-section h3 {
    color: #2c5aa0;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.action-btn.primary {
    background: linear-gradient(135deg, #2C5AA0 0%, #1E3F73 100%);
    color: white;
}

.action-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.4);
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #2c5aa0;
    border: 2px solid #e3f2fd;
}

.action-btn.secondary:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

/* 占位内容样式 */
.placeholder-content {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 18px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #ddd;
}

/* 教师端响应式设计 */
@media (max-width: 768px) {
    .teacher-module {
        padding: 20px;
        margin: 15px 0;
    }
    
    .module-header h2 {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .teacher-module {
        padding: 15px;
    }
    
    .module-header h2 {
        font-size: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .placeholder-content {
        padding: 40px 15px;
        font-size: 16px;
    }
}

/* 字音选择统计样式 */
.correct-answers-info {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.correct-answers-info p {
    margin: 5px 0;
    font-size: 14px;
}

.correct-indicator {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.incorrect-indicator {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.pronunciation-stats-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.pronunciation-stats-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 800px;
}

.pronunciation-stats-table th {
    background: #2c5aa0;
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.pronunciation-stats-table td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.pronunciation-stats-table tbody tr:hover {
    background: #f8f9fa;
}

.answer-cell {
    font-weight: bold;
    padding: 8px;
    border-radius: 4px;
    margin: 2px;
    display: inline-block;
    min-width: 30px;
}

.answer-correct {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.answer-incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.accuracy-rate {
    font-weight: bold;
    color: #2c5aa0;
}

.accuracy-high {
    color: #28a745;
}

.accuracy-medium {
    color: #ffc107;
}

.accuracy-low {
    color: #dc3545;
}

/* 问题管理模块样式 */
.filter-panel {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-row label {
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.filter-row select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    min-width: 120px;
}

.refresh-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.refresh-btn:hover {
    background: #218838;
}

.stats-panel {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stat-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #2c5aa0;
}

.questions-table-container {
    overflow-x: auto;
    margin-bottom: 20px;
}

.questions-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 1200px;
}

.questions-table th {
    background: #2c5aa0;
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
}

.questions-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.questions-table tbody tr:hover {
    background-color: #f8f9fa;
}

.question-content {
    max-width: 200px;
    text-align: left;
    word-wrap: break-word;
    line-height: 1.4;
}

.ai-analysis {
    max-width: 150px;
    text-align: left;
    font-size: 12px;
    line-height: 1.3;
}

.ai-valid {
    color: #28a745;
    font-weight: bold;
}

.ai-invalid {
    color: #dc3545;
    font-weight: bold;
}

.priority-high {
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.priority-medium {
    background: #ffc107;
    color: #212529;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.priority-low {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-pending {
    background: #ffc107;
    color: #212529;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.status-replied {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.action-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin: 2px;
}

.action-btn:hover {
    background: #0056b3;
}

.reply-btn {
    background: #28a745;
}

.reply-btn:hover {
    background: #218838;
}

.view-btn {
    background: #17a2b8;
}

.view-btn:hover {
    background: #138496;
}

/* ==================== 诗歌讲解模块样式 ==================== */

.explanations-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 20px;
}

.explanations-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.explanations-table th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 12px 8px;
    text-align: center;
    border-bottom: 2px solid #dee2e6;
    font-size: 13px;
}

.explanations-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.explanations-table tbody tr:hover {
    background-color: #f8f9fa;
}

.explanation-content {
    max-width: 200px;
    text-align: left;
    word-wrap: break-word;
    line-height: 1.4;
    cursor: help;
}

.score {
    font-weight: bold;
    color: #495057;
}

.overall-score {
    color: #007bff;
    font-size: 15px;
}

.category {
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: #495057;
}

.level {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* AI评价状态样式 */
.ai-evaluated {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.ai-pending {
    background: #6c757d;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

/* 水平等级颜色 */
.level:contains("优秀") {
    background: #28a745;
    color: white;
}

.level:contains("良好") {
    background: #17a2b8;
    color: white;
}

.level:contains("中等") {
    background: #ffc107;
    color: #212529;
}

.level:contains("需提高") {
    background: #dc3545;
    color: white;
}

/* 筛选面板样式 */
.filter-panel {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    color: #495057;
    font-size: 14px;
    min-width: 120px;
}

.filter-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.refresh-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.refresh-btn:hover {
    background: #0056b3;
}

/* 统计面板样式 */
.stats-panel {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

/* 模态框样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.speech-detail-modal {
    background: white;
    border-radius: 8px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content {
    padding: 0;
}

.modal-header {
    background: #f5f5f5;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h4 {
    color: #333;
    margin-bottom: 10px;
    border-bottom: 2px solid #4caf50;
    padding-bottom: 5px;
}

.speech-full-content {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    line-height: 1.6;
    color: #333;
}

.ai-analysis-detail {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    border-left: 4px solid #2196f3;
}

.ai-analysis-detail p {
    margin: 8px 0;
    line-height: 1.5;
}

.ai-pending {
    color: #ff9800;
    font-style: italic;
    text-align: center;
    padding: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .explanations-table {
        font-size: 12px;
    }
    
    .explanations-table th,
    .explanations-table td {
        padding: 8px 4px;
    }
    
    .explanation-content {
        max-width: 150px;
    }
    
    .filter-panel {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        justify-content: space-between;
    }
    
    .stats-panel {
        flex-direction: column;
        gap: 15px;
    }
    
    .speech-detail-modal {
        max-width: 95vw;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
}

/* 推荐墙模块样式 */
.upload-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.upload-area {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    border: 2px dashed #fff;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: white;
    transition: all 0.3s ease;
}

/* 仅在学生端推荐墙模块中使用浅棕色背景 */
#recommendModule .upload-area {
    background: #d2b48c; /* 浅棕色纯色，无渐变 */
}

/* 推荐墙上传说明文字居中 */
#recommendModule .upload-area p {
    text-align: center;
}

.upload-area:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.upload-area h3 {
    margin: 15px 0 10px 0;
    font-size: 24px;
    font-weight: 600;
}

.upload-area p {
    margin-bottom: 20px;
    opacity: 0.9;
    font-size: 16px;
}

.upload-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    background: white;
    color: #2196f3;
}

.preview-area {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.preview-area img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.preview-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.submit-btn, .change-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
}

.change-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.change-btn:hover {
    background: #e9ecef;
    color: #333;
}

.loading-area {
    background: white;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4facfe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-area p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

.result-area {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.result-header h3 {
    color: #333;
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
}

.extracted-text {
    background: #f0f8ff;
    border: 2px solid #4facfe;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
}


.extracted-text h4 {
    color: #2c5aa0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
}

.text-content {
    background: white;
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #4facfe;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(79, 172, 254, 0.1);
}

.evaluation-result h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 18px;
}

.score-display {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
}

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

.score-item.total-score {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    font-weight: 600;
}

.score-label {
    font-size: 16px;
    font-weight: 500;
}

.score-value {
    font-size: 18px;
    font-weight: 600;
}

.feedback-text {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.feedback-text h5 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
}

.feedback-text p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.dual-upload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.dual-upload-container .dual-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lane-badge {
    margin-top: 6px;
    background: var(--gufeng-paper);
    border: 1px solid var(--gufeng-border);
    border-radius: 12px;
    padding: 6px 10px;
    display: inline-block;
    color: #666;
    font-size: 13px;
}

.resubmit-btn, .feature-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resubmit-btn {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.resubmit-btn:hover {
    background: #e9ecef;
    color: #333;
}

.feature-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
}

.feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.feature-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .upload-section {
        padding: 15px;
    }
    .dual-upload-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .upload-area {
        padding: 30px 20px;
    }
    
    .upload-icon {
        font-size: 36px;
    }
    
    .upload-area h3 {
        font-size: 20px;
    }
    
    .preview-actions, .result-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-btn, .change-btn, .resubmit-btn, .feature-btn {
        width: 200px;
    }
    
    .score-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .result-area {
         padding: 20px;
     }
 }

/* 教师端推荐墙样式（对齐讲解栏上部样式） */
.recommend-header {
    background: transparent; /* 去掉色块背景，改为与讲解栏一致的通透样式 */
    color: inherit;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px; /* 与 .module-header 保持一致 */
    border-bottom: 2px solid var(--gufeng-primary) !important; /* 同讲解栏分隔线 */
}

.recommend-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 300; /* 与讲解栏标题字重保持一致 */
    color: var(--gufeng-primary) !important;
}

.recommend-header p,
.recommend-header .module-description {
    margin: 0 0 20px 0;
    opacity: 1;
    font-size: 16px;
    color: #666; /* 与讲解栏说明文字一致 */
}

.header-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 推荐墙头部按钮改为与探索按钮一致的风格 */
.recommend-header .refresh-btn,
.recommend-header .pending-btn {
    background: linear-gradient(135deg, var(--gufeng-primary), var(--gufeng-primary-dark)) !important;
    border: none !important;
    color: #fff !important;
    padding: 12px 28px !important;
    border-radius: 25px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px var(--gufeng-primary-20) !important;
}

/* 自动刷新状态胶囊与整体风格统一，去除白色描边 */
.recommend-header .auto-refresh-status {
    background: var(--gufeng-paper);
    border: 1px solid rgba(0,0,0,0.08);
    color: #666;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 1;
}

.auto-refresh-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.recommend-header .refresh-btn:hover,
.recommend-header .pending-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--gufeng-primary-30) !important;
}

.pending-count {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    min-width: 20px;
    text-align: center;
}

.works-container {
    min-height: 400px;
    position: relative;
}

.loading-works {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #666;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.work-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.work-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f8f9fa;
}

.work-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.work-card:hover .work-image-overlay {
    opacity: 1;
}

.student-badge {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    align-self: flex-start;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stars-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    align-self: flex-end;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.work-info {
    padding: 12px 16px;
}

.work-student {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.work-score {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.score-badge {
    background: linear-gradient(135deg, var(--gufeng-primary) 0%, var(--gufeng-primary-dark) 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    align-self: flex-start;
}

.score-detail {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.work-date {
    color: #999;
    font-size: 12px;
}

.work-text-preview {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 4px;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    max-height: none;
    overflow: visible;
    position: relative;
    display: flex;
    align-items: center;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 72px;
    text-align: left;
}

.work-text-preview::after { content: none; }

.work-feedback-preview {
    background: linear-gradient(135deg, var(--gufeng-primary) 0%, var(--gufeng-primary-dark) 100%);
    color: white;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.3;
    max-height: 50px;
    overflow: hidden;
    position: relative;
}

.work-feedback-preview::before {
    content: '🤖 ';
    font-size: 12px;
    margin-right: 4px;
}

.work-feedback-preview::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25px;
    height: 15px;
    background: linear-gradient(to right, transparent, var(--gufeng-primary-dark));
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state h3 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.empty-state p {
    margin: 0;
    font-size: 16px;
}

/* 模态框样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    border-radius: 15px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pending-modal {
    width: 800px;
}

.work-detail-modal {
    width: 900px;
    max-width: 90vw;
}

/* 教师端推荐墙 - 作品详情弹窗标题与关闭按钮置白 */
.work-detail-modal .modal-header h3 {
    color: #fff;
}

.work-detail-modal .close-btn {
    color: #fff;
}

.work-detail-modal .close-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}

/* 第一次和第二次提交的左右布局样式 */
.submissions-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    min-height: 400px;
}

.submission-column {
    flex: 1;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.submission-column.has-data {
    border-color: var(--gufeng-primary);
    background: linear-gradient(135deg, #f7eee6 0%, #e6d3c1 100%);
}

.submission-column.no-data {
    border-color: #dee2e6;
    background: #f8f9fa;
    opacity: 0.7;
}

.submission-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

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

.submission-title .icon {
    font-size: 20px;
}

.submission-date {
    font-size: 12px;
    color: #666;
    background: white;
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.submission-image-container {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    border: 1px solid #e9ecef;
}

.submission-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f8f9fa;
}

.submission-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    color: #999;
    font-size: 14px;
}

.submission-placeholder .icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.5;
}

.submission-text {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e9ecef;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    max-height: 120px;
    overflow-y: auto;
}

.submission-text.empty {
    color: #999;
    font-style: italic;
    text-align: center;
}

.submission-feedback {
    background: linear-gradient(135deg, var(--gufeng-primary) 0%, var(--gufeng-primary-dark) 100%);
    color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
    max-height: 100px;
    overflow-y: auto;
}

.submission-feedback.empty {
    background: #e9ecef;
    color: #999;
    font-style: italic;
    text-align: center;
}

.submission-feedback::before {
    content: '🤖 AI反馈：';
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
}

.submission-scores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.score-item {
    background: white;
    border-radius: 6px;
    padding: 8px 10px;
    border: 1px solid #e9ecef;
    text-align: center;
    font-size: 12px;
}

.score-label {
    color: #666;
    font-weight: 500;
    margin-bottom: 2px;
}

.score-value {
    color: var(--gufeng-primary);
    font-weight: 600;
    font-size: 14px;
}

.star-rating {
    display: flex;
    justify-content: center;
    gap: 2px;
    margin-top: 10px;
}

.star {
    color: #ffd700;
    font-size: 16px;
}

.star.empty {
    color: #e9ecef;
}

/* 比较指示器 */
.comparison-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 3px solid #2196f3;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #2196f3;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    z-index: 10;
}

.submissions-container {
    position: relative;
}

.improvement-badge {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.improvement-badge.negative {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
}

.improvement-badge .icon {
    font-size: 10px;
}

.modal-header {
    background: linear-gradient(135deg, var(--gufeng-primary) 0%, var(--gufeng-primary-dark) 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
}

.pending-works-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pending-work-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    align-items: center;
}

.pending-work-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background: #e9ecef;
}

.pending-work-info {
    flex: 1;
}

.pending-work-student {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.pending-work-score {
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.pending-work-date {
    color: #999;
    font-size: 12px;
}

.pending-work-actions {
    display: flex;
    gap: 10px;
}

.approve-btn, .reject-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.approve-btn {
    background: #28a745;
    color: white;
}

.approve-btn:hover {
    background: #218838;
}

.reject-btn {
    background: #dc3545;
    color: white;
}

.reject-btn:hover {
    background: #c82333;
}

.work-detail-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 新的左右布局样式 */
.work-detail-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.work-detail-image-section {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.work-detail-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-image {
    width: 100%;
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.2s ease;
}

.detail-image:hover {
    transform: scale(1.02);
}

.detail-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.detail-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.detail-value {
    color: #555;
    font-size: 16px;
}

.detail-text {
    grid-column: 1 / -1;
}

.detail-text .detail-value {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--gufeng-primary);
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .recommend-header {
        padding: 20px;
    }
    
    .recommend-header h2 {
        font-size: 24px;
    }
    
    .header-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .refresh-btn, .pending-btn {
        width: 200px;
        justify-content: center;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-content {
        margin: 20px;
        max-width: calc(100vw - 40px);
    }
    
    .pending-modal, .work-detail-modal {
        width: auto;
    }
    
    .pending-work-item {
        flex-direction: column;
        text-align: center;
    }
    
    .pending-work-actions {
        justify-content: center;
    }
    
    .detail-info {
        grid-template-columns: 1fr;
    }
    
    .detail-text {
        grid-column: 1;
    }
    
    /* 响应式左右布局 */
    .work-detail-layout {
        flex-direction: column;
        gap: 15px;
    }
    
    .work-detail-image-section {
        flex: none;
        width: 100%;
    }
    
    .work-detail-info-section {
        width: 100%;
    }
}

/* 评价标准样式 */
.evaluation-criteria {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border: 2px solid #ffb74d;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255, 183, 77, 0.2);
}

/* 紧凑布局样式 */
.evaluation-criteria.compact {
    padding: 15px 20px;
    margin-bottom: 20px;
}

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

.criteria-header h3 {
    margin-bottom: 0;
    font-size: 18px;
}

.criteria-toggle {
    background: #ff9800;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.criteria-toggle:hover {
    background: #f57c00;
    transform: scale(1.05);
}

.criteria-summary {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 14px;
    color: #d84315;
    line-height: 1.4;
}

.criteria-summary .criteria-note {
    font-size: 12px;
    color: #bf360c;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    font-style: italic;
}

.criteria-details {
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 300px;
    }
}

.evaluation-criteria h3 {
    color: #e65100;
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.criteria-intro {
    color: #bf360c;
    font-size: 16px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.criteria-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.criteria-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ff9800;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
}

.criteria-number {
    font-weight: 700;
    color: #e65100;
    font-size: 18px;
    margin-right: 15px;
    min-width: 25px;
}

.criteria-text {
    color: #d84315;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.criteria-note {
    background: rgba(255, 255, 255, 0.9);
    color: #bf360c;
    font-size: 14px;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ffcc02;
    font-weight: 500;
}

/* 星级显示样式 */
.star-display {
    background: linear-gradient(135deg, #e3f2fd 0%, #1976d2 100%);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
}

.star-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(25, 118, 210, 0.2);
}

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

.star-item.total-stars {
    background: rgba(25, 118, 210, 0.1);
    margin-top: 10px;
    padding: 15px;
    border-radius: 10px;
    border-bottom: none;
    font-weight: 600;
}

.star-label {
    color: #4a148c;
    font-size: 16px;
    font-weight: 500;
}

.star-value {
    font-size: 20px;
    font-weight: 600;
}

.total-stars .star-label {
    font-size: 18px;
    font-weight: 700;
}

.total-stars .star-value {
    font-size: 22px;
    color: #6a1b9a;
}

/* 响应式设计 - 评价标准 */
@media (max-width: 768px) {
    .evaluation-criteria {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .evaluation-criteria h3 {
        font-size: 18px;
    }
    
    .criteria-intro {
        font-size: 14px;
    }
    
    .criteria-item {
        padding: 12px;
    }
    
    .criteria-number {
        font-size: 16px;
        margin-right: 10px;
        min-width: 20px;
    }
    
    .criteria-text {
        font-size: 14px;
    }
    
    .criteria-note {
        font-size: 13px;
        padding: 10px;
    }
    
    .star-display {
        padding: 15px;
    }
    
    .star-item {
        padding: 10px 0;
    }
    
    .star-label {
        font-size: 14px;
    }
    
    .star-value {
        font-size: 18px;
    }
    
    .total-stars .star-label {
        font-size: 16px;
    }
    
    .total-stars .star-value {
        font-size: 20px;
    }
}

/* ==================== 参考关键词样式 ==================== */

.reference-keywords {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    border: 2px solid #66bb6a;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(102, 187, 106, 0.2);
}

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

.keywords-header h3 {
    margin-bottom: 0;
    font-size: 18px;
    color: #2e7d32;
}

.keywords-toggle {
    background: #4caf50;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.keywords-toggle:hover {
    background: #388e3c;
    transform: scale(1.05);
}

.keywords-summary {
    font-size: 14px;
    color: #1b5e20;
    line-height: 1.4;
}

.keywords-details {
    margin-top: 15px;
    animation: slideDown 0.3s ease;
}

.keywords-category {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #4caf50;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.category-icon {
    font-size: 16px;
    margin-right: 8px;
}

.category-title {
    font-weight: 600;
    color: #2e7d32;
    font-size: 16px;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-tag {
    background: #e8f5e8;
    color: #1b5e20;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #a5d6a7;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.keyword-tag:hover {
    background: #c8e6c9;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.keyword-tag:active {
    transform: translateY(0);
    background: #a5d6a7;
}

/* 响应式设计 - 参考关键词 */
@media (max-width: 768px) {
    .reference-keywords {
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    
    .keywords-header h3 {
        font-size: 16px;
    }
    
    .keywords-toggle {
        padding: 5px 10px;
        font-size: 11px;
    }
    
    .keywords-summary {
        font-size: 13px;
    }
    
    .keywords-category {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .category-title {
        font-size: 14px;
    }
    
    .keyword-tag {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* ==================== 作品上传样式 ==================== */

.work-upload-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 文件预览区域 */
.file-preview {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

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

.preview-header h4 {
    color: #2c5aa0;
    margin: 0;
}

.remove-file-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-file-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.preview-content {
    text-align: center;
    margin-bottom: 15px;
}

.file-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.file-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
}

.file-info p {
    margin: 5px 0;
}

/* 作品信息填写区域 */
.work-info-section {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.work-info-section h3 {
    color: #2c5aa0;
    margin-bottom: 20px;
    font-size: 18px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 提交按钮区域 */
.submit-section {
    text-align: center;
    margin-bottom: 20px;
}

.submit-work-btn,
.cancel-work-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.submit-work-btn {
    background: linear-gradient(135deg, #2c5aa0, #1e3d72);
    color: white;
}

.submit-work-btn:hover {
    background: linear-gradient(135deg, #1e3d72, #2c5aa0);
    transform: translateY(-2px);
}

.cancel-work-btn {
    background: #6c757d;
    color: white;
}

.cancel-work-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* 上传进度 */
.upload-progress {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 20px;
}

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

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2c5aa0, #4CAF50);
    width: 0%;
    transition: width 0.3s ease;
    animation: progressAnimation 2s infinite;
}

@keyframes progressAnimation {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.progress-text {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* 上传结果 */
.upload-result {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.result-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.upload-result h3 {
    color: #2c5aa0;
    margin-bottom: 10px;
    font-size: 20px;
}

.upload-result p {
    color: #666;
    margin-bottom: 20px;
    font-size: 16px;
}

.new-upload-btn {
    background: linear-gradient(135deg, #2c5aa0, #1e3d72);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.new-upload-btn:hover {
    background: linear-gradient(135deg, #1e3d72, #2c5aa0);
    transform: translateY(-2px);
}

/* 文件类型提示 */
.file-types {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* 拖拽状态 */
.upload-area.drag-over {
    border-color: #2c5aa0;
    background: rgba(44, 90, 160, 0.05);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .work-upload-container {
        padding: 15px;
    }
    
    .file-preview,
    .work-info-section,
    .upload-progress,
    .upload-result {
        padding: 15px;
    }
    
    .submit-work-btn,
    .cancel-work-btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    
    .preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .remove-file-btn {
        align-self: flex-end;
    }
}

/* ==================== 学生作品展示样式 ==================== */

.student-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.student-works-header {
    text-align: center;
    margin-bottom: 30px;
}

.student-works-header h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 24px;
}

.student-works-header p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

/* 控制栏 */
.student-works-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.refresh-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.filters {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-size: 12px;
    color: #7f8c8d;
    font-weight: 500;
}

.filter-group select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

/* 加载状态 */
.loading-student-works {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    color: #7f8c8d;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 15px;
}

/* 作品网格 */
.student-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.student-work-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.student-work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.work-preview {
    position: relative;
    height: 200px;
    background: #f8f9fa;
    overflow: hidden;
}

.work-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-icon-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 48px;
    color: #bdc3c7;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.student-work-card:hover .work-overlay {
    opacity: 1;
}

.view-work-btn {
    background: white;
    color: #2c3e50;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-work-btn:hover {
    background: #667eea;
    color: white;
}

.view-work-text {
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.work-info {
    padding: 20px;
}

.work-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.4;
}

.work-student,
.work-category,
.work-time {
    font-size: 13px;
    color: #7f8c8d;
    margin-bottom: 5px;
}

.work-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
}

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

.status-approved {
    background: #d4edda;
    color: #155724;
}

.status-rejected {
    background: #f8d7da;
    color: #721c24;
}

/* 空状态 */
.empty-student-works {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    color: #7f8c8d;
    text-align: center;
}

.empty-student-works .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-student-works h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* 作品详情模态框 */
.student-work-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.student-work-detail-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.student-work-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.close-student-work-detail {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #7f8c8d;
    padding: 5px;
    line-height: 1;
}

.close-student-work-detail:hover {
    color: #2c3e50;
}

.student-work-detail-body {
    padding: 20px;
}

.work-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.work-detail-header h4 {
    color: #2c3e50;
    font-size: 20px;
    margin: 0;
    flex: 1;
}

.work-detail-preview {
    margin-bottom: 30px;
    text-align: center;
}

.detail-work-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.detail-work-video {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
}

.detail-file-icon {
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.file-icon-large {
    font-size: 64px;
    margin-bottom: 15px;
}

.file-name {
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 5px;
}

.file-size {
    color: #7f8c8d;
    font-size: 14px;
}

.work-detail-info {
    display: grid;
    gap: 15px;
}

.detail-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    align-items: start;
}

.detail-item.detail-text {
    grid-template-columns: 120px 1fr;
}

.detail-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.detail-value {
    color: #495057;
    font-size: 14px;
    line-height: 1.5;
}

.student-work-detail-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px;
    border-top: 1px solid #e9ecef;
}

.approve-work-btn,
.reject-work-btn,
.download-work-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.approve-work-btn {
    background: #28a745;
    color: white;
}

.approve-work-btn:hover {
    background: #218838;
}

.reject-work-btn {
    background: #dc3545;
    color: white;
}

.reject-work-btn:hover {
    background: #c82333;
}

.download-work-btn {
    background: #6c757d;
    color: white;
}

.download-work-btn:hover {
    background: #5a6268;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .student-works-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters {
        justify-content: space-between;
    }
    
    .student-works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .student-work-detail-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .detail-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .student-work-detail-actions {
        flex-direction: column;
    }
    
    .approve-work-btn,
    .reject-work-btn,
    .download-work-btn {
        width: 100%;
    }
}

/* 学生作品详情内容样式 - 复制推荐墙样式 */
.detail-file-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.file-icon-large {
    font-size: 64px;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.file-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 10px 0 5px 0;
    word-break: break-all;
}

.file-info {
    font-size: 14px;
    color: #666;
    margin: 2px 0;
}

/* 新的左右分栏布局样式 */
.work-detail-two-column-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.work-detail-header {
    background: linear-gradient(135deg, var(--gufeng-primary) 0%, var(--gufeng-primary-dark) 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 10px;
}

.work-detail-header .student-info h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
}

.work-detail-header .ai-score {
    font-size: 16px;
    color: #000;
    opacity: 1;
}

/* 仅有第一次提交提示文案改为黑色 */
.work-detail-header .single-submission-note {
    color: #000;
}

.work-uploads-container {
    display: flex;
    gap: 20px;
    flex: 1;
}

.upload-column {
    flex: 1;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upload-column:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

.upload-header h4 {
    margin: 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.upload-time {
    font-size: 12px;
    color: #6c757d;
    background: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
}

.upload-image-section {
    padding: 20px;
    text-align: center;
}

.upload-content-section {
    padding: 0 20px 20px 20px;
}

.content-item {
    margin-bottom: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.content-item:last-child {
    border-left-color: #28a745;
    margin-bottom: 0;
}

.content-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 6px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.content-value {
    color: #212529;
    line-height: 1.6;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .work-uploads-container {
        flex-direction: column;
    }
    
    .upload-column {
        margin-bottom: 15px;
    }
    
    .upload-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* 推荐墙改进对比样式 */
.improvement-positive {
    color: #28a745;
    font-weight: bold;
}

.improvement-negative {
    color: #dc3545;
    font-weight: bold;
}

.improvement-neutral {
    color: #6c757d;
    font-weight: bold;
}

.comparison-section {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.comparison-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 10px;
    font-size: 16px;
}

.comparison-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.comparison-item {
    flex: 1;
}

.comparison-label {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.comparison-value {
    font-size: 18px;
    font-weight: bold;
    color: #495057;
}

.suggestions-area {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
}

.suggestions-title {
    color: #856404;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 16px;
}

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

.suggestions-list li {
    background: #ffffff;
    border: 1px solid #f1c40f;
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 8px;
    position: relative;
    padding-left: 30px;
}

.suggestions-list li:before {
    content: "💡";
    position: absolute;
    left: 8px;
    top: 10px;
}

.suggestions-list li:last-child {
    margin-bottom: 0;
}

/* 新按钮样式 */
.submit-to-wall-btn, .resubmit-again-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 5px;
}

.submit-to-wall-btn:hover, .resubmit-again-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.submit-to-wall-btn:disabled, .resubmit-again-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.resubmit-again-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.resubmit-again-btn:hover {
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}
/* ========== 朗读亭视频网格样式 ========== */

.video-grid-container {
    padding: 20px 0;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0 20px;
}

/* 视频卡片 */
.video-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.video-card.video-placeholder {
    cursor: default;
    opacity: 0.6;
}

.video-card.video-placeholder:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 视频缩略图 */
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    background: #f0f0f0;
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 视频时长标签 */
.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

/* 播放图标 */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1890ff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-play-icon {
    opacity: 1;
}

/* 即将上线标签 */
.coming-soon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #999;
    font-size: 14px;
    font-weight: bold;
}

/* 视频信息 */
.video-info {
    padding: 12px;
}

.video-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    line-height: 1.4;
}

.video-author {
    font-size: 12px;
    color: #999;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== 视频播放模态框样式 ========== */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.video-modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.video-modal-header h3 {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.video-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.video-close-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.video-player-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
    background: #000;
}

.video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 响应式设计 */
@media (max-width: 1400px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .video-modal-content {
        width: 95%;
    }
}

@media (max-width: 480px) {
.video-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== 建议卡片与模板样式（推荐墙） ========== */
.suggestions-section .suggestions-list {
    display: grid;
    gap: 12px;
}
.suggestion-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #fafafa;
}
.suggestion-card ul {
    padding-left: 18px;
    margin: 8px 0 0 0;
}
.suggestion-card li {
    margin: 4px 0;
}
.suggestion-tag {
    display: inline-block;
    font-size: 12px;
    color: #2563eb;
    background: #e0f2fe;
    padding: 2px 8px;
    border-radius: 999px;
}
.suggestion-subtitle {
    font-size: 13px;
    color: #374151;
    margin: 8px 0 4px 0;
}
.template-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.template-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.copy-btn {
    font-size: 12px;
    padding: 4px 8px;
    border: 1px solid #d1d5db;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}
.copy-btn:hover {
    background: #f3f4f6;
}
/* 组织提纲弹窗标题保持白色 */
#organizeFixedModal .modal-header h3 { color: #fff !important; }
.card-delete-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(127, 79, 44, 0.92);
    color: #fff;
    font-size: 18px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: none;
}
.work-card:hover .card-delete-btn { display: block; }
.card-delete-btn:hover { background: rgba(107, 67, 38, 0.98); }