/**
 * 登科督学班管理系统 - H5错题复习样式
 */

/* 复习标签切换 */
.dk-review-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 2px solid #E3F2FD;
}

.dk-review-tab {
    padding: 10px 16px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.dk-review-tab.dk-review-tab-active {
    color: #1E88E5;
    font-weight: 600;
    border-bottom-color: #1E88E5;
}

.dk-review-tab:hover {
    color: #1E88E5;
}

/* 待复习提醒 */
.dk-pending-badge {
    display: inline-block;
    background: #F44336;
    color: #fff;
    font-size: 12px;
    padding: 1px 6px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 600;
}

/* 复习做题区域 */
.dk-review-practice-area {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.dk-review-question-content {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
}

.dk-review-type-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #1E88E5;
    color: #fff;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 12px;
}

.dk-review-options {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.dk-review-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    font-size: 15px;
    color: #333;
}

.dk-review-option:hover {
    background: #E3F2FD;
}

.dk-review-option.dk-review-option-selected {
    background: #E3F2FD;
    border-color: #1E88E5;
}

.dk-review-option-label {
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #1E88E5;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

/* 复习结果反馈 */
.dk-review-result {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.dk-review-result-success {
    background: #E8F5E9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.dk-review-result-success .dk-review-result-icon {
    font-size: 40px;
    color: #4CAF50;
}

.dk-review-result-success .dk-review-result-text {
    font-size: 16px;
    color: #4CAF50;
    font-weight: 600;
}

.dk-review-result-fail {
    background: #FFEBEE;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
}

.dk-review-result-fail .dk-review-result-icon {
    font-size: 40px;
    color: #F44336;
}

.dk-review-result-fail .dk-review-result-text {
    font-size: 16px;
    color: #F44336;
    font-weight: 600;
}

.dk-review-result-answer {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.dk-review-result-analysis {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    background: #f5f5f5;
    border-radius: 6px;
    padding: 12px;
}

/* 复习按钮 */
.dk-review-submit-btn {
    width: 100%;
    padding: 14px;
    background: #1E88E5;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
    margin-bottom: 12px;
}

.dk-review-submit-btn:hover {
    background: #1565C0;
}

.dk-review-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.dk-review-next-btn {
    width: 100%;
    padding: 14px;
    background: #4CAF50;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

.dk-review-next-btn:hover {
    background: #388E3C;
}

/* 错题列表卡片 */
.dk-wrong-item {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.dk-wrong-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.dk-wrong-item-category {
    font-size: 13px;
    color: #666;
}

.dk-wrong-item-stage {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

.dk-wrong-stage-1 { background: #FFF3E0; color: #FF9800; }
.dk-wrong-stage-2 { background: #E3F2FD; color: #1E88E5; }
.dk-wrong-stage-3 { background: #E8F5E9; color: #4CAF50; }
.dk-wrong-stage-4 { background: #E0E0E0; color: #999; }

.dk-wrong-item-content {
    font-size: 14px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
}

.dk-wrong-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dk-wrong-item-count {
    font-size: 12px;
    color: #F44336;
}

.dk-wrong-item-remove {
    font-size: 12px;
    color: #999;
    padding: 2px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.dk-wrong-item-remove:hover {
    color: #E53935;
    border-color: #E53935;
    background: #FFEBEE;
}

/* 复习此题按钮 */
.dk-wrong-item-review-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #1E88E5;
    color: #fff;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    margin-top: 10px;
    transition: background 0.2s;
}

.dk-wrong-item-review-btn:hover {
    background: #1565C0;
}

/* 进度指示器 */
.dk-review-progress {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #666;
}

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

.dk-review-progress-fill-mini {
    height: 100%;
    background: #1E88E5;
    border-radius: 2px;
}

/* 空状态 */
.dk-review-empty-action {
    display: block;
    width: 100%;
    padding: 14px;
    background: #E3F2FD;
    color: #1E88E5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    margin-top: 12px;
}
