/* 课程中心 - 教师工作台（对齐平台深空蓝/星光金风格） */

/* ========== 课程中心主页面 ========== */
.course-center-page .dashboard-main {
    padding-top: 20px;
}

/* 页面头部 - 与班级与任务页统一 */
.course-center-header {
    margin-bottom: 24px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-left: 4px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.07);
}

.course-center-header-inner {
    max-width: 100%;
}

.course-center-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #0f2f66;
}

.course-center-welcome {
    margin: 0 0 16px;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.course-center-header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.course-center-header-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.course-center-header-actions .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.course-center-header-actions .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.course-center-header-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.course-center-header-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

/* 入口卡片 - 与教师快捷入口卡片统一 */
.course-center-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .course-center-hero {
        grid-template-columns: 1fr;
    }
}

.course-center-hero-card {
    display: block;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.course-center-hero-card:hover {
    border-color: var(--light-blue);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.1);
    transform: translateY(-2px);
}

.course-center-hero-card .hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.15), rgba(62, 146, 204, 0.08));
    color: var(--deep-space-blue);
}

.course-center-hero-card .hero-icon svg {
    width: 26px;
    height: 26px;
}

/* 自建课程入口 - 星光金点缀 */
.course-center-hero-card.self-build .hero-icon {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    color: #b8860b;
}

.course-center-hero-card.self-build:hover {
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.12);
}

/* AI 创建课程入口 */
.course-center-hero-card.ai-create .hero-icon {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
    color: #4f46e5;
}

.course-center-hero-card.ai-create:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
}

.course-center-hero-card.from-library .hero-icon {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.2), rgba(13, 148, 136, 0.1));
    color: #0d9488;
}

.course-center-hero-card.from-library:hover {
    border-color: rgba(13, 148, 136, 0.45);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.12);
}

/* 校企共创入口 */
.course-center-hero-card.co-create .hero-icon {
    background: linear-gradient(135deg, rgba(10, 36, 99, 0.18), rgba(62, 146, 204, 0.12));
    color: #0a2463;
}

.course-center-hero-card.co-create:hover {
    border-color: rgba(10, 36, 99, 0.35);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.12);
}

.course-center-hero-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: var(--deep-space-blue);
}

.course-center-hero-card p {
    margin: 0;
    font-size: 13px;
    color: var(--dark-gray);
    line-height: 1.5;
}

/* AI 创建课程面板 - 平铺占满主内容区 */
.ai-create-panel {
    width: 100%;
    max-width: none;
    padding: 28px 0;
}

.ai-create-desc {
    margin-bottom: 28px;
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    max-width: 720px;
}

/* 表单平铺：两列布局，充分利用横向空间 */
.ai-create-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    align-items: start;
}

.ai-create-form .form-group {
    margin-bottom: 0;
}

/* 主题、关键词并排；模板与学段并排；模板占满两列 */
.ai-create-form .form-group[data-full] {
    grid-column: 1 / -1;
}

.ai-create-form .ai-create-actions {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 16px;
}

.ai-create-form .form-group > label {
    display: block;
    font-weight: 600;
    color: var(--deep-space-blue);
    margin-bottom: 6px;
    font-size: 14px;
}

.ai-create-form .form-group > label .required {
    color: #dc2626;
}

.ai-create-form input[type="text"],
.ai-create-form select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(62, 146, 204, 0.2);
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.ai-create-form input:focus,
.ai-create-form select:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.15);
}

.ai-framework-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ai-framework-create-wrap {
    margin-top: 12px;
}

.ai-framework-create-btn {
    padding: 8px 16px;
    font-size: 13px;
    font-family: inherit;
    color: var(--light-blue);
    background: transparent;
    border: 1px dashed rgba(62, 146, 204, 0.4);
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.ai-framework-create-btn:hover {
    background: rgba(62, 146, 204, 0.08);
    border-color: var(--light-blue);
}

@media (max-width: 640px) {
    .ai-create-form {
        grid-template-columns: 1fr;
    }
    .ai-framework-list {
        grid-template-columns: 1fr;
    }
}

.ai-framework-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 14px 16px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    box-sizing: border-box;
}

.ai-framework-item input[type="radio"] {
    flex-shrink: 0;
    width: auto;
    margin: 0 14px 0 0;
}

.ai-framework-item:hover {
    border-color: rgba(62, 146, 204, 0.3);
}

.ai-framework-item.selected {
    border-color: var(--light-blue);
    background: rgba(62, 146, 204, 0.08);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.15);
}

.ai-framework-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    overflow: hidden;
}

.ai-framework-view-btn {
    flex-shrink: 0;
    padding: 6px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--light-blue);
    background: rgba(62, 146, 204, 0.1);
    border: 1px solid rgba(62, 146, 204, 0.25);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.ai-framework-view-btn:hover {
    background: rgba(62, 146, 204, 0.18);
    border-color: var(--light-blue);
    color: var(--deep-space-blue);
}

.ai-framework-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-framework-delete-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-family: inherit;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.ai-framework-delete-btn:hover {
    background: rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

.ai-framework-name {
    font-weight: 600;
    color: var(--deep-space-blue);
    font-size: 14px;
}

.ai-framework-custom-tag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    background: rgba(100, 116, 139, 0.12);
    border-radius: 4px;
}

.ai-framework-desc {
    font-size: 13px;
    color: var(--dark-gray);
    line-height: 1.4;
}

