/* ====
   全局基础
   ==== */
* {
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
    line-height: 1.6;
}
/* ====
   通用卡片
   ==== */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.card-radius {
    border-radius: 16px !important;
}
/* ====
   按钮样式
   ==== */
.btn-gradient-primary {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: white;
}
.btn-gradient-success {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-gradient-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
    color: white;
}
.btn-gradient-danger {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-gradient-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.4);
    color: white;
}
.btn-outline-danger {
    border: 1px solid #ff4d4f;
    color: #ff4d4f;
    background: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.btn-outline-danger:hover {
    background: #ff4d4f;
    color: white;
}
.btn-sm {
    padding: 6px 16px !important;
    font-size: 14px;
}
.btn-radius {
    border-radius: 20px;
}
/* ====
   页面标题
   ==== */
.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #667eea;
    display: flex;
    align-items: center;
}
.section-title i {
    color: #667eea;
}
/* ====
   空状态
   ==== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.empty-state i {
    font-size: 72px;
    color: #d9d9d9;
}
.empty-state p {
    color: #8c8c8c;
    font-size: 16px;
    margin-bottom: 24px;
}
/* ====
   分页和无限滚动
   ==== */
.pagination-container {
    margin-top: 30px;
    text-align: center;
}
/* 无限滚动加载提示 */
.infinite-scroll-loading {
    text-align: center;
    padding: 30px 20px;
    margin: 20px 0;
}
.loading-spinner {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    color: #667eea;
    font-size: 14px;
    font-weight: 500;
}
.loading-spinner i {
    font-size: 18px;
    animation: rotate 1s linear infinite;
}
.loading-error {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #fff1f0;
    border-radius: 25px;
    color: #ff4d4f;
    font-size: 14px;
    font-weight: 500;
}
.infinite-scroll-end {
    text-align: center;
    padding: 30px 20px;
    margin: 20px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #8c8c8c;
    font-size: 14px;
}
.infinite-scroll-end i {
    font-size: 18px;
    color: #52c41a;
}
/* ====
   移动端首页样式 - Mobile First
   ==== */
.mobile-home-page {
    /*min-height: 100vh;*/
    padding: 15px 15px;
}
/* 用户信息卡片 */
.mobile-user-card {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.user-avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}
.user-info-text {
    flex: 1;
}
.user-greeting {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}
.user-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}
.user-settings-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    transition: all 0.3s;
}
.user-settings-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}
/* 数据统计网格 */
.mobile-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}
.mobile-stat-item {
    background: white;
    border-radius: 12px;
    padding: 15px 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.mobile-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 8px;
}
.mobile-stat-icon.primary {
    background: #e6f0ff;
    color: #667eea;
}
.mobile-stat-icon.success {
    background: #f0ffed;
    color: #52c41a;
}
.mobile-stat-icon.danger {
    background: #fff0f0;
    color: #ff4d4f;
}
.mobile-stat-icon.warning {
    background: #fff9e6;
    color: #faad14;
}
.mobile-stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}
.mobile-stat-label {
    font-size: 12px;
    color: #8c8c8c;
}
/* 主要功能按钮 */
.mobile-primary-actions {
    margin-bottom: 20px;
}
.mobile-primary-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: white;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.mobile-primary-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.mobile-primary-btn:active {
    transform: scale(0.98);
}
.mobile-primary-btn.gradient-purple {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
}
.mobile-primary-btn.gradient-blue {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
}
.mobile-btn-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.mobile-btn-content {
    flex: 1;
    position: relative;
    z-index: 1;
}
.mobile-btn-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
}
.mobile-btn-desc {
    font-size: 13px;
    opacity: 0.9;
}
.mobile-btn-arrow {
    font-size: 20px;
    opacity: 0.7;
    position: relative;
    z-index: 1;
}
/* 章节标题 */
.mobile-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    margin-top: 40px;
    
}
/* 功能网格 */
.mobile-function-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.mobile-function-item {
    background: white;
    border-radius: 12px;
    padding: 20px 10px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.mobile-function-item:active {
    transform: scale(0.95);
}
.mobile-function-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 10px;
}
.mobile-function-icon.blue {
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    color: #1890ff;
}
.mobile-function-icon.red {
    background: linear-gradient(135deg, #fff0f0 0%, #ffccc7 100%);
    color: #ff4d4f;
}
.mobile-function-icon.orange {
    background: linear-gradient(135deg, #fff7e6 0%, #ffd8bf 100%);
    color: #fa8c16;
}
.mobile-function-icon.purple {
    background: linear-gradient(135deg, #f9f0ff 0%, #efdbff 100%);
    color: #722ed1;
}
.mobile-function-icon.green {
    background: linear-gradient(135deg, #f0ffed 0%, #d9f7be 100%);
    color: #52c41a;
}
.mobile-function-icon.gray {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #8c8c8c;
}
.mobile-function-label {
    font-size: 13px;
    font-weight: 500;
    color: #333;
}
/* 学习进度提示 */
.mobile-progress-tip {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    gap: 12px;
    align-items: center;
    border-left: 4px solid #faad14;
}
.mobile-tip-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #faad14;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.mobile-tip-content {
    flex: 1;
}
.mobile-tip-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}
.mobile-tip-desc {
    font-size: 12px;
    color: #8c8c8c;
    line-height: 1.5;
}
/* ====
   我的评测页面
   ==== */
.myexam-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.04);
}
.myexam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    transition: width 0.3s;
}
.myexam-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.03;
    pointer-events: none;
}
.myexam-card.completed::before {
    background: linear-gradient(180deg, #52c41a 0%, #73d13d 100%);
}
.myexam-card.completed::after {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
}
.myexam-card.pending::before {
    background: linear-gradient(180deg, #faad14 0%, #ffc53d 100%);
}
.myexam-card.pending::after {
    background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%);
}
.myexam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.myexam-card:hover::before {
    width: 6px;
}
.myexam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.myexam-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}
.myexam-status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background: currentColor;
}
.myexam-status-badge.completed {
    background: linear-gradient(135deg, #f6ffed 0%, #e6f9e6 100%);
    color: #52c41a;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.15);
}
.myexam-status-badge.pending {
    background: linear-gradient(135deg, #fff7e6 0%, #fffbe6 100%);
    color: #faad14;
    box-shadow: 0 2px 8px rgba(250, 173, 20, 0.15);
}
.myexam-status-badge i {
    font-size: 14px;
    position: relative;
    z-index: 1;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.myexam-date {
    font-size: 12px;
    color: #8c8c8c;
    display: flex;
    align-items: center;
    gap: 4px;
}
.myexam-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.5;
    letter-spacing: -0.3px;
}
.myexam-score-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}
.myexam-score-item {
    text-align: center;
    padding: 16px 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}
.myexam-score-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}
.myexam-score-item:nth-child(1)::before {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}
.myexam-score-item:nth-child(2)::before {
    background: linear-gradient(90deg, #8c8c8c 0%, #bfbfbf 100%);
}
.myexam-score-item:nth-child(3)::before {
    background: linear-gradient(90deg, #52c41a 0%, #73d13d 100%);
}
.myexam-score-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.myexam-score-item:hover::before {
    opacity: 1;
}
.myexam-score-number {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.myexam-score-number.primary {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.myexam-score-number.success {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.myexam-score-number.danger {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.myexam-score-number.gray {
    color: #8c8c8c;
}
.myexam-score-label {
    font-size: 12px;
    color: #8c8c8c;
    font-weight: 500;
    letter-spacing: 0.5px;
}
.myexam-pending-tip {
    background: linear-gradient(135deg, #fff7e6 0%, #fffbe6 100%);
    border-left: 4px solid #faad14;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #faad14;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 12px rgba(250, 173, 20, 0.1);
}
.myexam-pending-tip i {
    font-size: 20px;
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}
.myexam-action-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.myexam-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}
.myexam-action-btn:hover::before {
    left: 100%;
}
.myexam-action-btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}
.myexam-action-btn:hover .myexam-action-btn-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.4);
}
.myexam-action-btn-text {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    letter-spacing: 0.3px;
}
.myexam-action-btn-arrow {
    position: relative;
    z-index: 1;
    opacity: 0.9;
    transition: all 0.3s;
    font-size: 18px;
}
.myexam-action-btn.primary {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}
.myexam-action-btn.primary:hover {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}
.myexam-action-btn.success {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
}
.myexam-action-btn.success:hover {
    box-shadow: 0 8px 24px rgba(24, 144, 255, 0.35);
}
.myexam-action-btn:hover {
    transform: translateY(-4px) scale(1.01);
    color: white;
    text-decoration: none;
}
.myexam-action-btn:active {
    transform: translateY(-2px) scale(0.99);
}
.myexam-action-btn:hover .myexam-action-btn-arrow {
    transform: translateX(5px);
    opacity: 1;
}
/* ====
   移动端搜索框
   ==== */
.mobile-search-form {
    margin-bottom: 20px;
}
.mobile-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 12px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s;
}
.mobile-search-box:focus-within {
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}
.mobile-search-box i.icon-search4 {
    font-size: 18px;
    color: #8c8c8c;
    margin-right: 12px;
}
.mobile-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
    color: #333;
}
.mobile-search-box input::placeholder {
    color: #bfbfbf;
}
.mobile-search-clear {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #8c8c8c;
    transition: all 0.3s;
    margin-left: 8px;
}
.mobile-search-clear:hover {
    background: #e8e8e8;
    color: #595959;
}
/* 移动端课程网格 */
.mobile-courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
/* 课程列表卡片 */
.course-list-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}
.course-list-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.course-list-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.course-list-link:hover {
    text-decoration: none;
    color: inherit;
}
/* 封面区域 */
.course-list-cover-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecef 100%);
}
.course-list-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.course-list-card:hover .course-list-cover {
    transform: scale(1.08);
}
.course-list-cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecef 100%);
}
.course-list-cover-placeholder i {
    font-size: 48px;
    color: #bfbfbf;
}
.course-list-cover-placeholder span {
    font-size: 14px;
    color: #8c8c8c;
}
/* 免费徽章 */
.course-list-free-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.4);
    z-index: 1;
}
.course-list-free-badge i {
    font-size: 14px;
}
/* 折扣徽章 */
.course-list-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.4);
    z-index: 1;
}
/* 卡片主体 */
.course-list-body {
    padding: 14px;
}
.course-list-title {
    font-size: 15px;
    font-weight: 600;
    color: #262626;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}
/* 课程信息 */
.course-list-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #8c8c8c;
}
.course-list-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.course-list-info-item i {
    font-size: 14px;
    color: #667eea;
}
.course-list-info-divider {
    color: #d9d9d9;
}
/* 底部价格区 */
.course-list-footer {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.course-list-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.course-list-price-main {
    display: flex;
    align-items: baseline;
    font-weight: 700;
    color: #ff4d4f;
}
.course-list-price-symbol {
    font-size: 14px;
}
.course-list-price-number {
    font-size: 22px;
    line-height: 1;
}
.course-list-price-old {
    font-size: 13px;
    color: #bfbfbf;
    text-decoration: line-through;
}
.course-list-price-free-text {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #52c41a;
}
.course-list-price-free-text i {
    font-size: 18px;
}
/* ====
   我的收藏页面
   ==== */
.favorites-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 20px;
}
/* 收藏卡片 */
.favorites-card {
    background: white;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}
