/**
 * 客户端统一样式表 v2.0
 * 全新架构 - 统一管理左侧栏、顶栏、内容区
 * 响应式设计 - PC端和移动端统一
 */

/* ==================== CSS变量定义 ==================== */
:root {
    /* 布局尺寸 */
    --sidebar-width: 200px;
    --topbar-height-pc: 60px;
    --topbar-height-mobile: 56px;
    --content-spacing: 12px;
    
    /* 颜色系统 */
    --primary-color: #667eea;
    --primary-dark: #764ba2;
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    --success-color: #52c41a;
    --warning-color: #faad14;
    --danger-color: #ff4d4f;
    --info-color: #1890ff;
    
    --text-primary: #262626;
    --text-secondary: #595959;
    --text-tertiary: #8c8c8c;
    --text-placeholder: #bfbfbf;
    
    --bg-body: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --bg-lighter: #f5f5f5;
    
    --border-color: #e8e8e8;
    --border-light: #f0f0f0;
    
    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* 过渡 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== 全局重置 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-lighter);  /* 改为浅灰色，与main-content一致 */
    overflow-x: hidden;
}

/* ==================== 页面布局基础 ==================== */
.layout {
    display: flex;
    min-height: 100vh;
}

.with-sidebar {
    margin-left: var(--sidebar-width);
}

/* 页面容器 - 废弃，保留仅为兼容 */
.page-container {
    /* bind-account.html使用grid两列布局 */
    display: grid;
    grid-template-columns: 1fr 1fr;  /* 左右两列等宽 */
    gap: 12px;  /* 左右间距12px */
    align-items: start;  /* 顶部对齐，让两个卡片高度自然对齐 */
    box-sizing: border-box;
}

.page-container > .notice-banner {
    grid-column: 1 / -1;  /* 提示横幅占满两列 */
}

.content-wrapper {
    padding: var(--content-spacing);
}

/* ==================== 左侧边栏 ==================== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: var(--bg-white);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    overflow-y: auto;
    transition: transform var(--transition-normal);
}

.sidebar-header {
    height: var(--topbar-height-pc);
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    background: var(--primary-gradient);
}

.sidebar-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--bg-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-menu {
    padding: 12px 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border-left: 3px solid transparent;
}

.menu-item:hover {
    background: var(--bg-lighter);
    color: var(--primary-color);
}

.menu-item.active {
    background: rgba(102, 126, 234, 0.08);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    font-weight: 500;
}

.menu-item-icon {
    font-size: 18px;
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

/* ==================== 顶部栏 ==================== */
.topbar {
    position: fixed;
    top: 0;
    left: var(--sidebar-width);
    right: 0;
    height: var(--topbar-height-pc);
    background: var(--primary-gradient);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--bg-white);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--bg-white);
    font-size: 14px;
}

.topbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.topbar-btn {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    color: var(--bg-white);
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.topbar-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==================== 主内容区 ==================== */
/* 统一布局标准：
   - .main-content: 主容器，处理侧边栏和顶栏偏移
   - .content-area: 内容区域，12px统一内边距
   - .container: 响应式容器，1400px最大宽度，水平居中
   - .page-container: 废弃，不再使用
*/
.main-content {
    margin-left: var(--sidebar-width);  /* 200px，确保从侧边栏右侧开始 */
    margin-top: var(--topbar-height-pc); /* 60px */
    min-height: calc(100vh - var(--topbar-height-pc));
    background: var(--bg-lighter);  /* 统一浅灰背景 */
    flex: 1;  /* 占满剩余空间 */
    width: calc(100vw - var(--sidebar-width)) !important;  /* 明确计算宽度 */
    max-width: calc(100vw - var(--sidebar-width)) !important;
}

.content-area {
    padding: 0;  /* 不设置padding，让container自己控制 */
    box-sizing: border-box;
    /* 不设置flex，不设置width */
}

.container {
    max-width: 1400px !important;  /* 最大宽度1400px */
    /* width: 100% 删除，让margin: auto生效 */
    margin-left: auto !important;  /* 水平居中 */
    margin-right: auto !important;
    padding: 12px 0 !important;  /* 上下12px，左右0，由content-area控制左右间距 */
    box-sizing: border-box !important;
}

/* ==================== 卡片组件 ==================== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;  /* 统一12px间距 */
    padding: 20px;  /* 卡片内边距 */
    overflow: hidden;
    transition: box-shadow var(--transition-normal);
}

.card:last-child {
    margin-bottom: 0;  /* 最后一个卡片无下间距 */
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;  /* 标题下间距 */
    padding-bottom: 12px;  /* 底部内边距 */
    border-bottom: 1px solid var(--border-light);  /* 底部边框 */
}

.card-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: var(--primary-gradient);
    border-radius: var(--radius-sm);
}

.card-body {
    padding: 20px;
}

/* ==================== 表单组件 ==================== */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
}

/* 原生表单元素样式 */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="tel"],
select,
textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-family: inherit !important;
    color: #262626 !important;
    background: #ffffff !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus {
    outline: none !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

input::placeholder,
textarea::placeholder {
    color: #bfbfbf !important;
}

/* select下拉箭头 - 隐藏原生箭头，仅使用自定义SVG箭头 */
select {
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 36px !important;
}

/* 移动端select恢复原生箭头，更好触摸操作 */
@media (max-width: 768px) {
    select {
        -webkit-appearance: menulist !important;
        -moz-appearance: menulist !important;
        appearance: menulist !important;
        background-image: none !important;
        padding-right: 8px !important;
    }
}

textarea {
    min-height: 100px !important;
    resize: vertical !important;
    line-height: 1.6 !important;
}

input[type="checkbox"],
input[type="radio"] {
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
    cursor: pointer !important;
    accent-color: #667eea !important;
}

/* 带类名的表单组件 */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
}

/* ==================== 按钮组件 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    gap: 6px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--bg-white);
    width: 100%;  /* 按钮占满宽度 */
    padding: 12px 20px;  /* 增加内边距 */
    font-size: 15px;  /* 稍大字体 */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: var(--bg-lighter);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
}

.btn-success {
    background: var(--success-color);
    color: var(--bg-white);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--bg-white);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 16px;
}

/* ==================== 表格组件 ==================== */
.table-container {
    overflow-x: auto;
    overflow-y: visible;  /* 确保垂直方向不会被裁剪 */
    min-height: 200px;  /* 确保有最小高度 */
    max-height: none !important;  /* 取消任何最大高度限制 */
    background: var(--bg-white);  /* 背景色 */
    display: block !important;  /* 强制显示 */
    visibility: visible !important;  /* 强制可见 */
    position: relative;  /* 相对定位 */
    z-index: 1;  /* 确保在上层 */
    -webkit-overflow-scrolling: touch;  /* iOS平滑滚动 */
    margin: 0 !important;  /* 清除外边距 */
    padding: 0 !important;  /* 清除内边距 */
}

/* 表格滚动条美化 */
.table-container::-webkit-scrollbar {
    height: 8px;
}

.table-container::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    display: table !important;  /* 强制显示为表格 */
    visibility: visible !important;  /* 强制可见 */
    table-layout: auto;  /* 自动布局，根据内容调整列宽 */
    margin: 0 !important;  /* 清除外边距 */
    padding: 0 !important;  /* 清除内边距 */
}

.data-table tbody {
    display: table-row-group !important;  /* 强制显示为表格行组 */
    visibility: visible !important;  /* 强制可见 */
}

.data-table tr {
    display: table-row !important;  /* 强制显示为表格行 */
    visibility: visible !important;  /* 强制可见 */
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: center;  /* 居中对齐 */
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;  /* 垂直居中 */
    display: table-cell !important;  /* 强制显示为表格单元格 */
    visibility: visible !important;  /* 强制可见 */
    opacity: 1 !important;  /* 强制不透明 */
    height: auto !important;  /* 高度自动 */
    min-height: 40px;  /* 最小高度 */
    white-space: nowrap;  /* 防止文字换行 */
    overflow: hidden;  /* 隐藏溢出 */
    text-overflow: ellipsis;  /* 溢出显示省略号 */
}

.data-table thead {
    background: var(--bg-lighter);
}

.data-table th {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tbody tr:hover {
    background: var(--bg-light);
}

/* ==================== 统计卡片 ==================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--content-spacing);
    margin-bottom: var(--content-spacing);
}

.stat-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

/* ==================== 空状态 ==================== */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
}

.empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-text {
    font-size: 14px;
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 768px) {
    :root {
        --sidebar-width: 0;
        --topbar-height-pc: var(--topbar-height-mobile);
    }
    
    /* 隐藏侧边栏 */
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    /* 调整顶栏 */
    .topbar {
        left: 0;
        height: var(--topbar-height-mobile);
        padding: 0 10px;
    }
    
    .topbar-title {
        font-size: 16px;
    }
    
    .topbar-user {
        font-size: 13px;
    }
    
    /* 调整主内容区 */
    .main-content {
        margin-left: 0;
        margin-top: var(--topbar-height-mobile);
        min-height: calc(100vh - var(--topbar-height-mobile));
        padding: 0 !important;
    }
    
    .content-area {
        padding: 10px !important;  /* 全局统一10px间距 */
    }
    
    .container {
        padding: 0 !important;  /* container无padding */
        margin: 0 !important;
    }
    
    /* 卡片适配 */
    .card-header,
    .card-body {
        padding: 10px;
    }
    
    .card-title {
        font-size: 15px;
    }
    
    /* 统计卡片 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-card {
        padding: 10px;
    }
    
    .stat-value {
        font-size: 22px;
    }
    
    /* 表格适配 */
    .data-table th,
    .data-table td {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    /* 按钮适配 */
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    /* 表单适配 */
    .form-input,
    .form-select,
    .form-textarea {
        font-size: 16px; /* 防止iOS自动缩放 */
    }
    
    /* 原生表单元素移动端适配 */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="date"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important; /* iOS需要16px以上避免自动缩放 */
    }
}

/* ==================== 页面特定组件 ==================== */

/* 公告栏 */
.announcement-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--content-spacing);
}

/* 统计卡片行 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--content-spacing);
    margin-bottom: var(--content-spacing);
}

.stat-box {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-box .stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.stat-box h4 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-box .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-box small {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 功能卡片网格 */
.function-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--content-spacing);
}

.function-card {
    background: var(--bg-white);
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.function-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.function-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.function-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.function-card p {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 0;
}

/* 移动端适配 - 页面特定组件 */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-box {
        padding: 10px;
    }
    
    .stat-box .stat-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .stat-box .value {
        font-size: 20px;
    }
    
    .stat-box h4 {
        font-size: 12px;
    }
    
    .function-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .function-card {
        padding: 16px 8px;
    }
    
    .function-card .icon {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .function-card h3 {
        font-size: 13px;
    }
    
    .function-card p {
        font-size: 11px;
    }
    
    .announcement-wrapper {
        padding: 10px;
    }
    
    .section-title {
        font-size: 14px;
    }
}

/* ==================== 页面特定组件 ==================== */

/* 公告栏 */
.announcement-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--content-spacing);
}

/* 页面容器 */
/* 删除重复定义，使用第84行的.page-container */

/* 提示横幅 */
.notice-banner {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: var(--content-spacing);
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notice-content {
    flex: 1;
}

.notice-title {
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 4px;
}

.notice-text {
    font-size: 13px;
    color: #78350f;
    line-height: 1.6;
}

/* 警告框 */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    display: none;
    font-size: 14px;
}

.alert.active {
    display: block;
}

.alert-success {
    background: #d1fae5;
    border-left: 4px solid var(--success-color);
    color: #065f46;
}

.alert-error {
    background: #fee2e2;
    border-left: 4px solid var(--danger-color);
    color: #991b1b;
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 帮助文本 */
.help-text {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 6px;
    line-height: 1.5;
}

/* 账号列表 */
.account-list {
    min-height: 400px;
    max-height: 600px;  /* 限制最大高度 */
    overflow-y: auto;  /* 超出部分滚动 */
}

.platform-tabs {
    display: flex;
    gap: 6px;  /* 减少间距 */
    margin-bottom: 12px;  /* 减少底部间距 */
    flex-wrap: wrap;
}

.platform-tab {
    padding: 6px 12px;  /* 减少内边距 */
    border-radius: var(--radius-md);
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 12px;  /* 减小字号 */
    font-weight: 500;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 4px;  /* 减少间距 */
}

.platform-tab:hover {
    background: var(--bg-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.platform-tab.active {
    background: var(--primary-gradient);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.platform-tab .count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.platform-tab.active .count {
    background: rgba(255, 255, 255, 0.25);
}

.accounts-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 4px;
}

/* 美化滚动条 */
.accounts-grid::-webkit-scrollbar {
    width: 6px;
}

.accounts-grid::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 3px;
}

.accounts-grid::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.accounts-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* 按钮点击感 */
.btn, .quick-date-btn, button {
    transition: all 0.15s ease;
    cursor: pointer;
}

.btn:active, .quick-date-btn:active, button:active:not(:disabled) {
    transform: scale(0.96);  /* 点击时轻微缩小 */
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);  /* 内阴影 */
}

.btn:hover:not(:disabled), .quick-date-btn:hover, button:hover:not(:disabled) {
    transform: translateY(-1px);  /* 悬停时上浮 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);  /* 增强阴影 */
}

.btn:disabled, button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* 账号卡片 */
/* 绑定账号页面 - 交易账号卡片 - 上下两行紧凑布局 */
.accounts-grid .account-item {
    background: white;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
    gap: 10px !important;
}

.accounts-grid .account-item:hover {
    border-color: #1890ff;
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.08);
}

.accounts-grid .account-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}

.accounts-grid .account-col-1 {
    min-width: 140px;
}

.accounts-grid .account-col-2,
.accounts-grid .account-col-3,
.accounts-grid .account-col-4 {
    min-width: 100px;
}

.accounts-grid .account-actions {
    margin-left: auto;
    flex-direction: row;
    align-items: center;
    gap: 6px;
}

.accounts-grid .account-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.accounts-grid .info-label {
    font-size: 11px;
    color: #999;
    font-weight: 400;
    min-width: 32px;
}

.accounts-grid .info-value {
    font-size: 13px;
    color: #262626;
    font-weight: 500;
}

.accounts-grid .account-num {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 700;
    color: #1890ff;
}

.accounts-grid .account-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.accounts-grid .account-actions button span:first-child {
    display: none;
}

.accounts-grid .btn-resubmit {
    background: white;
    color: #1890ff;
    border-color: #1890ff;
}

.accounts-grid .btn-resubmit:hover {
    background: #1890ff;
    color: white;
}

.accounts-grid .btn-delete {
    background: white;
    color: #ff4d4f;
    border-color: #ffccc7;
}

.accounts-grid .btn-delete:hover {
    background: #ff4d4f;
    color: white;
    border-color: #ff4d4f;
}

.accounts-grid .reject-info { 
    background: #fff2f0;
    border-left: 3px solid #ff7875;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.5;
    color: #cf1322;
    word-wrap: break-word;
    flex: 1 1 100%;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active,
.modal.show {
    display: flex;
}

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 24px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    width: 500px;
    box-shadow: var(--shadow-xl);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-tertiary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--bg-lighter);
    color: var(--text-primary);
}

.modal-body {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.modal-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-bottom: 20px;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.modal-btn-cancel {
    background: var(--bg-lighter);
    color: var(--text-secondary);
}

.modal-btn-cancel:hover {
    background: var(--bg-light);
}

.modal-btn-confirm {
    background: var(--danger-color);
    color: var(--bg-white);
}

.modal-btn-confirm:hover {
    background: #dc2626;
}

/* 空状态优化 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-tertiary);
}

.empty-state .icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
    margin: 0;
}

/* 统计卡片行 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--content-spacing);
    margin-bottom: var(--content-spacing);
}

.stat-box {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-box .stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.stat-box h4 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-box .value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.stat-box small {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 功能卡片网格 */
.function-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--content-spacing);
}

.function-card {
    background: var(--bg-white);
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.function-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.function-card .icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.function-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.function-card p {
    font-size: 12px;
    color: var(--text-tertiary);
    margin: 0;
}

/* 移动端适配 - 页面特定组件 */
@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-box {
        padding: 10px;
    }
    
    .stat-box .stat-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .stat-box .value {
        font-size: 20px;
    }
    
    .stat-box h4 {
        font-size: 12px;
    }
    
    .function-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .function-card {
        padding: 16px 8px;
    }
    
    .function-card .icon {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .function-card h3 {
        font-size: 13px;
    }
    
    .function-card p {
        font-size: 11px;
    }
    
    .announcement-wrapper {
        padding: 10px;
    }
    
    .section-title {
        font-size: 14px;
    }
    
    .notice-banner {
        padding: 10px;
    }
    
    .modal-content {
        width: 90%;
        max-width: none;
        padding: 20px;
    }
}

/* ==================== 页面特定组件扩展 ==================== */

/* 筛选区域 */
.filter-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--content-spacing);
}

.filter-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-item label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

/* 余额卡片 */
.balance-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--content-spacing);
}