.ai-create-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(10, 36, 99, 0.1);
}

.ai-create-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.ai-create-actions .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.ai-create-actions .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.ai-create-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.ai-create-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

.ai-result-block {
    margin-top: 24px;
    padding: 20px;
    background: rgba(62, 146, 204, 0.06);
    border: 1px solid rgba(62, 146, 204, 0.15);
    border-radius: 12px;
}

.ai-result-block h4 {
    margin: 0 0 14px;
    font-size: 15px;
    color: var(--deep-space-blue);
}

.ai-result-content {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 18px;
}

.ai-result-content p {
    margin: 0 0 8px;
}

.ai-result-content p:last-child {
    margin-bottom: 0;
}

.ai-result-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.ai-result-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.ai-result-actions .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.ai-result-actions .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.ai-result-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.ai-result-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

/* 创建模板模态 */
.create-template-form .form-group {
    margin-bottom: 16px;
}

.create-template-form .form-group > label {
    display: block;
    font-weight: 600;
    color: var(--deep-space-blue);
    margin-bottom: 6px;
    font-size: 14px;
}

.create-template-form input,
.create-template-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(62, 146, 204, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
    color: #334155;
}

.create-template-form input::placeholder,
.create-template-form textarea::placeholder {
    color: #94a3b8;
}

.create-template-form textarea {
    resize: vertical;
    min-height: 72px;
}

.create-template-form input:focus,
.create-template-form textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.15);
}

.create-template-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(10, 36, 99, 0.1);
}

.create-template-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.create-template-actions .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.create-template-actions .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.create-template-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.create-template-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

.create-template-hint {
    font-size: 13px;
    color: var(--dark-gray);
    margin: 0 0 8px;
    line-height: 1.5;
}

#createTemplateModal .resource-detail-content {
    max-width: 600px;
}

/* 框架模板详情 - 自定义内容展示 */
.framework-detail-custom-content {
    margin: 0;
    padding: 14px 16px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    color: #334155;
}

/* 框架模板详情模态内容 */
.framework-detail-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.framework-detail-edit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.framework-detail-edit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.framework-detail-saveas-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.framework-detail-saveas-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.framework-detail-modal .resource-detail-body {
    max-height: 70vh;
    overflow-y: auto;
}

.framework-detail-intro {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(62, 146, 204, 0.15);
}

.framework-detail-desc {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin: 0 0 10px;
}

.framework-detail-focus {
    font-size: 13px;
    color: var(--dark-gray);
    margin: 0;
}

.framework-detail-phases h4 {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--deep-space-blue);
}

.framework-detail-hint {
    font-size: 13px;
    color: var(--dark-gray);
    margin: 0 0 16px;
}

.framework-phase-block {
    margin-bottom: 14px;
    padding: 12px 14px;
    background: #f8fbff;
    border-radius: 8px;
    border: 1px solid rgba(62, 146, 204, 0.12);
}

.framework-phase-title {
    font-weight: 600;
    font-size: 13px;
    color: var(--deep-space-blue);
    margin-bottom: 4px;
}

.framework-phase-objective {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 6px;
}

.framework-phase-tasks {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #64748b;
}

/* 我的课程区块 - 与班级与任务 course-section 统一 */
.course-center-my-section {
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
    overflow: hidden;
    padding: 20px 24px 24px;
}

.course-center-my-section.learning-section {
    border-left: 4px solid var(--light-blue);
}

.course-center-section-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
    background: transparent;
}

.course-center-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #0e4d8a;
}

.course-center-section-hint {
    font-size: 13px;
    color: #64748b;
    font-weight: normal;
}

/* 筛选 Tab - 与 class-status-tab 统一 */
.course-center-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.course-center-tabs .course-center-tab,
.course-center-tabs .tab-btn {
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(62, 146, 204, 0.25);
    background: #fff;
    color: #4f5f79;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.course-center-tabs .course-center-tab:hover,
.course-center-tabs .tab-btn:hover {
    border-color: var(--light-blue);
    color: #0a2463;
}

.course-center-tabs .course-center-tab.active,
.course-center-tabs .tab-btn.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.2) 0%, rgba(10, 36, 99, 0.1) 100%);
    border-color: var(--light-blue);
    color: #0a2463;
}

/* 课程卡片网格 */
.course-center-course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.course-center-course-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(10, 36, 99, 0.08);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.04);
}

.course-center-course-card:hover {
    border-color: rgba(62, 146, 204, 0.25);
    box-shadow: 0 8px 24px rgba(10, 36, 99, 0.08);
}

.course-center-course-card .card-thumb {
    height: 140px;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.12), rgba(62, 146, 204, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.course-center-course-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-center-course-card .card-thumb .card-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.course-center-course-card .card-thumb .card-type-badge.platform {
    background: linear-gradient(135deg, var(--light-blue), var(--deep-space-blue));
    color: #fff;
}

.course-center-course-card .card-thumb .card-type-badge.self-built {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), #d4a800);
    color: var(--deep-space-blue);
}

.course-center-course-card .card-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-center-course-card .card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    color: #0e4d8a;
    line-height: 1.4;
}

.course-center-course-card .card-meta {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
}

.course-center-course-card .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.course-center-course-card .card-tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    background: rgba(62, 146, 204, 0.12);
    color: #0e4d8a;
}

