/* ===================================
   iOS 主题细节修复
   针对后端界面的微调优化
   ================================= */

/* ===================================
   1. 顶部导航栏优化
   ================================= */

/* 主导航栏 - iOS毛玻璃效果 */
.main-header {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid var(--ios-gray-5) !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03) !important;
    height: 56px !important;
}

.main-header .navbar {
    background: transparent !important;
    border: none !important;
}

.main-header .logo {
    background: transparent !important;
    border: none !important;
    color: var(--ios-text-primary) !important;
}

/* 侧边栏切换按钮 */
.main-header .sidebar-toggle {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: var(--ios-text-secondary) !important;
    border-radius: 10px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 12px !important;
}

.main-header .sidebar-toggle:hover {
    background: var(--ios-gray-6) !important;
    color: var(--ios-blue) !important;
}

.main-header .sidebar-toggle:focus,
.main-header .sidebar-toggle:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

/* 导航栏所有链接和按钮默认样式 */
.main-header .navbar-nav > li > a {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.main-header .navbar-nav > li > a:focus,
.main-header .navbar-nav > li > a:active {
    outline: none !important;
    box-shadow: none !important;
}

/* 确保下拉菜单按钮透明 */
.main-header .dropdown-toggle {
    background: transparent !important;
    border: none !important;
}

.main-header .dropdown-toggle::after {
    margin-left: 6px;
}

/* 顶部标签页导航 */
.nav-addtabs {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: saturate(180%) blur(20px) !important;
    -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
    border-bottom: 1px solid var(--ios-gray-5) !important;
    padding: 6px 12px !important;
    min-height: 52px;
    display: flex !important;
    align-items: center;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    flex-wrap: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    max-width: calc(100% - 200px) !important;
    width: auto !important;
}

/* 隐藏标签页滚动条但保持滚动功能 */
.nav-addtabs::-webkit-scrollbar {
    height: 3px;
}

.nav-addtabs::-webkit-scrollbar-track {
    background: transparent;
}

.nav-addtabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

.nav-addtabs::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

.nav-addtabs > li {
    margin: 0 4px;
    flex-shrink: 0 !important;
    white-space: nowrap;
}

.nav-addtabs > li > a {
    border: none !important;
    border-radius: 12px !important;
    padding: 9px 18px !important;
    background: transparent !important;
    color: var(--ios-text-secondary) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 38px;
    white-space: nowrap;
}

.nav-addtabs > li > a:hover {
    background: var(--ios-gray-6) !important;
    color: var(--ios-text-primary) !important;
}

.nav-addtabs > li.active > a {
    background: var(--ios-blue) !important;
    color: white !important;
    box-shadow: 0 3px 12px rgba(0, 122, 255, 0.35) !important;
}

.nav-addtabs > li > a .close-tab {
    margin-left: 8px;
    opacity: 0.5;
    transition: opacity 0.2s;
    font-size: 13px;
}

.nav-addtabs > li > a:hover .close-tab {
    opacity: 0.8;
}

.nav-addtabs > li.active > a .close-tab {
    opacity: 0.9;
}

/* 标签页按钮 */
.nav-addtabs-btn {
    border-radius: 10px !important;
    padding: 7px 12px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--ios-text-secondary) !important;
}

.nav-addtabs-btn:hover {
    background: var(--ios-gray-6) !important;
    color: var(--ios-text-primary) !important;
}

/* ===================================
   2. 左侧搜索框优化
   ================================= */
.sidebar-form {
    padding: 12px !important;
    background: transparent !important;
    border: none !important;
    margin-bottom: 12px;
    box-shadow: none !important;
}

