/* 渐变背景 */
.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* 全屏容器 */
.full-screen-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    overflow: hidden;
}

/* 登录内容区域 */
.login-content {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* 登录卡片 */
.login-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    transition: all 0.3s ease;
}
/* 登录头部样式 */
.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem !important;
    text-align: center;
}

.login-header h2 {
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.login-header p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* 登录表单样式 */
.login-form .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

/* 输入框样式优化 */
.login-form input[type="text"],
.login-form input[type="password"],
.login-form input[type="tel"] {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus,
.login-form input[type="tel"]:focus {
    border-color: #667eea;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 按钮样式优化 */
.login-form .btn {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
}

/* 标签页样式优化 */
.nav-tabs {
    margin-bottom: 1.5rem;
}

.nav-tabs .nav-item .nav-link {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

/* 卡片内容样式优化 */
.card-body {
    padding: 2rem !important;
}

/* 提示信息样式 */
.login-info {
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* 状态标签 */
.status-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

/* 统计卡片优化 — 由 design-system.css 统一管理，保留结构类 */
.card {
    margin-bottom: 1.5rem;
}

/* 统计卡片特殊样式 */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-card .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.875rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.border-left-primary {
    border-left: 0.25rem solid #4e73df !important;
}

.border-left-success {
    border-left: 0.25rem solid #1cc88a !important;
}

.border-left-warning {
    border-left: 0.25rem solid #f6c23e !important;
}

.border-left-info {
    border-left: 0.25rem solid #36b9cc !important;
}

.border-left-danger {
    border-left: 0.25rem solid #e74a3b !important;
}

/* 验机项目样式 */
.check-item {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.check-item:hover {
    border-color: #007bff;
    box-shadow: 0 2px 5px rgba(0, 123, 255, 0.1);
}

.check-item.normal {
    border-left: 4px solid #28a745;
}

.check-item.abnormal {
    border-left: 4px solid #dc3545;
}

.check-item.not-applicable {
    border-left: 4px solid #6c757d;
}

/* 表格样式 — 基础布局，视觉由 design-system.css 覆盖 */
.table {
    width: 100%;
    margin-bottom: 1rem;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 按钮 — 图标间距保留，视觉由 design-system.css 覆盖 */
.btn i {
    margin-right: 0.5rem;
}

.btn-icon-split {
    display: inline-flex;
    align-items: center;
    padding: 0;
    overflow: hidden;
}

.btn-icon-split .icon {
    padding: 0.5rem 0.75rem;
    background-color: rgba(0,0,0,0.1);
}

.btn-icon-split .text {
    padding: 0.5rem 1rem;
}

/* 导航激活状态 */
.nav-pills .nav-link.active {
    background-color: #4e73df;
}

/* PC端布局优化 */
@media (min-width: 992px) {
    .login-card {
        width: 100vw;
        height: 100vh;
        max-width: none !important;
        max-height: none !important;
        border-radius: 0;
        box-shadow: none;
    }
    
    .login-content {
        padding: 0;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container-fluid, .container {
        padding: 0 10px;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
    
    .login-card {
        margin: 0;
        width: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 10px;
    }
    
    .login-header h2 {
        font-size: 1.5rem;
    }
    
    .login-header p {
        font-size: 0.9rem;
    }
    
    .login-content {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .login-card {
        width: 100%;
        max-width: 100%;
    }
    
    .card-body {
        padding: 1.25rem !important;
    }
    
    .login-content {
        padding: 10px;
    }
}

/* 高级感仪表盘增强样式 */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.glass-panel:hover {
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
}

.panel-header {
    padding: 1.5rem 2rem 0.5rem;
}

.panel-header .h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.panel-body {
    padding: 1.5rem 2rem 2rem;
}

.chart-container {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.chart-container:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.06);
}

.chart-container .h6 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 1.5rem !important;
}

.avg-time-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.avg-time-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%) !important;
}

.time-icon-wrapper {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
    margin-bottom: 1.5rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.metric-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
}

.bg-primary-gradient { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); color: #fff; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); }
.bg-info-gradient { background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%); color: #fff; box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3); }
.bg-success-gradient { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }
.bg-danger-gradient { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.metric-info span {
    font-size: 0.85rem;
    opacity: 0.8;
    display: block;
}

.metric-info strong {
    font-size: 1.5rem;
    font-weight: 700;
}

/* 重置默认样式 */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
}

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

/* 快捷入口按钮优化 */
.quick-access-btn {
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.quick-access-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.quick-access-btn i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.quick-access-btn .btn-text {
    font-size: 1rem;
    font-weight: 500;
}

/*  sticky 侧边栏 */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
}

/* 表单样式优化 */
.form-control, .form-select {
    border-radius: 0.35rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* 徽章样式优化 */
.badge {
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    border-radius: 0.25rem;
    display: inline-block;
    color: #fff;
}

.badge.text-dark {
    color: #212529 !important;
}

/* 确保状态徽章可见 */
.status-badge {
    min-width: 60px;
    text-align: center;
    padding: 0.4rem 0.8rem;
}

/* 统计卡片模块样式 */
.stat-card-module {
    transition: all 0.3s ease;
    cursor: pointer;
    border: none !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.stat-card-module:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25) !important;
}

.stat-card-module .card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.stat-card-module .text-xs {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* 统计标题文字 - 放大3倍并对齐 */
.stat-title {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    line-height: 1.2;
    text-align: left;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-height: 2.7rem;
    display: flex;
    align-items: center;
}

/* 统计数字字体 - 放大3倍 */
.stat-number {
    font-size: 6rem !important;
    font-weight: 700 !important;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

/* 总工单卡片渐变背景 */
.stat-card-total {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

/* 已完成卡片渐变背景 */
.stat-card-completed {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

/* 进行中卡片渐变背景 */
.stat-card-progress {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

/* 异常工单卡片渐变背景 */
.stat-card-exception {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%) !important;
}

/* 响应式调整 */
@media (max-width: 1200px) {
    .stat-number {
        font-size: 4.5rem !important;
    }
    
    .stat-title {
        font-size: 1.8rem !important;
        min-height: 2.2rem;
    }
}

@media (max-width: 992px) {
    .stat-number {
        font-size: 4rem !important;
    }
    
    .stat-title {
        font-size: 1.6rem !important;
        min-height: 2rem;
    }
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 3rem !important;
    }
    
    .stat-title {
        font-size: 1.3rem !important;
        min-height: 1.6rem;
    }
    
    .stat-card-module .fa-3x {
        font-size: 2rem !important;
    }
    
    .stat-card-module .card-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .stat-number {
        font-size: 2.5rem !important;
    }
    
    .stat-title {
        font-size: 1.1rem !important;
        min-height: 1.4rem;
    }
}

/* 北京时间显示样式 */
#beijing-time {
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

#time-display {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 响应式优化 */
/* macOS 风格验机卡片优化 */
.smart-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    padding: 0.5rem;
}

.check-item-card {
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 14px !important;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    overflow: hidden;
}

.check-item-card:hover {
    transform: none !important; /* macOS 风格不倾向于大幅度跳动 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.check-item-card .card-body {
    padding: 1.2rem !important;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.check-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.check-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #f2f2f7; /* macOS System Gray 6 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8e8e93; /* macOS System Gray */
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.check-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1c1c1e;
    margin: 0;
    letter-spacing: -0.02em;
}

/* macOS 风格分段选择器 (Segmented Control) */
.check-option-group {
    display: flex;
    background: #eeeeef; /* macOS 轨道背景色 */
    padding: 2px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
    position: relative;
}

.check-option-group label {
    flex: 1;
    margin: 0;
    padding: 0.5rem 0.2rem;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: #3a3a3c;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none !important;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    box-shadow: none !important;
    position: relative;
    z-index: 1;
}

/* 选中项的“悬浮白块”效果 */
.btn-check:checked + label {
    background: #ffffff !important;
    color: #007aff !important; /* macOS Accent Blue */
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04) !important;
}

/* 状态颜色细化 - 仅在选中时改变文字颜色，保持背景纯白 */
.btn-check:checked + label[for*="normal"] {
    color: #34c759 !important; /* macOS System Green */
}

.btn-check:checked + label[for*="abnormal"] {
    color: #ff3b30 !important; /* macOS System Red */
}

.btn-check:checked + label[for*="not_apply"] {
    color: #8e8e93 !important; /* macOS System Gray */
}

/* 异常状态下的轻微警示 */
.check-item-card:has(.btn-check[value="异常"]:checked) {
    background: #fffafa;
}

.check-item-card:has(.btn-check[value="异常"]:checked) .check-icon {
    background: #ff3b30;
    color: #ffffff;
}

/* 备注输入框 - macOS 输入框风格 */
.reason-input-container {
    margin-top: 0.2rem;
}

.reason-input-container input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    background: #ffffff;
    border: 1px solid #d1d1d6;
    border-radius: 8px;
    font-size: 0.85rem;
    transition: all 0.2s;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.reason-input-container input:focus {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.15);
    outline: none;
}

/* “一键正常”按钮优化为 macOS 风格 */
#setAllNormalBtn, .btn-outline-primary.rounded-pill {
    background: #ffffff;
    border: 1px solid #d1d1d6;
    color: #007aff;
    font-weight: 500;
    font-size: 0.85rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

#setAllNormalBtn:hover {
    background: #f2f2f7;
    border-color: #c7c7cc;
    color: #007aff;
}

/* 按钮悬停动画 */
.check-option-group label:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    color: #1e293b;
}

.btn-check:checked + label {
    transform: scale(1.02);
}

/* 结果展示卡片样式 (用于详情页) */
.check-result-card {
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.check-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.check-result-card.check-normal {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.check-result-card.check-abnormal {
    background: #fef2f2;
    border-color: #fecaca;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.check-result-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.check-normal .check-result-icon { background: #dcfce7; color: #16a34a; }
.check-abnormal .check-result-icon { background: #fee2e2; color: #dc2626; }
.check-unknown .check-result-icon { background: #f1f5f9; color: #94a3b8; }

.check-result-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #334155;
    text-align: center;
}

.check-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.check-badge-success { background: #10b981; color: white; }
.check-badge-danger { background: #ef4444; color: white; }
.check-badge-secondary { background: #94a3b8; color: white; }

/* 工单流程时间线样式 */
.timeline-container {
    padding: 20px 0;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #e0e0e0 0%, #e0e0e0 100%);
    border-radius: 2px;
    transition: all 0.5s ease;
}

.timeline::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    width: 3px;
    height: var(--progress-height, 0%);
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-10px);
}

.timeline-item.completed {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-marker {
    position: absolute;
    left: -31px;
    top: 2px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    border: 4px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.timeline-item.completed .timeline-marker {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
    transform: scale(1.15);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(102, 126, 234, 0.5);
    }
    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.8);
    }
}

.timeline-item.completed .timeline-marker i {
    color: #ffffff;
}

.timeline-content {
    background: #f8f9fa;
    padding: 18px 22px;
    border-radius: 12px;
    border-left: 4px solid #e0e0e0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timeline-item.completed .timeline-content {
    background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
    border-left-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.timeline-item:hover .timeline-content {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.timeline-title {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
}

.timeline-item.completed .timeline-title {
    color: #667eea;
}

.timeline-time-info {
    margin-top: 8px;
}

.timeline-time-absolute {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
    font-weight: 500;
}

.timeline-item.completed .timeline-time-absolute {
    color: #444;
}

.timeline-time-relative {
    font-size: 13px;
    color: #888;
    font-style: italic;
}

.timeline-meta {
    margin-top: 6px;
}

.timeline-badge {
    margin-left: 15px;
}

.timeline-duration {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e0e0e0;
}

.timeline-item.completed .timeline-duration {
    border-top-color: #d0d5ff;
}

.step-duration {
    font-weight: 600;
    color: #667eea;
}

/* 进度条样式 */
.timeline-progress-container {
    margin-bottom: 30px;
}

.timeline-progress-container .progress {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: visible;
}

.timeline-progress-container .progress-bar {
    position: relative;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-progress-container .progress-bar::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #764ba2;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(118, 75, 162, 0.4);
}

.timeline-stats {
    display: flex;
    align-items: center;
    gap: 10px;
}

.timeline-stats .badge {
    font-size: 13px;
    padding: 6px 12px;
    font-weight: 600;
}

/* ========== 简洁版横向时间线样式（桌面端） ========== */
.timeline-container-horizontal {
    padding: 20px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    min-width: 100%;
    padding: 15px 0 30px 0;
    gap: 10px;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e9ecef;
    z-index: 0;
    border-radius: 1px;
}

.timeline-horizontal::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 0;
    width: var(--progress-width, 0%);
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1px;
}

.timeline-item-horizontal {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    opacity: 0.5;
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item-horizontal.completed {
    opacity: 1;
}

.timeline-marker-horizontal {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 18px;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 3;
    margin-bottom: 12px;
}

.timeline-item-horizontal.completed .timeline-marker-horizontal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
    transform: scale(1.05);
}

.timeline-connector-horizontal {
    position: absolute;
    top: 17px;
    left: calc(50% + 22px);
    right: -50%;
    height: 2px;
    background: transparent;
    z-index: 1;
    transition: background 0.3s ease;
}

.timeline-item-horizontal.completed ~ .timeline-item-horizontal .timeline-connector-horizontal {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.timeline-item-horizontal:last-child .timeline-connector-horizontal {
    display: none;
}

.timeline-content-horizontal {
    background: #f8f9fa;
    padding: 12px 10px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 160px;
    min-height: 100px;
    text-align: center;
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 6px;
}

.timeline-item-horizontal.completed .timeline-content-horizontal {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    border: 1px solid #e7edff;
}

.timeline-item-horizontal:hover .timeline-content-horizontal {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.timeline-title-horizontal {
    font-size: 13px;
    font-weight: 600;
    color: #6c757d;
    margin: 0;
    white-space: nowrap;
    line-height: 1.4;
}

.timeline-item-horizontal.completed .timeline-title-horizontal {
    color: #667eea;
}

.timeline-time-horizontal {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
    line-height: 1.3;
}

.timeline-item-horizontal.completed .timeline-time-horizontal {
    color: #495057;
}

.timeline-meta-horizontal {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.3;
}

.timeline-meta-horizontal small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========== 简洁版垂直时间线样式（移动端） ========== */
.timeline-container-vertical {
    padding: 0;
}

.timeline-vertical {
    position: relative;
    padding-left: 2rem;
}

.timeline-vertical::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
    z-index: 0;
}

.timeline-vertical::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    width: 2px;
    height: var(--progress-height, 0%);
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    z-index: 1;
    transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item-vertical {
    position: relative;
    margin-bottom: 1.5rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.timeline-item-vertical:last-child {
    margin-bottom: 0;
}

.timeline-item-vertical.completed {
    opacity: 1;
}

.timeline-marker-vertical {
    position: absolute;
    left: -1.75rem;
    top: 2px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 14px;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item-vertical.completed .timeline-marker-vertical {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(102, 126, 234, 0.4);
    transform: scale(1.1);
}

.timeline-content-vertical {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 3px solid #e9ecef;
}

.timeline-item-vertical.completed .timeline-content-vertical {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
    border-left-color: #667eea;
    }
    
.timeline-title-vertical {
    font-size: 0.95rem;
    font-weight: 600;
    color: #6c757d;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }
    
.timeline-item-vertical.completed .timeline-title-vertical {
    color: #667eea;
}

.timeline-time-vertical {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.timeline-item-vertical.completed .timeline-time-vertical {
    color: #495057;
    }
    
.timeline-meta-vertical {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .timeline-content-horizontal {
        max-width: 140px;
        padding: 10px 8px;
        min-height: 90px;
    }
    
    .timeline-title-horizontal {
        font-size: 12px;
    }
    
    .timeline-time-horizontal {
        font-size: 11px;
    }
    
    .timeline-marker-horizontal {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Toast 通知样式优化 */
.toast-container {
    max-width: 400px;
}

.toast {
    min-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    margin-bottom: 10px;
}

.toast-body {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 16px;
}

.toast-body i {
    font-size: 16px;
    margin-right: 8px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .timeline {
        padding-left: 25px;
    }
    
    .timeline-marker {
        width: 28px;
        height: 28px;
        left: -20px;
        font-size: 12px;
    }
    
    .timeline-content {
        padding: 12px 15px;
    }
    
    .timeline-title {
        font-size: 14px;
    }
    
    .timeline-time {
        font-size: 12px;
    }
    
    .toast-container {
        max-width: calc(100% - 20px);
        right: 10px !important;
        left: 10px !important;
    }
    
    .toast {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    #beijing-time {
        font-size: 0.75rem !important;
    }
    
    .check-item-card {
        margin-bottom: 1rem;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
    
    .content-container {
        padding: 1rem;
    }
    
    .card-body {
        padding: 1rem !important;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .btn-sm {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
    
    .stat-card .stat-icon {
        font-size: 2rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
}

/* 加载动画 */
.fa-spin {
    animation: fa-spin 2s infinite linear;
}

@keyframes fa-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* ========== 设备验机结果卡片样式 - 正方形淡灰色渐变 ========== */
/* ========== 收货验机结果展示 - 参考图片样式设计 ========== */
.check-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 1.25rem;
    margin-bottom: 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
    border-radius: 16px;
}

.check-result-card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    cursor: pointer;
}

/* 悬停效果 - 轻微浮起 */
.check-result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.06);
}

/* 正常状态 - 白色卡片，蓝色图标 */
.check-result-card.check-normal {
    background: #ffffff;
    border: none;
}

.check-result-card.check-normal::before {
    display: none;
}

/* 异常状态 - 白色卡片，红色图标 */
.check-result-card.check-abnormal {
    background: #ffffff;
    border: none;
}

.check-result-card.check-abnormal::before {
    display: none;
}

/* 未检测/不涉及状态 - 白色卡片，灰色图标 */
.check-result-card.check-unknown {
    background: #ffffff;
    border: none;
}

.check-result-card.check-unknown::before {
    display: none;
}

/* 图标容器 - 参考图片样式 */
.check-result-icon {
    width: 72px;
    height: 72px;
    font-size: 40px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    position: relative;
    z-index: 2;
}

/* 正常状态图标 - 蓝色图标 */
.check-result-card.check-normal .check-result-icon {
    color: #3b82f6;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* 异常状态图标 - 红色图标 */
.check-result-card.check-abnormal .check-result-icon {
    color: #ef4444;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* 未检测状态图标 - 灰色图标 */
.check-result-card.check-unknown .check-result-icon {
    color: #6b7280;
    background: transparent;
    border: none;
    box-shadow: none;
    opacity: 0.7;
}

.check-result-card:hover .check-result-icon {
    transform: scale(1.05);
}

/* 标签文字 - 参考图片样式，黑色文字 */
.check-result-label {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 2;
    color: #1f2937;
    transition: all 0.3s ease;
}

.check-result-card.check-normal .check-result-label {
    color: #1f2937;
}

.check-result-card.check-abnormal .check-result-label {
    color: #1f2937;
}

.check-result-card.check-unknown .check-result-label {
    color: #6b7280;
}

/* 状态徽章 - 活泼高级设计 */
.check-result-status {
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.check-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    padding: 0.6rem 1.25rem;
    border-radius: 16px;
    letter-spacing: 0.8px;
    min-width: 75px;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 徽章光泽动画 */
.check-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.check-badge:hover::before {
    left: 100%;
}

.check-badge:hover {
    transform: scale(1.1);
}

/* 正常状态徽章 - 黑色填充，白色文字 */
.check-badge-success {
    background: #000000;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: none;
    font-weight: 700;
    font-size: 12px;
    padding: 0.5rem 1rem;
    border-radius: 12px;
}

/* 异常状态徽章 - 活力红色 */
.check-badge-danger {
    background: linear-gradient(135deg, #ef4444 0%, #f87171 50%, #fca5a5 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4), inset 0 1px 3px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 未检测状态徽章 - 优雅灰色 */
.check-badge-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 50%, #d1d5db 100%);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* 响应式设计 - 活泼高级版本 */
@media (max-width: 1200px) {
    .check-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1rem;
    }
    
    .check-result-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
        aspect-ratio: 1;
    }
    
    .check-result-icon {
        width: 72px;
        height: 72px;
        font-size: 40px;
        margin-bottom: 1rem;
        border-radius: 18px;
    }
    
    .check-result-label {
        font-size: 17px;
        margin-bottom: 0.75rem;
    }
    
    .check-badge {
        font-size: 12px;
        padding: 0.5rem 1.1rem;
        min-width: 70px;
        border-radius: 14px;
    }
}

@media (max-width: 992px) {
    .check-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.875rem;
    }
    
    .check-result-card {
        padding: 1.375rem 0.875rem;
        border-radius: 16px;
        aspect-ratio: 1;
    }
    
    .check-result-card::before {
        height: 4px;
    }
    
    .check-result-icon {
        width: 68px;
        height: 68px;
        font-size: 38px;
        margin-bottom: 0.875rem;
        border-radius: 16px;
    }
    
    .check-result-label {
        font-size: 16px;
        margin-bottom: 0.625rem;
    }
    
    .check-badge {
        font-size: 11px;
        padding: 0.45rem 1rem;
        min-width: 65px;
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .check-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.75rem;
    }
    
    .check-result-card {
        padding: 1.25rem 0.75rem;
        border-radius: 16px;
        aspect-ratio: 1;
    }
    
    .check-result-card::before {
        height: 4px;
    }
    
    .check-result-icon {
        width: 64px;
        height: 64px;
        font-size: 36px;
        margin-bottom: 0.75rem;
        border-radius: 14px;
    }
    
    .check-result-label {
        font-size: 15px;
        margin-bottom: 0.5rem;
    }
    
    .check-badge {
        font-size: 10px;
        padding: 0.4rem 0.9rem;
        min-width: 60px;
        border-radius: 10px;
    }
}

@media (max-width: 576px) {
    .check-results-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 0.625rem;
    }
    
    .check-result-card {
        padding: 1rem 0.625rem;
        border-radius: 16px;
        aspect-ratio: 1;
    }
    
    .check-result-card::before {
        height: 3px;
    }
    
    .check-result-icon {
        width: 56px;
        height: 56px;
        font-size: 32px;
        margin-bottom: 0.625rem;
        border-radius: 12px;
    }
    
    .check-result-label {
        font-size: 14px;
        margin-bottom: 0.5rem;
    }
    
    .check-badge {
        font-size: 9px;
        padding: 0.35rem 0.75rem;
        min-width: 55px;
        border-radius: 8px;
    }
}

/* ========== 步骤条时间线样式（Stepper） ========== */
.stepper-timeline {
    position: relative;
    padding: 2rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 0;
}

/* 步骤项 - 正方形模块 */
.stepper-step {
    flex: 1;
    flex-basis: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-right: 2rem;
    width: 160px;
    height: 160px;
    aspect-ratio: 1;
    overflow: hidden;
}

.stepper-step:last-child {
    margin-right: 0;
}

/* 背景数字装饰 */
.stepper-step .step-bg-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    font-weight: 400;
    opacity: 0.08;
    color: #ffffff;
    z-index: 0;
    pointer-events: none;
    user-select: none;
}

/* 渐变背景 */
.stepper-step.step-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stepper-step.step-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stepper-step.step-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stepper-step.step-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stepper-step.step-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.stepper-step.pending {
    opacity: 0.5;
    filter: grayscale(40%);
}

.stepper-step.active {
    opacity: 1;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.stepper-step.completed {
    opacity: 1;
}

/* 连接线 - 放在步骤之间 */
.stepper-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%);
    z-index: 1;
    transition: background 0.3s ease;
    border-radius: 2px;
}

.stepper-step:last-child::after {
    display: none;
}

.stepper-step.completed::after,
.stepper-step.active::after {
    background: rgba(255, 255, 255, 0.5);
}

/* 步骤内容 */
.stepper-step .step-content {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    height: 100%;
}

/* 步骤标题 */
.stepper-step .step-title {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.stepper-step .step-title i {
    font-size: 16px;
    margin-right: 0.5rem;
}

/* 步骤时间 */
.stepper-step .step-time {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.stepper-step .step-time span {
    color: rgba(255, 255, 255, 0.7);
}

/* 步骤元信息 */
.stepper-step .step-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    width: 100%;
    margin-top: 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.stepper-step .step-meta span {
    color: rgba(255, 255, 255, 0.85);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .stepper-step {
        width: 140px;
        height: 140px;
        padding: 1rem 0.875rem;
        margin-right: 1.5rem;
    }
    
    .stepper-step::after {
        right: -1.5rem;
        width: 1.5rem;
    }
    
    .stepper-step .step-bg-number {
        font-size: 100px;
    }
    
    .stepper-step .step-title {
        font-size: 16px;
    }
    
    .stepper-step .step-title i {
        font-size: 14px;
    }
    
    .stepper-step .step-time {
        font-size: 13px;
    }
    
    .stepper-step .step-meta {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .stepper-timeline {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        align-items: center;
    }
    
    .stepper-step {
        width: 160px;
        height: 160px;
        max-width: 160px;
        min-width: 160px;
        margin-right: 0;
        margin-bottom: 0.75rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.25rem 1rem;
    }
    
    .stepper-step:last-child {
        margin-bottom: 0;
    }
    
    .stepper-step::after {
        content: '';
        position: absolute;
        top: auto;
        bottom: -0.75rem;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 3px;
        height: 0.75rem;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
    }
    
    .stepper-step.completed::after,
    .stepper-step.active::after {
        background: rgba(255, 255, 255, 0.5);
    }
    
    .stepper-step:last-child::after {
        display: none;
    }
    
    .stepper-step .step-bg-number {
        font-size: 100px;
    }
    
    .stepper-step .step-content {
        text-align: center;
        align-items: center;
        height: 100%;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .stepper-step .step-title {
        font-size: 17px;
        justify-content: center;
        text-align: center;
    }
    
    .stepper-step .step-title i {
        font-size: 15px;
    }
    
    .stepper-step .step-time {
        font-size: 13px;
    }
    
    .stepper-step .step-meta {
        font-size: 11px;
        text-align: center;
        white-space: normal;
    }
}

@media (max-width: 576px) {
    .stepper-step {
        width: 140px;
        height: 140px;
        padding: 1rem 0.875rem;
        margin-bottom: 0.625rem;
    }
    
    .stepper-step .step-bg-number {
        font-size: 90px;
    }
    
    .stepper-step .step-title {
        font-size: 16px;
    }
    
    .stepper-step .step-title i {
        font-size: 14px;
    }
    
    .stepper-step .step-time {
        font-size: 12px;
    }
    
    .stepper-step .step-meta {
        font-size: 10px;
    }
    
    .stepper-step::after {
        bottom: -0.625rem;
        height: 0.625rem;
    }
}

/* ========================================
   毛玻璃风格美化系统 (Glassmorphism)
   ======================================== */

/* CSS 变量定义 - 渐变色系统 */
:root {
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    --gradient-accent: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #f87171 100%);
    --gradient-purple: linear-gradient(135deg, #3b82f6 0%, #a78bfa 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #22d3ee 100%);
}

/* 毛玻璃卡片 - 核心组件 */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border-radius: 24px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.25);
}

/* 毛玻璃卡片变体 */
.glass-card-sm {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.12);
    border-radius: 16px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-lg {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 48px rgba(31, 38, 135, 0.18);
    border-radius: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 毛玻璃顶部导航栏 */
.glass-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.08);
}

/* 毛玻璃侧边栏 */
.glass-sidebar {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 4px 0 16px rgba(31, 38, 135, 0.08);
}

/* 毛玻璃模态框 */
.glass-modal .modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 16px 64px rgba(31, 38, 135, 0.25);
    border-radius: 24px;
}

/* 毛玻璃搜索栏 */
.glass-search {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(31, 38, 135, 0.1);
    border-radius: 16px;
    transition: all 0.2s ease;
}

.glass-search:focus-within {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.3);
}

/* 毛玻璃徽标 */
.badge-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(31, 38, 135, 0.1);
}

/* 渐变按钮系统 */
.btn-gradient-primary {
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    transition: all 0.25s ease;
    font-weight: 500;
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    color: white;
}

.btn-gradient-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.4);
}

.btn-gradient-success {
    background: var(--gradient-success);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    transition: all 0.25s ease;
    font-weight: 500;
}

.btn-gradient-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
    color: white;
}

.btn-gradient-success:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.btn-gradient-warning {
    background: var(--gradient-warning);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
    transition: all 0.25s ease;
    font-weight: 500;
}

.btn-gradient-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    color: white;
}

.btn-gradient-warning:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.btn-gradient-danger {
    background: var(--gradient-danger);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
    transition: all 0.25s ease;
    font-weight: 500;
}

.btn-gradient-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
    color: white;
}

.btn-gradient-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.4);
}

.btn-gradient-purple {
    background: var(--gradient-purple);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.25s ease;
    font-weight: 500;
}

.btn-gradient-purple:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    color: white;
}

.btn-gradient-cyan {
    background: var(--gradient-cyan);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    transition: all 0.25s ease;
    font-weight: 500;
}

.btn-gradient-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
    color: white;
}

/* 渐变徽标系统 */
.badge-gradient-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.badge-gradient-success {
    background: var(--gradient-success);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-gradient-warning {
    background: var(--gradient-warning);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge-gradient-danger {
    background: var(--gradient-danger);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.badge-gradient-purple {
    background: var(--gradient-purple);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.badge-gradient-cyan {
    background: var(--gradient-cyan);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

/* 图标容器系统 */
.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transition: all 0.25s ease;
}

.icon-wrapper i {
    font-size: 20px;
    color: white;
}

.icon-wrapper:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.icon-wrapper-sm {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.icon-wrapper-sm i {
    font-size: 16px;
}

.icon-wrapper-lg {
    width: 64px;
    height: 64px;
    border-radius: 16px;
}

.icon-wrapper-lg i {
    font-size: 28px;
}

.icon-wrapper-primary {
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.icon-wrapper-success {
    background: var(--gradient-success);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.icon-wrapper-warning {
    background: var(--gradient-warning);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.icon-wrapper-danger {
    background: var(--gradient-danger);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.icon-wrapper-purple {
    background: var(--gradient-purple);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.icon-wrapper-cyan {
    background: var(--gradient-cyan);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

/* 动画系统 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 列表渐入动画 */
.animate-list > * {
    animation: fadeInUp 0.25s ease-out backwards;
}

.animate-list > *:nth-child(1) { animation-delay: 0.05s; }
.animate-list > *:nth-child(2) { animation-delay: 0.1s; }
.animate-list > *:nth-child(3) { animation-delay: 0.15s; }
.animate-list > *:nth-child(4) { animation-delay: 0.2s; }
.animate-list > *:nth-child(5) { animation-delay: 0.25s; }
.animate-list > *:nth-child(6) { animation-delay: 0.3s; }
.animate-list > *:nth-child(7) { animation-delay: 0.35s; }
.animate-list > *:nth-child(8) { animation-delay: 0.4s; }

/* 页面淡入动画 */
.page-enter {
    animation: fadeIn 0.3s ease-out;
}

/* 卡片淡入动画 */
.card-enter {
    animation: fadeInUp 0.3s ease-out;
}

/* 侧边滑入动画 */
.slide-in-right {
    animation: slideInRight 0.3s ease-out;
}

/* 缩放淡入动画 */
.scale-in {
    animation: scaleIn 0.25s ease-out;
}

/* 表格行悬浮效果 */
.table-hover tbody tr {
    transition: all 0.2s ease;
}

.table-hover tbody tr:hover {
    background: rgba(37, 99, 235, 0.05) !important;
    transform: scale(1.005);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 卡片悬浮增强 */
.card-hover {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2);
}

/* 按钮图标间距 */
.btn i {
    margin-right: 6px;
}

.btn i:last-child {
    margin-right: 0;
    margin-left: 6px;
}

/* 渐变边框效果 */
.gradient-border-top {
    position: relative;
}

.gradient-border-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
}

.gradient-border-top-success::before {
    background: var(--gradient-success);
}

.gradient-border-top-warning::before {
    background: var(--gradient-warning);
}

.gradient-border-top-danger::before {
    background: var(--gradient-danger);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .glass-card {
        backdrop-filter: blur(10px) saturate(180%);
        -webkit-backdrop-filter: blur(10px) saturate(180%);
        border-radius: 16px;
    }
    
    .glass-card-lg {
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
        border-radius: 20px;
    }
    
    .glass-header {
        backdrop-filter: blur(12px) saturate(180%);
        -webkit-backdrop-filter: blur(12px) saturate(180%);
    }
    
    .glass-sidebar {
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
    }
    
    .icon-wrapper {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }
    
    .icon-wrapper i {
        font-size: 18px;
    }
    
    .icon-wrapper-sm {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .icon-wrapper-sm i {
        font-size: 14px;
    }
    
    .icon-wrapper-lg {
        width: 56px;
        height: 56px;
        border-radius: 14px;
    }
    
    .icon-wrapper-lg i {
        font-size: 24px;
    }
}

/* 浏览器兼容性降级 */
@supports not (backdrop-filter: blur(20px)) {
    .glass-card {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .glass-card-sm {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .glass-card-lg {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .glass-header {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    
    .glass-sidebar {
        background: rgba(255, 255, 255, 0.98) !important;
    }
    
    .glass-search {
        background: rgba(255, 255, 255, 0.95);
    }
    
    .badge-glass {
        background: rgba(255, 255, 255, 0.98);
    }
    
    .glass-modal .modal-content {
        background: rgba(255, 255, 255, 0.98);
    }
}