.course-center-course-card .card-lesson-hint {
    margin: -4px 0 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}

.course-center-course-card .card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.course-center-course-card .card-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 8px 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.course-center-course-card .card-actions .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 10px rgba(62, 146, 204, 0.25);
}

.course-center-course-card .card-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(62, 146, 204, 0.35);
}

.course-center-course-card .card-actions .btn-secondary {
    color: var(--deep-space-blue);
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
}

.course-center-course-card .card-actions .btn-secondary:hover {
    transform: translateY(-1px);
    background: rgba(62, 146, 204, 0.08);
    border-color: rgba(62, 146, 204, 0.55);
}

.course-center-course-card .card-actions .course-btn-import-to-library {
    cursor: pointer;
    font-family: inherit;
}

/* 自建课程 · 归入教案库模态 */
.course-center-lesson-modal .course-lesson-lib-modal-content {
    max-width: 520px;
}

.course-lesson-lib-subtitle {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0f2f66;
}

.course-lesson-lib-desc {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
}

.course-lesson-lib-empty {
    padding: 16px;
    border-radius: 10px;
    background: rgba(248, 250, 252, 0.9);
    border: 1px dashed rgba(62, 146, 204, 0.25);
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
}

.course-lesson-lib-empty a {
    color: var(--light-blue);
    font-weight: 600;
}

/* 空状态 - 与双师预约空状态统一 */
.course-center-empty {
    text-align: center;
    padding: 48px 24px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.8) 0%, rgba(241, 245, 249, 0.6) 100%);
    border-radius: 12px;
    border: 1px dashed rgba(62, 146, 204, 0.2);
}

.course-center-empty .empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: #94a3b8;
    opacity: 0.8;
}

.course-center-empty p {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
}

.course-center-empty .empty-hint {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.course-center-empty .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-center-empty .btn-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

/* ========== 创建课程页 ========== */
.course-create-page .dashboard-wrap {
    align-items: stretch;
}

.course-create-page .dashboard-main {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    max-width: none;
    min-height: calc(100vh - 92px);
    padding: 20px 28px 40px;
    box-sizing: border-box;
}

/* 侧栏导航：字号与行高更易读（仅本页） */
.course-create-page .dashboard-sidebar .brand a {
    font-size: 17px;
    line-height: 1.35;
}

.course-create-page .dashboard-sidebar .brand .logo-english {
    font-size: 13px;
}

.course-create-page .dashboard-sidebar .nav-title {
    font-size: 11px;
    letter-spacing: 0.08em;
    padding: 0 20px 8px;
}

.course-create-page .dashboard-sidebar nav a {
    font-size: 15px;
    line-height: 1.4;
    padding: 10px 20px;
    gap: 10px;
}

.course-create-page .dashboard-sidebar nav a svg {
    width: 19px;
    height: 19px;
}

.course-create-page .dashboard-sidebar nav a.active {
    padding-left: 17px;
}

/* 顶栏「首页 / 探索课程」与本页协调 */
.course-create-page .nav-left a {
    font-size: 15px;
}

.course-create-page .ai-create-desc {
    max-width: none;
}

.course-create-page .teacher-page-header {
    margin-bottom: 24px;
    padding: 22px 24px;
    border-radius: 14px;
    border: 1px solid rgba(62, 146, 204, 0.14);
    border-left: 4px solid var(--light-blue);
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.07);
}

.course-create-page .teacher-page-header .page-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #0f2f66;
}

.course-create-page .teacher-page-header .page-subtitle {
    margin: 0 0 16px;
    font-size: 14px;
    color: #4f5f79;
    line-height: 1.6;
}

.course-create-page .teacher-page-header .header-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.course-create-page .teacher-page-header .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.course-create-page .teacher-page-header .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.course-create-wizard {
    max-width: none;
    width: 100%;
    margin: 0;
}

.course-create-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    position: relative;
}

.course-create-steps-6 .course-create-step .step-label {
    font-size: 11px;
    line-height: 1.25;
    max-width: 4.5em;
}

.course-create-page .course-create-steps-6 .course-create-step .step-label {
    font-size: 12px;
    max-width: 5.5em;
}

@media (max-width: 900px) {
    .course-create-steps-6 {
        flex-wrap: wrap;
        gap: 12px 8px;
        justify-content: center;
    }
    .course-create-steps-6::before {
        display: none;
    }
    .course-create-steps-6 .course-create-step {
        flex: 0 0 auto;
    }
}

.course-create-steps::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(62, 146, 204, 0.15);
    z-index: 0;
}

.course-create-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.course-create-step .step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(62, 146, 204, 0.25);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    transition: all 0.25s;
}

.course-create-step.done .step-dot {
    background: var(--light-blue);
    border-color: var(--light-blue);
    color: #fff;
}

.course-create-step.active .step-dot {
    background: var(--deep-space-blue);
    border-color: var(--deep-space-blue);
    color: #fff;
}

.course-create-step .step-label {
    font-size: 13px;
    color: #64748b;
}

.course-create-step.active .step-label {
    color: #0e4d8a;
    font-weight: 600;
}

/* 创建面板 - 与 course-section 统一 */
.course-create-panel {
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
}

.course-create-panel:first-of-type {
    border-left: 4px solid var(--light-blue);
}

.course-create-panel h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    color: #0e4d8a;
}

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