.sidebar-form .input-group {
    border-radius: 12px !important;
    overflow: hidden;
    background: var(--ios-gray-6);
    border: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar-form .input-group:hover {
    background: var(--ios-gray-5);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.sidebar-form .input-group:focus-within {
    background: var(--ios-bg-secondary);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-form input.form-control {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    height: 42px !important;
    padding: 0 16px !important;
    color: var(--ios-text-primary) !important;
    font-size: 14px;
}

.sidebar-form input.form-control::placeholder {
    color: var(--ios-text-tertiary);
    font-weight: 400;
}

.sidebar-form .input-group-btn .btn {
    background: transparent !important;
    border: none !important;
    color: var(--ios-text-tertiary) !important;
    padding: 0 14px !important;
    height: 42px;
    transition: all 0.2s;
}

.sidebar-form .input-group:focus-within .btn {
    color: var(--ios-blue) !important;
}

.sidebar-form .input-group-btn .btn:hover {
    color: var(--ios-blue) !important;
}

/* ===================================
   3. 左侧菜单优化
   ================================= */

/* 侧边栏主容器 */
.main-sidebar {
    background: var(--ios-bg-secondary) !important;
    box-shadow: 1px 0 0 var(--ios-gray-5) !important;
}

.sidebar-menu {
    padding: 0 10px !important;
}

.sidebar-menu > li {
    margin-bottom: 4px;
}

.sidebar-menu > li > a {
    border-radius: 12px !important;
    padding: 11px 16px !important;
    color: var(--ios-text-secondary) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: none !important;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.sidebar-menu > li > a:hover {
    background: var(--ios-gray-6) !important;
    color: var(--ios-text-primary) !important;
}

.sidebar-menu > li.active > a {
    background: var(--ios-blue) !important;
    color: white !important;
    box-shadow: 0 3px 12px rgba(0, 122, 255, 0.35);
}

.sidebar-menu > li.header {
    padding: 12px 16px 8px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    color: var(--ios-text-tertiary) !important;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* 菜单图标 */
.sidebar-menu li > a > .fa,
.sidebar-menu li > a > .glyphicon,
.sidebar-menu li > a > .ion {
    margin-right: 12px;
    opacity: 0.7;
    width: 18px;
    text-align: center;
}

.sidebar-menu li.active > a > .fa,
.sidebar-menu li.active > a > .glyphicon,
.sidebar-menu li.active > a > .ion {
    opacity: 1;
}

/* 徽章 */
.sidebar-menu .badge,
.sidebar-menu .label {
    margin-left: auto;
    border-radius: 12px !important;
    padding: 3px 8px !important;
    font-size: 11px !important;
    font-weight: 600;
}

/* NEW 标签 */
.sidebar-menu .badge.bg-green,
.sidebar-menu .label.bg-green {
    background: #34C759 !important;
}

/* 子菜单 */
.sidebar-menu .treeview-menu {
    background: transparent !important;
    padding: 4px 0 4px 12px !important;
}

.sidebar-menu .treeview-menu > li > a {
    border-radius: 10px !important;
    padding: 9px 16px 9px 32px !important;
    color: var(--ios-text-tertiary) !important;
    font-size: 13px;
    font-weight: 400;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-menu .treeview-menu > li > a:hover {
    background: var(--ios-gray-6) !important;
    color: var(--ios-text-primary) !important;
}

.sidebar-menu .treeview-menu > li.active > a {
    background: rgba(0, 122, 255, 0.12) !important;
    color: var(--ios-blue) !important;
    font-weight: 500;
}

/* 展开箭头 */
.sidebar-menu .treeview > a > .pull-right-container > .fa-angle-left {
    transition: transform 0.2s;
}

.sidebar-menu .treeview.active > a > .pull-right-container > .fa-angle-left {
    transform: rotate(-90deg);
}

/* ===================================
   4. 仪表盘卡片优化
   ================================= */
.info-box {
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    border: none !important;
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.info-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10) !important;
    transform: translateY(-2px);
}

.info-box-icon {
    border-radius: 12px 0 0 12px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
}

.info-box-icon > .fa,
.info-box-icon > .ion,
.info-box-icon > .glyphicon {
    font-size: 42px;
}

.info-box-content {
    padding: 10px 16px;
    flex: 1;
}

.info-box-text {
    font-size: 13px;
    color: #8e8e93;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.info-box-number {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
}

/* 小卡片 */
.small-box {
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.small-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10) !important;
    transform: translateY(-2px);
}

.small-box > .inner {
    padding: 20px;
}

.small-box h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 4px;
}

.small-box p {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.small-box .icon {
    font-size: 80px;
    opacity: 0.15;
}

.small-box-footer {
    background: rgba(0, 0, 0, 0.05) !important;
    padding: 10px 20px !important;
    border-radius: 0 0 14px 14px !important;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ===================================
   5. 面包屑优化
   ================================= */
.breadcrumb {
    background: transparent !important;
    padding: 12px 0 !important;
    margin: 0 0 16px 0 !important;
    border-radius: 0 !important;
}

.breadcrumb > li {
    font-size: 14px;
}

.breadcrumb > li > a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.breadcrumb > li > a:hover {
    color: #0051D5;
}

.breadcrumb > li + li:before {
    content: "›";
    font-size: 16px;
    color: #c7c7cc;
    padding: 0 10px;
}

.breadcrumb > .active {
    color: #3c3c43;
    font-weight: 500;
}

/* ===================================
   6. 按钮组优化
   ================================= */
.btn-group {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    overflow: hidden;
}

.btn-group .btn {
    border: none !important;
    border-radius: 0 !important;
    border-right: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.btn-group .btn:first-child {
    border-radius: 10px 0 0 10px !important;
}

.btn-group .btn:last-child {
    border-radius: 0 10px 10px 0 !important;
    border-right: none !important;
}

.btn-group .btn:only-child {
    border-radius: 10px !important;
}

/* ===================================
   7. 图表容器优化
   ================================= */
.box-body {
    padding: 20px !important;
}

/* ECharts 图表容器 */
.echarts-container {
    border-radius: 12px;
    overflow: hidden;
}

/* ===================================
   8. 响应式优化
   ================================= */
@media (max-width: 768px) {
    /* 搜索框 */
    .sidebar-form {
        padding: 10px !important;
        background: transparent !important;
    }
    
    .sidebar-form input.form-control {
        height: 40px !important;
        font-size: 14px !important;
    }
    
    .sidebar-form .input-group {
        border-radius: 10px !important;
    }
    
    /* 左侧菜单 */
    .sidebar-menu {
        padding: 0 8px !important;
    }
    
    .sidebar-menu > li > a {
        padding: 10px 14px !important;
        font-size: 13px;
        border-radius: 10px !important;
    }
    
    /* 顶部标签页 */
    .nav-addtabs {
        padding: 4px 8px !important;
        max-width: calc(100% - 160px) !important;
    }
    
    .nav-addtabs > li {
        margin: 0 3px;
    }
    
    .nav-addtabs > li > a {
        padding: 8px 14px !important;
        font-size: 13px !important;
        border-radius: 10px !important;
        height: 36px;
    }
    
    /* 信息卡片 */
    .info-box-icon {
        width: 80px;
        height: 80px;
    }
    
    .info-box-icon > .fa,
    .info-box-icon > .ion {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    /* 搜索框 */
    .sidebar-form {
        background: transparent !important;
        padding: 8px !important;
    }
    
    .sidebar-form .input-group {
        border-radius: 10px !important;
    }
    
    /* 顶部标签页 */
    .nav-addtabs {
        padding: 4px 8px !important;
        max-width: calc(100% - 140px) !important;
    }
    
    .nav-addtabs > li {
        margin: 0 2px;
    }
    
    .nav-addtabs > li > a {
        padding: 7px 12px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
        height: 32px;
    }
}

/* ===================================
   9. 顶部右侧菜单优化
   ================================= */
.navbar-nav > li > a {
    color: var(--ios-text-secondary) !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px !important;
    margin: 0 4px;
    padding: 8px 14px !important;
}

.navbar-nav > li > a:hover {
    background: var(--ios-gray-6) !important;
    color: var(--ios-blue) !important;
}

.navbar-nav > li > a:focus,
.navbar-nav > li > a:active {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-nav > .user-menu > .dropdown-menu {
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
    border: none !important;
    padding: 8px !important;
    margin-top: 8px !important;
}

.navbar-nav > .user-menu > .dropdown-menu > li > a {
    border-radius: 8px !important;
    padding: 10px 16px !important;
    color: #3c3c43 !important;
    transition: all 0.2s;
    margin: 2px 0;
}

.navbar-nav > .user-menu > .dropdown-menu > li > a:hover {
    background: #f2f2f7 !important;
    color: #1d1d1f !important;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-header {
    border-radius: 8px !important;
    padding: 16px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-footer {
    background: transparent !important;
    padding: 8px !important;
}

.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn {
    border-radius: 8px !important;
}

/* ===================================
   10. 内容区域优化
   ================================= */
.content-wrapper {
    background: var(--ios-bg-primary) !important;
}

.content {
    padding: 20px !important;
}

/* 确保卡片之间有合适的间距 */
.box + .box,
.panel + .panel {
    margin-top: 16px;
}

/* ===================================
   11. 加载动画优化
   ================================= */
.overlay {
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.overlay > .fa {
    color: #007AFF !important;
}

/* ===================================
   12. 平滑过渡
   ================================= */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 滚动条优化 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #c7c7cc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aeaeb2;
}

/* ===================================
   13. 侧边栏收起状态优化
   ================================= */
.sidebar-collapse .sidebar-menu > li > a {
    padding: 12px !important;
    text-align: center;
}

.sidebar-collapse .sidebar-menu > li > a > span {
    display: none;
}

.sidebar-collapse .sidebar-menu > li > a > .fa,
.sidebar-collapse .sidebar-menu > li > a > .glyphicon {
    margin-right: 0 !important;
    font-size: 18px;
}

/* ===================================
   14. 主页按钮优化
   ================================= */
.btn.btn-app {
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.2s;
    border: none !important;
}

.btn.btn-app:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10) !important;
    transform: translateY(-2px);
}

/* ===================================
   15. 颜色微调
   ================================= */
/* 确保主题色一致 */
.bg-blue,
.bg-light-blue,
.label-primary,
.badge-primary {
    background: #007AFF !important;
}

.bg-green,
.label-success,
.badge-success {
    background: #34C759 !important;
}

.bg-red,
.label-danger,
.badge-danger {
    background: #FF3B30 !important;
}

.bg-yellow,
.bg-orange,
.label-warning,
.badge-warning {
    background: #FF9500 !important;
}

/* 文字颜色 */
.text-blue {
    color: #007AFF !important;
}

.text-green {
    color: #34C759 !important;
}

.text-red {
    color: #FF3B30 !important;
}

.text-yellow,
.text-orange {
    color: #FF9500 !important;
}

/* ===================================
   16. Dashboard 控制台专用样式
   ================================= */

/* 控制台统计卡片 - 基于 info-box 的增强版本 */
.dashboard-stat-card {
    background: var(--ios-bg-secondary);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 16px;
    border: none;
}

.dashboard-stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.dashboard-stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin-right: 16px;
    flex-shrink: 0;
}

.dashboard-stat-icon.ios-blue-bg {
    background: var(--ios-blue);
}

.dashboard-stat-icon.ios-green-bg {
    background: var(--ios-green);
}

.dashboard-stat-icon.ios-red-bg {
    background: var(--ios-red);
}

.dashboard-stat-icon.ios-orange-bg {
    background: var(--ios-orange);
}

.dashboard-stat-icon.ios-purple-bg {
    background: var(--ios-purple);
}

.dashboard-stat-icon.ios-teal-bg {
    background: var(--ios-teal);
}

.dashboard-stat-content {
    flex: 1;
}

.dashboard-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--ios-text-primary);
    line-height: 1.2;
    margin-bottom: 4px;
}

.dashboard-stat-label {
    font-size: 13px;
    color: var(--ios-text-tertiary);
    font-weight: 500;
}

/* 图表容器 */
.dashboard-chart-container {
    background: var(--ios-bg-secondary);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 16px;
}

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

/* 数据指标网格 */
.dashboard-metric-grid {
    background: var(--ios-bg-secondary);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin-bottom: 16px;
}

.dashboard-metric-item {
    text-align: center;
    padding: 16px 8px;
    border-radius: 12px;
    transition: background 0.2s;
}

.dashboard-metric-item:hover {
    background: var(--ios-bg-tertiary);
}

.dashboard-metric-icon {
    font-size: 28px;
    color: var(--ios-blue);
    margin-bottom: 12px;
}

.dashboard-metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--ios-text-primary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.dashboard-metric-label {
    font-size: 12px;
    color: var(--ios-text-tertiary);
    font-weight: 500;
    line-height: 1.4;
}

/* 数据面板 - 移除渐变，使用简洁风格 */
.dashboard-data-panel {
    background: var(--ios-bg-secondary);
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 24px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-data-panel:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
    transform: translateY(-2px);
}

.dashboard-data-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
}

.dashboard-data-panel.panel-blue::before {
    background: var(--ios-blue);
}

.dashboard-data-panel.panel-teal::before {
    background: var(--ios-teal);
}

.dashboard-data-panel.panel-purple::before {
    background: var(--ios-purple);
}

.dashboard-data-panel.panel-green::before {
    background: var(--ios-green);
}

.dashboard-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dashboard-panel-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--ios-text-secondary);
}

.dashboard-panel-badge {
    background: var(--ios-blue);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.dashboard-panel-content {
    display: flex;
    align-items: flex-end;
    gap: 24px;
}

.dashboard-panel-stat {
    flex: 1;
}

.dashboard-panel-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--ios-text-primary);
    margin-bottom: 6px;
    line-height: 1;
}