.favorites-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}
.favorites-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: 12px;
}
.favorites-card-link:hover {
    text-decoration: none;
    color: inherit;
}
/* 封面区域 */
.favorites-cover-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecef 100%);
}
.favorites-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.favorites-card:hover .favorites-cover {
    transform: scale(1.08);
}
.favorites-cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecef 100%);
}
.favorites-cover-placeholder i {
    font-size: 48px;
    color: #bfbfbf;
}
.favorites-cover-placeholder span {
    font-size: 14px;
    color: #8c8c8c;
}
/* 心形徽章 - 左上角 */
.favorites-heart-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ff4d4f;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
    z-index: 2;
    animation: favoriteHeartbeat 1.5s ease-in-out infinite;
}
@keyframes favoriteHeartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
/* 类型徽章 - 右上角 */
.favorites-type-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 4px;
}
.favorites-type-free {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(82, 196, 26, 0.4);
}
.favorites-type-free i {
    font-size: 14px;
}
.favorites-type-discount {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.4);
}
/* 卡片主体 */
.favorites-body {
    padding: 14px;
}
.favorites-title {
    font-size: 15px;
    font-weight: 600;
    color: #262626;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 45px;
}
/* 课程信息 */
.favorites-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #8c8c8c;
}
.favorites-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.favorites-info-item i {
    font-size: 14px;
    color: #667eea;
}
.favorites-info-divider {
    color: #d9d9d9;
}
/* 底部价格区 */
.favorites-footer {
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}
.favorites-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.favorites-price-main {
    display: flex;
    align-items: baseline;
    font-weight: 700;
    color: #ff4d4f;
}
.favorites-price-symbol {
    font-size: 14px;
}
.favorites-price-number {
    font-size: 22px;
    line-height: 1;
}
.favorites-price-old {
    font-size: 13px;
    color: #bfbfbf;
    text-decoration: line-through;
}
.favorites-price-free-text {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    font-weight: 600;
    color: #52c41a;
}
.favorites-price-free-text i {
    font-size: 18px;
}
/* 取消收藏按钮 */
.favorites-actions {
    position: absolute;
    bottom: 14px;
    right: 14px;
    z-index: 3;
}
.favorites-remove-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 77, 79, 0.1);
    color: #ff4d4f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}
.favorites-remove-btn:hover {
    background: #ff4d4f;
    color: white;
    transform: scale(1.1);
}
.favorites-remove-btn i {
    font-size: 16px;
}
/* ====
   答题页面
   ==== */
/* 答题页面使用 mobile-home-page 作为容器 */
/* 固定顶部栏 */
.exam-top-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.exam-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f2f5;
}
.exam-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
    line-height: 1.4;
}
.exam-exit-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #8c8c8c;
    transition: all 0.3s;
    flex-shrink: 0;
    margin-left: 15px;
}
.exam-exit-btn:hover {
    background: #ff4d4f;
    color: white;
}
.exam-timer-bar {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
}
.exam-timer-bar.warning {
    background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%);
    animation: pulse 1s infinite;
}
.exam-timer-bar.danger {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    animation: pulse 0.5s infinite;
}
.exam-timer-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
}
.exam-timer-info {
    flex: 1;
    color: white;
}
.exam-timer-label {
    font-size: 12px;
    opacity: 0.9;
    margin-bottom: 2px;
}
.exam-timer-countdown {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}
/* 答题内容区域 */
.exam-content-area {
    padding: 15px 0;
}
.exam-question-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.exam-question-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.exam-question-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}
.exam-question-content {
    flex: 1;
}
.exam-question-type {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}
.exam-question-type.single {
    background: #e6f7ff;
    color: #1890ff;
}
.exam-question-type.multiple {
    background: #f0f5ff;
    color: #667eea;
}
.exam-question-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.6;
}
/* 选项列表 */
.exam-choices-list {
    margin-bottom: 15px;
}
.exam-choice-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #f8f9fa;
    border: 2px solid #f8f9fa;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.exam-choice-item:active {
    transform: scale(0.98);
}
.exam-choice-item.selected {
    background: #f0f9ff;
    border-color: #667eea;
}
.exam-choice-label {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: white;
    border: 2px solid #d9d9d9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    transition: all 0.3s;
}
.exam-choice-item.selected .exam-choice-label {
    background: #667eea;
    color: white;
    border-color: #667eea;
}
.exam-choice-text {
    flex: 1;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}
.exam-choice-input {
    display: none;
}
/* 错误提示 */
.exam-question-error {
    display: none;
    background: #fff1f0;
    border-left: 3px solid #ff4d4f;
    border-radius: 8px;
    padding: 10px 15px;
    color: #ff4d4f;
    font-size: 13px;
    align-items: center;
    gap: 8px;
}
.exam-question-error i {
    font-size: 16px;
}
/* 固定底部提交按钮 */
.exam-submit-bar {
    position: fixed;
    bottom: 0;
    left: 15px;
    right: 15px;
    background: linear-gradient(180deg, rgba(245, 247, 250, 0) 0%, rgba(245, 247, 250, 1) 20%, rgba(245, 247, 250, 1) 100%);
    padding: 20px 0 20px;
    z-index: 99;
}
.exam-submit-btn {
    width: 100%;
    padding: 18px 20px;
    border-radius: 16px;
    border: none;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}
.exam-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.exam-submit-btn:hover:not(:disabled)::before {
    opacity: 1;
}
.exam-submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(102, 126, 234, 0.5);
}
.exam-submit-btn:active:not(:disabled) {
    transform: translateY(-1px);
}
.exam-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: linear-gradient(135deg, #8c8c8c 0%, #bfbfbf 100%);
    box-shadow: none;
}
.exam-submit-btn i {
    font-size: 22px;
    position: relative;
    z-index: 1;
}
.exam-submit-btn span {
    position: relative;
    z-index: 1;
}
.exam-submit-btn .spinner {
    animation: rotate 1s linear infinite;
}
/* ====
   我的课程
   ==== */