.course-create-panel .form-group > label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #0e4d8a;
}

.course-create-panel .form-group > input,
.course-create-panel .form-group > select,
.course-create-panel .form-group > textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(10, 36, 99, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.course-create-panel .form-group > input:focus,
.course-create-panel .form-group > select:focus,
.course-create-panel .form-group > textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 3px rgba(62, 146, 204, 0.15);
}

.course-create-panel .form-group > textarea {
    min-height: 100px;
    resize: vertical;
}

.course-preview-upload-group .course-preview-upload-hint {
    margin: -4px 0 12px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

.course-preview-upload-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}

.course-preview-upload-frame {
    flex-shrink: 0;
    width: 200px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.12);
    background: #f1f5f9;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.06);
}

.course-preview-upload-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-preview-upload-actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

/* 与向导「下一步 / 上一步」、课程中心顶栏按钮同一套渐变与尺寸 */
.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn.btn-primary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.95);
    outline-offset: 2px;
}

.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.22);
}

.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn--subtle.btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn--subtle.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn--subtle.btn-secondary:focus-visible {
    outline: 2px solid rgba(62, 146, 204, 0.95);
    outline-offset: 2px;
}

.course-preview-upload-group .course-preview-upload-actions .course-preview-upload-btn--subtle.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(62, 146, 204, 0.28);
}

.course-preview-upload-btn__icon {
    display: inline-flex;
    flex-shrink: 0;
    opacity: 0.95;
}

.course-preview-upload-btn__icon svg {
    display: block;
}

.course-preview-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

#coursePreview .wizard-preview-cover {
    margin-bottom: 16px;
}

#coursePreview .wizard-preview-cover > strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #0e4d8a;
}

#coursePreview .wizard-preview-cover-frame {
    max-width: 280px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    overflow: hidden;
    background: #f8fafc;
}

#coursePreview .wizard-preview-cover-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 平台课程选择 - 与 bind-task-item 统一 */
.platform-course-list {
    display: grid;
    gap: 12px;
}

.platform-course-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.platform-course-item:hover {
    border-color: rgba(62, 146, 204, 0.3);
    background: rgba(62, 146, 204, 0.06);
}

.platform-course-item.selected {
    border-color: var(--light-blue);
    background: rgba(62, 146, 204, 0.08);
}

.platform-course-item input[type="radio"] {
    margin-right: 12px;
}

.platform-course-item .item-thumb {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 16px;
}

.platform-course-item .item-info {
    flex: 1;
    min-width: 0;
}

.platform-course-item .item-title {
    font-weight: 600;
    color: #0e4d8a;
    margin-bottom: 4px;
}

.platform-course-item .item-meta {
    font-size: 13px;
    color: #64748b;
}

.platform-course-item .platform-course-view-detail-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 14px;
    margin-left: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--deep-space-blue);
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.35);
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.platform-course-item .platform-course-view-detail-btn:hover {
    background: rgba(62, 146, 204, 0.08);
    border-color: var(--light-blue);
}

/* 资源选择 */
.resource-select-grid {
    display: grid;
    gap: 10px;
}

.resource-select-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.resource-select-item:hover {
    border-color: rgba(62, 146, 204, 0.3);
    background: rgba(62, 146, 204, 0.06);
}

.resource-select-item input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 2px;
}

.resource-select-item .resource-info {
    flex: 1;
}

.resource-select-item .resource-title {
    font-weight: 500;
    color: #0e4d8a;
}

.resource-select-item .resource-meta {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

/* 步骤2：选用资源 - 按 STEM 分类 */
.resource-step-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.resource-type-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.resource-type-tab {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(62, 146, 204, 0.25);
    background: #fff;
    color: #4f5f79;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.resource-type-tab:hover {
    border-color: var(--light-blue);
    color: #0a2463;
}

.resource-type-tab.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.15) 0%, rgba(10, 36, 99, 0.08) 100%);
    border-color: var(--light-blue);
    color: #0e4d8a;
}

.subject-knowledge-step-hint {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.subject-knowledge-step-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
}

.subject-knowledge-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.subject-knowledge-step-item:hover {
    border-color: rgba(184, 134, 11, 0.35);
    background: rgba(255, 215, 0, 0.06);
}

.subject-knowledge-step-item input[type="checkbox"] {
    margin: 2px 0 0 0;
    flex-shrink: 0;
}

.subject-knowledge-step-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.subject-knowledge-step-title {
    font-weight: 600;
    color: #0e4d8a;
    font-size: 14px;
}

.subject-knowledge-step-meta {
    font-size: 12px;
    color: #64748b;
}

.subject-knowledge-step-desc {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

.resource-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.resource-category-tab {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid rgba(62, 146, 204, 0.25);
    background: #fff;
    color: #4f5f79;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.resource-category-tab:hover {
    border-color: var(--light-blue);
    color: #0a2463;
}

.resource-category-tab.active {
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.15) 0%, rgba(10, 36, 99, 0.08) 100%);
    border-color: var(--light-blue);
    color: #0a2463;
}

.resource-cat-count {
    font-size: 11px;
    opacity: 0.9;
    margin-left: 4px;
}

.resource-by-category {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
}

.resource-select-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 2px 0;
}

.resource-select-row .resource-select-item {
    flex: 1;
    margin: 0;
}

