/* ==========================================================================
   目录:
   1. 通用组件样式
   2. 布局组件
   3. 首页样式
   4. 导师相关样式
   5. 课程相关样式
   6. 课程详情页样式
   7. 学习中心样式
   8. 登录相关样式
   9. 底部导航样式
   10. 隐私政策页面样式
   11. 个人中心页面样式
   12. 缴费记录页面样式
   13. 联系客服页面样式
   14. 支付页面样式
   ========================================================================== */

/* ==========================================================================
   1. 通用组件样式
   ========================================================================== */

/* 通用头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-level-2);
    display: flex;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 100;
}

.header-title {
    font-size: 18px;
    font-weight: 600;
    flex: 1;
    text-align: center;
    color: var(--text-level-1);
}

.back-btn {
    font-size: 20px;
    color: var(--text-level-1);
    text-decoration: none;
}

.main-content {
    padding-top: calc(var(--header-height) + 10px);
    padding-bottom: 70px;
}

/* 分类标签样式 */
.category-tabs {
    display: flex;
    padding: 10px 15px;
    gap: 15px;
    overflow-x: auto;
    margin: 10px 0;
    justify-content: center;
}

.category-tab {
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 14px;
    color: var(--text-level-3);
    background: var(--bg-level-3);
    white-space: nowrap;
    cursor: pointer;
}

.category-tab.active {
    background: var(--primary-color);
    color: var(--bg-level-1);
}

/* 按钮样式 */
.logout-btn {
    display: block;
    width: calc(100% - 30px);
    margin: 20px 15px;
    height: 44px;
    border-radius: 22px;
    background: var(--primary-color);
    color: var(--bg-level-1);
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* 进度条样式 */
.progress-bar {
    height: 4px;
    background: var(--bg-level-3);
    border-radius: 2px;
    margin-bottom: 5px;
}

.progress-value {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.progress-text {
    font-size: 12px;
    color: var(--text-level-3);
    display: flex;
    justify-content: space-between;
}

/* ==========================================================================
   2. 布局组件
   ========================================================================== */

/* 空数据提示 */
.empty-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    text-align: center;
    background-color: var(--bg-level-1);
    border-radius: 8px;
    margin: 15px 0;
}

.empty-data i {
    font-size: 48px;
    color: var(--bg-level-3);
    margin-bottom: 15px;
}

.empty-data p {
    font-size: 16px;
    color: var(--text-level-3);
    margin-bottom: 20px;
}

.empty-data .btn-primary {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--bg-level-1);
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s;
     position: relative;
     padding-left: 35px;
}

 .empty-data .btn-primary:before {
     content: "\f51e";
     font-family: "Font Awesome 6 Free";
     font-weight: 900;
     margin-right: 6px;
     transform: translateY(-50%);
 }


/* 底部提示 */
.bottom-hint {
    padding-bottom: 60px;
}

.bottom-hint div {
    display: block;
    text-align: center;
    font-size: 14px;
    color: var(--bg-level-4);
    padding: 15px 0;
}
.bottom-hint a {
    color: var(--text-level-4);
}

/* 章节样式 */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 15px;
    margin: 15px 0;
    text-decoration: none;
    color: var(--text-level-1);
    font-size: 16px;
    font-weight: 500;
}

.section-title::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #999;
    font-size: 12px;
} 

/* ==========================================================================
   3. 首页样式
   ========================================================================== */

/* 轮播图样式 */
.banner {
    margin: 0 -15px;
    position: relative;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper分页器样式 */
.swiper-pagination-bullet {
    background: #999999;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #f5f5f5;
}

/* ==========================================================================
   4. 导师相关样式
   ========================================================================== */

/* 导师卡片样式 */
.teacher-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px 0;
}

.teacher-card {
    background: url('../images/teacher_bg.png') no-repeat center/cover;
    border-radius: 8px;
    overflow: visible;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    text-decoration: none;
    color: var(--text-level-1);
    display: flex;
    height: 160px;
    position: relative;
    justify-content: space-between;
    padding: 20px;
}

.teacher-avatar {
    width: 150px;
    height: 150px;
    position: absolute;
    right: 0;
    bottom: 0;
    flex-shrink: 0;
}

.teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.teacher-info {
    flex: 1;
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    padding: 0;
}

.teacher-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.teacher-title {
    display: none;
}

