/* ============= 全局样式 ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4A90E2;
    --primary-light: #E3F2FD;
    --primary-dark: #2E6CB5;
    --success-color: #4CAF50;
    --danger-color: #F44336;
    --warning-color: #FF9800;
    --text-color: #333;
    --text-secondary: #666;
    --border-color: #E0E0E0;
    --bg-color: #F5F9FC;
    --white: #FFFFFF;
    --shadow: 0 2px 8px rgba(74, 144, 226, 0.1);
    --shadow-hover: 0 4px 12px rgba(74, 144, 226, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
        'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============= 容器布局 ============= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 80px 0;
    min-height: 100vh;
}

/* ============= 头部样式 ============= */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
}

.header h1 {
    font-size: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.header .subtitle {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 300;
}

/* ============= 搜索栏样式 ============= */
.search-bar {
    padding: 15px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-color);
    border-radius: 24px;
    padding: 0 16px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.search-input-wrapper:focus-within {
    background: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.search-icon {
    font-size: 18px;
    margin-right: 8px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.search-input-wrapper:focus-within .search-icon {
    color: var(--primary-color);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 0;
    font-size: 15px;
    color: var(--text-color);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-secondary);
}

.clear-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    transition: all 0.2s;
}

.clear-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-color);
}

.search-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.search-no-results .icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.search-no-results p {
    font-size: 15px;
    margin-bottom: 8px;
}

.search-no-results .tip {
    font-size: 13px;
    color: var(--text-light);
}

/* ============= 内容区域 ============= */
.content {
    padding: 20px;
}

/* ============= 加载动画 ============= */
.loading {
    text-align: center;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
    border: 4px solid var(--primary-light);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============= 商品卡片 ============= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.product-card .name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.product-card .price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.product-card .unit {
    font-size: 14px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.product-card .description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============= 弹窗样式 ============= */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.close-btn:hover {
    background: var(--primary-light);
    color: var(--primary-color);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.modal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ============= 表单样式 ============= */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ============= 按钮样式 ============= */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    outline: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: #45A049;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-block {
    width: 100%;
}

/* ============= 商品信息 ============= */
.product-info {
    margin-bottom: 24px;
}

.price-tag {
    background: var(--primary-light);
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.price-tag .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.price-tag .unit {
    font-size: 16px;
    color: var(--text-secondary);
    margin-left: 4px;
}

.description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 16px;
    background: var(--bg-color);
    border-radius: 8px;
}

/* ============= 课程列表 ============= */
.course-list {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.course-list h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-color);
}

.course-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.course-item:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.course-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.course-item label {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.checkout-info {
    margin-top: 24px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: 8px;
}

.checkout-info .total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 16px;
}

.checkout-info .total-price {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
}

/* ============= 支付方式 ============= */
.payment-amount {
    text-align: center;
    padding: 24px;
    background: var(--primary-light);
    border-radius: 12px;
    margin-bottom: 24px;
}

.payment-amount span {
    font-size: 14px;
    color: var(--text-secondary);
}

.payment-amount .amount {
    font-size: 36px;
    color: var(--primary-color);
    margin-top: 8px;
}

.payment-methods {
    display: grid;
    gap: 16px;
}

.payment-btn {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    transition: all 0.2s;
}

.payment-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.payment-btn .icon {
    font-size: 32px;
}

.payment-btn .payment-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.payment-btn.alipay:hover {
    border-color: #1678FF;
    background: #E6F4FF;
}

.payment-btn.wechat:hover {
    border-color: #09BB07;
    background: #E6FFED;
}

/* 辅助按钮样式 */
.btn-secondary {
    padding: 10px 40px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-color);
    transition: all 0.2s;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--primary-light);
}

/* 支付信息区域 */
.pay-info {
    padding: 20px;
    text-align: center;
}

.pay-info p {
    margin: 10px 0;
    color: var(--text-secondary);
}

.pay-link {
    display: inline-block;
    margin: 15px 0;
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
}