.resource-type-tag {
    font-size: 12px;
    font-weight: normal;
    color: #64748b;
    margin-left: 6px;
}

.resource-view-detail-btn {
    flex-shrink: 0;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--deep-space-blue);
    background: #fff;
    border: 1px solid rgba(62, 146, 204, 0.35);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.resource-view-detail-btn:hover {
    background: rgba(62, 146, 204, 0.08);
    border-color: var(--light-blue);
}

/* 资源详情模态 */
.resource-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.resource-detail-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.resource-detail-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.resource-detail-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafcff;
    flex-shrink: 0;
}

.resource-detail-title {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    color: #0f2f66;
}

.resource-detail-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667a98;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.resource-detail-close:hover {
    background: rgba(62, 146, 204, 0.1);
    color: #0a2463;
}

.resource-detail-close svg {
    width: 20px;
    height: 20px;
}

.resource-detail-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    color: #41506a;
    line-height: 1.7;
}

.resource-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.resource-detail-cat,
.resource-detail-type,
.resource-detail-duration {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.resource-detail-cat {
    background: rgba(62, 146, 204, 0.15);
    color: #0e4d8a;
}

.resource-detail-type {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.resource-detail-duration {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.resource-detail-source {
    margin-bottom: 16px;
    font-size: 13px;
    color: #64748b;
}

.resource-detail-block {
    margin-bottom: 16px;
}

.resource-detail-block:last-child {
    margin-bottom: 0;
}

.resource-detail-block h4 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 600;
    color: #0e4d8a;
}

.resource-detail-block p,
.resource-detail-block ul {
    margin: 0;
    padding-left: 20px;
}

.resource-detail-block p {
    padding-left: 0;
}

.resource-detail-block ul {
    margin-top: 4px;
}

.resource-detail-block li {
    margin-bottom: 4px;
}

/* STEM-PBL 阶段设计 */
.pbl-phase-list {
    display: grid;
    gap: 14px;
}

.pbl-phase-item {
    padding: 16px 18px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pbl-phase-item:hover {
    border-color: rgba(62, 146, 204, 0.25);
}

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

.pbl-phase-item .phase-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-blue), var(--deep-space-blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    margin-right: 12px;
}

.pbl-phase-item .phase-title {
    font-weight: 600;
    color: #0e4d8a;
}

.pbl-phase-item .phase-objective {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 10px;
}

.pbl-phase-item .phase-tasks {
    font-size: 13px;
    color: #64748b;
}

.pbl-phase-item .phase-tasks ul {
    margin: 0;
    padding-left: 20px;
}

/* STEM-PBL 阶段设计（可编辑） */
.pbl-step-desc {
    margin-bottom: 20px;
    color: var(--dark-gray);
    font-size: 14px;
}

/* STEM-PBL课程框架模板选用区 */
.pbl-template-bar {
    margin-bottom: 24px;
    padding: 20px 22px;
    background: linear-gradient(145deg, rgba(62, 146, 204, 0.08) 0%, rgba(10, 36, 99, 0.04) 100%);
    border: 1px solid rgba(62, 146, 204, 0.2);
    border-radius: 12px;
    border-left: 4px solid var(--light-blue);
}

.pbl-template-bar-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.pbl-template-heading {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0e4d8a;
}

.pbl-template-subhint {
    margin: 0;
    max-width: 720px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.55;
}

.pbl-template-current {
    flex-shrink: 0;
    padding: 8px 14px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(62, 146, 204, 0.15);
    font-size: 13px;
    color: #475569;
}

.pbl-template-current-label {
    color: #94a3b8;
    margin-right: 6px;
}

.pbl-template-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.pbl-template-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 14px 16px;
    border: 2px solid rgba(62, 146, 204, 0.2);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.pbl-template-card:hover {
    border-color: rgba(62, 146, 204, 0.45);
    box-shadow: 0 4px 14px rgba(10, 36, 99, 0.06);
}

.pbl-template-card.selected {
    border-color: var(--light-blue);
    background: rgba(62, 146, 204, 0.08);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.15);
}

.pbl-template-card-name {
    font-size: 14px;
    font-weight: 600;
    color: #0e4d8a;
    margin-bottom: 4px;
}

.pbl-template-card-meta {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
}

.pbl-template-card-desc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}

.pbl-template-card-focus {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
}

.pbl-template-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pbl-template-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pbl-template-actions .btn-sm.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.pbl-template-actions .btn-sm.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

.pbl-template-actions .btn-sm.btn-secondary,
.pbl-template-create-btn {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.pbl-template-actions .btn-sm.btn-secondary:hover,
.pbl-template-create-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.pbl-template-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    min-width: 0;
}