.teacher-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-left: 10px;
    border-left: 2px solid rgba(255,255,255,0.4);
}

.tag {
    font-size: 14px;
    padding: 0 4px;
    display: block;
    width: 100%; 
}

.teacher-desc {
    font-size: 12px;
    color: var(--text-level-3);
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 导师详情页样式 */
.teacher-profile {
    padding: 0;
    margin: 20px 0;
    background: var(--bg-level-2);
    border-radius: 8px;
}

.teacher-profile .teacher-card {
    height: auto;
    border-radius: 8px 8px 0 0;
}

.teacher-intro {
    padding: 0 20px 20px 20px;
}

/* ==========================================================================
   5. 课程相关样式
   ========================================================================== */

/* 课程列表样式 */
.course-list {
    padding: 15px 0;
}

.course-card {
    display: flex;
    margin-bottom: 15px;
    background: var(--bg-level-2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-decoration: none;
    color: var(--text-level-1);
    flex-direction: column;
}

.course-cover {
    position: relative;
}

.course-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-teachers {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.course-teacher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-level-4);
    padding: 4px 14px 4px 4px;
    border-radius: 16px;
    width: fit-content;
}

.course-teacher-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--text-level-1);
}

.course-teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-teacher-name {
    font-size: 12px;
    color: var(--text-level-2);
}

.course-info {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    min-height: 120px;
    position: relative;
}
.course-info .course-expire {
    position: absolute;
    right: 20px;
    bottom: 13px;
}
.course-expire{
    color: #286ddf;
    font-size: 14px;
}
.course-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--text-level-1);
}

.course-desc {
    font-size: 14px;
    color: var(--text-level-3);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-level-3);
}


.index-course-list .course-card{
    flex-direction: row;
}
.index-course-list .course-cover {
    width: 180px;
    padding: 10px 0 10px 10px;
}
.index-course-list .course-cover img {
    border-radius: 8px;
    object-fit: inherit;
}
.index-course-list .course-desc {
    -webkit-line-clamp: 1;
}
.index-course-list .course-info {
    justify-content: center;
}
/* ==========================================================================
   6. 课程详情页样式
   ========================================================================== */

/* 视频播放器/课程封面样式 */
#mediaContainer {
    position: relative;
    overflow: hidden;
    margin: 0 -15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.course-detail-cover img {
    width: 100%;
    display: block;
}

.video-detail-container {
    width: 100%;
    max-width: var(--max-width);
    background: #000;
    position: fixed;
    top: calc(var(--header-height));
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

/* 课程信息样式 */
.course-detail-info {
    padding: 15px 0;
    margin-bottom: 20px;
}

.course-detail-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-level-1);
}

.course-detail-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

/* 课程价格信息样式 */
.course-price-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-price {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
}

.course-duration {
    font-size: 14px;
    color: var(--text-level-3);
    background: rgba(var(--primary-color-rgb), 0.1);
    margin-top: 8px;
}

.course-detail-desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-level-2);
}

/* 章节列表样式 */
.chapter-list {
    background: var(--bg-level-1);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.chapter-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.3s;
}

.chapter-item:hover {
    background: var(--bg-level-2);
}

.chapter-icon {
    width: 28px;
    height: 28px;
    background: var(--bg-level-4);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.chapter-info {
    flex: 1;
}

.chapter-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-level-1);
    margin-bottom: 4px;
    line-height: 1.3;
}

.free-tag {
    display: inline-block;
    margin-left: 5px;
    padding: 4px;
    background-color: var(--primary-color);
    color: var(--bg-level-1);
    border-radius: 3px;
    font-size: 12px;
    line-height: 1;
}

.chapter-duration {
    font-size: 12px;
    color: var(--text-level-3);
}

.chapter-status {
    display: flex;
    align-items: center;
}

/* 底部操作栏样式 */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-level-3);
    display: flex;
    align-items: center;
    padding: 12px 15px;
    z-index: 100;
}

.bottom-bar-text {
    flex: 1;
    font-size: 16px;
    color: var(--text-level-2);
    margin-right: 15px;
}

/* 底部价格显示样式 */
.bottom-bar-text .price-highlight {
    color: #FFD700;
    font-size: 26px;
    font-weight: bold;
}

