* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Microsoft YaHei', Arial, sans-serif;
        background-color: #f5f7fa;
        color: #333;
        line-height: 1.6;
    }

    .question-card {
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        margin-bottom: 20px;
    }

    .float-card {
        display: block;
        position: sticky;
        top: 50px;
        height: max-content;
    }

    .question-header {
        margin-bottom: 15px;
        border-bottom: 2px solid #3498db;
        padding-bottom: 10px;
    }

    #stats-chart {
        margin: 0 auto;
    }

    .text-muted {
        color: #909399;
    }


    .py-3 {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .question-number {
        font-size: 18px;
        font-weight: 600;
        color: #3498db;
        background-color: #ebf5fb;
        padding: 6px 16px;
        border-radius: 16px;
        display: inline-block;
        margin-bottom: 15px;
    }

    .question-type {
        margin-left: 10px;
        font-size: 16px;
        font-weight: 600;
        color: #3498db;
        background-color: #ebf5fb;
        padding: 6px 16px;
        border-radius: 16px;
        display: inline-block;
        margin-bottom: 15px;
    }

    .question-content {
        display: grid;
        /* 文字自动换行 */
        word-break: break-word;
        overflow-wrap: break-word;
        /* 换行符 */
        line-height: 1.6;

        font-size: 16px;
        line-height: 1.8;
        margin-bottom: 25px;
        color: #333;
        overflow-x: hidden;
    }

    .question-content img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-bottom: 15px;
    }

    .question-options {
        margin-bottom: 30px;
    }

    .option-item img {
        max-width: 100%;
        height: auto;
    }

    .option-item {
        display: flex;
        align-items: flex-start;
        padding: 15px;
        border: 1px solid #eaeaea;
        border-radius: 6px;
        transition: all 0.3s ease;
        cursor: pointer;
        margin-bottom: 10px;
    }

    .option-item:hover {
        border-color: #3498db;
        background-color: #f8f9fa;
    }

    .option-item.selected {
        border-color: #3498db;
        background-color: #ebf5fb;
    }

    .option-letter {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: #3498db;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        margin-right: 15px;
        flex-shrink: 0;
    }

    .option-content {
        flex: 1;
        font-size: 15px;
        line-height: 1.6;
        word-break: break-word;
    }

    @media (max-width: 768px) {
        .question-options {
            grid-template-columns: 1fr;
        }
    }

    .question-actions {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .btn {
        padding: 10px 20px;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-primary {
        background-color: #3498db;
        color: #fff;
    }

    .btn-primary:hover {
        background-color: #2980b9;
    }

    .btn-secondary {
        background-color: #95a5a6;
        color: #fff;
    }

    .btn-secondary:hover {
        background-color: #7f8c8d;
    }

    .question-stats {
        display: flex;
        gap: 20px;
        padding: 15px;
        background-color: #f8f9fa;
        border-radius: 6px;
        margin-bottom: 25px;
        font-size: 14px;
    }

    .stat-item {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #666;
    }

    .stat-item i {
        color: #3498db;
    }

    .accuracy {
        color: #27ae60;
        font-weight: 500;
    }

    .knowledge-points {
        margin-bottom: 25px;
    }

    .knowledge-title {
        font-size: 14px;
        font-weight: 600;
        color: #666;
        margin-bottom: 10px;
    }

    .knowledge-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .knowledge-tag {
        background-color: #f0f4f8;
        color: #3498db;
        padding: 4px 12px;
        border-radius: 16px;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .knowledge-tag:hover {
        background-color: #3498db;
        color: #fff;
    }

    .analysis {
        margin-top: 30px;
        padding: 20px;
        background-color: #f8f9fa;
        border-radius: 6px;
        border-left: 4px solid #3498db;
    }

    .analysis-title {
        font-size: 16px;
        font-weight: 600;
        color: #3498db;
        margin-bottom: 10px;
    }

    .analysis-content {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
    }
    .analysis-content img{
        max-width: 100%;
    }

    .navigation {
        display: flex;
        justify-content: space-between;
        border-top: 1px solid #eaeaea;
    }

    .nav-btn {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 8px 16px;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        background-color: #fff;
        color: #666;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .nav-btn:hover {
        border-color: #3498db;
        color: #3498db;
    }

    /* 复制按钮样式 */
    .question-content pre,
    .analysis-content pre {
        position: relative;
    }

    .copy-btn {
        position: absolute;
        top: 8px;
        right: 8px;
        padding: 4px 10px;
        font-size: 12px;
        background-color: #3498db;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        opacity: 0;
        transition: opacity 0.3s ease;
        font-weight: 600;
        z-index: 10;
    }

    .copy-btn:hover {
        background-color: #2980b9;
    }

    .question-content pre:hover .copy-btn,
    .analysis-content pre:hover .copy-btn {
        opacity: 1;
    }

    .copy-btn.copied {
        background-color: #27ae60;
    }

    @media (max-width: 768px) {
        .container {
            padding: 10px;
        }

        .question-card {
            padding: 20px;
        }

        .question-actions {
            flex-direction: column;
        }

        .question-stats {
            flex-direction: column;
            gap: 10px;
        }
    }

    /* 填空题作答（参考试卷答题页样式） */
    .fill-inputs {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }

    .fill-input-group {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .fill-input-label {
        font-weight: 600;
        color: #2c3e50;
        min-width: 70px;
        margin-bottom: 0;
    }

    .fill-input-group .el-input__inner,
    .fill-input-group textarea {
        transition: border-color 0.3s ease;
    }

    .fill-input-group .answered textarea {
        /* border-color: #27ae60;
        background-color: #e8f8f0; */
    }

    /* 组合题子题 */
    .combination-child {
        border: 1px solid #eaeaea;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
    }

    .combination-child .question-header {
        margin-bottom: 10px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .combination-child .question-number {
        font-size: 14px;
        margin-bottom: 0;
        padding: 4px 12px;
    }

    .combination-child .question-type {
        font-size: 13px;
        margin-bottom: 0;
        padding: 4px 12px;
    }

    .combination-result {
        margin-top: 10px;
        padding: 8px 14px;
        border-radius: 4px;
        font-weight: 600;
        font-size: 14px;
    }

    .combination-result.result-correct {
        color: #27ae60;
        background-color: #e8f8f0;
    }

    .combination-result.result-partial {
        color: #e6a23c;
        background-color: #fdf6ec;
    }

    .combination-result.result-wrong {
        color: #f56c6c;
        background-color: #fef0f0;
    }