.pbl-template-card-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.pbl-template-view-btn {
    padding: 4px 12px;
    font-size: 12px;
    font-family: inherit;
    font-weight: 600;
    color: var(--deep-space-blue);
    background: rgba(62, 146, 204, 0.1);
    border: 1px solid rgba(62, 146, 204, 0.35);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pbl-template-view-btn:hover {
    background: rgba(62, 146, 204, 0.18);
    border-color: var(--light-blue);
}

.pbl-template-detail-modal .framework-phase-code {
    font-weight: 400;
    font-size: 11px;
    color: #94a3b8;
    margin-left: 6px;
}

.pbl-template-detail-modal .framework-phase-mentor,
.pbl-template-detail-modal .framework-phase-prompts-block {
    margin-top: 8px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.pbl-template-detail-source {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
}

.pbl-template-source-tag {
    display: inline-block;
    margin-right: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    vertical-align: middle;
}

.pbl-template-source-tag.platform {
    color: #1e40af;
    background: rgba(59, 130, 246, 0.15);
}

.pbl-template-source-tag.custom {
    color: #92400e;
    background: rgba(251, 191, 36, 0.28);
}

.pbl-template-detail-modal .resource-detail-content {
    max-width: 640px;
}

.pbl-template-card-custom {
    border-color: rgba(184, 134, 11, 0.45);
    background: rgba(255, 215, 0, 0.06);
}

.pbl-template-card-custom.selected {
    border-color: #b8860b;
    background: rgba(255, 215, 0, 0.12);
    box-shadow: 0 0 0 2px rgba(184, 134, 11, 0.2);
}

.pbl-template-custom-tag {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #92400e;
    background: rgba(251, 191, 36, 0.25);
    border-radius: 6px;
}

.pbl-template-delete-btn {
    align-self: flex-end;
    padding: 4px 10px;
    font-size: 12px;
    font-family: inherit;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.25);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pbl-template-delete-btn:hover {
    background: rgba(220, 38, 38, 0.15);
    border-color: #dc2626;
}

#pblSaveTemplateModal .pbl-save-template-modal-content {
    max-width: 520px;
}

.pbl-save-template-hint {
    margin: 0 0 18px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

#pblSaveTemplateModal .create-template-form .form-group {
    margin-bottom: 16px;
}

#pblSaveTemplateModal .create-template-form input,
#pblSaveTemplateModal .create-template-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(62, 146, 204, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

#pblSaveTemplateModal .create-template-form textarea {
    resize: vertical;
    min-height: 72px;
}

.pbl-template-action-hint {
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 640px) {
    .pbl-template-bar-head {
        flex-direction: column;
    }
}

.pbl-phase-list-editable {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pbl-phase-card {
    padding: 18px 20px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.18);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pbl-phase-card:hover {
    border-color: rgba(62, 146, 204, 0.3);
}

.pbl-phase-header {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.pbl-phase-num {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-blue), var(--deep-space-blue));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
}

.pbl-phase-title {
    font-weight: 600;
    color: #0e4d8a;
    font-size: 15px;
}

.pbl-phase-field {
    margin-bottom: 14px;
}

.pbl-phase-field:last-child {
    margin-bottom: 0;
}

.pbl-phase-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.pbl-phase-objective-input,
.pbl-phase-mentor-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(62, 146, 204, 0.2);
    border-radius: 8px;
    font-size: 14px;
    color: #334155;
    font-family: inherit;
    box-sizing: border-box;
}

.pbl-phase-objective-input {
    resize: vertical;
    min-height: 56px;
}

.pbl-phase-objective-input:focus,
.pbl-phase-mentor-input:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.15);
}

.pbl-tasks-edit {
    list-style: none;
    margin: 0 0 10px 0;
    padding: 0;
}

.pbl-task-edit {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pbl-task-input {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid rgba(62, 146, 204, 0.2);
    border-radius: 6px;
    font-size: 13px;
    color: #334155;
    box-sizing: border-box;
}

.pbl-task-input:focus {
    outline: none;
    border-color: var(--light-blue);
}

.pbl-task-remove {
    width: 28px;
    height: 28px;
    padding: 0;
    border: none;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.pbl-task-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

.pbl-task-add {
    padding: 8px 14px;
    border: 1px dashed rgba(62, 146, 204, 0.4);
    border-radius: 8px;
    background: transparent;
    color: var(--light-blue);
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pbl-task-add:hover {
    background: rgba(62, 146, 204, 0.08);
    border-color: var(--light-blue);
}

.pbl-phase-resources .pbl-phase-label {
    margin-bottom: 8px;
}

.pbl-resource-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.pbl-resource-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}

.pbl-resource-option input {
    margin: 0;
}

.pbl-resource-type {
    font-size: 11px;
    color: #94a3b8;
    margin-left: 4px;
}

.pbl-resource-hint {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.pbl-phase-cocreate-resources {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(62, 146, 204, 0.1);
}

.pbl-cocreate-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 6px;
    border-radius: 4px;
    margin-right: 4px;
    vertical-align: middle;
}

.pbl-cocreate-tag-knowledge {
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.15);
}

.pbl-cocreate-tag-supplement {
    color: #6b21a8;
    background: rgba(148, 103, 255, 0.15);
}

.pbl-cocreate-sup-note {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 2px;
}

/* 学科知识融合 */
.pbl-phase-subject-knowledge {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(62, 146, 204, 0.12);
}

.pbl-phase-subject-knowledge .pbl-phase-label {
    margin-bottom: 8px;
}

.pbl-subject-knowledge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 10px;
}

.pbl-subject-knowledge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 13px;
    color: #0e4d8a;
    background: rgba(255, 215, 0, 0.15);
    border: 1px solid rgba(184, 134, 11, 0.3);
    border-radius: 8px;
}

.pbl-subject-knowledge-tag .pbl-sk-remove {
    width: 20px;
    height: 20px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}

.pbl-subject-knowledge-tag .pbl-sk-remove:hover {
    background: rgba(220, 38, 38, 0.2);
}

