/* 自定义样式 */

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.jumbotron {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* 卡片阴影效果 */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: 1px solid rgba(0, 0, 0, 0.125);
    transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

/* 状态标签样式 */
.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-uploading {
    background-color: #cce5ff;
    color: #004085;
    border: 1px solid #80ccff;
}

.status-success {
    background-color: #d1edff;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-failed {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 表格样式优化 */
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.035);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 多行运单号输入框样式 */
.waybill-textarea {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    resize: vertical;
    min-height: 80px;
    background-color: #fafafa;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.waybill-textarea:focus {
    background-color: #fff;
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.waybill-textarea::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

/* 搜索表单优化 */
.search-form {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

/* 分页样式 */
.pagination .page-link {
    color: #007bff;
    border-color: #dee2e6;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

/* 按钮组优化 */
.btn-group-sm > .btn, .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

/* 模态框优化 */
.modal-lg {
    max-width: 900px;
}

/* 文件预览样式 */
.file-preview {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 0.5rem;
    background-color: #f8f9fa;
}

/* 进度条样式 */
.progress-sm {
    height: 0.5rem;
}

/* 响应式表格优化 */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.3rem;
    }
    
    .btn-group-vertical {
        width: 100%;
    }
    
    .search-form .row {
        margin: 0;
    }
    
    .search-form .col-md-3,
    .search-form .col-md-4,
    .search-form .col-md-2 {
        margin-bottom: 1rem;
    }
}

/* 统计卡片样式 */
.stats-card {
    background: linear-gradient(45deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #007bff;
}

.stats-card.success {
    border-left-color: #28a745;
}

.stats-card.warning {
    border-left-color: #ffc107;
}

.stats-card.danger {
    border-left-color: #dc3545;
}

/* 导航栏激活状态 */
.navbar-nav .nav-link.active {
    font-weight: 600;
    color: #fff !important;
}

/* 工具提示样式 */
.tooltip-inner {
    max-width: 200px;
    text-align: left;
}

/* 粘性表头样式 */
.table-responsive.sticky-table-wrapper {
    overflow-x: auto;
    overflow-y: visible;
    position: relative;
    max-width: 100%;
}

.sticky-table {
    width: 100%;
    table-layout: auto;
    border-collapse: separate;
    border-spacing: 0;
}

/* 表格头部默认样式 */
.sticky-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
    padding: 0.75rem;
    vertical-align: middle;
    white-space: nowrap;
}

/* 表格头部浮动固定样式 */
.sticky-table thead.sticky-header {
    position: fixed;
    top: 60px;
    z-index: 998;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease-in-out;
}

.sticky-table thead.sticky-header th {
    background-color: #fff;
}

/* 固定列样式 */
.sticky-col {
    position: sticky;
    background-color: #fff !important;
    z-index: 999;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.1);
}

.sticky-col-first {
    left: 0;
}

.sticky-col-second {
    left: 50px;
}

.sticky-col-third {
    left: 90px;
}

/* 固定操作列 */
.sticky-col-last {
    right: 0;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
}

/* 确保固定列在表头滚动时保持正确位置 */
.sticky-table thead.sticky-header .sticky-col {
    z-index: 101;
}

/* 表格主体固定列样式 */
.sticky-table tbody td.sticky-col {
    background-color: #fff;
}

.sticky-table tbody tr:hover td.sticky-col {
    background-color: rgba(0, 0, 0, 0.035);
}

/* 运单号列宽度优化 */
.sticky-table td:nth-child(3),
.sticky-table th:nth-child(3) {
    min-width: 150px;
    max-width: 250px;
    word-break: break-all;
}

/* 页面主体恢复滚动 */
.main-content {
    height: auto;
    overflow: visible;
    padding: 0;
}

/* 页面容器恢复滚动 */
.page-container {
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* 页面头部固定 */
.page-header {
    flex-shrink: 0;
    background-color: #fff;
    padding: 0.5rem 0;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

/* 统计区域固定 */
.statistics-area {
    flex-shrink: 0;
    background-color: #fff;
    padding: 1rem 0;
    margin-bottom: 1rem;
    z-index: 999;
}

/* 搜索区域固定 */
.search-area {
    flex-shrink: 0;
    background-color: #fff;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* 批量操作区域固定 */
.batch-action-bar {
    flex-shrink: 0;
    position: static; /* 改为static，不再使用sticky */
    background-color: #fff;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

/* 主内容区域占据剩余空间 */
.main-content-wrapper {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 三段式表格布局 - 设置固定高度 */
.table-container {
    display: flex;
    flex-direction: column;
    height: 70vh; /* 设置固定高度为视口高度的70% */
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
}

.table-header-wrapper {
    flex-shrink: 0; /* 防止头部被压缩 */
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.table-body-wrapper {
    flex: 1; /* 占据剩余空间 */
    overflow-y: auto; /* 垂直滚动 */
    overflow-x: auto; /* 水平滚动 */
    position: relative;
}

.table-footer-wrapper {
    flex-shrink: 0; /* 防止底部被压缩 */
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* 确保表格头部和内容对齐 */
.table-header-wrapper .sticky-table-wrapper,
.table-body-wrapper .sticky-table-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
}

/* 表格样式优化 */
.table-body-wrapper .sticky-table {
    margin-bottom: 0;
}

.table-header-wrapper .sticky-table thead th {
    border-top: none;
}

/* 表格列宽同步 */
.table-header-wrapper .sticky-table th,
.table-body-wrapper .sticky-table td,
.table-body-wrapper .sticky-table th {
    width: auto;
    min-width: 150px; /* 设置最小宽度，确保列宽合理 */
    white-space: normal; /* 允许换行 */
    word-wrap: break-word; /* 允许长单词换行 */
}

/* 特殊列宽度调整 */
.table-header-wrapper .sticky-table th.sticky-col-first,
.table-body-wrapper .sticky-table td.sticky-col-first,
.table-body-wrapper .sticky-table th.sticky-col-first {
    min-width: 50px;
    max-width: 50px;
}

.table-header-wrapper .sticky-table th.sticky-col-second,
.table-body-wrapper .sticky-table td.sticky-col-second,
.table-body-wrapper .sticky-table th.sticky-col-second {
    min-width: 40px;
    max-width: 40px;
}

.table-header-wrapper .sticky-table th.sticky-col-third,
.table-body-wrapper .sticky-table td.sticky-col-third,
.table-body-wrapper .sticky-table th.sticky-col-third {
    min-width: 150px;
    max-width: 150px;
}

/* 操作列宽度 */
.table-header-wrapper .sticky-table th.sticky-col-last,
.table-body-wrapper .sticky-table td.sticky-col-last,
.table-body-wrapper .sticky-table th.sticky-col-last {
    min-width: 150px;
}

/* 特定内容列宽度优化 */
.table-header-wrapper .sticky-table th:nth-child(4), /* 版本号 */
.table-body-wrapper .sticky-table td:nth-child(4),
.table-body-wrapper .sticky-table th:nth-child(4) {
    min-width: 80px;
}

.table-header-wrapper .sticky-table th:nth-child(12), /* 上传状态 */
.table-body-wrapper .sticky-table td:nth-child(12),
.table-body-wrapper .sticky-table th:nth-child(12) {
    min-width: 100px;
}

.table-header-wrapper .sticky-table th:nth-child(14), /* 客户尾程单号 */
.table-body-wrapper .sticky-table td:nth-child(14),
.table-body-wrapper .sticky-table th:nth-child(14) {
    min-width: 160px;
}

.table-header-wrapper .sticky-table th:nth-child(21), /* 标签上传时间 */
.table-body-wrapper .sticky-table td:nth-child(21),
.table-body-wrapper .sticky-table th:nth-child(21) {
    min-width: 160px;
}

.table-header-wrapper .sticky-table th:nth-child(22), /* 计划海外操作时间 */
.table-body-wrapper .sticky-table td:nth-child(22),
.table-body-wrapper .sticky-table th:nth-child(22) {
    min-width: 160px;
}

.table-header-wrapper .sticky-table th:nth-child(24), /* 海外仓状态更新时间 */
.table-body-wrapper .sticky-table td:nth-child(24),
.table-body-wrapper .sticky-table th:nth-child(24) {
    min-width: 160px;
}

.table-header-wrapper .sticky-table th:nth-child(25), /* 尾程轨迹状态 */
.table-body-wrapper .sticky-table td:nth-child(25),
.table-body-wrapper .sticky-table th:nth-child(25) {
    min-width: 120px;
}

.table-header-wrapper .sticky-table th:nth-child(26), /* 尾程轨迹描述 */
.table-body-wrapper .sticky-table td:nth-child(26),
.table-body-wrapper .sticky-table th:nth-child(26) {
    min-width: 200px;
}

/* 确保表头和内容表格宽度一致 */
.table-header-wrapper .sticky-table,
.table-body-wrapper .sticky-table {
    width: 100%;
    table-layout: auto; /* 更改为auto以允许列宽自适应内容 */
    border-collapse: separate;
    border-spacing: 0;
}

/* 标签页面表格列宽优化 */
.labels-table {
    table-layout: auto !important;
}

/* 特定列宽度优化 - 根据内容调整 */
/* 序号列 */
th:nth-child(1), td:nth-child(1) {
    min-width: 60px;
    width: 60px;
    word-break: keep-all;
    white-space: nowrap;
}

/* 选择框列 */
th:nth-child(2), td:nth-child(2) {
    min-width: 40px;
    width: 40px;
    word-break: keep-all;
    white-space: nowrap;
}

/* 运单号列 */
th:nth-child(3), td:nth-child(3) {
    min-width: 120px;
    max-width: 120px;
    word-break: break-word;
    white-space: normal;
}

/* 状态列 */
th:nth-child(4), td:nth-child(4) {
    min-width: 100px;
    max-width: 100px;
    word-break: break-word;
    white-space: normal;
}

/* 版本号列 */
th:nth-child(5), td:nth-child(5) {
    min-width: 100px;
    max-width: 100px;
    word-break: break-word;
    white-space: normal;
}

/* 产品ID列 */
th:nth-child(6), td:nth-child(6) {
    min-width: 100px;
    max-width: 100px;
    word-break: break-word;
    white-space: normal;
}

/* 产品名称列 */
th:nth-child(7), td:nth-child(7) {
    min-width: 150px;
    max-width: 150px;
    word-break: break-word;
    white-space: normal;
}

/* 订单号列 */
th:nth-child(8), td:nth-child(8) {
    min-width: 200px !important;
    max-width: 200px !important;
    word-break: break-word;
    white-space: normal;
}

/* 渠道名称列 */
th:nth-child(9), td:nth-child(9) {
    min-width: 120px !important;
    max-width: 120px !important;
    word-break: break-word;
    white-space: normal;
}

/* 渠道ID列 */
th:nth-child(10), td:nth-child(10) {
    min-width: 80px !important;
    max-width: 80px !important;
    word-break: break-word;
    white-space: normal;
}

/* 接口名称列 */
th:nth-child(11), td:nth-child(11) {
    min-width: 120px !important;
    max-width: 120px !important;
    word-break: break-word;
    white-space: normal;
}

/* 文件信息列 */
th:nth-child(12), td:nth-child(12) {
    min-width: 80px !important;
    max-width: 80px !important;
    word-break: keep-all;
    white-space: nowrap;
}

/* 上传状态列 */
th:nth-child(13), td:nth-child(13) {
    min-width: 80px !important;
    max-width: 80px !important;
    word-break: break-word;
    white-space: normal;
}

/* 重试次数列 */
th:nth-child(14), td:nth-child(14) {
    min-width: 80px !important;
    max-width: 80px !important;
    word-break: keep-all;
    white-space: nowrap;
}

/* 客户尾程单号列 */
th:nth-child(15), td:nth-child(15) {
    min-width: 120px !important;
    max-width: 120px !important;
    word-break: break-word;
    white-space: normal;
}

/* 标签识别尾程单号列 */
th:nth-child(16), td:nth-child(16) {
    min-width: 120px !important;
    max-width: 120px !important;
    word-break: break-word;
    white-space: normal;
}

/* 头程单号列 */
th:nth-child(17), td:nth-child(17) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 客户下单时间列 */
th:nth-child(18), td:nth-child(18) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 国内仓入库时间列 */
th:nth-child(19), td:nth-child(19) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 国内仓出库时间列 */
th:nth-child(20), td:nth-child(20) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 容器号列 */
th:nth-child(21), td:nth-child(21) {
    min-width: 120px;
    max-width: 120px;
    word-break: break-word;
    white-space: normal;
}

/* 头程上网时间列 */
th:nth-child(22), td:nth-child(22) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 头程最新轨迹状态列 */
th:nth-child(23), td:nth-child(23) {
    min-width: 120px;
    max-width: 120px;
    word-break: break-word;
    white-space: normal;
}

/* 头程最新轨迹描述列 - 保持较宽 */
th:nth-child(24), td:nth-child(24) {
    min-width: 250px;
    max-width: 250px;
    word-break: break-word;
    white-space: normal;
}

/* 头程签收时间列 */
th:nth-child(25), td:nth-child(25) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 标签上传时间列 */
th:nth-child(26), td:nth-child(26) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 计划海外操作时间列 */
th:nth-child(27), td:nth-child(27) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 海外仓状态列 */
th:nth-child(28), td:nth-child(28) {
    min-width: 120px;
    max-width: 120px;
    word-break: break-word;
    white-space: normal;
}

/* 海外仓状态更新时间列 */
th:nth-child(29), td:nth-child(29) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 尾程上网时间列 */
th:nth-child(30), td:nth-child(30) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 尾程轨迹状态列 */
th:nth-child(31), td:nth-child(31) {
    min-width: 120px;
    max-width: 120px;
    word-break: break-word;
    white-space: normal;
}

/* 尾程轨迹描述列 - 保持较宽 */
th:nth-child(32), td:nth-child(32) {
    min-width: 250px;
    max-width: 250px;
    word-break: break-word;
    white-space: normal;
}

/* 尾程轨迹时间列 */
th:nth-child(33), td:nth-child(33) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 尾程轨迹跟踪列 */
th:nth-child(34), td:nth-child(34) {
    min-width: 100px;
    max-width: 100px;
    word-break: break-word;
    white-space: normal;
}

/* 尾程签收时间列 */
th:nth-child(35), td:nth-child(35) {
    min-width: 150px !important;
    max-width: 150px !important;
    word-break: break-word;
    white-space: normal;
}

/* 操作列 */
th:nth-child(36), td:nth-child(36) {
    min-width: 150px;
    max-width: 150px;
    word-break: keep-all;
    white-space: nowrap;
}

/* 表格标题和单元格居中对齐 */
.labels-table th {
    text-align: center;
    vertical-align: middle;
}

.labels-table td {
    text-align: center;
    vertical-align: middle;
}

/* 特定列（如单号、时间等）防止换行 */
th:nth-child(3), td:nth-child(3),  /* 运单号 */
th:nth-child(8), td:nth-child(8),  /* 订单号 */
th:nth-child(15), td:nth-child(15), /* 客户尾程单号 */
th:nth-child(16), td:nth-child(16), /* 标签识别尾程单号 */
th:nth-child(17), td:nth-child(17), /* 头程单号 */
th:nth-child(21), td:nth-child(21), /* 容器号 */
th:nth-child(18), td:nth-child(18), /* 客户下单时间 */
th:nth-child(19), td:nth-child(19), /* 国内仓入库时间 */
th:nth-child(20), td:nth-child(20), /* 国内仓出库时间 */
th:nth-child(22), td:nth-child(22), /* 头程上网时间 */
th:nth-child(25), td:nth-child(25), /* 头程签收时间 */
th:nth-child(26), td:nth-child(26), /* 标签上传时间 */
th:nth-child(27), td:nth-child(27), /* 计划海外操作时间 */
th:nth-child(29), td:nth-child(29), /* 海外仓状态更新时间 */
th:nth-child(30), td:nth-child(30), /* 尾程上网时间 */
th:nth-child(33), td:nth-child(33), /* 尾程轨迹时间 */
th:nth-child(35), td:nth-child(35)  /* 尾程签收时间 */
{
    white-space: nowrap;
    word-break: keep-all;
}

/* 操作列宽度调整 */
th:nth-child(36), td:nth-child(36) {
    min-width: 150px;
    width: 150px;
    word-break: keep-all;
    white-space: nowrap;
    text-align: center;
}

/* 响应式调整 */
@media (max-height: 800px) {
    .table-container {
        height: 100%;
    }
}

@media (max-height: 600px) {
    .table-container {
        height: 100%;
    }
}

/* 响应式设计：当屏幕较窄时隐藏部分列 */
@media (max-width: 1400px) {
    /* 隐藏一些不太重要的列 */
    th:nth-child(19), td:nth-child(19), /* 国内仓入库时间 */
    th:nth-child(20), td:nth-child(20), /* 国内仓出库时间 */
    th:nth-child(21), td:nth-child(21), /* 容器号 */
    th:nth-child(22), td:nth-child(22), /* 头程上网时间 */
    th:nth-child(25), td:nth-child(25), /* 头程签收时间 */
    th:nth-child(27), td:nth-child(27), /* 计划海外操作时间 */
    th:nth-child(29), td:nth-child(29), /* 海外仓状态更新时间 */
    th:nth-child(30), td:nth-child(30)  /* 尾程上网时间 */
    {
        display: none;
    }
}

@media (max-width: 1200px) {
    /* 在更小的屏幕上进一步隐藏列 */
    th:nth-child(6), td:nth-child(6), /* 产品ID */
    th:nth-child(7), td:nth-child(7), /* 产品名称 */
    th:nth-child(11), td:nth-child(11), /* 接口名称 */
    th:nth-child(14), td:nth-child(14), /* 重试次数 */
    th:nth-child(17), td:nth-child(17), /* 头程单号 */
    th:nth-child(33), td:nth-child(33), /* 尾程轨迹时间 */
    th:nth-child(34), td:nth-child(34)  /* 尾程轨迹跟踪 */
    {
        display: none;
    }
}

@media (max-width: 1000px) {
    /* 最小屏幕尺寸时仅显示关键列 */
    th:nth-child(5), td:nth-child(5), /* 版本号 */
    th:nth-child(8), td:nth-child(8), /* 订单号 */
    th:nth-child(10), td:nth-child(10), /* 渠道ID */
    th:nth-child(12), td:nth-child(12), /* 文件信息 */
    th:nth-child(15), td:nth-child(15), /* 客户尾程单号 */
    th:nth-child(16), td:nth-child(16), /* 标签识别尾程单号 */
    th:nth-child(18), td:nth-child(18), /* 客户下单时间 */
    th:nth-child(23), td:nth-child(23), /* 头程最新轨迹状态 */
    th:nth-child(26), td:nth-child(26), /* 标签上传时间 */
    th:nth-child(28), td:nth-child(28), /* 海外仓状态 */
    th:nth-child(31), td:nth-child(31), /* 尾程轨迹状态 */
    th:nth-child(35), td:nth-child(35)  /* 尾程签收时间 */
    {
        display: none;
    }
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* JSON编辑器样式 */
.json-editor {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
}

/* 成功率圆环 */
.success-rate-circle {
    position: relative;
    display: inline-block;
    width: 120px;
    height: 120px;
}

.success-rate-circle svg {
    transform: rotate(-90deg);
}

.success-rate-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 600;
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

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