.pay-link:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.tip {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* ============= 查单页面 ============= */
.search-box {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.search-input-group {
    display: flex;
    gap: 12px;
}

.search-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s;
}

.search-input-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.search-input-group .btn {
    padding: 12px 32px;
    white-space: nowrap;
}

/* ============= 订单列表 ============= */
.order-list {
    min-height: 400px;
}

.order-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.order-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.order-card .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.order-card .platform {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
}

.order-card .status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status.completed {
    background: #E8F5E9;
    color: var(--success-color);
}

.status.running {
    background: #FFF3E0;
    color: var(--warning-color);
}

.status.pending {
    background: #F5F5F5;
    color: var(--text-secondary);
}

.order-card .order-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.order-card .course-name {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.order-card .info-row {
    display: flex;
    gap: 16px;
    margin-bottom: 4px;
}

.order-card .info-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.order-card .progress-bar {
    margin-top: 12px;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.order-card .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    border-radius: 4px;
    transition: width 0.3s;
}

/* ============= 空状态 ============= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.empty-state .icon {
    font-size: 64px;
    margin-bottom: 16px;
    display: block;
    opacity: 0.5;
}

.empty-state p {
    font-size: 16px;
}

/* ============= 底部导航 ============= */
.tabbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--white);
    display: flex;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.tab-item .icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.tab-item .label {
    font-size: 12px;
}

.tab-item.active {
    color: var(--primary-color);
}

.tab-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 0 0 3px 3px;
}

/* ============= 管理后台 ============= */
.admin-container {
    min-height: 100vh;
    background: var(--bg-color);
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-box {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    max-width: 400px;
}

.login-box h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 32px;
    font-size: 28px;
}

.admin-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
}

.admin-header h1 {
    font-size: 24px;
    font-weight: 600;
}

.admin-header .header-buttons {
    display: flex;
    gap: 10px;
}

.admin-header .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.admin-header .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ============= 统计卡片 ============= */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.stat-card {
    background: var(--white);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    background: var(--primary-light);
    border-radius: 12px;
}

.stat-card .stat-info h3 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-card .stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ============= 管理内容区域 ============= */
.admin-content {
    padding: 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.header-actions input[type="text"] {
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    min-width: 200px;
    height: 44px;
    line-height: 42px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.header-actions input[type="text"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.header-actions .btn {
    height: 44px;
    padding: 0 24px;
    font-size: 16px;
    box-sizing: border-box;
}

/* ============= 表格样式 ============= */
.table-container {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow-x: auto;
}

.order-table {
    width: 100%;
    border-collapse: collapse;
}

.order-table thead {
    background: var(--primary-light);
}

.order-table th {
    padding: 16px 12px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.order-table td {
    padding: 16px 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.order-table tbody tr:hover {
    background: var(--bg-color);
}

.order-table tbody tr:last-child td {
    border-bottom: none;
}

.text-center {
    text-align: center;
}

/* ============= 分页 ============= */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.pagination button {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .page-info {
    padding: 8px 16px;
    color: var(--text-secondary);
}

/* ============= 后台设置 ============= */
.settings-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0;
}

.tab-button {
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.tab-button:hover {
    color: var(--primary-color);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 600;
}

.tab-content {
    display: none;
    padding: 20px 0;
}

.tab-content.active {
    display: block;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    color: var(--text-primary);
}

/* ============= 响应式设计 ============= */
@media (max-width: 768px) {
    .header h1 {
        font-size: 24px;
    }
    
    /* 搜索栏移动端优化 */
    .search-bar {
        padding: 12px 15px;
    }
    
    .search-input {
        font-size: 16px; /* 防止iOS自动缩放 */
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 16px;
    }

    .stats-cards {
        grid-template-columns: 1fr;
    }

    .table-container {
        border-radius: 0;
    }

    .order-table {
        font-size: 12px;
    }

    .order-table th,
    .order-table td {
        padding: 12px 8px;
    }

    .admin-header {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .search-input-group {
        flex-direction: column;
    }

    .search-input-group .btn {
        width: 100%;
    }
}

/* ============= 工具类 ============= */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

/* ============= 支付成功弹窗 ============= */
.submitted-courses {
    margin: 20px 0;
}

.submitted-courses h4 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

#submittedCourseList {
    padding: 10px 0;
}

#submittedCourseList::-webkit-scrollbar {
    width: 6px;
}

#submittedCourseList::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

#submittedCourseList::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

#submittedCourseList::-webkit-scrollbar-thumb:hover {
    background: #999;
}

#paymentSuccessModal .modal-content {
    max-width: 600px;
}

#paymentSuccessModal .modal-body {
    padding: 20px 30px 30px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    #paymentSuccessModal .modal-content {
        max-width: 95%;
        margin: 20px auto;
    }
    
    #paymentSuccessModal .modal-body {
        padding: 15px 20px 20px;
    }
    
    #submittedCourseList {
        max-height: 250px !important;
    }
}

