.content {
    margin: 0;
    padding-top: 20px;
    background: #FFFFFF;
    background: linear-gradient(to bottom, #EAF7FF 0%, #FFFFFF 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#EAF7FF', endColorstr='#FFFFFF', GradientType=0);
}

/* 专题网课页面样式 */
.special-container {
    padding: 20px;
    background-color: #FFFFFF;
    border-radius: 6px;
}

/* 分类导航样式 */
.category-nav {
    margin-bottom: 20px;
    padding: 10px 0;
}

.category-buttons {
    display: flex;
    gap: 15px;
}

/* 自定义分类按钮样式 - 非选中状态 */
.category-btn {
    width: 180px;
    height: 100px;
    border-radius: 6px;
    font-size: 16px;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    background-color: #ffffff;
    color: #222222;
    border: 1px solid #E5E5E5;
    transition: all 0.3s ease;
    user-select: none;
    text-align: center;
    line-height: 50px;
}

/* 自定义分类按钮样式 - 选中状态 */
.category-btn.active {
    background-color: #3AA9FD;
    color: #ffffff;
}

/* 分类按钮图标样式 */
.category-btn img {
    width: 36px;
    height: 36px;
    vertical-align: middle;
}

/* 非选中状态按钮hover效果 */
.category-btn:not(.active):hover {
    background-color: #f5f7fa;
}

/* 专题列表 */
.special-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.special-base {
    background: #F9F9F9;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    padding: 20px;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.special-base:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d9d9d9;
}

.special-item {
    display: flex;
}

.special-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    margin-right: 20px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.special-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

/* 课程信息样式 */
.special-content {
    flex: 1;
    font-size: 16px;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.course-info {
    display: flex;
    gap: 10px;
}

.course-label {
    font-weight: bold;
}

.course-name {
    color: #3AA9FD;
    font-weight: bold;
    font-size: 18px;
}

.course-category {
    color: #0FB226;
}

.course-info-normal {
    min-width: 16em;
}


.special-button-group {
    display: flex;
    flex-direction: column;
}

.special-button-group .layui-btn+.layui-btn {
    margin-left: 0;
    margin-top: 10px;
}

/* 分页控件样式 */
.pagination-container {
    margin-top: 20px;
    text-align: center;
}

/* IE11兼容处理 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .category-buttons {
        display: block;
        overflow: hidden;
    }

    .category-btn {
        float: left;
        margin-right: 15px;
        display: block;
    }

    .special-item {
        display: block;
        overflow: hidden;
    }

    .special-image {
        float: left;
    }

    .special-content {
        display: block;
        overflow: hidden;
    }

    .special-actions {
        display: block;
        overflow: hidden;
    }

    .special-action-btn {
        display: inline-block;
        margin-right: 10px;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .common-width {
        width: 96%;
        margin: 0 auto;
    }

    .category-btn {
        width: 160px;
        height: 90px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .category-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .category-btn {
        flex: 1;
        min-width: 120px;
        height: 80px;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .special-item {
        flex-direction: column;
    }

    .special-image {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/**发票弹窗**/
.invoice-container {
    width: 100%;
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
    position: relative;
}

.invoice-warning {
    width: 100%;
    height: 48px;
    line-height: 48px;
    font-size: 16px;
    background-color: #FEF0F0;
    color: #F56C6C;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 30px;
}

.invoice-flex {
    display: flex;
}

.invoice-flex input + select + div {
    margin-left: 10px;
    width: 350px;
}

.invoice-button {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
}

.invoice-button button {
    min-width: 10em;
}