.action-btn {
    background: var(--primary-color);
    color: var(--bg-level-1);
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.action-btn:before {
    content: "\f144";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 10px;
    font-size: 16px;
}


.action-btn.disabled:before {
    content: "\f51e";
}

/* 课程详情内容样式 */
.course-detail-content p {
    font-size: 16px; 
    line-height: 1.8; 
    color: var(--text-level-3); 
    margin: 15px 0;
}

.course-detail-content p img {
    width: 100%;
}

.course-detail-nav {
    display: flex;
    border-bottom: 1px solid #eee;
    margin: 15px 0;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    color: #666;
    position: relative;
    cursor: pointer;
}

.tab-item.active {
    color: var(--primary-color);
    font-weight: 500;
}

.tab-item.active:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* 学习记录相关样式 */
.chapter-item.last-study {
    background-color: rgba(var(--primary-rgb), 0.05);
    border-left: 3px solid var(--primary-color);
}

.last-study-mark {
    display: inline-block;
    margin-right: 5px;
    padding: 4px;
    background-color: var(--primary-color);
    color: var(--bg-level-1);
    border-radius: 3px;
    font-size: 12px;
    line-height: 1;
}

.completed-mark {
    display: inline-block;
    margin-right: 5px;
    color: var(--success-color);
    font-size: 16px;
}

/* ==========================================================================
   7. 学习中心样式
   ========================================================================== */

.study-course-list {
    padding: 15px 0;
}

.study-course-card {
    display: flex;
    background: var(--bg-level-2);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: var(--text-level-1);
    margin-bottom: 20px;
}

.study-course-cover {
    height: 85px;
    border-radius: 8px;
    overflow: hidden;
}

.study-course-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.study-course-info {
    flex: 1;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
}

.study-course-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.study-course-progress {
    margin-top: auto;
}

/* ==========================================================================
   8. 登录相关样式
   ========================================================================== */

/* 登录提示样式 */
.login-required {
    text-align: center;
    padding: 40px 20px;
}

.login-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    background: var(--bg-level-3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
}

.login-text {
    font-size: 16px;
    color: var(--text-level-2);
    margin-bottom: 20px;
}

.login-btn {
    display: inline-block;
    padding: 10px 30px;
    background: var(--primary-color);
    color: var(--bg-level-1);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

/* 登录表单样式 */
.login-form {
    padding: 20px;
}

.form-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-control.error {
    border-color: #ff4d4f;
}

.error-message {
    color: #e53935;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: #4caf50;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.submit-btn {
    width: 100%;
    height: 44px;
    background: var(--primary-color);
    color: var(--bg-level-1);
    border: none;
    border-radius: 22px;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.submit-btn:hover {
    background-color: #1976D2;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.verification-code {
    position: absolute;
    right: 4px;
    top: 35px;
    background: var(--primary-color);
    color: var(--bg-level-1);
    border: none;
    border-radius: 6px;
    padding: 0 10px;
    height: 36px;
    font-size: 14px;
    cursor: pointer;
}

.agreement {
    font-size: 14px;
    color: #666;
    text-align: center;
}

.agreement a {
    color: var(--primary-color);
    text-decoration: none;
}

.agreement-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}

/* ==========================================================================
   9. 底部导航样式
   ========================================================================== */

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-level-2);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 99;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-level-3);
    font-size: 12px;
    padding: 5px 0;
    flex: 1;
    text-align: center;
}

.bottom-nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.bottom-nav-item.active {
    color: var(--primary-color);
}

/* ==========================================================================
   10. 隐私政策页面样式
   ========================================================================== */

.page-content {
    padding: 15px;
    color: var(--text-level-2);
    line-height: 1.8;
    padding-top: calc(var(--header-height) + 10px);
    padding-bottom: 30px;
}

.page-content h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-level-1);
    margin: 25px 0 15px;
}

.page-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-level-1);
    margin: 20px 0 10px;
}

.page-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.page-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.page-content li {
    margin-bottom: 8px;
    font-size: 14px;
}

.page-content .highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.page-date {
    text-align: right;
    margin-top: 30px;
    color: var(--text-level-3);
    font-size: 14px;
}

/* 关于我们页面特定样式 */
.about-logo {
    text-align: center;
    margin: 20px 0 30px;
}

.about-logo img {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-logo h1 {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-level-1);
    margin-bottom: 5px;
}