.mycourses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.mycourse-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.mycourse-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.mycourse-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.mycourse-link:hover {
    text-decoration: none;
    color: inherit;
}
.mycourse-cover {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecef 100%);
}
.mycourse-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.mycourse-card:hover .mycourse-cover img {
    transform: scale(1.05);
}
.mycourse-progress-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.mycourse-progress-badge i {
    font-size: 14px;
    animation: rotate 2s linear infinite;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.mycourse-content {
    padding: 20px;
}
.mycourse-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}
/* 课程信息条（用于课程列表和收藏） */
.mycourse-info-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #8c8c8c;
}
.mycourse-info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}
.mycourse-info-item i {
    font-size: 14px;
    color: #9199a1;
}
.mycourse-info-divider {
    color: #d9d9d9;
    font-weight: bold;
}
/* 课程徽章（免费/折扣） */
.mycourse-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.mycourse-badge.badge-free {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
}
.mycourse-badge.badge-free i {
    font-size: 14px;
}
.mycourse-badge.badge-discount {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
}
/* 收藏页面特有样式 */
.favorite-heart-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ff4d4f;
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.3);
    z-index: 3;
    animation: favoriteHeartbeat 1.5s ease-in-out infinite;
}
.favorite-remove-btn {
    position: absolute;
    bottom: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 77, 79, 0.1);
    color: #ff4d4f;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    z-index: 4;
}
.favorite-remove-btn:hover {
    background: #ff4d4f;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(255, 77, 79, 0.4);
}
.favorite-remove-btn i {
    font-size: 16px;
}
.mycourse-progress-bar {
    height: 8px;
    background: #f0f2f5;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}
.mycourse-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    transition: width 0.3s;
    position: relative;
}
.mycourse-progress-text {
    position: absolute;
    right: 8px;
    top: -22px;
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    background: white;
    padding: 2px 8px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
/* 我的课程 - 价格区域 */
.mycourse-info-price {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.mycourse-price-current {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.mycourse-price-original {
    font-size: 13px;
    color: #8c8c8c;
    text-decoration: line-through;
}
.mycourse-price-free {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}
.mycourse-price-free i {
    font-size: 16px;
}
.mycourse-footer {
    display: block;
    justify-content: space-between;
    align-items: center;
    height:30px;
}
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}
.status-badge.completed {
    background: #f6ffed;
    color: #52c41a;
}
.status-badge.learning {
    background: #e6f7ff;
    color: #1890ff;
}
.status-badge.new {
    background: #fff7e6;
    color: #faad14;
}
.status-badge i {
    font-size: 14px;
}
.continue-btn {
     border: 1px solid #4690CE;
    border-radius: 50px;
   padding:0px 10px;
    text-align: center;
    line-height: 26px;
    box-sizing: border-box;
    font-size: 12px;
    color: #4690CE;
    cursor: pointer;
    transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    float:right;
}
.reg-btn {
     border: 1px solid #4690CE;
    border-radius: 50px;
   padding:3px 25px 2px 25px;
    text-align: center;
    line-height: 22px;
    box-sizing: border-box;
        font-size: 1rem;
    color: #4690CE;
    cursor: pointer;
    transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    float:right;
}
.reg-btn a{
    color: #4690CE;
}
.log-btn {
     border: 1px solid #4690CE;
    border-radius: 50px;
    padding:3px 25px 2px 25px;
    text-align: center;
    line-height: 22px;
    box-sizing: border-box;
       font-size: 1rem;
    color: #4690CE;
    cursor: pointer;
    transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    float:right;
}
.log-btn a{
    color: #4690CE;
}

.mycourse-card:hover .continue-btn {
    color: #4690CE;;
    transform: translateX(3px);
}
.commonfix p
{
    margin: 0;
    padding: 0;
}
.commonfix p b
{   color:#347DBA;
    font-size:30px;}
.commonfix .item   
{
    float: left;
    margin-left:25px;
} 
.view_con
{
    border:1px solid #D4D4D4;
    padding: 20px;
}
/* ====
   订单详情
   ==== */
.status-banner {
    position: relative;
    min-height: 200px;
    padding: 40px 20px;
    text-align: center;
    color: white;
    overflow: hidden;
}
.status-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.status-banner.pending {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}
.status-banner.paid {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
}
.status-banner.cancelled {
    background: linear-gradient(135deg, #868f96 0%, #596164 100%);
}
.status-icon-large {
    font-size: 72px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.status-title-large {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.status-subtitle {
    font-size: 15px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}
.back-button {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
}
.back-button:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateX(-3px);
    color: white;
    text-decoration: none;
}
.order-countdown {
    display: inline-block;
    background: #fa8c16;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
}
.order-countdown.warning {
    background: #ff4d4f;
    animation: pulse 1s infinite;
}
.order-countdown.expired {
    background: #8c8c8c;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.order-details-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-top: -40px;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.card-header-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
.card-header-title i {
    font-size: 22px;
    margin-right: 10px;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.info-item {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid #f0f2f5;
}
.info-item:last-child {
    border-bottom: none;
}
.info-item-label {
    width: 110px;
    color: #8c8c8c;
    font-size: 14px;
    flex-shrink: 0;
}
.info-item-value {
    flex: 1;
    color: #262626;
    font-size: 14px;
    font-weight: 500;
}
.course-item-detail {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}
.course-thumbnail-detail {
    width: 160px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f2f5 0%, #d9d9d9 100%);
}
.course-info-detail {
    flex: 1;
}
.course-title-detail {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.course-desc-detail {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.price-section {
    background: linear-gradient(135deg, #fffbe6 0%, #fff9db 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.price-label {
    font-size: 14px;
    color: #8c8c8c;
    margin-bottom: 8px;
}
.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #ff4d4f;
    margin-bottom: 8px;
}
.price-discount {
    font-size: 14px;
    color: #52c41a;
    font-weight: 500;
}
.promo-tag {
    display: inline-block;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}
.payment-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    z-index: 100;
}
.payment-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.payment-info {
    display: flex;
    align-items: center;
    gap: 20px;
}
.payment-price-text {
    font-size: 14px;
    color: #8c8c8c;
}
.payment-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #ff4d4f;
}
.payment-button {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    border: none;
    padding: 14px 48px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
}
.payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}
/* 支付模态框 */
.payment-modal-header {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    padding: 25px;
    text-align: center;
    border-radius: 16px 16px 0 0;
}
.payment-modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}
.payment-modal-price {
    font-size: 32px;
    font-weight: 700;
}
.payment-modal-body {
    padding: 30px 25px;
}
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}
.payment-method {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}
.payment-method:hover {
    border-color: #667eea;
    background: #f8f9ff;
}
.payment-method.selected {
    border-color: #667eea;
    background: #f0f3ff;
}
.payment-method-icon {
    font-size: 48px;
    margin-bottom: 10px;
}
.payment-method-icon.wechat {
    color: #07c160;
}
.payment-method-icon.alipay {
    color: #1677ff;
}
.payment-method-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.payment-method-check {
    font-size: 20px;
    color: #667eea;
    margin-top: 8px;
    display: none;
}
.payment-method.selected .payment-method-check {
    display: block;
}
.confirm-payment-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}
.confirm-payment-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.4);
}
.confirm-payment-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* ====
   订单列表
   ==== */
.order-list-item {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.order-list-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f2f5;
    margin-bottom: 15px;
}
.order-no {
    font-size: 14px;
    color: #8c8c8c;
}
.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
}
.order-status.pending {
    background: #fef0f0;
    color: #f56c6c;
}
.order-status.paid {
    background: #f0f9ff;
    color: #409eff;
}
.order-status.cancelled {
    background: #f4f4f5;
    color: #909399;
}
.order-body {
    display: flex;
    gap: 15px;
}
.order-course-thumb {
    width: 120px;
    height: 68px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f2f5 0%, #d9d9d9 100%);
}
.order-course-info {
    flex: 1;
}
.order-course-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}
.order-meta {
    font-size: 13px;
    color: #8c8c8c;
}
.order-price {
    font-size: 20px;
    font-weight: 700;
    color: #ff4d4f;
    flex-shrink: 0;
}
.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f2f5;
}
.pay-now-btn {
    background: #ff4d4f;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}
.pay-now-btn:hover {
    background: #ff7875;
    transform: translateY(-1px);
}
/* ====
   考试页面
   ==== */
.exam-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.exam-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
}
.exam-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.exam-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}
.exam-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.exam-content {
    flex: 1;
}
.exam-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}
.exam-id {
    font-size: 13px;
    color: #8c8c8c;
    font-family: 'Courier New', monospace;
}
.exam-meta {
    display: flex;
    gap: 25px;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}
.exam-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.exam-meta-item i {
    font-size: 20px;
}
.exam-meta-item.questions {
    color: #faad14;
}
.exam-meta-item.time {
    color: #1890ff;
}
.exam-meta-item .meta-value {
    font-weight: 600;
    color: #333;
}
.exam-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}
.exam-status-completed {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f9ff;
    color: #1890ff;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}
/* ====
   考试成绩
   ==== */
/* 成绩页面使用 mobile-home-page 作为容器 */
.result-page-wrapper {
    padding-bottom: 20px !important; /* 覆盖 mobile-home-page 的 80px */
}
.result-header {
    background: white;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.result-banner {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    border-radius: 20px;
    padding: 40px 30px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(102, 126, 234, 0.3);
}
.result-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.result-icon {
    font-size: 72px;
    margin-bottom: 20px;
}
.result-score-title {
    font-size: 18px;
    margin-bottom: 15px;
    opacity: 0.95;
}
.stats-grid-result {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}
.stat-card-result {
    text-align: center;
}
.stat-number-result {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.stat-label-result {
    font-size: 15px;
    opacity: 0.9;
}
.result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}
.legend-container {
    background: white;
    border-radius: 16px;
    padding: 20px 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    display: flex;
    justify-content: flex-end;
    gap: 30px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #666;
}
.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.legend-dot.unanswered {
    background: #d9d9d9;
}
.legend-dot.correct {
    background: #52c41a;
}
.legend-dot.incorrect {
    background: #ff4d4f;
}
.question-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.question-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.question-number {
    width: 40px;
    height: 40px;
    border-radius: 12px;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}
.question-content {
    flex: 1;
}
.question-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}
.question-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    margin-right: 10px;
}
.question-type-badge.single {
    background: #f0f9ff;
    color: #1890ff;
}
.question-type-badge.multiple {
    background: #f0f5ff;
    color: #667eea;
}
.choices-list {
    margin: 20px 0;
}
.choice-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #f8f9fa;
    transition: all 0.3s;
}
.choice-item.correct {
    background: #f6ffed;
    border: 2px solid #b7eb8f;
}
.choice-item.incorrect {
    background: #fff1f0;
    border: 2px solid #ffa39e;
}
.choice-label {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    background: white;
    border: 2px solid #d9d9d9;
}
.choice-item.correct .choice-label {
    background: #52c41a;
    color: white;
    border-color: #52c41a;
}
.choice-item.incorrect .choice-label {
    background: #ff4d4f;
    color: white;
    border-color: #ff4d4f;
}
.choice-text {
    flex: 1;
    color: #333;
    font-size: 15px;
}
.choice-icon {
    font-size: 20px;
    color: #52c41a;
}
.question-memo {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border-left: 4px solid #faad14;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 20px;
}
.question-memo strong {
    color: #faad14;
    font-size: 15px;
}
/* ====
   我的推广页面
   ==== */
/* 推广码卡片 */
.promo-code-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}
.promo-code-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
}
.promo-code-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}
.promo-code-header i {
    font-size: 24px;
    color: #52c41a;
}
.promo-code-main {
    text-align: center;
    padding: 20px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e6f7ff 100%);
    border-radius: 16px;
    margin-bottom: 20px;
}
.promo-code-display {
    font-size: 40px;
    font-weight: 800;
    color: #1890ff;
    letter-spacing: 6px;
    font-family: 'Courier New', monospace;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(24, 144, 255, 0.1);
}
.promo-code-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}
.promo-code-desc {
    text-align: center;
    color: #595959;
    line-height: 1.8;
    margin-bottom: 15px;
}
.promo-code-desc p {
    margin: 8px 0;
}
.promo-code-desc .highlight {
    color: #52c41a;
    font-weight: 700;
    font-size: 18px;
}
.promo-code-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #e6f7ff;
    border: 1px solid #91d5ff;
    border-radius: 12px;
    color: #0050b3;
    font-size: 13px;
    margin-bottom: 20px;
}
.promo-code-notice i {
    font-size: 18px;
    color: #1890ff;
}
.promo-code-actions {
    display: flex;
    gap: 12px;
}
.promo-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}
.promo-btn i {
    font-size: 18px;
}
.promo-btn-primary {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
}
.promo-btn-success {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
}
.promo-code-empty {
    text-align: center;
    padding: 50px 20px;
    color: #8c8c8c;
}
.promo-code-empty i {
    font-size: 64px;
    color: #d9d9d9;
    margin-bottom: 15px;
}
.promo-code-empty p {
    font-size: 18px;
    font-weight: 600;
    color: #595959;
    margin: 10px 0;
}
.promo-code-empty span {
    font-size: 14px;
    color: #8c8c8c;
}
/* 推广统计卡片 */
.promo-stats-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.promo-stats-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}
.promo-stats-header i {
    font-size: 24px;
    color: #667eea;
}
.promo-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}
.promo-stat-item {
    text-align: center;
    padding: 20px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-radius: 16px;
    transition: all 0.3s;
}
.promo-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.promo-stat-icon {
    margin-bottom: 10px;
}
.promo-stat-icon i {
    font-size: 36px;
}
.promo-stat-users .promo-stat-icon i {
    color: #52c41a;
}
.promo-stat-commission .promo-stat-icon i {
    color: #faad14;
}
.promo-stat-discount .promo-stat-icon i {
    color: #ff4d4f;
}
.promo-stat-value {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
}
.promo-stat-users .promo-stat-value {
    color: #52c41a;
}
.promo-stat-commission .promo-stat-value {
    color: #faad14;
}
.promo-stat-discount .promo-stat-value {
    color: #ff4d4f;
}
.promo-stat-label {
    font-size: 14px;
    color: #8c8c8c;
}
/* 推广记录卡片 */
.promo-records-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.promo-records-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}
.promo-records-header i {
    font-size: 24px;
    color: #667eea;
}
.promo-records-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.promo-record-item {
    padding: 18px;
    background: #fafafa;
    border-left: 4px solid #52c41a;
    border-radius: 12px;
    transition: all 0.3s;
}
.promo-record-item:hover {
    background: #f0f9ff;
    border-left-color: #1890ff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.promo-record-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}
.promo-record-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    flex: 1;
}
.promo-record-title i {
    font-size: 18px;
    color: #667eea;
    flex-shrink: 0;
}
.promo-record-commission {
    padding: 6px 14px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}
