/* 课程筛选区样式 */
.course-filter {
    background: #f5f5f5;
    padding: 30px 0;
    margin-bottom: 30px;
}

.filter-group {
    background: white;
    border-radius: 5px;
    padding: 20px;
}

.filter-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.filter-item:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-weight: bold;
    margin-right: 20px;
    min-width: 70px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-options a {
    color: #666;
    text-decoration: none;
    padding: 5px 15px;
    border-radius: 15px;
    transition: all 0.3s;
}

.filter-options a.active,
.filter-options a:hover {
    background: #00a4ff;
    color: white;
}

/* 课程列表区域样式 */
.course-list {
    padding: 0 0 40px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sort-options {
    display: flex;
    gap: 20px;
}

.sort-options a {
    color: #666;
    text-decoration: none;
    padding: 5px 15px;
    transition: color 0.3s;
}

.sort-options a.active,
.sort-options a:hover {
    color: #00a4ff;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    width: 200px;
}

.search-box button {
    padding: 8px 15px;
    background: #00a4ff;
    border: none;
    color: white;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* 课程网格样式 */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-image {
    position: relative;
}

.course-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.hot-tag, .new-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
}

.hot-tag {
    background: #ff4d4f;
}

.new-tag {
    background: #52c41a;
}

.course-info {
    padding: 20px;
}

.course-info h3 {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.4;
}

.course-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 14px;
}

.level {
    color: #00a4ff;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.pagination a:hover:not(.disabled),
.pagination a.active {
    background: #00a4ff;
    color: white;
    border-color: #00a4ff;
}

.pagination .disabled {
    color: #999;
    cursor: not-allowed;
}

.pagination .prev,
.pagination .next {
    padding: 8px 15px;
}

/* 添加banner样式 */
.courses-banner {
    background: linear-gradient(rgba(0, 164, 255, 0.9), rgba(0, 132, 255, 0.8));
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 30px;
}

.courses-banner h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.courses-banner p {
    font-size: 20px;
    opacity: 0.9;
}

/* 我的课程表样式 */
.my-course-list {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.my-course-list h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.course-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.course-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    border-radius: 5px;
    background: #f8f8f8;
    transition: background-color 0.3s;
}

.course-item:hover {
    background: #f0f0f0;
}

.course-name {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.course-status {
    font-size: 14px;
    color: #666;
} 