.pbl-subject-knowledge-add {
    padding: 8px 14px;
    border: 1px dashed rgba(184, 134, 11, 0.5);
    border-radius: 8px;
    background: transparent;
    color: #b8860b;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.pbl-subject-knowledge-add:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #b8860b;
}

.pbl-subject-knowledge-hint {
    font-size: 13px;
    color: #94a3b8;
    margin: 0 0 10px;
}

/* 学科知识选择模态 */
.subject-knowledge-modal-content {
    max-width: 560px;
}

.subject-knowledge-hint {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.subject-knowledge-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.subject-knowledge-list {
    max-height: 320px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.subject-knowledge-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.subject-knowledge-item:hover {
    border-color: rgba(62, 146, 204, 0.3);
    background: rgba(62, 146, 204, 0.06);
}

.subject-knowledge-item input[type="checkbox"] {
    margin: 2px 0 0 0;
    flex-shrink: 0;
}

.subject-knowledge-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.subject-knowledge-title {
    font-weight: 600;
    color: #0e4d8a;
    font-size: 14px;
}

.subject-knowledge-meta {
    font-size: 12px;
    color: #64748b;
}

.subject-knowledge-desc {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

.subject-knowledge-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(10, 36, 99, 0.1);
}

.subject-knowledge-modal-actions .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.subject-knowledge-modal-actions .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.subject-knowledge-modal-actions .btn-sm:hover {
    transform: translateY(-1px);
}

/* C²LIPS 能力 */
.clips-ability-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clips-ability-card {
    padding: 0;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 10px;
    transition: all 0.2s;
}

.clips-ability-card.selected {
    border-color: var(--light-blue);
    background: rgba(62, 146, 204, 0.08);
}

.clips-ability-item {
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.clips-ability-item:hover {
    background: rgba(62, 146, 204, 0.04);
}

.clips-ability-item input[type="checkbox"] {
    margin: 2px 0 0 0;
    flex-shrink: 0;
}

.clips-ability-item .ability-info {
    flex: 1;
}

.clips-ability-item .ability-name {
    font-weight: 600;
    color: #0e4d8a;
}

.clips-ability-item .ability-desc {
    font-size: 12px;
    color: #64748b;
    margin-top: 4px;
}

.clips-ability-expand {
    padding: 0 16px 16px 44px;
    border-top: 1px solid rgba(62, 146, 204, 0.1);
}

.clips-mapping-field {
    margin-top: 12px;
}

.clips-mapping-field:first-child {
    margin-top: 12px;
}

.clips-mapping-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.clips-phase-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.clips-phase-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #334155;
    cursor: pointer;
}

.clips-phase-option input {
    margin: 0;
}

.clips-score-weight-row {
    display: flex;
    gap: 24px;
    margin-top: 12px;
}

.clips-score-weight-row .clips-mapping-field {
    flex: 1;
    max-width: 140px;
}

.clips-score-input,
.clips-weight-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(62, 146, 204, 0.25);
    border-radius: 8px;
    font-size: 14px;
}

.clips-score-input:focus,
.clips-weight-input:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(62, 146, 204, 0.2);
}

/* 向导导航按钮 */
.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(10, 36, 99, 0.1);
}

.wizard-nav .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.wizard-nav .btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    box-shadow: 0 4px 12px rgba(62, 146, 204, 0.3);
}

.wizard-nav .btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(62, 146, 204, 0.38);
}

.wizard-nav .btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #0a2463 0%, var(--deep-space-blue) 100%);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.25);
}

.wizard-nav .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 36, 99, 0.35);
}

/* 创建页 - 平台选用/自建入口（与主页面 hero 一致） */
#platformSelect .course-create-panel,
#selfBuildWizard .course-create-panel {
    border-left: 4px solid var(--light-blue);
}

#coursePreview {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 12px;
}

#coursePreview p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #0e4d8a;
}

#coursePreview p:last-child {
    margin-bottom: 0;
}

#coursePreview .preview-weight-hint {
    font-size: 12px;
    color: #94a3b8;
}

/* 绑定班级模态 */
.bind-class-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.bind-class-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.bind-class-content {
    position: relative;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.bind-class-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(10, 36, 99, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafcff;
    flex-shrink: 0;
}

.bind-class-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #0f2f66;
}

.bind-class-close {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667a98;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}

.bind-class-close:hover {
    background: rgba(62, 146, 204, 0.1);
    color: #0a2463;
}

.bind-class-close svg {
    width: 20px;
    height: 20px;
}

.bind-class-desc {
    margin: 0;
    padding: 12px 24px 0;
    font-size: 14px;
    color: #64748b;
    flex-shrink: 0;
}

.bind-class-layout {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-height: 280px;
    padding: 20px 24px;
    gap: 16px;
}

.bind-class-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(10, 36, 99, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.bind-class-column-title {
    margin: 0;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #0e4d8a;
    background: rgba(62, 146, 204, 0.08);
    border-bottom: 1px solid rgba(62, 146, 204, 0.12);
}

.bind-class-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bind-class-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fbff;
    border: 1px solid rgba(62, 146, 204, 0.12);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.bind-class-item:hover {
    border-color: rgba(62, 146, 204, 0.3);
    background: rgba(62, 146, 204, 0.06);
}

.bind-class-item.selected {
    border-color: var(--light-blue);
    background: rgba(62, 146, 204, 0.1);
}

.bind-class-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.bind-class-item .bind-class-item-name {
    flex: 1;
    font-size: 14px;
    color: #0e4d8a;
    min-width: 0;
}

.bind-class-item .bind-class-item-meta {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}

.bind-class-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    flex-shrink: 0;
}