.promo-record-buyer {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #595959;
    margin-bottom: 10px;
}
.promo-record-buyer i {
    font-size: 16px;
    color: #8c8c8c;
}
.promo-record-price {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    margin-bottom: 8px;
}
.promo-record-price span {
    white-space: nowrap;
}
.price-original {
    color: #8c8c8c;
}
.price-discount {
    color: #ff4d4f;
    font-weight: 600;
}
.price-actual {
    color: #52c41a;
    font-weight: 600;
}
.promo-record-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #8c8c8c;
}
.promo-record-time i {
    font-size: 14px;
}
.promo-records-empty {
    text-align: center;
    padding: 60px 20px;
    color: #8c8c8c;
}
.promo-records-empty i {
    font-size: 64px;
    color: #d9d9d9;
    margin-bottom: 15px;
}
.promo-records-empty p {
    font-size: 18px;
    font-weight: 600;
    color: #595959;
    margin: 10px 0;
}
.promo-records-empty span {
    font-size: 14px;
    color: #8c8c8c;
}
.promo-pagination {
    margin-top: 20px;
}
/* ====
   响应式设计 - Mobile First
   ==== */
/* 移动端默认样式 (< 768px) */
@media (max-width: 767px) {
     .course-detail-desc
    {
        display: none;
    }
    /* 首页移动端优化 */
    .mobile-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    .mobile-stat-item {
        padding: 12px 6px;
    }
    .mobile-stat-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    .mobile-stat-number {
        font-size: 18px;
    }
    .mobile-stat-label {
        font-size: 11px;
    }
    .mobile-function-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .mobile-function-item {
        padding: 18px 8px;
    }
    .mobile-function-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    .mobile-function-label {
        font-size: 12px;
    }
    /* 课程网格 */
    .mycourses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .mycourse-card {
        border-radius: 16px;
    }
    .mycourse-cover {
        height: 200px;
    }
    .mycourse-content {
        padding: 16px;
    }
    .mycourse-title {
        font-size: 16px;
        margin-bottom: 12px;
        min-height: auto;
    }
    .mycourse-progress-bar {
        margin-bottom: 12px;
    }
    .mycourse-footer {
        flex-wrap: wrap;
        gap: 10px;
    }
    .status-badge {
        font-size: 12px;
        padding: 4px 10px;
    }
    .continue-btn {
        font-size: 13px;
    }
    /* 课程列表 */
    .mobile-courses-grid {
        gap: 14px;
    }
    .course-list-card {
        border-radius: 12px;
    }
    .course-list-body {
        padding: 14px;
    }
    .course-list-title {
        font-size: 15px;
        margin-bottom: 10px;
        min-height: 45px;
    }
    .course-list-info {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .course-list-price-number {
        font-size: 20px;
    }
    /* 考试列表 */
    .exam-card {
        padding: 18px;
        margin-bottom: 15px;
        border-radius: 16px;
    }
    .exam-header {
        gap: 15px;
        margin-bottom: 15px;
    }
    .exam-icon-box {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    .exam-title {
        font-size: 17px;
    }
    .exam-meta {
        flex-wrap: wrap;
        gap: 15px;
        padding: 12px 15px;
        margin-bottom: 15px;
    }
    .exam-meta-item {
        font-size: 14px;
    }
    .exam-meta-item i {
        font-size: 18px;
    }
    .exam-footer {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }


    /* 订单页面 */
    .payment-bar-content {
        flex-direction: column;
        gap: 10px;
    }
    .payment-methods-grid {
        grid-template-columns: 1fr;
    }
    .payment-button {
        padding: 14px 40px;
        font-size: 16px;
        width: 100%;
    }
    /* 考试成绩 */
    .stats-grid-result {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .result-banner {
        padding: 30px 20px;
    }
    .stat-number-result {
        font-size: 36px;
    }
    /* 订单详情 */
    .status-banner {
        min-height: 160px;
        padding: 30px 15px;
    }
    .status-icon-large {
        font-size: 56px;
    }
    .status-title-large {
        font-size: 22px;
    }
    .course-item-detail {
        flex-direction: column;
    }
    .course-thumbnail-detail {
        width: 100%;
        height: 180px;
    }
}
/* 小屏手机 (< 375px) */
@media (max-width: 374px) {
    .mobile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .mobile-stat-item {
        padding: 15px 10px;
    }
    .mobile-function-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .user-greeting {
        font-size: 16px;
    }
    .course-detail-desc
    {
        display: none;
    }
}
/* 平板和桌面端 (>= 768px) */
@media (min-width: 768px) {
    .mobile-home-page {
        max-width:80%;
        margin: 0 auto;
    }
    .mobile-stats-grid {
        gap: 15px;
    }
    .mobile-stat-item {
        padding: 20px 12px;
    }
    .mobile-function-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }
    /* 订单详情优化 */
    .payment-bar-content {
        max-width: 800px;
        margin: 0 auto;
    }
   
}
/* 大屏桌面 (>= 1024px) */
@media (min-width: 1024px) {
    .mobile-home-page {
        max-width: 80%;
    }
    .mobile-primary-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    }
    .mobile-function-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    }
}
/* ====
   个人中心页面
   ==== */
/* 头部卡片 */
.userinfo-header-card {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    border-radius: 24px;
    padding: 40px 20px 30px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
}
.userinfo-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.userinfo-avatar-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}
.userinfo-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    position: relative;
    padding: 5px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.2) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.userinfo-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}
.userinfo-avatar-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    animation: avatarRing 3s ease-in-out infinite;
}
@keyframes avatarRing {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
.userinfo-name {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    position: relative;
}
.userinfo-welcome {
    text-align: center;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    position: relative;
    letter-spacing: 0.5px;
}
/* 统计数据网格 */
.userinfo-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.userinfo-stat-item {
    background: white;
    border-radius: 16px;
    padding: 20px 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}
.userinfo-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s;
}
.userinfo-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.userinfo-stat-item:hover::before {
    opacity: 1;
}
.userinfo-stat-number {
    font-size: 28px;
    font-weight: 800;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
    line-height: 1;
}
.userinfo-stat-label {
    font-size: 13px;
    color: #8c8c8c;
    font-weight: 500;
    letter-spacing: 0.3px;
}
/* 菜单网格 */
.userinfo-menu-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.userinfo-menu-item {
    background: white;
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.03);
}
.userinfo-menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102,126,234,0.05), transparent);
    transition: left 0.5s;
}
.userinfo-menu-item:hover::before {
    left: 100%;
}
.userinfo-menu-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.userinfo-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
.userinfo-menu-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
}
.userinfo-menu-item:hover .userinfo-menu-icon {
    transform: scale(1.1) rotate(-5deg);
}
.userinfo-menu-icon.blue {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}
.userinfo-menu-icon.green {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    box-shadow: 0 4px 12px rgba(82, 196, 26, 0.3);
}
.userinfo-menu-icon.red {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    box-shadow: 0 4px 12px rgba(255, 77, 79, 0.3);
}
.userinfo-menu-icon.purple {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.userinfo-menu-icon.cyan {
    background: linear-gradient(135deg, #13c2c2 0%, #36cfc9 100%);
    box-shadow: 0 4px 12px rgba(19, 194, 194, 0.3);
}
.userinfo-menu-icon.orange {
    background: linear-gradient(135deg, #fa8c16 0%, #ffa940 100%);
    box-shadow: 0 4px 12px rgba(250, 140, 22, 0.3);
}
.userinfo-menu-text {
    flex: 1;
}
.userinfo-menu-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}
.userinfo-menu-desc {
    font-size: 13px;
    color: #8c8c8c;
    font-weight: 400;
}
.userinfo-menu-arrow {
    font-size: 18px;
    color: #d9d9d9;
    transition: all 0.3s;
}
.userinfo-menu-item:hover .userinfo-menu-arrow {
    color: #667eea;
    transform: translateX(4px);
}
/* 退出登录 */
.userinfo-logout-wrapper {
    margin-top: 20px;
}
.userinfo-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
    border-radius: 16px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(255, 77, 79, 0.3);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.userinfo-logout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}
.userinfo-logout-btn:hover::before {
    left: 100%;
}
.userinfo-logout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(255, 77, 79, 0.4);
    color: white;
    text-decoration: none;
}
.userinfo-logout-btn:active {
    transform: translateY(-1px);
}
.userinfo-logout-btn i {
    font-size: 20px;
}
/* ====
   课程详情页面
   ==== */
/* 课程头部 */
.course-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}
.course-detail-title {
    flex: 1;
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    letter-spacing: -0.5px;
}
.course-detail-fav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #ff4d4f;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}
.course-detail-fav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(255,77,79,0.3);
}
.course-detail-fav-btn.active {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
}
.course-detail-fav-btn.active:hover {
    box-shadow: 0 4px 20px rgba(255,77,79,0.4);
}
/* 课程描述 */
.course-detail-desc {
    background: white;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 16px;
    color: #595959;
    font-size: 14px;
    line-height: 1.8;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}