.balance-card h3 {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 8px;
}

.balance-card .amount {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}

.balance-card .balance-info {
    font-size: 13px;
    opacity: 0.8;
}

/* 费用信息 */
.fee-info {
    background: var(--bg-light);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border-left: 3px solid var(--info-color);
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 12px;
    margin-bottom: 20px;
}

/* 账号信息 */
.account-info {
    background: var(--bg-light);
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
}

.account-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
    background: var(--primary-color);
    color: var(--bg-white);
}

/* 表单网格 */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

/* 空历史记录 */
.empty-history {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-tertiary);
}

.empty-history::before {
    content: "📭";
    display: block;
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

/* 警告框变体 */
.alert-warning {
    background: #fff3cd;
    border-left: 4px solid var(--warning-color);
    color: #856404;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert-warning-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.alert-warning-content {
    flex: 1;
    font-size: 13px;
    line-height: 1.6;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 20px 0;
}

.pagination button {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination button.active {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* 标签/徽章 */
.badge {
    display: inline-block;
    padding: 1px 4px;  /* 极致紧凑 */
    border-radius: 2px;  /* 极小圆角 */
    font-size: 9px;  /* 极小字号 */
    font-weight: 500;
    line-height: 1.2;  /* 紧凑行高 */
}

.badge-success {
    background: #d1fae5;
    color: #065f46;
}

.badge-warning {
    background: #fef3c7;
    color: #92400e;
}

.badge-danger {
    background: #fee2e2;
    color: #991b1b;
}

.badge-info {
    background: #dbeafe;
    color: #1e40af;
}

/* 数据表格增强 */
.data-table tbody tr.active {
    background: rgba(102, 126, 234, 0.05);
}

.data-table .amount {
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.data-table .amount-positive {
    color: var(--success-color);
}

.data-table .amount-negative {
    color: var(--danger-color);
}

/* 移动端适配 - 扩展组件 */
@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions button {
        width: 100%;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .balance-card {
        padding: 20px 16px;
    }
    
    .balance-card .amount {
        font-size: 28px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .pagination button {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* ==================== Toast 提示消息 ==================== */
.toast-message {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    font-size: 15px;
    font-weight: 600;
    max-width: 90%;
    text-align: center;
    color: white;
    animation: slideDown 0.3s ease;
}

.toast-success {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
}

.toast-error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

/* ==================== 工具类 ==================== */

/* 通用类 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.icon {
    font-size: 20px;
}

.links {
    text-align: center;
    margin-top: 16px;
    font-size: 13px;
}

.links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 8px;
}

.links a:hover {
    text-decoration: underline;
}

.search {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search input {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
}

/* 页面头部 */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;  /* 增加下间距 */
    padding-top: 12px;  /* 增加顶部间距 */
}

.page-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
}

.page-actions {
    display: flex;
    gap: 12px;
}

/* 主标签页 */
.main-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 24px;
}

.main-tab {
    padding: 12px 24px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all var(--transition-fast);
    font-size: 15px;
    font-weight: 500;
}

.main-tab:hover {
    color: var(--primary-color);
}

.main-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* 统计网格 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-card.green {
    border-left: 4px solid var(--success-color);
}

.stat-card.red {
    border-left: 4px solid var(--danger-color);
}

.stat-card.blue {
    border-left: 4px solid var(--info-color);
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 信息卡片 */
.info-card {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all var(--transition-normal);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.info-card .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 密码强度 */
.password-strength {
    height: 4px;
    background: var(--bg-lighter);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all var(--transition-normal);
}

/* 平台相关 */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.platform-badge {
    position: static;
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

/* 表格内的平台徽章样式覆盖 */
.data-table .platform-badge {
    position: static !important;
    display: inline-block !important;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.data-table .platform-badge.platform-exness {
    background: #e6f0ff;
    color: #1e40af;
}

.data-table .platform-badge.platform-xm {
    background: #fff4e6;
    color: #c2410c;
}

.platform-card-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    transition: all var(--transition-normal);
}

.platform-card-wrapper:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.platform-card-wrapper.last-card {
    margin-bottom: 0;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 占位符 */
.preload-placeholder {
    background: linear-gradient(90deg, var(--bg-lighter) 25%, var(--bg-light) 50%, var(--bg-lighter) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: var(--radius-md);
    height: 20px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .main-tabs {
        overflow-x: auto;
    }
    
    .main-tab {
        white-space: nowrap;
        padding: 10px 16px;
    }
} */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--danger-color); }
.text-secondary { color: var(--text-secondary); }

.mb-0 { margin-bottom: 0 !important; }
.mb-12 { margin-bottom: var(--content-spacing) !important; }

.mt-0 { margin-top: 0 !important; }
.mt-12 { margin-top: var(--content-spacing) !important; }

.p-0 { padding: 0 !important; }
.p-12 { padding: var(--content-spacing) !important; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-12 { gap: var(--content-spacing); }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ==================== 补充缺失的组件样式 ==================== */

/* 账号相关 */
.account-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.account-number { font-family: 'Courier New', monospace; font-weight: 600; }
.account-details { display: grid; gap: 8px; font-size: 13px; color: var(--text-secondary); }
.account-footer { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border-light); display: flex; justify-content: space-between; }

/* 操作按钮 */
.action-btn { padding: 6px 12px; border-radius: var(--radius-sm); font-size: 12px; cursor: pointer; border: none; transition: all var(--transition-fast); }
.action-buttons { display: flex; gap: 8px; }
.actions { display: flex; gap: 8px; justify-content: flex-end; }
.btn-delete { background: var(--danger-color); color: white; }
.btn-outline { background: transparent; border: 1px solid var(--primary-color); color: var(--primary-color); }
.btn-copy { background: var(--info-color); color: white; }
.btn-login { background: var(--primary-gradient); color: white; padding: 12px 24px; width: 100%; }
.btn-agree { background: var(--success-color); color: white; }
.btn-exchange { background: var(--warning-color); color: white; }
.btn-resubmit { background: var(--info-color); color: white; }

/* 公告组件 */
.announcement-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 12px;
    border-left: 4px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}
.announcement-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.announcement-item.important {
    border-left-color: var(--danger-color);
    background: linear-gradient(to right, rgba(245, 108, 108, 0.05), var(--bg-white));
}
.announcement-item.info {
    border-left-color: var(--info-color);
    background: linear-gradient(to right, rgba(52, 152, 219, 0.05), var(--bg-white));
}
.announcement-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.announcement-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.announcement-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-tertiary); }
.announcement-time { display: flex; align-items: center; gap: 4px; }
.announcement-icon { font-size: 18px; }
.announcement-preview { color: var(--text-secondary); font-size: 13px; line-height: 1.6; }
.announcement-badge { padding: 2px 8px; border-radius: var(--radius-sm); font-size: 11px; font-weight: 500; }
.announcement-badge-pin { background: #fef3c7; color: #92400e; }
.announcement-badge-important { background: #fee2e2; color: #991b1b; }
.announcement-badge-info { background: #dbeafe; color: #1e40af; }
.announcement-empty { text-align: center; padding: 60px 20px; color: var(--text-tertiary); }
.announcement-empty-icon { font-size: 48px; opacity: 0.3; margin-bottom: 16px; }

/* 徽章扩展 */
.badge-hot { background: linear-gradient(135deg, #ff6b6b, #ee5a6f); color: white; }
.badge-recommend { background: linear-gradient(135deg, #f093fb, #f5576c); color: white; }
.badge-agent { background: linear-gradient(135deg, #4facfe, #00f2fe); color: white; }
.badges-group { display: flex; gap: 6px; flex-wrap: wrap; }
.currency-badge { background: var(--primary-color); color: white; padding: 2px 6px; border-radius: var(--radius-sm); font-size: 11px; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; }

/* 品牌区域 */
.brand-section { text-align: center; padding: 40px 20px; }
.brand-title { font-size: 28px; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.brand-subtitle { font-size: 14px; color: var(--text-secondary); }

/* 分类标签 */
.category-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; }
.category-tab { padding: 8px 16px; border-radius: var(--radius-md); background: var(--bg-lighter); border: 1px solid var(--border-color); cursor: pointer; white-space: nowrap; transition: all var(--transition-fast); }
.category-tab.active { background: var(--primary-gradient); color: white; border-color: var(--primary-color); }

/* 详情展示 */
.detail-section { margin-bottom: 24px; }
.detail-row { display: flex; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.detail-label { width: 120px; color: var(--text-secondary); font-size: 13px; flex-shrink: 0; }
.detail-value { flex: 1; color: var(--text-primary); font-size: 13px; }
.detail-content { padding: 20px; }
.detail-item { margin-bottom: 16px; }

/* 免责声明 */
.disclaimer-box { background: var(--bg-lighter); border-radius: var(--radius-lg); padding: 20px; margin: 20px 0; }
.disclaimer-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.disclaimer-icon { font-size: 24px; }
.disclaimer-content { font-size: 13px; line-height: 1.8; color: var(--text-secondary); }
.disclaimer-footer { margin-top: 16px; }
.disclaimer-agree { display: flex; align-items: center; gap: 8px; font-size: 13px; }

/* 兑换相关 */
.exchange-card { background: var(--bg-white); padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.exchange-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.exchange-details { display: grid; gap: 12px; }
.exchange-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; display: none; align-items: center; justify-content: center; }
.exchange-modal.active { display: flex; }
.exchange-modal-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); }
.exchange-product-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }

/* 特性卡片 */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.feature-card { background: var(--bg-white); padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all var(--transition-normal); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.feature-icon { font-size: 28px; }
.feature-title { font-size: 16px; font-weight: 600; }
.feature-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* 筛选增强 */
.filter-bar { display: flex; gap: 12px; align-items: center; padding: 16px; background: var(--bg-light); border-radius: var(--radius-lg); margin-bottom: 16px; }
.filter-compact { display: inline-flex; align-items: center; gap: 8px; }
.filter-header { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.filter-section { margin-bottom: 20px; }

/* 表单增强 */
.form-header { text-align: center; margin-bottom: 24px; }
.form-footer { text-align: center; margin-top: 20px; font-size: 13px; color: var(--text-secondary); }
.email-group { position: relative; }
.error-message { color: var(--danger-color); font-size: 12px; margin-top: 4px; }

/* 浮动元素 */
.floating-orb { position: absolute; border-radius: 50%; background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1)); filter: blur(40px); }

/* 图片上传 */
.qrcode-upload { border: 2px dashed var(--border-color); border-radius: var(--radius-lg); padding: 20px; text-align: center; cursor: pointer; transition: all var(--transition-fast); }
.qrcode-upload:hover { border-color: var(--primary-color); background: rgba(102,126,234,0.05); }
.qrcode-preview { max-width: 200px; border-radius: var(--radius-md); margin-top: 12px; }
.upload-btn { background: var(--primary-color); color: white; padding: 8px 16px; border-radius: var(--radius-md); cursor: pointer; display: inline-block; }

/* 平台相关 */
.platform-logo-large { width: 100px; height: 100px; object-fit: contain; }
.platform-logo-placeholder { width: 100px; height: 100px; background: var(--bg-lighter); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--text-tertiary); }
.platform-title-area { margin-bottom: 16px; }
.platform-name { font-size: 20px; font-weight: 700; color: var(--text-primary); }
.platform-rebate { display: flex; gap: 16px; margin-top: 8px; }
.rate-display { background: var(--bg-light); padding: 12px; border-radius: var(--radius-md); }
.rate-display-header { font-size: 12px; color: var(--text-tertiary); margin-bottom: 4px; }
.rate-display-value { font-size: 18px; font-weight: 700; color: var(--primary-color); }
.rate-display-label { font-size: 11px; color: var(--text-secondary); }
.rate-display-hint { font-size: 11px; color: var(--text-tertiary); margin-top: 4px; }

/* 产品网格 */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.product-image { width: 100%; height: 150px; object-fit: cover; border-radius: var(--radius-md); }
.product-title { font-size: 14px; font-weight: 600; margin: 12px 0 8px; }
.product-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
.product-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.product-points { font-size: 16px; font-weight: 700; color: var(--primary-color); }
.product-info { padding: 12px; }

/* 积分相关 */
.points-card { background: linear-gradient(135deg, #667eea, #764ba2); color: white; padding: 24px; border-radius: var(--radius-lg); margin-bottom: 16px; }
.points-header { font-size: 14px; opacity: 0.9; margin-bottom: 8px; }
.points { font-size: 36px; font-weight: 700; }

/* 个人信息 */
.profile-grid { display: grid; gap: 16px; }
.realname-status { display: inline-block; padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12px; }

/* 返佣卡片 */
.rebate-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.rebate-card { background: var(--bg-white); padding: 16px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.rebate-card-icon { font-size: 24px; margin-bottom: 8px; }
.rebate-card-label { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.rebate-card-value { font-size: 20px; font-weight: 700; color: var(--primary-color); }
.rebate-card-internal { border-left: 4px solid #f59e0b; }
.rebate-card-external { border-left: 4px solid #10b981; }

/* 拒绝信息 */
.accounts-grid .reject-info { 
    background: #fee2e2; 
    border-left: 3px solid var(--danger-color); 
    padding: 6px 8px; 
    border-radius: 4px;
    font-size: 11px; 
    line-height: 1.5;
    color: #991b1b;
    word-wrap: break-word;
    flex: 1 1 100%;  /* 独占一行 */
    margin-top: 4px;
}
.rejection-reason { color: #991b1b; font-size: 13px; }

/* 风险提示 */
.risk-warning { background: #fef3c7; border-left: 4px solid var(--warning-color); padding: 16px; border-radius: var(--radius-md); margin: 16px 0; }
.risk-title { font-size: 14px; font-weight: 600; color: #92400e; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.risk-icon { font-size: 20px; }
.risk-content { font-size: 13px; color: #78350f; line-height: 1.6; }
.risk-text { font-size: 13px; color: #78350f; }
.risk-desc { font-size: 12px; color: #a16207; margin-top: 8px; }

/* 表格增强 */
.table-card { 
    background: var(--bg-white); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-sm); 
    overflow: hidden;  /* 隐藏溢出，保持圆角 */
    margin-bottom: 12px;  /* 添加底部间距 */
}
.table-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 16px 20px; 
    border-bottom: 1px solid var(--border-light); 
    background: var(--bg-white);  /* 确保背景色 */
}
.table-title { 
    font-size: 16px; 
    font-weight: 600; 
    color: var(--text-primary);  /* 确保文字颜色 */
}
.table-wrapper { 
    overflow-x: auto; 
}

/* 标签页 */
.tabs { 
    display: flex; 
    gap: 8px; 
    border-bottom: 2px solid var(--border-light); 
    margin-bottom: 12px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0;
}

.tab { 
    padding: 10px 16px; 
    cursor: pointer; 
    border-bottom: 3px solid transparent; 
    margin-bottom: -2px; 
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 500;
}

.tab:hover {
    background: var(--bg-lighter);
    border-radius: 8px 8px 0 0;
}

.tab.active { 
    border-bottom-color: var(--primary-color); 
    color: var(--primary-color); 
    font-weight: 600;
    background: var(--bg-lighter);
    border-radius: 8px 8px 0 0;
}

.tab-content { 
    padding: 20px 0; 
}

.tab-status { 
    display: inline-block; 
    padding: 2px 8px; 
    border-radius: 12px; 
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}

.tab-status.status-approved {
    background: #d1fae5;
    color: #047857;
}

.tab-status.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.tab-status.status-empty {
    background: #f3f4f6;
    color: #9ca3af;
}

.tab-add-btn { 
    background: var(--primary-gradient);
    color: white; 
    padding: 10px 18px; 
    border-radius: 8px; 
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.tab-add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 工具类扩展 */
.blue { color: #3b82f6; }
.red { color: var(--danger-color); }
.count { background: var(--danger-color); color: white; padding: 2px 6px; border-radius: 10px; font-size: 11px; }
.date { color: var(--text-tertiary); font-size: 12px; }
.disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.empty { text-align: center; padding: 40px 20px; color: var(--text-tertiary); }
.empty-state-icon { font-size: 48px; opacity: 0.3; margin-bottom: 12px; }
.empty-state-text { font-size: 14px; }
.positive { color: var(--success-color); }
.required::after { content: '*'; color: var(--danger-color); margin-left: 4px; }
.subtitle { font-size: 13px; color: var(--text-secondary); margin-top: 4px; }
.summary { display: flex; justify-content: space-between; padding: 16px; background: var(--bg-light); border-radius: var(--radius-md); margin: 16px 0; }
.summary-item { text-align: center; }
.text { color: var(--text-primary); }
.total { font-weight: 700; color: var(--primary-color); }
.type { font-size: 12px; color: var(--text-tertiary); }
.type-badge { display: inline-block; padding: 2px 8px; border-radius: var(--radius-sm); font-size: 11px; background: var(--primary-color); color: white; }
.usd-symbol { color: var(--success-color); font-weight: 600; }
.value { font-size: 24px; font-weight: 700; }

/* 移动端适配 */
@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .rebate-cards { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .detail-row { flex-direction: column; gap: 4px; }
    .detail-label { width: 100%; }
    .tabs { overflow-x: auto; }
    .tab { padding: 10px 16px; white-space: nowrap; }
}

/* ==================== 补充所有缺失的关键类 ==================== */

/* 通用状态类 */
.active { /* 激活状态 - 由JS动态添加 */ }
.member-only { /* 会员专属 - 由JS控制显示 */ }

/* 防止闪烁 - 只隐藏菜单区域，内容区始终可见 */
html:not(.menu-loaded) .sidebar,
html:not(.menu-loaded) .topbar {
    visibility: hidden !important;
}

html.menu-loaded .sidebar,
html.menu-loaded .topbar {
    visibility: visible !important;
}

.highlight { background: #fff3cd; padding: 2px 6px; border-radius: var(--radius-sm); }
.green { color: var(--success-color) !important; }

/* 表单相关 */
.form-title { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 12px; }
.form-subtitle { font-size: 14px; color: var(--text-secondary); text-align: center; margin-bottom: 24px; }
.label { font-size: 13px; font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; display: block; }
.input-wrapper { position: relative; }
.input-hint { font-size: 12px; color: var(--text-tertiary); margin-top: 6px; }

/* 登录/注册容器 */
.login-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.login-card { background: var(--bg-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; max-width: 900px; width: 90%; display: flex; }
.login-left { flex: 1; padding: 48px; background: var(--primary-gradient); color: white; display: flex; flex-direction: column; justify-content: center; }
.login-right { flex: 1; padding: 48px; }
.login-form-wrapper { max-width: 400px; margin: 0 auto; }
.logo { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.register-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.register-form { background: var(--bg-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); padding: 40px; max-width: 500px; width: 100%; }
.reset-container { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.reset-header { text-align: center; margin-bottom: 32px; }
.reset-body { background: var(--bg-white); border-radius: var(--radius-xl); padding: 40px; max-width: 450px; width: 90%; box-shadow: var(--shadow-lg); }
.reset { /* 重置按钮样式继承 */ }

/* 装饰性元素 */
.orb-1, .orb-2, .orb-3 { position: absolute; border-radius: 50%; background: linear-gradient(135deg, rgba(102,126,234,0.15), rgba(118,75,162,0.15)); filter: blur(60px); pointer-events: none; }
.orb-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; bottom: -150px; right: -150px; }
.orb-3 { width: 250px; height: 250px; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* 加载状态 */
.loading-state { text-align: center; padding: 60px 20px; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border-light); border-top-color: var(--primary-color); border-radius: 50%; animation: spin 0.8s linear infinite; margin: 0 auto 16px; }
.loading-text { font-size: 14px; color: var(--text-secondary); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 成功消息 */
.success-message { background: #d1fae5; border-left: 4px solid var(--success-color); color: #065f46; padding: 12px 16px; border-radius: var(--radius-md); margin-bottom: 16px; }

/* 步骤指示器 */
.steps { display: flex; gap: 8px; margin-bottom: 24px; }

/* 邀请相关 */
.invite-card { background: var(--bg-white); padding: 24px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.invite-code-box { background: var(--bg-light); padding: 16px; border-radius: var(--radius-md); margin-bottom: 16px; text-align: center; }
.invite-code-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 8px; }
.invite-code-value { font-size: 24px; font-weight: 700; color: var(--primary-color); font-family: 'Courier New', monospace; }
.invite-url-box { background: var(--bg-light); padding: 12px; border-radius: var(--radius-md); word-break: break-all; font-size: 13px; }
.invitee-list-card { background: var(--bg-white); padding: 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.invitee-table-wrapper { overflow-x: auto; margin-top: 16px; }
.invitee-table { width: 100%; border-collapse: collapse; }
.invitee-table th { background: linear-gradient(135deg, #f8f9ff 0%, #f0f5ff 100%); padding: 14px; text-align: center; font-size: 13px; font-weight: 600; color: #667eea; border-bottom: 2px solid #667eea; }
.invitee-table td { padding: 14px; border-bottom: 1px solid var(--border-light); font-size: 13px; color: #333; text-align: center; }
.invitee-table tbody tr { transition: all 0.2s ease; }
.invitee-table tbody tr:hover { background: linear-gradient(135deg, #fafbff 0%, #f5f7ff 100%); transform: translateX(2px); }
.status-badge { padding: 5px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; display: inline-block; }
.status-badge.active { background: linear-gradient(135deg, #f6ffed 0%, #e6f7e6 100%); color: #52c41a; border: 1px solid #b7eb8f; }
.status-badge.registered { background: linear-gradient(135deg, #fff7e6 0%, #fffbf0 100%); color: #fa8c16; border: 1px solid #ffe7ba; }

/* 历史记录 */
.history-list { display: flex; flex-direction: column; gap: 12px; }
.history-item { background: var(--bg-white); padding: 16px; border-radius: var(--radius-lg); border: 1px solid var(--border-light); transition: all var(--transition-fast); }
.history-item:hover { border-color: var(--primary-color); box-shadow: var(--shadow-sm); }
.history-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.history-status { padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 500; }
.history-amount { font-size: 20px; font-weight: 700; color: var(--primary-color); }
.history-details { display: grid; gap: 8px; }
.history-detail-item { display: flex; justify-content: space-between; font-size: 13px; }
.history-detail-label { color: var(--text-secondary); }
.history-detail-value { color: var(--text-primary); font-weight: 500; }

/* 平台卡片 */
.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.platform-card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 20px; transition: all var(--transition-normal); }
.platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.platform-header { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.platform-header-content { flex: 1; }
.platform-icon { font-size: 48px; }
.platform-logo { width: 80px; height: 80px; object-fit: contain; }
.platform-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.platform-link { color: var(--primary-color); text-decoration: none; font-size: 13px; font-weight: 500; }
.platform-link:hover { text-decoration: underline; }

/* 统计卡片扩展 */
.stat-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.stat-card-icon { font-size: 28px; }
.stat-card-title { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.stat-card-value { font-size: 24px; font-weight: 700; color: var(--primary-color); margin-bottom: 8px; }
.stat-card-desc { font-size: 12px; color: var(--text-tertiary); }

/* 快速日期选择 */
.quick-dates { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.quick-date-btn { padding: 6px 12px; border-radius: var(--radius-md); background: var(--bg-lighter); border: 1px solid var(--border-color); cursor: pointer; font-size: 12px; transition: all var(--transition-fast); }
.quick-date-btn:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.quick-date-btn.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* 订单时间 */
.order-time { font-size: 12px; color: var(--text-tertiary); }

/* 分页 */
.page { padding: 6px 10px; border: 1px solid var(--border-color); background: var(--bg-white); border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; }
.page:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); }
.page.active { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* 链接 */
.link { color: var(--primary-color); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ==================== 返佣明细页面优化 ==================== */

/* 统计卡片增强效果 */
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card-icon {
    font-size: 32px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-card-icon {
    transform: scale(1.1);
    opacity: 1;
}

.stat-card-value {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 筛选卡片优化 */
.filter-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 12px;
}

.filter-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.filter-item label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-weight: 500;
}

.filter-item select,
.filter-item input[type="date"] {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    transition: all 0.2s ease;
}

.filter-item select:focus,
.filter-item input[type="date"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* 快速日期按钮优化 */
.quick-dates {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.quick-date-btn {
    padding: 5px 10px;
    border-radius: var(--radius-md);
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.quick-date-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.quick-date-btn.active {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

/* 筛选操作按钮区 */
.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* 表格增强样式 */
.data-table thead {
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
}

.data-table thead th {
    color: var(--primary-color);
    font-weight: 600;
}

.data-table tbody tr {
    transition: all 0.2s ease;
}

.data-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05), transparent);
    transform: scale(1.001);
}

/* 类型徽章优化 */
.type-badge {
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
}

.type-badge.type-internal {
    background: linear-gradient(135deg, #fff7e6, #ffe7ba);
    color: #d46b08;
}

.type-badge.type-external {
    background: linear-gradient(135deg, #f0f9ff, #d1e7ff);
    color: #1890ff;
}

/* 佣金显示优化 */
.amount.positive {
    color: var(--success-color);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* 分页样式优化 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 20px;
}

.pagination button {
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.2);
}

.pagination button.current {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* 响应式优化 */
@media (max-width: 1200px) {
    .filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-dates {
        justify-content: center;
    }
    
    .filter-actions {
        justify-content: stretch;
    }
    
    .filter-actions button {
        flex: 1;
    }
}

/* ==================== 提现页面优化 ==================== */

/* 余额卡片 */
.withdrawal-balance-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
}

.balance-icon {
    font-size: 48px;
    opacity: 0.9;
}

.balance-content {
    flex: 1;
}

.balance-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin-bottom: 8px;
}

.balance-amount {
    color: white;
    font-size: 36px;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* 申请提现卡片美化 */
.withdrawal-form-section .card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.withdrawal-form-section .card:hover {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.withdrawal-form-section .card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* 表单美化 */
.withdrawal-form-section .form-group {
    margin-bottom: 12px;
}

.withdrawal-form-section .form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.withdrawal-form-section input[type="number"],
.withdrawal-form-section select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.withdrawal-form-section input[type="number"]:focus,
.withdrawal-form-section select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.withdrawal-form-section .help-text {
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

/* 账户选择区域 */
#account-selection {
    margin-bottom: 12px;
}

#account-selection label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

#account-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding: 4px;
}

/* 账户卡片美化 */
/* 提现页面账户选择卡片 */
.withdrawal-form-section .account-item,
#account-list .account-item {
    padding: 18px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.withdrawal-form-section .account-item:hover,
#account-list .account-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.withdrawal-form-section .account-item.selected,
#account-list .account-item.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.08));
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25);
}

.account-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.account-item-type {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.account-item-info {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 摘要卡片美化 */
#summary.summary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 12px 0;
    border: 2px solid #7dd3fc;
}

#summary .summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 500;
}

#summary .summary-item.total {
    border-top: 2px solid #38bdf8;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 汇率显示卡片美化 */
.rate-display {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 18px;
    margin: 12px 0;
    border: 2px solid #fbbf24;
}

.rate-display-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rate-display-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
}

.rate-display-value {
    color: #d97706;
    font-size: 20px;
    font-weight: 700;
}

.rate-display-hint {
    margin-top: 10px;
    font-size: 13px;
    color: #92400e;
    font-weight: 500;
}

/* 提交按钮美化 */
.withdrawal-form-section .btn-primary {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.withdrawal-form-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* 主内容区布局 */
.withdrawal-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.withdrawal-form-section {
    grid-column: 1;
}

.withdrawal-history-section {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.withdrawal-history-section .card {
    position: sticky;
    top: 80px;
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    padding: 24px;
}

.withdrawal-history-section .card-title {
    margin-bottom: 20px;
    flex-shrink: 0;
}

.withdrawal-history-section .history-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}

/* 美化滚动条 */
.withdrawal-history-section .history-list::-webkit-scrollbar {
    width: 6px;
}

.withdrawal-history-section .history-list::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 3px;
}

.withdrawal-history-section .history-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.withdrawal-history-section .history-list::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* 响应式优化 - 移动端全面优化 */
@media (max-width: 768px) {
    /* 余额卡片优化 */
    .withdrawal-balance-card {
        padding: 16px;
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .balance-icon {
        font-size: 36px;
    }
    
    .balance-amount {
        font-size: 24px;
    }
    
    .balance-label {
        font-size: 13px;
    }
    
    /* 主布局改为单列 */
    .withdrawal-main {
        grid-template-columns: 1fr;
        width: 100%;
        overflow: hidden;
        gap: 12px;
    }
    
    .withdrawal-form-section,
    .withdrawal-history-section {
        grid-column: 1;
        width: 100%;
        min-width: 0;
        overflow: hidden;
    }
    
    /* 卡片内边距调整 */
    .withdrawal-form-section .card,
    .withdrawal-history-section .card {
        padding: 16px;
        border-radius: 12px;
    }
    
    .withdrawal-form-section .card-title,
    .withdrawal-history-section .card-title {
        font-size: 16px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }
    
    /* 历史记录区域优化 */
    .withdrawal-history-section .card {
        position: relative;
        top: 0;
        max-height: none;
        height: auto;
    }
    
    .withdrawal-history-section .history-list {
        max-height: 400px;
        overflow-y: auto;
    }
    
    /* 表单元素移动端优化 */
    .withdrawal-form-section input[type="number"],
    .withdrawal-form-section select {
        padding: 10px 12px;
        font-size: 16px !important; /* 防止iOS自动缩放 */
        border-radius: 8px;
    }
    
    .withdrawal-form-section .form-group label {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    /* 提现金额输入区优化 */
    .withdrawal-form-section .form-group > div {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .withdrawal-form-section .form-group > div > div {
        width: 100% !important;
    }
    
    /* 全提按钮移动端优化 */
    .withdrawal-form-section .form-group > div > button {
        width: 100% !important;
        min-width: 100% !important;
        height: 44px !important;
        font-size: 14px !important;
        padding: 0 16px !important;
    }
    
    /* 账户列表优化 */
    #account-list {
        max-height: none;
        gap: 10px;
    }
    
    .withdrawal-form-section .account-item,
    #account-list .account-item {
        padding: 10px;
        border-radius: 8px;
    }
    
    .account-item-type {
        font-size: 14px;
    }
    
    .account-item-info {
        font-size: 13px;
    }
    
    /* 账户操作按钮 */
    .account-item button {
        padding: 6px 10px !important;
        font-size: 11px !important;
        border-radius: 4px !important;
    }
    
    /* 摘要卡片优化 */
    #summary.summary {
        padding: 10px;
        margin: 10px 0;
        border-radius: 8px;
    }
    
    #summary .summary-item {
        padding: 6px 0;
        font-size: 13px;
    }
    
    #summary .summary-item.total {
        font-size: 15px;
        padding-top: 10px;
        margin-top: 6px;
    }
    
    /* 汇率显示优化 */
    .rate-display {
        padding: 10px;
        margin: 10px 0;
        border-radius: 8px;
    }
    
    .rate-display-label {
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .rate-display-value {
        font-size: 16px;
    }
    
    .rate-display-hint {
        font-size: 11px;
        margin-top: 6px;
    }
    
    /* 提交按钮优化 */
    .withdrawal-form-section .btn-primary {
        padding: 12px 20px;
        font-size: 15px;
        border-radius: 8px;
        height: 48px;
    }
    
    /* 历史记录项优化 */
    .history-item {
        padding: 10px;
        border-radius: 8px;
    }
    
    .history-amount {
        font-size: 16px;
    }
    
    .history-status {
        font-size: 11px;
        padding: 3px 8px;
    }
    
    .history-detail-item {
        font-size: 12px;
    }
    
    /* 提现规则说明优化 */
    .fee-info {
        font-size: 12px;
        line-height: 1.6;
        padding: 10px;
        background: #f9fafb;
        border-radius: 8px;
        margin-bottom: 12px;
    }
    
    .fee-info strong {
        font-size: 13px;
    }
}

/* ==================== 返佣明细页面进阶优化 ==================== */

/* 统计卡片网格渐变背景 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--content-spacing);
    margin-bottom: var(--content-spacing);
    padding: 4px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border-radius: var(--radius-lg);
}

/* 统计卡片图标颜色 */
.stat-card:nth-child(1) .stat-card-icon { color: #fbbf24; }
.stat-card:nth-child(2) .stat-card-icon { color: #3b82f6; }
.stat-card:nth-child(3) .stat-card-icon { color: #8b5cf6; }
.stat-card:nth-child(4) .stat-card-icon { color: #10b981; }

/* 筛选卡片渐变边框 */
.filter-card {
    position: relative;
    border: 1px solid transparent;
    background-clip: padding-box;
}

.filter-card::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* 不阻挡点击事件 */
}

.filter-card:hover::before {
    opacity: 1;
}

/* 表格卡片优化 */
.table-card {
    position: relative;
}

.table-title {
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 表格头部阴影效果 */
.table-header {
    position: relative;
}

.table-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

/* 表格数据行动画 - 已禁用 */
/*
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.data-table tbody tr {
    animation: slideIn 0.3s ease;
}

.data-table tbody tr:nth-child(1) { animation-delay: 0.05s; }
.data-table tbody tr:nth-child(2) { animation-delay: 0.1s; }
.data-table tbody tr:nth-child(3) { animation-delay: 0.15s; }
.data-table tbody tr:nth-child(4) { animation-delay: 0.2s; }
.data-table tbody tr:nth-child(5) { animation-delay: 0.25s; }
*/

/* 平台徽章光泽效果 */
.data-table .platform-badge {
    position: relative;
    overflow: hidden;
}

.data-table .platform-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.data-table tr:hover .platform-badge::after {
    transform: translateX(100%);
}

/* 佣金金额闪光效果 */
.amount.positive {
    position: relative;
    text-shadow: 0 0 10px rgba(82, 196, 26, 0.2);
}

/* 空状态优化 */
.empty-state {
    padding: 80px 20px;
}

.empty-state .icon {
    font-size: 64px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 加载状态优化 */
.empty-state p {
    margin-top: 16px;
    color: var(--text-tertiary);
    font-size: 14px;
}

/* 快速日期按钮图标动画 */
.quick-date-btn:hover {
    animation: pulse 0.6s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 筛选标题图标旋转效果 */
.filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-card:hover .filter-title {
    color: var(--primary-color);
}

/* 按钮组优化 */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-lighter);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--bg-white);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* 滚动条美化 */
.table-container::-webkit-scrollbar {
    height: 8px;
    background: transparent;
}

.table-container::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 4px;
    margin: 0 20px;
}

.table-container::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #764ba2, #667eea);
}

/* ==================== 返佣明细页面极致优化 ==================== */

/* 统计卡片数值跳动加载效果 - 已禁用 */
/*
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card-value {
    animation: countUp 0.6s ease;
}
*/

/* 统计卡片描述文本优化 */
.stat-card-desc {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 4px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.stat-card:hover .stat-card-desc {
    opacity: 1;
}

/* 表单输入框增强效果 */
.filter-item input[type="date"],
.filter-item select {
    background: linear-gradient(to bottom, var(--bg-white), var(--bg-lighter));
}

.filter-item input[type="date"]:hover,
.filter-item select:hover {
    border-color: var(--primary-color);
    background: var(--bg-white);
}

/* 表格头部固定 */
.data-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 表格单元格内容对齐优化 */
.data-table td:first-child,
.data-table th:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

/* 平台徽章阴影效果 */
.data-table .platform-badge {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.data-table tr:hover .platform-badge {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* 类型徽章阴影效果 */
.type-badge {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.data-table tr:hover .type-badge {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* 佣金金额加粗显示 */
.data-table .amount {
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* 表格边框优化 */
.data-table {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* 分页信息显示 */
.pagination {
    position: relative;
}

.pagination::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* 分页按钮数字 */
.pagination button {
    min-width: 36px;
    font-weight: 500;
}

/* 表格卡片顶部装饰 */
.table-header {
    padding: 16px 20px;
    background: linear-gradient(to bottom, var(--bg-white), rgba(102, 126, 234, 0.02));
}

/* 筛选区域分割线 */
.quick-dates {
    position: relative;
    padding-bottom: 16px;
}

.quick-dates::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* 空状态提示优化 */
.empty-state {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(118, 75, 162, 0.03));
    border-radius: var(--radius-lg);
    margin: 20px;
}

/* 加载中旋转动画 */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.empty-state .icon {
    display: inline-block;
}

/* 表格容器阴影 */
.table-container {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* 快速日期按钮图标 */
.quick-date-btn {
    font-weight: 500;
    position: relative;
}

/* 筛选按钮图标 */
.filter-actions .btn {
    font-weight: 500;
    min-width: 100px;
}

/* 表格卡片阴影增强 */
.table-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.table-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* 统计卡片头部样式 */
.stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.stat-card-title {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 表格数据行交替背景 */
.data-table tbody tr:nth-child(even) {
    background: rgba(102, 126, 234, 0.01);
}

/* 表格商品列字体 */
.data-table td:nth-child(7) {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    color: var(--text-primary);
}

/* 账号列字体 */
.data-table td:nth-child(4) {
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
}

/* 订单号列字体 */
.data-table td:nth-child(3) {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 手数和点差列对齐 */
.data-table td:nth-child(8),
.data-table td:nth-child(9) {
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
}

/* 日期列字体 */
.data-table td:nth-child(11),
.data-table td:nth-child(12) {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 响应式统计卡片动画优化 - 已禁用 */
/*
@media (max-width: 768px) {
    .stat-card {
        animation: countUp 0.4s ease;
    }
    
    .stat-card:nth-child(1) { animation-delay: 0.1s; }
    .stat-card:nth-child(2) { animation-delay: 0.2s; }
    .stat-card:nth-child(3) { animation-delay: 0.3s; }
    .stat-card:nth-child(4) { animation-delay: 0.4s; }
}
*/

/* ==================== 表格精致美化 ==================== */

/* 表格容器高级样式 */
.table-container {
    position: relative;
    background: var(--bg-white);
}

/* 表格整体样式 */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    position: relative;
}

/* 表头简洁样式 */
.data-table thead {
    background: var(--bg-lighter);
    position: sticky;
    top: 0;
    z-index: 10;
}

.data-table thead th {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15px;
    padding: 18px 12px;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    background: var(--bg-lighter);
    white-space: nowrap;
    vertical-align: middle;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/* 表格数据行 */
.data-table tbody tr {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

/* 表格单元格完美居中 */
.data-table tbody td {
    padding: 16px 12px;
    text-align: center;
    vertical-align: middle;
    color: var(--text-primary);
    font-size: 15px;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    font-weight: 500;
}

/* 编号列 */
.data-table tbody td:nth-child(1) {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 15px;
}

/* 平台徽章简洁样式 */
.data-table .platform-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    vertical-align: middle;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/* 平台列单元格确保居中 */
.data-table tbody td:nth-child(2) {
    text-align: center !important;
    vertical-align: middle !important;
}

.data-table .platform-badge.platform-exness {
    background: #e6f0ff;
    color: #1e40af;
}

.data-table .platform-badge.platform-xm {
    background: #fff4e6;
    color: #c2410c;
}

/* 类型徽章 */
.type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    vertical-align: middle;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.type-badge.type-internal {
    background: #fef3c7;
    color: #92400e;
}

.type-badge.type-external {
    background: #dbeafe;
    color: #1e40af;
}

/* 佣金金额 */
.data-table .amount.positive {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    font-weight: 700;
    color: #059669;
    font-size: 16px;
}

/* 订单号 */
.data-table tbody td:nth-child(3) {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 账号 */
.data-table tbody td:nth-child(4) {
    font-family: 'Courier New', monospace;
    font-weight: 500;
    color: var(--text-secondary);
}

/* 商品 */
.data-table tbody td:nth-child(7) {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--text-primary);
}

/* 手数和点差 */
.data-table tbody td:nth-child(8),
.data-table tbody td:nth-child(9) {
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
}

/* 日期 */
.data-table tbody td:nth-child(11),
.data-table tbody td:nth-child(12) {
    font-size: 12px;
    color: var(--text-tertiary);
}

/* 表格卡片 */
.table-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* 表格标题 */
.table-header {
    padding: 16px 20px;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state .icon {
    font-size: 48px;
    opacity: 0.3;
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-tertiary);
    font-size: 14px;
}

/* 模态框关闭 */
.modal-close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg-lighter); border: none; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: all var(--transition-fast); }
.modal-close:hover { background: var(--danger-color); color: white; }

/* 移动端风险提示 */
.mobile-risk { display: none; }

/* 用户真实姓名显示 */
.user-real-name-display { font-weight: 600; color: var(--text-primary); }

/* 错误提示 */
.receiver-name-error, .receiver-phone-error, .receiver-address-error { color: var(--danger-color); font-size: 12px; margin-top: 4px; display: none; }
.receiver-name-error.show, .receiver-phone-error.show, .receiver-address-error.show { display: block; }

/* 移动端适配 */
@media (max-width: 768px) {
    .mobile-risk { display: block; }
    .login-card { flex-direction: column; }
    .login-left { padding: 32px 24px; }
    .login-right { padding: 32px 24px; }
    .register-form { padding: 24px; }
    .reset-body { padding: 24px; }
    .orb-1, .orb-2, .orb-3 { display: none; }
    .quick-dates { justify-content: flex-start; }
}

/* ==================== 最后补充的缺失类 ==================== */

/* 金额显示 */
.amount {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: var(--text-primary);
}

/* 风险警告内容 */
.risk-warning-content {
    font-size: 13px;
    color: #78350f;
    line-height: 1.6;
}

/* JS动态类占位 */
.currentPage { /* 当前页码 - 由JS控制 */ }
.platformName { /* 平台名称 - 由JS填充 */ }

/* ==================== 统一间距工具类 ==================== */
/* 上间距 */
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: 4px !important; }
.mt-8 { margin-top: 8px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-24 { margin-top: 24px !important; }

/* 下间距 */
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: 4px !important; }
.mb-8 { margin-bottom: 8px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }

/* 左右间距 */
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

/* 内边距 */
.p-0 { padding: 0 !important; }
.p-12 { padding: 12px !important; }
.p-16 { padding: 16px !important; }
.p-20 { padding: 20px !important; }
.p-24 { padding: 24px !important; }

/* ==================== 钱包流水筛选区域增强 ==================== */
.filter-section {
    background: var(--bg-white);
    padding: 20px;  /* 与filter-card保持一致 */
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
}

.filter-header {
    margin-bottom: 12px;
}

.filter-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.quick-dates {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.quick-date-btn {
    padding: 6px 12px;
    border-radius: var(--radius-md);
    background: var(--bg-lighter);
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 12px;
    transition: all var(--transition-fast);
    color: var(--text-secondary);
}

.quick-date-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quick-date-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 600;
}

.filter-compact {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-item.type {
    flex: 0 0 150px;
}

.filter-item.date {
    flex: 0 0 140px;
}

.filter-item.search {
    flex: 1;
    min-width: 200px;
}

.filter-item.actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: flex-end;
}

.filter-item label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.action-btn.reset {
    background: var(--bg-lighter);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.action-btn.reset:hover {
    background: var(--bg-light);
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.action-btn.search {
    background: var(--primary-gradient);
    color: white;
}

.action-btn.search:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* ==================== 钱包流水页面白色背景补充 ==================== */
.table-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;  /* 与table-card一致 */
    margin-bottom: 16px;
}

.table-wrapper .table-container {
    overflow-x: auto;
}

.page-header {
    background: var(--bg-white);
    padding: 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stats-grid {
    margin-bottom: 16px;
}

/* ==================== 提现流程优化 ==================== */

/* 提现步骤 */
.withdrawal-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
}

.withdrawal-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: var(--border-light);
    z-index: 0;
}

.withdrawal-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-lighter);
    border: 2px solid var(--border-color);
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-tertiary);
    transition: all 0.3s ease;
}

.withdrawal-step.active .step-circle {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.withdrawal-step.completed .step-circle {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.withdrawal-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* 账户列表优化 */
#account-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 400px;
    overflow-y: auto;
    padding: 4px;
}

/* 提现页面账户选择卡片 - 移动端 */
.withdrawal-main .account-item {
    padding: 16px;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-white);
}

.withdrawal-main .account-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.withdrawal-main .account-item.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

/* 摘要信息优化 */
.summary {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #7dd3fc;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-primary);
}

.summary-item.total {
    border-top: 2px solid #38bdf8;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 汇率显示优化 */
.rate-display {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    border: 2px solid #fbbf24;
}

.rate-display-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #92400e;
}

.rate-display-value {
    color: #d97706;
    font-size: 18px;
    font-weight: 700;
}

.rate-display-hint {
    margin-top: 8px;
    font-size: 12px;
    color: #92400e;
}

/* 提现历史优化 */
.history-item {
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.history-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* 移动端优化 */
@media (max-width: 768px) {
    .withdrawal-steps {
        margin-bottom: 20px;
    }
    
    .step-circle {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    #account-list {
        max-height: 300px;
    }
}


/* ========== 深度优化：无障碍 + 工具类 ========== */

/* prefers-reduced-motion: 尊重用户动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* :focus-visible: 键盘焦点环（不影响鼠标点击） */
:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
:focus:not(:focus-visible) {
    outline: none;
}

/* 打印样式 */
@media print {
    .sidebar, .topbar, .mobile-menu-btn, .customer-service-float,
    .back-to-top, .ns-bar, .skip-link, nav[class*="menu"] {
        display: none !important;
    }
    .main-content {
        margin: 0 !important;
        padding: 0 !important;
    }
    body {
        background: #fff !important;
    }
}

/* 工具类：替代常见内联样式 */
.fc-dn{display:none!important}
.fc-mono{font-family:monospace}
.fc-fs12{font-size:12px}
.fc-fs13{font-size:13px}
.fc-fs14{font-size:14px}
.fc-fs15{font-size:15px}
.fc-fs18{font-size:18px}
.fc-fs42{font-size:42px}
.fc-tc{text-align:center}
.fc-bold{font-weight:600}
.fc-text-3{color:var(--fc-text-3,#64748b)}
.fc-text-4{color:var(--fc-text-4,#94a3b8)}
.fc-amber{color:var(--fc-amber,#f59e0b)}
.fc-mt4{margin-top:4px}
.fc-mt8{margin-top:8px}
.fc-mb6{margin-bottom:6px}
.fc-mb8{margin-bottom:8px}
.fc-ml8{margin-left:8px}
.fc-field-val{padding:11px 14px;background:#f8fafc;border-radius:10px;font-size:14px;color:var(--fc-text-2,#334155)}
.fc-qr-img{max-width:180px;max-height:180px;border-radius:8px;border:1px solid var(--fc-border,#e2e8f0)}
.fc-qr-sm{max-width:70px;max-height:70px;border-radius:6px;border:1px solid var(--fc-border,#e2e8f0)}
.fc-sub-info{color:var(--fc-text-4,#94a3b8);font-size:12px;margin-left:8px}
.fc-sub-info-mt{color:var(--fc-text-4,#94a3b8);font-size:12px;margin-top:4px}
.fc-bold-text{font-weight:600;color:var(--fc-text,#0f172a)}
.fc-empty-state{text-align:center;padding:40px 20px;background:#f8fafc;border-radius:12px;border:2px dashed var(--fc-border,#e2e8f0)}
.fc-warn-box{background:#fffbeb;border:1px solid #fde68a;border-radius:10px;padding:14px;margin-top:12px}
.fc-reject-info{margin-top:8px;padding:10px;background:#fef2f2;border-left:3px solid var(--fc-red,#ef4444);border-radius:0 6px 6px 0;font-size:13px;color:var(--fc-text-3,#64748b)}
.fc-refresh-btn{background:none;border:none;color:var(--fc-primary,#2563eb);cursor:pointer;font-size:14px}
.fc-panel-flex{display:flex;justify-content:space-between;align-items:center}
.fc-account-empty{text-align:center;padding:30px 20px;color:var(--fc-text-3,#64748b);font-size:14px}
.fc-add-account-btn{background:var(--fc-text,#0f172a);color:#fff;border:none;padding:12px 24px;border-radius:8px;cursor:pointer;font-size:14px}
.fc-account-mono{font-family:monospace;font-size:12px;word-break:break-all;margin-top:4px;padding:4px 8px;background:#f8fafc;border-radius:4px}

/* 更多内联样式工具类 */
.fc-red-text{color:#ef4444}
.fc-red-text-lg{color:#ef4444;font-size:18px}
.fc-emerald-text{color:var(--fc-emerald,#10b981)}
.fc-text-2{color:var(--fc-text-2,#334155)}
.fc-badge-blue{background:#2563eb;border-radius:0 0 8px 0;color:#fff;font-size:14px;left:0;padding:8px 16px;position:absolute;top:0;z-index:1}
.fc-empty-center{color:var(--fc-text-4,#94a3b8);font-size:14px;padding:20px;text-align:center}
.fc-panel-head{align-items:center;display:flex;justify-content:space-between}
.fc-link-btn{background:none;border-radius:8px;border:none;color:var(--fc-primary,#2563eb);cursor:pointer;font-size:14px}
.fc-amber-box{background:#fffbeb;border-radius:10px;border:1px solid #fde68a;color:var(--fc-amber,#f59e0b);font-size:13px;padding:14px;margin-top:12px}
.fc-error-note{background:#fef2f2;border-left:3px solid var(--fc-red,#ef4444);border-radius:6px;color:#991b1b;font-size:11px;padding:8px 12px}
.fc-add-account-cta{background:var(--fc-text,#0f172a);border-radius:10px;border:none;color:white;cursor:pointer;font-size:14px;font-weight:600;padding:12px 24px}
.fc-stat-big{font-size:42px;margin-bottom:14px}
.fc-stat-label{color:var(--fc-text-3,#64748b);font-size:15px;font-weight:600;margin-bottom:6px}
.fc-stat-sub{color:var(--fc-text-4,#94a3b8);font-size:13px;margin-bottom:18px}
.fc-flex-none-sm{flex:none;font-size:13px;padding:8px 16px}
.fc-bg-light-blue{background:#eff6ff}
.fc-mall-info-box{background:#f8fafc;border-radius:8px;margin-top:12px;padding:10px 12px}
.fc-mall-info-label{color:var(--fc-text-4,#94a3b8);font-size:11px;margin-bottom:4px}
.fc-mall-info-text{color:var(--fc-text,#0f172a);font-size:13px;line-height:1.6}
.fc-mall-price{color:var(--fc-primary,#2563eb);font-size:18px;font-weight:800}
.fc-mall-title{color:var(--fc-text,#0f172a);font-size:15px;font-weight:700;margin-bottom:8px}

.skip-link{position:absolute;top:-9999px;left:0;z-index:10001;padding:8px 16px;background:#2563eb;color:#fff;border-radius:0 0 8px 0;font-size:14px;text-decoration:none}.skip-link:focus{top:0}