.about-logo p {
    font-size: 14px;
    color: var(--text-level-3);
    margin-bottom: 0;
}

.feature-list {
    margin: 20px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    background: var(--bg-level-2);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.feature-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.feature-content {
    flex: 1;
}

.feature-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
    color: var(--text-level-1);
}

.feature-content p {
    font-size: 14px;
    margin: 0;
    color: var(--text-level-2);
}

.mission-vision {
    margin: 20px 0;
}

.mission-item {
    background: var(--bg-level-2);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.mission-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-level-1);
    margin: 0 0 10px;
    display: flex;
    align-items: center;
}

.mission-item h3 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.mission-item p {
    margin: 0;
    font-size: 14px;
    color: var(--text-level-2);
}

/* ==========================================================================
   11. 个人中心页面样式
   ========================================================================== */

/* 个人中心头部样式 */
.profile-header {
    background: var(--primary-color);
    padding: 20px 15px 0 15px;
    color: var(--bg-level-1);
    margin: 0 -15px;
    margin-bottom: 20px;
}

/* 客服按钮样式 */
.service-btn {
    text-decoration: none;
}

.service-icon {
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    color: var(--bg-level-1);
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--bg-level-1);
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--bg-level-1);
    text-decoration: none;
}
.about-logo img {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    background-color: var(--primary-color);
}
/* 未登录状态的登录/注册按钮 */
.profile-info {
    position: relative;
    cursor: pointer;
}

.profile-info::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--bg-level-1);
    font-size: 14px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.profile-id {
    font-size: 14px;
    opacity: 0.8;
}

.profile-login-hint {
    font-size: 14px;
    margin-top: 5px;
    opacity: 0.8;
}

/* 个人中心卡片样式 */
.profile-card {
    background: var(--secondary-color);
    border-radius: 10px 10px 0 0;
    padding: 15px;
    margin: 20px 0 0 0;
}

.profile-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-level-1);
}

.profile-card-title i {
    color: var(--primary-color);
    font-size: 20px;
}

.profile-card-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.5;
}

.profile-card-btn {
    background: var(--primary-color);
    color: var(--bg-level-1);
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 18px;
    font-weight: 500;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    position: relative;
    padding-left: 35px;
}

.profile-card-btn:before {
    content: "\f51e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 8px;
    transform: translateY(-50%);
}

/* 个人中心按钮样式 */
.profile-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 0 0 20px;
}

.profile-button {
    background: var(--bg-level-2);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--text-level-1);
    position: relative;
    overflow: hidden;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-button:nth-child(1) {
    background: #6C7AFF;
    color: white;
}

.profile-button:nth-child(2) {
    background: #30BFFF;
    color: white;
}

.profile-button span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.profile-button::after {
    content: "";
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.profile-button:nth-child(1)::after {
    content: "查看已开通的课程";
}

.profile-button:nth-child(2)::after {
    content: "查看每一笔缴费";
}

.profile-button i {
    position: absolute;
    right: 0;
    bottom: -6px;
    font-size: 70px;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

/* 个人中心菜单样式 */
.profile-menu {
    background: var(--bg-level-2);
    border-radius: 10px;
    margin: 0 0 20px;
    overflow: hidden;
}

.profile-menu-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-level-1);
}

.profile-menu-item:last-child {
    border-bottom: none;
}

.profile-menu-item i {
    width: 24px;
    margin-right: 10px;
    color: var(--primary-color);
}

.profile-menu-item span {
    flex: 1;
}

.profile-menu-item::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #999;
    font-size: 12px;
}

/* ==========================================================================
   12. 缴费记录页面样式
   ========================================================================== */

.order-list {
    padding: 0;
}

.order-item {
    background: var(--bg-level-2);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-level-3);
}

.order-number {
    font-size: 14px;
    color: var(--text-level-2);
}

.order-status {
    font-size: 14px;
    font-weight: 500;
}

.order-status.success {
    color: #52c41a;
}

.order-status.pending {
    color: #faad14;
}

.order-status.canceled {
    color: #999;
}

.order-content {
    padding: 15px;
}

.order-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding: 5px 0;
}

.order-time {
    font-size: 14px;
    color: var(--text-level-3);
}

.order-price {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-color);
}

.order-pay-btn {
    background: var(--primary-color);
    color: var(--bg-level-1);
    border: none;
    border-radius: 15px;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
}