/* 价格卡片 */
.course-price-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
}
.course-price-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}
.course-price-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
}
.course-price-symbol {
    font-size: 20px;
    font-weight: 600;
    color: #ff4d4f;
}
.course-price-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.course-price-original {
    font-size: 16px;
    color: #8c8c8c;
    text-decoration: line-through;
}
.course-buy-btn {
    padding: 14px 24px;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
/*.course-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,77,79,0.4);
}*/
.course-buy-btn i {
    font-size: 18px;
}
.course-discount-badge {
    background: linear-gradient(135deg, #fff7e6 0%, #fffbe6 100%);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fa8c16;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(250,140,22,0.15);
}
.course-discount-badge i {
    font-size: 18px;
}
.course-promo-input {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}
.course-promo-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.course-promo-label i {
    font-size: 16px;
    color: #667eea;
}
.course-promo-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.course-promo-field {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    font-size: 14px;
    transition: all 0.3s;
}
.course-promo-field:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}
.course-promo-field:disabled {
    background: #f5f5f5;
    color: #8c8c8c;
}
.course-promo-verify-btn {
    padding: 12px 20px;
    border: 1px solid #667eea;
    border-radius: 12px;
    background: white;
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.course-promo-verify-btn:hover {
    background: #667eea;
    color: white;
}
.course-promo-verify-btn.verified {
    background: #52c41a;
    border-color: #52c41a;
    color: white;
}
.course-promo-verify-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.course-promo-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8c8c8c;
}
.course-promo-tip i {
    font-size: 14px;
}
/* 状态卡片 */
.course-status-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.03);
}
.course-status-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
}
.course-status-card.free .course-status-icon {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(82,196,26,0.3);
}
.course-status-card.purchased .course-status-icon {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(102,126,234,0.3);
}
.course-status-text {
    flex: 1;
}
.course-status-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.course-status-desc {
    font-size: 14px;
    color: #8c8c8c;
}
/* 视频播放卡片 */
.course-video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.course-trial-tip {
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1890ff;
    font-size: 13px;
    font-weight: 500;
}
.course-trial-tip i {
    font-size: 18px;
}
.course-video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #000;
}
.course-video-wrapper .video-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
/* Video.js 播放按钮居中 */
.course-video-wrapper .video-js .vjs-big-play-button {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
}
/* 锁定状态 */
.course-locked-card {
    background: white;
    border-radius: 20px;
    padding: 60px 20px;
    margin-bottom: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.course-locked-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #bfbfbf;
}
.course-locked-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.course-locked-desc {
    font-size: 14px;
    color: #8c8c8c;
    margin-bottom: 24px;
    line-height: 1.6;
}
.course-locked-btn {
    padding: 16px 32px;
    border-radius: 16px;
    border: none;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(102,126,234,0.3);
}
.course-locked-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(102,126,234,0.4);
}
.course-locked-btn i {
    font-size: 18px;
}
/* 视频列表卡片 */
.course-video-list-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 10px;
}
/* 章节样式 */
.chapter-section {
    border-bottom: 1px solid #f0f0f0;
}
.chapter-section:last-child {
    border-bottom: none;
}
.chapter-header {
    padding: 18px 20px;
    cursor: pointer;
    background: #fafafa;
    transition: all 0.3s;
}
.chapter-header:hover {
    background: #f5f5f5;
}
.chapter-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chapter-toggle-icon {
    font-size: 16px;
    color: #8c8c8c;
    transition: transform 0.3s;
}
.chapter-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
}
.chapter-video-count {
    font-size: 13px;
    color: #8c8c8c;
    margin-left: auto;
}
.chapter-videos {
    background: white;
}
.course-video-list-header {
    padding: 20px 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
}
.course-video-list-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}
.course-video-list-title i {
    font-size: 20px;
    color: #4690CE;
}
.course-video-list-count {
    font-size: 14px;
    color: #8c8c8c;
    padding: 6px 12px;
    background: #f5f5f5;
}

/* 章节样式 */
.course-chapter-section {
    border-bottom: 1px solid #f0f0f0;
}
.course-chapter-section:last-child {
    border-bottom: none;
}
.course-chapter-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s;
}
.course-chapter-header:hover {
    background: #f5f5f5;
}
.course-chapter-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}
.course-chapter-count {
    font-size: 13px;
    color: #8c8c8c;
    padding: 4px 10px;
    background: white;
    border-radius: 12px;
}
.chapter-toggle-icon {
    font-size: 16px;
    color: #8c8c8c;
    transition: transform 0.3s;
}
.chapter-video-list {
    background: white;
    border-radius: 12px;
}
.course-video-list {
    padding: 8px 0;
}
.course-video-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}
.course-video-item:hover {
    background: #fafafa;
    border-left-color: #667eea;
}
.course-video-item.active {
    background: linear-gradient(90deg, rgba(102,126,234,0.1) 0%, transparent 100%);
    border-left-color: #667eea;
}
.course-video-item-number {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #595959;
    flex-shrink: 0;
}
.course-video-item.active .course-video-item-number {
    background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
}
.course-video-item-info {
    flex: 1;
    min-width: 0;
}
.course-video-item-title {
    font-size: 14px;
    color: #1a1a1a;
    line-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    float:left;
}
.course-video-item-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    float:right;
}
.course-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}
.course-video-badge.trial {
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    color: #1890ff;
}
.course-video-badge.locked {
    background: #f5f5f5;
    color: #8c8c8c;
}
.course-video-badge.current {
    background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
    color: #52c41a;
}
.course-video-item-arrow {
    font-size: 18px;
    color: #d9d9d9;
    flex-shrink: 0;
    transition: all 0.3s;
}
.course-video-item:hover .course-video-item-arrow {
    color: #667eea;
    transform: translateX(4px);
}
/* ====
   课程详情页面 - 移动端优化
   ==== */
