/* 题目创建向导样式 */

.problem-wizard-content {
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.problem-wizard-content h2 {
    color: #667eea;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
}

/* 题目类型卡片网格 */
.problem-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.problem-type-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.problem-type-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.2);
}

.problem-type-card.selected {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.problem-type-card .type-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.problem-type-card .type-title {
    font-size: 16px;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 8px;
}

.problem-type-card .type-desc {
    font-size: 13px;
    color: #718096;
}

/* 向导步骤 */
.wizard-step {
    animation: fadeIn 0.3s ease-in-out;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: #cbd5e0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* 选项配置 */
.option-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.option-input-group .option-label {
    width: 40px;
    font-weight: bold;
    color: #667eea;
}

.option-input-group .option-text {
    flex: 1;
}

.option-input-group .correct-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.add-option-btn {
    width: 100%;
    padding: 10px;
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    color: #718096;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-option-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

/* 向导页脚 */
.wizard-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

/* 向导页脚中的按钮 - 确保宽度一致 */
.wizard-footer button {
    flex: none;
    width: auto;
    min-width: 120px;
    padding: 10px 24px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 步骤指示器 */
.step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
    transition: all 0.3s ease;
}

.step-dot.active {
    background: #667eea;
    transform: scale(1.2);
}

.step-dot.completed {
    background: #4CAF50;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .problem-type-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .wizard-footer {
        flex-direction: column-reverse;
        gap: 10px;
    }

    .wizard-footer button {
        width: 100%;
        min-width: 0;
    }
}

/* 选项删除按钮 */
.remove-option-btn {
    padding: 5px 10px;
    background: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.remove-option-btn:hover {
    background: #e53935;
}

/* 向导按钮样式 */
.wizard-footer .btn-primary,
.wizard-footer .btn-secondary {
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
    padding: 10px 24px;
    white-space: nowrap;
}

.wizard-footer .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.wizard-footer .btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #684292 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.wizard-footer .btn-primary:active {
    transform: translateY(0);
}

.wizard-footer .btn-secondary {
    background: white;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

.wizard-footer .btn-secondary:hover {
    background: #f7fafc;
    border-color: #cbd5e0;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wizard-footer .btn-secondary:active {
    transform: translateY(0);
}

/* 步骤指示器 */