.dashboard-panel-desc {
    font-size: 12px;
    color: var(--ios-text-tertiary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dashboard-panel-desc i {
    font-size: 14px;
}

.dashboard-panel-icon {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 64px;
    opacity: 0.06;
}

/* 标签页优化 */
.dashboard-tabs .nav-tabs {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    margin-bottom: 0;
}

.dashboard-tabs .nav-tabs > li {
    margin: 0;
}

.dashboard-tabs .nav-tabs > li > a {
    border: none;
    border-radius: 0;
    padding: 14px 20px;
    color: var(--ios-text-secondary);
    background: transparent;
    border-bottom: 2px solid transparent;
    margin: 0;
}

.dashboard-tabs .nav-tabs > li > a:hover {
    background: transparent;
    color: var(--ios-blue);
    border-bottom-color: rgba(0, 122, 255, 0.3);
}

.dashboard-tabs .nav-tabs > li.active > a {
    background: transparent;
    color: var(--ios-blue);
    border-bottom-color: var(--ios-blue);
    box-shadow: none;
}

/* 面板容器优化 */
.dashboard-tabs .panel {
    border-radius: 0 16px 16px 16px;
    margin-top: -1px;
}

.dashboard-tabs .panel-heading {
    border-radius: 16px 16px 0 0;
    background: var(--ios-bg-secondary);
    border-bottom: 1px solid var(--ios-gray-5);
    padding: 0;
}

.dashboard-tabs .panel-body {
    padding: 24px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .dashboard-stat-card {
        padding: 16px;
    }
    
    .dashboard-stat-icon {
        width: 56px;
        height: 56px;
        font-size: 26px;
        margin-right: 12px;
    }
    
    .dashboard-stat-number {
        font-size: 24px;
    }
    
    .dashboard-chart-container {
        padding: 16px;
    }
    
    .dashboard-metric-grid {
        padding: 12px;
    }
    
    .dashboard-metric-item {
        padding: 12px 6px;
    }
    
    .dashboard-metric-value {
        font-size: 20px;
    }
    
    .dashboard-data-panel {
        padding: 16px;
    }
    
    .dashboard-panel-number {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .dashboard-stat-number {
        font-size: 20px;
    }
    
    .dashboard-stat-label {
        font-size: 12px;
    }
    
    .dashboard-metric-icon {
        font-size: 22px;
    }
    
    .dashboard-metric-value {
        font-size: 18px;
    }
    
    .dashboard-metric-label {
        font-size: 11px;
    }
}

/* ===================================
   END - iOS Fixes
   ================================= */