@media (max-width: 768px) {
    /* 统一容器 padding */
    .mobile-home-page {
        padding: 12px 12px 80px;
    }
    /* 头部标题优化 */
    .course-detail-header {
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }
    .course-detail-title {
        font-size: 20px;
        line-height: 1.3;
    }
    .course-detail-fav-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    /* 描述卡片 */
    .course-detail-desc {
        padding: 16px;
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 12px;
    }
    /* 价格卡片 - 垂直布局 */
    .course-price-card {
        padding: 20px 16px;
        border-radius: 16px;
        margin-bottom: 12px;
    }
    .course-price-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 12px;
    }
    .course-price-main {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .course-price-symbol {
        font-size: 18px;
    }
    .course-price-number {
        font-size: 36px;
    }
    .course-price-original {
        font-size: 14px;
        align-self: center;
    }
    .course-buy-btn {
        padding: 16px 20px;
        font-size: 17px;
        border-radius: 12px;
        justify-content: center;
    }
    .course-buy-btn i {
        font-size: 20px;
    }
    /* 优惠徽章 */
    .course-discount-badge {
        padding: 10px 14px;
        margin-bottom: 12px;
        font-size: 13px;
    }
    /* 推广码输入区 */
    .course-promo-input {
        padding-top: 16px;
    }
    .course-promo-label {
        font-size: 13px;
        margin-bottom: 10px;
    }
    .course-promo-group {
        flex-direction: column;
        gap: 10px;
    }
    .course-promo-field {
        width: 100%;
        padding: 14px 16px;
        font-size: 15px;
    }
    .course-promo-verify-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        justify-content: center;
    }
    .course-promo-tip {
        font-size: 12px;
        margin-top: 8px;
    }
    /* 状态卡片 */
    .course-status-card {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 14px;
    }
    .course-status-icon {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }
    .course-status-title {
        font-size: 17px;
    }
    .course-status-desc {
        font-size: 13px;
    }
    /* 视频卡片 */
    .course-video-card {
        border-radius: 16px;
        margin-bottom: 12px;
    }
    .course-trial-tip {
        padding: 12px 16px;
        font-size: 12px;
    }
    .course-trial-tip i {
        font-size: 16px;
    }
    /* 锁定状态 */
    .course-locked-card {
        padding: 50px 16px;
        border-radius: 16px;
        margin-bottom: 12px;
    }
    .course-locked-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
        margin-bottom: 20px;
    }
    .course-locked-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .course-locked-desc {
        font-size: 13px;
        margin-bottom: 20px;
    }
    .course-locked-btn {
        padding: 15px 28px;
        font-size: 16px;
        border-radius: 14px;
    }
    /* 视频列表 */
    .course-video-list-card {
        border-radius: 16px;
    }
    .course-video-list-header {
        padding: 16px;
        flex-wrap: wrap;
        gap: 10px;
    }
    .course-video-list-title {
        font-size: 17px;
    }
    .course-video-list-title i {
        font-size: 18px;
    }
    .course-video-list-count {
        font-size: 13px;
        padding: 5px 10px;
    }
    .course-video-item {
        padding: 14px 16px;
        gap: 12px;
    }
    .course-video-item-number {
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-radius: 8px;
    }
    .course-video-item-title {
        font-size: 14px;
        margin-bottom: 5px;
    }
    .course-video-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
    .course-video-item-arrow {
        font-size: 16px;
    }
    /* 推广页面 */
    .promo-code-card {
        padding: 18px;
        margin-bottom: 15px;
    }
    .promo-code-display {
        font-size: 34px;
        letter-spacing: 5px;
    }
    .promo-code-badge {
        font-size: 15px;
        padding: 7px 18px;
    }
    .promo-code-desc {
        font-size: 14px;
    }
    .promo-code-notice {
        font-size: 12px;
        padding: 10px 15px;
    }
    .promo-code-actions {
        gap: 10px;
    }
    .promo-btn {
        padding: 13px 20px;
        font-size: 14px;
    }
    .promo-stats-card {
        padding: 18px;
        margin-bottom: 15px;
    }
    .promo-stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .promo-stat-item {
        padding: 16px 12px;
    }
    .promo-stat-icon i {
        font-size: 32px;
    }
    .promo-stat-value {
        font-size: 24px;
    }
    .promo-records-card {
        padding: 18px;
    }
    .promo-record-item {
        padding: 15px;
    }
    .promo-record-header {
        flex-wrap: wrap;
    }
    .promo-record-title {
        font-size: 15px;
        flex: 1 1 100%;
        margin-bottom: 8px;
    }
    .promo-record-price {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 13px;
    }
    /* 答题页面 - 移动端优化 */
    .exam-title {
        font-size: 18px;
        line-height: 1.4;
    }
    .exam-exit-btn {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .exam-timer-bar {
        padding: 12px 16px;
    }
    .exam-timer-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .exam-timer-label {
        font-size: 12px;
    }
    .exam-timer-countdown {
        font-size: 16px;
    }
    .exam-content-area {
        padding: 12px 0;
    }
    .exam-question-card {
        border-radius: 14px;
        padding: 16px;
        margin-bottom: 12px;
    }
    .exam-question-number {
        min-width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 10px;
    }
    .exam-question-type {
        font-size: 11px;
        padding: 4px 10px;
    }
    .exam-question-text {
        font-size: 15px;
        line-height: 1.6;
        margin-top: 8px;
    }
    .exam-choice-item {
        padding: 12px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .exam-choice-label {
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-radius: 6px;
    }
    .exam-choice-text {
        font-size: 14px;
    }
    .exam-question-error {
        padding: 10px 12px;
        font-size: 12px;
        margin-top: 10px;
        border-radius: 8px;
    }
    .exam-question-error i {
        font-size: 16px;
    }
    .exam-submit-bar {
        left: 12px;
        right: 12px;
        padding: 16px 0 16px;
    }
    .exam-submit-btn {
        padding: 16px 18px;
        border-radius: 14px;
        font-size: 17px;
    }
    .exam-submit-btn i {
        font-size: 20px;
    }
    /* 考试结果页面 - 移动端优化 */
    .result-page-wrapper {
        padding-bottom: 16px !important;
    }
    .result-header {
        border-radius: 14px;
        padding: 16px 18px;
        margin-bottom: 16px;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .result-header .section-title {
        font-size: 18px;
        text-align: center;
    }
    .result-header .section-title i {
        font-size: 20px;
    }
    .result-header .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 15px;
    }
    .result-banner {
        border-radius: 18px;
        padding: 32px 20px;
        margin-bottom: 16px;
    }
    .result-icon {
        font-size: 64px;
        margin-bottom: 16px;
    }
    .result-score-title {
        font-size: 17px;
        margin-bottom: 12px;
    }
    .stats-grid-result {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }
    .stat-card-result {
        padding: 14px;
        border-radius: 12px;
    }
    .stat-number-result {
        font-size: 32px;
    }
    .stat-label-result {
        font-size: 13px;
    }
    .result-actions {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
    }
    .result-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 15px;
    }
    .legend-container {
        border-radius: 12px;
        padding: 12px 16px;
        margin-bottom: 16px;
        flex-wrap: wrap;
        gap: 15px;
    }
    .legend-item {
        font-size: 13px;
    }
    .legend-dot {
        width: 14px;
        height: 14px;
    }
    .question-card {
        border-radius: 14px;
        padding: 18px;
        margin-bottom: 16px;
    }
    .question-header {
        gap: 12px;
        margin-bottom: 16px;
    }
    .question-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border-radius: 10px;
    }
    .question-type-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    .question-title {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    .choice-item {
        padding: 12px;
        margin-bottom: 10px;
        border-radius: 10px;
    }
    .choice-label {
        width: 28px;
        height: 28px;
        font-size: 13px;
        border-radius: 6px;
    }
    .choice-text {
        font-size: 14px;
    }
    .choice-icon {
        font-size: 18px;
    }
    .question-memo {
        border-radius: 8px;
        padding: 12px 14px;
        margin-top: 16px;
        font-size: 13px;
    }
    .question-memo strong {
        font-size: 14px;
    }
}
/* 小屏幕额外优化 */
@media (max-width: 480px) {
    /* 统一容器 padding */
    .mobile-home-page {
        padding: 10px 10px 80px;
    }
    .course-detail-title {
        font-size: 18px;
    }
    .course-price-number {
        font-size: 32px;
    }
    .course-price-card {
        padding: 18px 14px;
    }
    .course-video-list-header {
        padding: 14px;
    }
    .course-video-item {
        padding: 12px 14px;
    }
    /* 我的课程 - 小屏幕优化 */
    .mycourses-grid {
        gap: 12px;
    }
    .mycourse-card {
        border-radius: 12px;
    }
    .mycourse-cover {
        height: 180px;
    }
    .mycourse-content {
        padding: 14px;
    }
    .mycourse-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    .mycourse-progress-badge {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 12px;
    }
    .mycourse-progress-badge i {
        font-size: 12px;
    }
    .mycourse-progress-bar {
        height: 6px;
        margin-bottom: 10px;
    }
    .mycourse-progress-text {
        font-size: 11px;
        top: -20px;
        padding: 1px 6px;
    }
    .mycourse-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .mycourse-action {
        text-align: right;
    }
    .continue-btn {
        font-size: 12px;
        justify-content: flex-end;
    }
    /* 课程列表 - 小屏幕优化 */
    .mobile-courses-grid {
        gap: 12px;
    }
    .course-list-card {
        border-radius: 10px;
    }
    .course-list-body {
        padding: 12px;
    }
    .course-list-title {
        font-size: 14px;
        margin-bottom: 8px;
        min-height: 42px;
    }
    .course-list-info {
        font-size: 11px;
        margin-bottom: 10px;
        gap: 6px;
    }
    .course-list-info-item i {
        font-size: 13px;
    }
    .course-list-footer {
        padding-top: 8px;
    }
    .course-list-price-symbol {
        font-size: 12px;
    }
    .course-list-price-number {
        font-size: 18px;
    }
    .course-list-price-old {
        font-size: 12px;
    }
    .course-list-price-free-text {
        font-size: 14px;
    }
    .course-list-free-badge,
    .course-list-discount-badge {
        top: 8px;
        right: 8px;
        font-size: 12px;
        padding: 5px 10px;
    }
    .course-list-cover-placeholder i {
        font-size: 40px;
    }
    .course-list-cover-placeholder span {
        font-size: 13px;
    }
    /* 考试列表 - 小屏幕优化 */
    .exam-card {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 12px;
    }
    .exam-card::before {
        width: 4px;
    }
    .exam-header {
        gap: 12px;
        margin-bottom: 12px;
    }
    .exam-icon-box {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        font-size: 24px;
    }
    .exam-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    .exam-id {
        font-size: 12px;
    }
    .exam-meta {
        flex-direction: column;
        gap: 10px;
        padding: 10px 12px;
        margin-bottom: 12px;
    }
    .exam-meta-item {
        font-size: 13px;
    }
    .exam-meta-item i {
        font-size: 16px;
    }
    .exam-footer {
        flex-direction: column;
        gap: 8px;
    }
    .exam-footer .btn {
        width: 100%;
        justify-content: center;
    }
    .exam-status-completed {
        justify-content: center;
        padding: 6px 12px;
        font-size: 13px;
    }
    /* 答题页面 - 小屏幕额外优化 */
    .exam-title {
        font-size: 16px;
    }
    .exam-exit-btn {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    .exam-timer-bar {
        padding: 10px 12px;
    }
    .exam-timer-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .exam-timer-label {
        font-size: 11px;
    }
    .exam-timer-countdown {
        font-size: 14px;
    }
    .exam-content-area {
        padding: 10px 0;
    }
    .exam-question-card {
        border-radius: 12px;
        padding: 14px;
        margin-bottom: 10px;
    }
    .exam-question-header {
        gap: 12px;
    }
    .exam-question-number {
        min-width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }
    .exam-question-type {
        font-size: 10px;
        padding: 3px 8px;
    }
    .exam-question-text {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 6px;
    }
    .exam-choice-item {
        padding: 10px;
        margin-bottom: 8px;
        gap: 10px;
        border-radius: 8px;
    }
    .exam-choice-label {
        width: 26px;
        height: 26px;
        font-size: 12px;
        border-radius: 5px;
    }
    .exam-choice-text {
        font-size: 13px;
    }
    .exam-question-error {
        padding: 8px 10px;
        font-size: 11px;
        margin-top: 8px;
        border-radius: 6px;
    }
    .exam-question-error i {
        font-size: 14px;
    }
    .exam-submit-bar {
        left: 10px;
        right: 10px;
        padding: 14px 0 14px;
    }
    .exam-submit-btn {
        padding: 14px 16px;
        border-radius: 12px;
        font-size: 16px;
    }
    .exam-submit-btn i {
        font-size: 18px;
    }
    /* 考试结果页面 - 小屏幕额外优化 */
    .result-page-wrapper {
        padding-bottom: 12px !important;
    }
    .result-header {
        border-radius: 12px;
        padding: 14px 16px;
        margin-bottom: 12px;
        gap: 10px;
    }
    .result-header .section-title {
        font-size: 16px;
    }
    .result-header .section-title i {
        font-size: 18px;
    }
    .result-header .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    .result-banner {
        border-radius: 16px;
        padding: 28px 16px;
        margin-bottom: 12px;
    }
    .result-icon {
        font-size: 56px;
        margin-bottom: 12px;
    }
    .result-score-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .stats-grid-result {
        gap: 10px;
        margin-top: 16px;
    }
    .stat-card-result {
        padding: 12px;
        border-radius: 10px;
    }
    .stat-number-result {
        font-size: 28px;
    }
    .stat-label-result {
        font-size: 12px;
    }
    .result-actions {
        gap: 10px;
        margin-top: 16px;
    }
    .result-actions .btn {
        padding: 12px 18px;
        font-size: 14px;
    }
    .result-actions .btn i {
        font-size: 16px;
    }
    .legend-container {
        border-radius: 10px;
        padding: 10px 14px;
        margin-bottom: 12px;
        gap: 12px;
    }
    .legend-item {
        font-size: 12px;
    }
    .legend-dot {
        width: 12px;
        height: 12px;
    }
    .question-card {
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
    }
    .question-header {
        gap: 10px;
        margin-bottom: 14px;
    }
    .question-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }
    .question-type-badge {
        font-size: 10px;
        padding: 3px 8px;
    }
    .question-title {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 6px;
    }
    .choice-item {
        padding: 10px;
        margin-bottom: 8px;
        gap: 10px;
        border-radius: 8px;
    }
    .choice-label {
        width: 26px;
        height: 26px;
        font-size: 12px;
        border-radius: 5px;
    }
    .choice-text {
        font-size: 13px;
    }
    .choice-icon {
        font-size: 16px;
    }
    .question-memo {
        border-radius: 6px;
        padding: 10px 12px;
        margin-top: 12px;
        font-size: 12px;
        line-height: 1.6;
    }
    .question-memo strong {
        font-size: 13px;
    }
    /* 推广页面 - 小屏幕优化 */
    .promo-code-card {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 16px;
    }
    .promo-code-card::before {
        height: 4px;
    }
    .promo-code-header {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .promo-code-header i {
        font-size: 20px;
    }
    .promo-code-main {
        padding: 16px 0;
        margin-bottom: 15px;
        border-radius: 12px;
    }
    .promo-code-display {
        font-size: 28px;
        letter-spacing: 4px;
        margin-bottom: 12px;
    }
    .promo-code-badge {
        font-size: 14px;
        padding: 6px 16px;
        border-radius: 16px;
    }
    .promo-code-desc {
        font-size: 13px;
        margin-bottom: 12px;
    }
    .promo-code-desc .highlight {
        font-size: 16px;
    }
    .promo-code-notice {
        font-size: 12px;
        padding: 10px 15px;
        margin-bottom: 15px;
        border-radius: 10px;
    }
    .promo-code-notice i {
        font-size: 16px;
    }
    .promo-code-actions {
        flex-direction: column;
        gap: 8px;
    }
    .promo-btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 10px;
    }
    .promo-btn i {
        font-size: 16px;
    }
    .promo-stats-card {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 16px;
    }
    .promo-stats-header {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .promo-stats-header i {
        font-size: 20px;
    }
    .promo-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .promo-stat-item {
        padding: 14px 10px;
        border-radius: 12px;
    }
    .promo-stat-icon i {
        font-size: 28px;
    }
    .promo-stat-value {
        font-size: 22px;
        margin-bottom: 6px;
    }
    .promo-stat-label {
        font-size: 13px;
    }
    .promo-records-card {
        padding: 16px;
        border-radius: 16px;
    }
    .promo-records-header {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .promo-records-header i {
        font-size: 20px;
    }
    .promo-records-list {
        gap: 12px;
    }
    .promo-record-item {
        padding: 14px;
        border-left-width: 3px;
        border-radius: 10px;
    }
    .promo-record-header {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 10px;
    }
    .promo-record-title {
        font-size: 15px;
        margin-bottom: 8px;
    }
    .promo-record-title i {
        font-size: 16px;
    }
    .promo-record-commission {
        align-self: flex-start;
        padding: 5px 12px;
        font-size: 13px;
        border-radius: 10px;
    }
    .promo-record-buyer {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .promo-record-buyer i {
        font-size: 14px;
    }
    .promo-record-price {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
        margin-bottom: 8px;
    }
    .promo-record-time {
        font-size: 12px;
    }
    .promo-records-empty {
        padding: 50px 15px;
    }
    .promo-records-empty i {
        font-size: 56px;
    }
    .promo-records-empty p {
        font-size: 16px;
    }
    .promo-records-empty span {
        font-size: 13px;
    }
}
/* ====
   订单列表页面
   ==== */
/* 订单卡片 */
.myorder-card {
    background: white;
    border-radius: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}
.myorder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
/* 订单头部 */
.myorder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-bottom: 1px solid #f0f0f0;
}
.myorder-no {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #595959;
    font-weight: 500;
}
.myorder-no i {
    font-size: 16px;
    color: #667eea;
}
.myorder-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8c8c8c;
}
.myorder-date i {
    font-size: 14px;
}
/* 课程信息 */
.myorder-course {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.myorder-cover {
    width: 120px;
    height: 90px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    position: relative;
}
.myorder-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.myorder-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #ccc;
}
.myorder-info {
    flex: 1;
    min-width: 0;
}
.myorder-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.myorder-desc {
    font-size: 13px;
    color: #8c8c8c;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.myorder-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.myorder-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #fff7e6 0%, #fffbe6 100%);
    color: #fa8c16;
    font-size: 12px;
    font-weight: 500;
    border-radius: 8px;
}
.myorder-promo-badge i {
    font-size: 14px;
}
/* 倒计时 */
.myorder-countdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    color: #1890ff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 8px;
    animation: pulse 2s ease-in-out infinite;
}
.myorder-countdown.warning {
    background: linear-gradient(135deg, #fff7e6 0%, #fffbe6 100%);
    color: #fa8c16;
    animation: pulse 1s ease-in-out infinite;
}
.myorder-countdown.expired {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #8c8c8c;
    animation: none;
}
.myorder-countdown i {
    font-size: 14px;
}
/* 订单底部 */
.myorder-footer {
    padding: 16px 20px;
    background: #fafafa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.myorder-price-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.myorder-discount-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.myorder-original-price {
    font-size: 13px;
    color: #8c8c8c;
    text-decoration: line-through;
}
.myorder-discount-tag {
    padding: 2px 8px;
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
}
.myorder-actual-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.myorder-price-label {
    font-size: 13px;
    color: #595959;
}
.myorder-price-value {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
/* 操作区域 */
.myorder-action-section {
    display: flex;
    align-items: center;
    gap: 12px;
}
.myorder-status-badge {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.myorder-status-badge.status-pending {
    background: linear-gradient(135deg, #fff7e6 0%, #fffbe6 100%);
    color: #fa8c16;
}
.myorder-status-badge.status-paid {
    background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
    color: #52c41a;
}
.myorder-status-badge.status-cancelled {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    color: #8c8c8c;
}
.myorder-buttons {
    display: flex;
    gap: 8px;
}
.myorder-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    white-space: nowrap;
}
.myorder-btn i {
    font-size: 16px;
}
.myorder-btn-pay {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
    box-shadow: 0 2px 12px rgba(255,77,79,0.3);
}
.myorder-btn-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,77,79,0.4);
    color: white;
    text-decoration: none;
}
.myorder-btn-detail {
    background: white;
    color: #667eea;
    border: 1px solid #667eea;
}
.myorder-btn-detail:hover {
    background: #667eea;
    color: white;
    text-decoration: none;
}
/* 分页 */
.myorder-pagination {
    margin-top: 24px;
    padding-top: 20px;
}
.myorder-pagination .pagination {
    gap: 8px;
}
.myorder-pagination .page-link {
    border-radius: 10px;
    padding: 10px 16px;
    border: 1px solid #e0e0e0;
    color: #595959;
    transition: all 0.3s;
}
.myorder-pagination .page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}
.myorder-pagination .page-item.active .page-link {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    border-color: #667eea;
}
/* 移动端优化 */
@media (max-width: 768px) {
    .myorder-card {
        border-radius: 16px;
        margin-bottom: 12px;
    }
    .myorder-header {
        padding: 14px 16px;
    }
    .myorder-no {
        font-size: 12px;
    }
    .myorder-date {
        font-size: 11px;
    }
    .myorder-course {
        padding: 16px;
        gap: 12px;
    }
    .myorder-cover {
        width: 100px;
        height: 75px;
    }
    .myorder-title {
        font-size: 15px;
        -webkit-line-clamp: 2;
    }
    .myorder-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
        margin-bottom: 6px;
    }
    .myorder-footer {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 12px;
    }
    .myorder-price-section {
        order: 1;
    }
    .myorder-action-section {
        order: 2;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .myorder-status-badge {
        text-align: center;
    }
    .myorder-buttons {
        flex-direction: column;
        gap: 8px;
    }
    .myorder-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 15px;
    }
    .myorder-price-value {
        font-size: 20px;
    }
}
@media (max-width: 480px) {
    .myorder-cover {
        width: 80px;
        height: 60px;
    }
    .myorder-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    .myorder-desc {
        font-size: 11px;
        -webkit-line-clamp: 1;
    }
    .myorder-price-value {
        font-size: 18px;
    }
}
/* ====
   订单详情页面
   ==== */