.order-cancel-btn {
    background: var(--bg-level-4);
    color: var(--text-level-2);
    border: none;
    border-radius: 15px;
    padding: 6px 15px;
    font-size: 14px;
    cursor: pointer;
}

/* ==========================================================================
   13. 联系客服页面样式
   ========================================================================== */

.contact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
}

.contact-card {
    background: var(--bg-level-2);
    border-radius: 15px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: var(--bg-level-4);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

.contact-icon i {
    font-size: 24px;
    color: var(--bg-level-1);
}

.contact-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-level-1);
    margin-bottom: 5px;
}

.contact-desc {
    font-size: 14px;
    color: var(--text-level-2);
    margin-bottom: 8px;
}

.contact-tip {
    font-size: 12px;
    color: var(--primary-color);
    opacity: 0.8;
}

.service-info {
    padding: 20px;
    background: var(--bg-level-2);
    border-radius: 15px;
    margin: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-time {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
}

.service-time i {
    font-size: 24px;
    color: var(--primary-color);
    padding: 4px;
}

.time-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-level-1);
    margin-bottom: 12px;
}

.time-detail {
    display: flex;
    align-items: center;
    margin: 8px 0;
}

.time-label {
    font-size: 14px;
    color: var(--text-level-2);
    width: 60px;
}

.time-value {
    font-size: 14px;
    color: var(--text-level-1);
    font-weight: 500;
}

/* 联系客服页面底部卡片 */
.contact-bottom-card {
    position: fixed;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius: 10px 10px 0 0;
}

/* ==========================================================================
   14. 支付页面样式
   ========================================================================== */

.payment-container {
    padding: 20px 0;
}

.payment-info {
    background: var(--bg-level-2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.payment-to {
    margin-bottom: 25px;
}

.payment-label {
    font-size: 16px;
    color: var(--text-level-2);
    margin-bottom: 10px;
    font-weight: 500;
}

.payment-merchant {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-level-1);
}

.payment-merchant i {
    color: var(--primary-color);
    font-size: 24px;
}

.payment-amount {
    margin-bottom: 10px;
}

.amount-input-container {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    position: relative;
    margin-bottom: 10px;
}

.currency-symbol {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-level-1);
    margin-right: 5px;
}

.amount-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-level-1);
    outline: none;
    padding: 5px 0;
}

.amount-hint {
    font-size: 12px;
    color: var(--text-level-3);
    margin-top: 5px;
    display: block;
    width: 100%;
}

.course-title-hint {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-level-2);
    margin-bottom: 3px;
}

.payment-methods {
    background: var(--bg-level-2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.payment-method-title {
    font-size: 16px;
    color: var(--text-level-2);
    margin-bottom: 15px;
    font-weight: 500;
}

.payment-method-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(var(--primary-color-rgb), 0.1);
}

.payment-method-item.active {
    background: var(--bg-level-3);
}

.payment-method-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 24px;
}

.payment-method-icon.wechat {
    background: #07C160;
    color: white;
}

.payment-method-icon.alipay {
    background: #1677FF;
    color: white;
}

.payment-method-name {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-level-1);
}

.payment-method-check {
    color: var(--primary-color);
    font-size: 20px;
    opacity: 0;
}

.payment-method-item.active .payment-method-check {
    opacity: 1;
}


.payment-button {
    width: 100%;
    height: 50px;
    background: var(--primary-color);
    color: var(--bg-level-1);
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-button:disabled {
    background: var(--text-level-3);
    cursor: not-allowed;
}

.payment-button i {
    font-size: 16px;
}

/* 视频播放相关样式 */
.video-section {
    background-color: var(--bg-level-2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-container {
    width: 100%;
    position: relative;
    background-color: #000;
}

.course-video {
    width: 100%;
    display: block;
}

/* 课程已下架页面样式 */
.error-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(255,107,107,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-icon i {
    font-size: 40px;
    color: #ff6b6b;
    margin-bottom: 0;
}

.empty-data h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.action-buttons .btn {
    padding: 10px 24px;
    border-radius: 8px;
    width: 80%;
    max-width: 300px;
}

@media (min-width: 601px) {
    .action-buttons {
        flex-direction: row;
        align-items: center;
    }
    
    .action-buttons .btn {
        width: auto;
    }
}