/* ========================================
   面包屑导航
   ======================================== */
.navigation-bread {
    margin: 20px 0 16px;
    overflow: hidden;
}

.navigation-bread span,
.navigation-bread a {
    font-size: 16px;
    color: #666666;
    display: block;
    line-height: 21px;
    float: left;
    margin-right: 5px;
}

.navigation-bread .navigation-cur {
    color: #C00000;
    cursor: default;
}

.navigation-bread > a + a:before {
    content: "> ";
    color: #999999;
}

/* ========================================
   主内容区域
   ======================================== */
.main-content {
    background: #fafafa;
    padding: 30px 13px 0;
}

/* ========================================
   搜索区域
   ======================================== */
.search-item {
    display: flex;
    margin-bottom: 16px;
}

.search-wrap {
    clear: both;
}

.search-wrap input {
    float: left;
    height: 40px;
    line-height: 22px;
    border: 1px solid #999;
    border-right: none;
    font-size: 14px;
    width: 350px;
    padding: 8px 0 8px 14px;
}

.search-wrap input::-webkit-input-placeholder,
.search-wrap input::-moz-placeholder {
    font-size: 14px;
}

.search-wrap button {
    float: left;
    border: none;
    display: inline-block;
    height: 40px;
    line-height: 40px;
    background: #C5030E;
    font-size: 18px;
    color: #fff;
    padding: 0 30px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-color {
    background-color: #C5030E;
    color: #ffffff;
}

.btn-color:hover {
    background-color: #a0030b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(197, 3, 14, 0.3);
}

/* ========================================
   分类选择器
   ======================================== */
.choice {
    position: relative;
    margin-bottom: 24px;
}

.choice-major {
    margin-bottom: 0;
}

.choice-header {
    width: 178px;
}

.choice-header div {
    width: 6px;
    height: 20px;
    background: #C5030E;
    position: absolute;
    left: 0;
    top: 14px;
}

.choice-header span {
    line-height: 46px;
    font-size: 20px;
    color: #333;
    margin-left: 25px;
}

.choice-item {
    float: left;
    width: 80%;
}

.choice-item .item-three-top a,
.choice-item .item-three-bottom a {
    line-height: 46px;
    font-size: 20px;
    color: #333;
    margin-right: 55px;
}

.choice-item .item-three-top a:last-child,
.choice-item .item-three-bottom a:last-child {
    margin-right: 0;
}

.choice-item .item-three-top a:hover,
.choice-item .item-three-bottom a:hover {
    color: #C5030E;
}

.choice-item .item-three-top a {
    float: left;
    width: auto;
    white-space: nowrap;
    padding: 0 5px;
    height: 49px;
    margin-right: 35px;
    text-align: center;
}

.choice-item .item-three-top a.item-three-top-cur {
    color: #C5030E;
}

.choice-item .item-three-top-switch {
    border-bottom: 1px solid #C5030E;
}

.choice-item .item-three-bottom a {
    font-size: 18px;
    color: #555;
    margin: 10px 57px 0 0;
}

.choice-item .item-three-bottom a.item-three-bottom-cur {
    color: #C5030E;
}

.choice-item .item-three-bottom-wrapper {
    width: auto;
    padding-top: 10px;
}

.choice-item-three {
    overflow: hidden;
}

/* 时间选择器 */
.time-selector {
    margin-bottom: 16px;
}

/* 筛选区域 */
.filter-section {
    margin-bottom: 16px;
}

/* ========================================
   课程列表
   ======================================== */
.course-list {
    width: 100%;
}

.course-item {
    display: flex;
    padding: 16px 20px;
    border-bottom: 2px dashed #e0e0e0;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.course-item:hover {
    background-color: #f8f9fa;
}

/* 左侧图片区域 */
.course-image {
    width: 20%;
    height: 120px;
    margin-right: 20px;
    overflow: hidden;
    flex-shrink: 0;
}

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

/* 中间信息区域 */
.course-info {
    flex: 1;
    min-width: 0;
}

.course-title {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-tags {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 6px;
    line-height: 1.4;
    max-width: 100%;
}

.info-tag {
    display: block;
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
    background: none;
    padding: 0;
    border: none;
    white-space: normal;
    transition: none;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    flex-shrink: 0;
}

/* 右侧操作按钮 */
.action-button {
    margin-left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-info {
    text-align: center;
}

.price-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #C5030E;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.status-btn {
    padding: 8px 24px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

/* 状态按钮样式 */
.status-enrolling {
    background-color: #C5030E;
    color: #ffffff;
    border: 1px solid #C5030E;
    transition: all 0.2s ease;
}

.status-enrolling:hover {
    background-color: #a0030b;
    border-color: #a0030b;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(197, 3, 14, 0.3);
}

.status-enrolled {
    background-color: #17a2b8;
    color: #ffffff;
    border: 1px solid #17a2b8;
    transition: all 0.2s ease;
}

.status-enrolled:hover {
    background-color: #138496;
    border-color: #138496;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3);
}

.status-not-started {
    background-color: #ffc107;
    color: #212529;
    border: 1px solid #ffc107;
    transition: all 0.2s ease;
}

.status-not-started:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.status-started {
    background-color: #28a745;
    color: #ffffff;
    border: 1px solid #28a745;
    transition: all 0.2s ease;
}

.status-started:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.status-ended {
    background-color: #6c757d;
    color: #ffffff;
    border: 1px solid #6c757d;
    transition: all 0.2s ease;
}

.status-ended:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.status-default {
    background-color: #6c757d;
    color: #ffffff;
    border: 1px solid #6c757d;
    transition: all 0.2s ease;
}

.status-default:hover {
    background-color: #5a6268;
    border-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

/* ========================================
   分页
   ======================================== */
.pagez {
    margin-bottom: 20px;
}

/* ========================================
   工具类
   ======================================== */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.ml-20 {
    margin-left: 20px;
}