/* 状态卡片 */
.orderdetail-status-card {
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    border-radius: 24px;
    padding: 40px 24px 30px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
    text-align: center;
    color: white;
}
.orderdetail-status-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.orderdetail-status-card.status-paid {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
}
.orderdetail-status-card.status-cancelled {
    background: linear-gradient(135deg, #8c8c8c 0%, #bfbfbf 100%);
}
.orderdetail-status-card.status-pending {
    background: linear-gradient(135deg, #fa8c16 0%, #ffa940 100%);
}
.orderdetail-back-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    z-index: 2;
}
.orderdetail-back-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateX(-3px);
    color: white;
    text-decoration: none;
}
.orderdetail-back-btn i {
    font-size: 16px;
}
.orderdetail-status-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.orderdetail-status-icon i {
    font-size: 48px;
    position: relative;
    z-index: 1;
}
.orderdetail-status-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.orderdetail-status-subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.orderdetail-countdown {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    margin-top: 8px;
    animation: pulse 2s ease-in-out infinite;
}
.orderdetail-countdown i {
    font-size: 18px;
}
/* 订单卡片 */
.orderdetail-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.03);
}
.orderdetail-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}
.orderdetail-card-title i {
    font-size: 22px;
    color: #667eea;
}
/* 信息列表 */
.orderdetail-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.orderdetail-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.orderdetail-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.orderdetail-label {
    font-size: 14px;
    color: #8c8c8c;
    font-weight: 500;
}
.orderdetail-value {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
    text-align: right;
}
.orderdetail-orderno {
    font-family: monospace;
    font-size: 14px;
    color: #667eea;
    background: #f0f2f5;
    padding: 4px 10px;
    border-radius: 8px;
}
.orderdetail-paytype {
    display: flex;
    align-items: center;
    gap: 6px;
}
.orderdetail-paytype i {
    font-size: 18px;
}
.orderdetail-promocode {
    font-family: monospace;
    font-size: 15px;
    color: #fa8c16;
    background: linear-gradient(135deg, #fff7e6 0%, #fffbe6 100%);
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 600;
}
/* 课程信息 */
.orderdetail-course {
    display: flex;
    gap: 16px;
}
.orderdetail-course-cover {
    width: 160px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
}
.orderdetail-course-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.orderdetail-course-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #bbb;
}
.orderdetail-course-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.orderdetail-course-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 8px;
}
.orderdetail-course-desc {
    font-size: 13px;
    color: #8c8c8c;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.orderdetail-course-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    color: white;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.3s;
    box-shadow: 0 2px 12px rgba(102,126,234,0.3);
}
.orderdetail-course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102,126,234,0.4);
    color: white;
    text-decoration: none;
}
.orderdetail-course-btn i {
    font-size: 16px;
}
/* 空状态 */
.orderdetail-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px;
    background: #fff7e6;
    border-radius: 12px;
    color: #fa8c16;
    font-size: 14px;
}
.orderdetail-empty i {
    font-size: 20px;
}
/* 价格列表 */
.orderdetail-price-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.orderdetail-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.orderdetail-price-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.orderdetail-price-label {
    font-size: 15px;
    color: #595959;
    font-weight: 500;
}
.orderdetail-price-value {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
}
.orderdetail-price-row.discount .orderdetail-price-label {
    color: #52c41a;
}
.orderdetail-price-row.discount .orderdetail-price-value {
    color: #52c41a;
}
.orderdetail-price-row.total {
    padding-top: 16px;
    border-top: 2px solid #f0f0f0;
    margin-top: 4px;
}
.orderdetail-price-row.total .orderdetail-price-label {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
}
.orderdetail-price-row.total .orderdetail-price-value {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* 移动端优化 */
@media (max-width: 768px) {
    .orderdetail-status-card {
        border-radius: 20px;
        padding: 36px 20px 26px;
    }
    .orderdetail-back-btn {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 13px;
    }
    .orderdetail-status-icon {
        width: 70px;
        height: 70px;
    }
    .orderdetail-status-icon i {
        font-size: 42px;
    }
    .orderdetail-status-title {
        font-size: 22px;
    }
    .orderdetail-status-subtitle {
        font-size: 13px;
    }
    .orderdetail-card {
        border-radius: 16px;
        padding: 16px;
    }
    .orderdetail-card-title {
        font-size: 16px;
    }
    .orderdetail-course {
        flex-direction: column;
    }
    .orderdetail-course-cover {
        width: 100%;
        height: 180px;
    }
    .orderdetail-course-btn {
        align-self: stretch;
        justify-content: center;
    }
}
@media (max-width: 480px) {
    .orderdetail-status-title {
        font-size: 20px;
    }
    .orderdetail-course-cover {
        height: 160px;
    }
    .orderdetail-label {
        font-size: 13px;
    }
    .orderdetail-value {
        font-size: 14px;
    }
}
/* 底部支付栏 */
.orderdetail-pay-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    border-top: 1px solid #f0f0f0;
}
.orderdetail-pay-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.orderdetail-pay-label {
    font-size: 13px;
    color: #8c8c8c;
    font-weight: 500;
}
.orderdetail-pay-amount {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.orderdetail-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(255,77,79,0.4);
}
.orderdetail-pay-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,77,79,0.5);
}
.orderdetail-pay-btn:active {
    transform: translateY(0);
}
.orderdetail-pay-btn i {
    font-size: 18px;
}
/* 支付弹出层 */
.orderdetail-modal {
    max-width: 500px;
}
.orderdetail-modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.orderdetail-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}
.orderdetail-modal-close:hover {
    background: rgba(0,0,0,0.1);
    transform: rotate(90deg);
}
.orderdetail-modal-close i {
    font-size: 20px;
    color: #8c8c8c;
}
.orderdetail-modal-header {
    padding: 32px 24px 24px;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
}
.orderdetail-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
   background: linear-gradient(135deg, #4690CE 0%, #8EAEF9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(102,126,234,0.3);
}
.orderdetail-modal-icon i {
    font-size: 32px;
    color: white;
}
.orderdetail-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}
.orderdetail-modal-body {
    padding: 24px;
}
.orderdetail-modal-amount {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #fff7e6 0%, #fffbe6 100%);
    border-radius: 16px;
    margin-bottom: 24px;
}
.orderdetail-modal-amount-value {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff4d4f 0%, #ff7875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}
.orderdetail-modal-orderno {
    font-size: 13px;
    color: #8c8c8c;
    font-family: monospace;
}
.orderdetail-pay-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.orderdetail-pay-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}
.orderdetail-pay-method:hover {
    border-color: #667eea;
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102,126,234,0.15);
}
.orderdetail-pay-method.active {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #faf5ff 100%);
    box-shadow: 0 4px 16px rgba(102,126,234,0.2);
}
.orderdetail-pay-method.active .orderdetail-pay-method-check {
    opacity: 1;
    color: #52c41a;
}
.orderdetail-pay-method-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.orderdetail-pay-method-icon.wechat-pay {
    background: linear-gradient(135deg, #09bb07 0%, #2aae67 100%);
}
.orderdetail-pay-method-icon.alipay-pay {
    background: linear-gradient(135deg, #1677ff 0%, #40a9ff 100%);
}
.orderdetail-pay-method-icon i {
    font-size: 28px;
    color: white;
}
.orderdetail-pay-method-icon img {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}
.orderdetail-pay-method-info {
    flex: 1;
}
.orderdetail-pay-method-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}
.orderdetail-pay-method-desc {
    font-size: 13px;
    color: #8c8c8c;
}
.orderdetail-pay-method-check {
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: all 0.3s;
}
.orderdetail-pay-method-check i {
    font-size: 24px;
}
.orderdetail-modal-footer {
    padding: 20px 24px;
    display: flex;
    gap: 12px;
    background: #fafafa;
}
.orderdetail-modal-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.orderdetail-modal-btn-cancel {
    background: white;
    color: #595959;
    border: 2px solid #e8e8e8;
}
.orderdetail-modal-btn-cancel:hover {
    background: #f5f5f5;
    border-color: #d9d9d9;
}
.orderdetail-modal-btn-confirm {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(82,196,26,0.3);
}
.orderdetail-modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(82,196,26,0.4);
}
.orderdetail-modal-btn-confirm:disabled,
.orderdetail-modal-btn-confirm.disabled {
    background: #d9d9d9;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.orderdetail-modal-btn-confirm.loading {
    pointer-events: none;
}
.orderdetail-modal-btn-spinner {
    display: inline-flex;
    align-items: center;
}
.orderdetail-modal-btn-spinner i {
    font-size: 18px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
/* 移动端优化 - 支付相关 */
@media (max-width: 768px) {
    .orderdetail-pay-bar {
        padding: 14px 16px;
    }
    .orderdetail-pay-amount {
        font-size: 22px;
    }
    .orderdetail-pay-btn {
        padding: 12px 24px;
        font-size: 15px;
    }
    .orderdetail-modal {
        max-width: 90%;
    }
    .orderdetail-modal-content {
        border-radius: 20px;
    }
    .orderdetail-modal-header {
        padding: 28px 20px 20px;
    }
    .orderdetail-modal-icon {
        width: 56px;
        height: 56px;
    }
    .orderdetail-modal-icon i {
        font-size: 28px;
    }
    .orderdetail-modal-title {
        font-size: 18px;
    }
    .orderdetail-modal-body {
        padding: 20px;
    }
    .orderdetail-modal-amount-value {
        font-size: 32px;
    }
    .orderdetail-pay-method {
        padding: 14px;
    }
    .orderdetail-pay-method-icon {
        width: 50px;
        height: 50px;
    }
    .orderdetail-pay-method-icon i {
        font-size: 26px;
    }
    .orderdetail-pay-method-icon img {
        width: 36px;
        height: 36px;
    }
}
@media (max-width: 480px) {
    .orderdetail-pay-bar {
        padding: 12px;
    }
    .orderdetail-pay-label {
        font-size: 12px;
    }
    .orderdetail-pay-amount {
        font-size: 20px;
    }
    .orderdetail-pay-btn {
        padding: 10px 20px;
        font-size: 14px;
        gap: 6px;
    }
    .orderdetail-pay-btn i {
        font-size: 16px;
    }
    .orderdetail-modal {
        max-width: 95%;
    }
    .orderdetail-modal-amount-value {
        font-size: 28px;
    }
    .orderdetail-modal-orderno {
        font-size: 12px;
    }
    .orderdetail-pay-method {
        padding: 12px;
    }
    .orderdetail-pay-method-name {
        font-size: 15px;
    }
    .orderdetail-pay-method-desc {
        font-size: 12px;
    }
    .orderdetail-pay-method-icon img {
        width: 32px;
        height: 32px;
    }
    .orderdetail-modal-footer {
        padding: 16px 20px;
    }
    .orderdetail-modal-btn {
        padding: 12px 16px;
        font-size: 15px;
    }
    /* 我的课程价格 - 移动端 */
    .mycourse-price-current {
        font-size: 18px;
    }
    .mycourse-price-original {
        font-size: 13px;
    }
    .mycourse-price-free {
        font-size: 13px;
        padding: 5px 12px;
    }
    /* 收藏页价格 - 移动端 */
    .favorite-price-current {
        font-size: 18px;
    }
    .favorite-price-original {
        font-size: 13px;
    }
    .favorite-price-free {
        font-size: 13px;
        padding: 5px 12px;
    }
}
/*预约中心*/
.cart-header {
    height: 160px;
    background-color: #e3e6e9;
    background: url(/images/cart-header-bg.jpg) repeat-x left bottom;
    padding: 25px;
}

.cart-header .cart-header-warp {
    height: 120px;
    line-height: 120px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px
}

.cart-header .cart-header-warp .myorder-history {
    font-weight: 200
}


.cart-header .cart-title {
    color: #4d555d;
    font-weight: 200;
    font-size: 14px
}

.cart-header .cart-title h1 {
    font-size: 32px;
    line-height: 115px;
    color: #07111b;
    font-weight: 200;
    text-align: left;
}

.cart-header .cart-title span {
    margin: 0 4px
}
/*预约中心头部结束*/
.navbar-light {
    height: 70px;
    line-height: 70px;
    background-color: #fff;
    border-bottom-color: rgba(0, 0, 0, 0.125);
}
.navbar-brand {
    font-size: 18px !important;
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
    text-align: center;
}