.bind-class-btn-add,
.bind-class-btn-remove {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(62, 146, 204, 0.3);
    background: #fff;
    color: var(--light-blue);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.bind-class-btn-add:hover,
.bind-class-btn-remove:hover {
    background: rgba(62, 146, 204, 0.1);
    border-color: var(--light-blue);
}

.bind-class-btn-add:disabled,
.bind-class-btn-remove:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bind-class-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(10, 36, 99, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.bind-class-cancel {
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(62, 146, 204, 0.35);
    background: #fff;
    color: #0e4d8a;
    cursor: pointer;
    transition: all 0.2s;
}

.bind-class-cancel:hover {
    background: rgba(62, 146, 204, 0.08);
}

.bind-class-confirm {
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    background: linear-gradient(135deg, var(--light-blue) 0%, #2a7ab8 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.bind-class-confirm:hover {
    filter: brightness(1.05);
}

.bind-class-empty-hint {
    padding: 24px 16px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

/* 从教案库创建：步骤 1 提示条 */
.course-create-page .wizard-library-from-banner {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #0f766e;
    background: rgba(13, 148, 136, 0.08);
    border: 1px solid rgba(13, 148, 136, 0.22);
}

.course-create-page .wizard-library-from-banner strong {
    color: #0d9488;
}

/* 从校企共创创建：步骤 1 提示条 */
.course-create-page .wizard-cocreate-from-banner {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #1e3a5f;
    background: linear-gradient(135deg, rgba(62, 146, 204, 0.1) 0%, rgba(10, 36, 99, 0.06) 100%);
    border: 1px solid rgba(10, 36, 99, 0.14);
}

.course-create-page .wizard-cocreate-from-banner strong {
    color: #0a2463;
}

/* 校企共创：步骤 2 企业资料区 */
.course-create-page .wizard-cocreate-step2-callout {
    margin: 0 0 18px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(248, 251, 255, 0.95);
    border: 1px solid rgba(62, 146, 204, 0.22);
    box-shadow: 0 2px 10px rgba(10, 36, 99, 0.05);
}

.course-create-page .wizard-cocreate-callout-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #0f2f66;
}

.course-create-page .wizard-cocreate-callout-meta {
    margin: 0 0 12px;
    font-size: 13px;
    color: #475569;
}

.course-create-page .wizard-cocreate-block {
    margin-top: 12px;
}

.course-create-page .wizard-cocreate-block-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 6px;
}

.course-create-page .wizard-cocreate-ul {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
}

.course-create-page .wizard-cocreate-ul li {
    margin-bottom: 8px;
}

.course-create-page .wizard-cocreate-pick-hint {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.course-create-page .wizard-cocreate-pick-hint strong {
    color: #0f2f66;
    font-weight: 700;
}

.course-create-page .wizard-cocreate-pick-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.course-create-page .wizard-cocreate-pick-item {
    margin-bottom: 10px;
}

.course-create-page .wizard-cocreate-pick-item:last-child {
    margin-bottom: 0;
}

.course-create-page .wizard-cocreate-pick-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(62, 146, 204, 0.18);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.course-create-page .wizard-cocreate-pick-label:hover {
    border-color: rgba(62, 146, 204, 0.38);
    background: rgba(62, 146, 204, 0.04);
    box-shadow: 0 2px 8px rgba(10, 36, 99, 0.05);
}

.course-create-page .wizard-cocreate-pick-cb {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--light-blue);
    cursor: pointer;
}

.course-create-page .wizard-cocreate-pick-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.course-create-page .wizard-cocreate-pick-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f2f66;
    line-height: 1.45;
}

.course-create-page .wizard-cocreate-pick-desc {
    display: block;
    margin: 0;
}

.course-create-page .wizard-cocreate-li-desc {
    font-size: 12px;
    color: #64748b;
}

.course-create-page .wizard-cocreate-empty-hint {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.course-create-page .preview-cocreate-row {
    padding: 10px 12px;
    margin: 12px 0;
    border-radius: 8px;
    background: rgba(62, 146, 204, 0.08);
    border: 1px solid rgba(62, 146, 204, 0.2);
}

/* 教案库选择模态 */
.course-create-page .library-picker-modal-content {
    max-width: 520px;
}

.course-create-page .library-picker-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.55;
}

.course-create-page .library-picker-empty-text {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.course-create-page .library-picker-empty-text a {
    color: var(--light-blue);
    font-weight: 600;
}

.course-create-page .library-picker-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: min(48vh, 360px);
    overflow-y: auto;
}

.course-create-page .library-picker-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(10, 36, 99, 0.1);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.course-create-page .library-picker-row:hover {
    border-color: rgba(13, 148, 136, 0.35);
    background: rgba(13, 148, 136, 0.04);
}

.course-create-page .library-picker-row input[type="radio"] {
    margin-top: 4px;
    flex-shrink: 0;
    accent-color: #0d9488;
}

.course-create-page .library-picker-row-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.course-create-page .library-picker-row-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--deep-space-blue);
}

.course-create-page .library-picker-row-meta {
    font-size: 12px;
    color: #64748b;
}
