/* NanShare 主样式文件 - 基于示例样式 */

/* 全局主题变量 */
:root {
    color-scheme: dark;
    --v-theme-background: 17,24,39;
    --v-theme-surface: 22,29,44;
    --v-theme-primary: 61,111,213;
    --v-theme-secondary: 138,141,147;
    --v-theme-error: 255,76,81;
    --v-theme-info: 22,177,255;
    --v-theme-success: 86,202,0;
    --v-theme-warning: 255,180,0;
    --v-theme-side-bar: 17,24,39;
    --v-theme-side-bar-hover: 48,53,66;
    --v-theme-navitem: 25,32,47;
    --v-theme-card-bg: 23,29,43;
    --v-theme-config-card: 37,43,58;
    --v-theme-on-background: 231,227,252;
    --v-theme-on-surface: 231,227,252;
}

/* 应用容器 */
.v-application {
    background: rgb(var(--v-theme-background)) !important;
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(var(--v-theme-background));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: loadingFadeOut 0.5s ease-out 0.3s forwards;
}

@keyframes loadingFadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(61,111,213,0.2);
    border-top: 5px solid rgb(61,111,213);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: relative;
}

.loading-spinner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(139,92,246,0.3);
    border-top: 3px solid rgb(139,92,246);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite reverse;
}

@keyframes spin {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(360deg);
    }
}

/* 侧边栏样式 */
.magic-sidebar {
    background: rgb(var(--v-theme-side-bar)) !important;
    border-right: 1px solid rgba(231,227,252,0.12);
    position: relative;
    overflow: hidden;
}

/* 侧边栏背景光效 */
.magic-sidebar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(61,111,213,0.05) 0%, transparent 70%);
    animation: sidebarGlow 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes sidebarGlow {
    0%, 100% {
        transform: translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: translate(10%, 10%);
        opacity: 0.6;
    }
}

.magic-sidebar .logo-wrapper {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(231,227,252,0.12);
}

.magic-sidebar .logo-image {
    max-width: 200px;
    max-height: 120px;
    width: auto;
    height: auto;
    border-radius: 16px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
    background: rgba(255,255,255,0.05);
    padding: 8px;
    transition: all 0.3s ease;
}

.magic-sidebar .logo-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* 菜单分类 */
.menu-category {
    margin: 16px 0;
}

.category-header {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    margin-bottom: 8px;
}

.category-line {
    flex: 1;
    height: 1px;
    background: rgba(231,227,252,0.12);
}

.category-title {
    padding: 0 12px;
    font-size: 12px;
    color: rgba(231,227,252,0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 菜单项 */
.menu-item {
    position: relative;
    margin: 4px 8px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.item-content {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    position: relative;
    z-index: 2;
}

.item-icon {
    margin-right: 12px;
    font-size: 22px !important;
    color: rgba(231,227,252,0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-title {
    font-size: 15px;
    font-weight: 500;
    color: rgba(231,227,252,0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item:hover {
    background: rgb(var(--v-theme-side-bar-hover));
    transform: translateX(4px);
}

.menu-item:hover .item-icon {
    transform: scale(1.1) rotate(5deg);
    color: rgba(231,227,252,0.9);
}

.menu-item.active {
    background: rgb(var(--v-theme-navitem));
}

.menu-item.active .item-icon {
    color: rgb(61,111,213);
    transform: scale(1.1);
    animation: iconBounce 0.6s ease-out;
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.2);
    }
}

.menu-item.active .item-title {
    color: rgb(231,227,252);
    font-weight: 600;
}

/* 悬浮效果 */
.hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(61,111,213,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.menu-item:hover .hover-effect {
    opacity: 1;
}

/* 顶部应用栏 */
.fixed-header {
    backdrop-filter: blur(10px) !important;
    background-color: rgba(var(--v-theme-background), 0.7) !important;
    border-bottom: 1px solid rgba(231,227,252,0.12);
}

/* PWA 安全区域适配 - 避免顶部被状态栏遮挡 */
.safe-area-top {
    padding-top: max(12px, env(safe-area-inset-top, 12px)) !important;
}

/* 强制安全区域 */
.v-application {
    padding-top: env(safe-area-inset-top, 0px);
}

.v-app-bar.fixed-header {
    top: 0 !important;
    padding-top: max(12px, env(safe-area-inset-top, 12px)) !important;
}

.v-navigation-drawer {
    padding-top: env(safe-area-inset-top, 0px) !important;
}

@media screen and (display-mode: standalone) {
    /* PWA 独立模式 */
    .v-app-bar.fixed-header {
        padding-top: max(20px, env(safe-area-inset-top, 20px)) !important;
    }
    
    .v-navigation-drawer {
        padding-top: max(20px, env(safe-area-inset-top, 20px)) !important;
    }
}

/* 主内容区 */
.app-container {
    background: rgb(var(--v-theme-background));
    min-height: calc(100vh - 64px);
}

/* 统计卡片 */
.stat-cards {
    margin-bottom: 24px;
}

.stat-card {
    background: rgb(var(--v-theme-config-card)) !important;
    border: 1px solid rgba(231,227,252,0.12);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* 卡片光效 */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: rgba(61,111,213,0.3);
}

.glass-card {
    backdrop-filter: blur(10px);
    background: rgba(var(--v-theme-config-card), 0.8) !important;
}

/* 主卡片 */
.main-card {
    background: rgb(var(--v-theme-config-card)) !important;
    border: 1px solid rgba(231,227,252,0.12);
    border-radius: 16px;
    height: 100%;
}

.title-bar {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(231,227,252,0.12);
    font-size: 18px;
    font-weight: 600;
    color: rgb(var(--v-theme-on-surface));
}

/* 媒体统计 */
.media-stats .v-card-text {
    padding: 24px;
}

/* 状态卡片 */
.status-card .v-list-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(231,227,252,0.06);
}

.status-card .v-list-item:last-child {
    border-bottom: none;
}

/* 日志样式 */
.log-container {
    background: rgba(0,0,0,0.95);
    border-radius: 12px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    color: #00ff00;
    max-height: 500px;
    overflow-y: auto;
    font-size: 13px;
    line-height: 1.6;
}

.log-entry {
    margin-bottom: 8px;
    padding: 4px 0;
}

.log-info { color: #00aaff; }
.log-warn { color: #ffaa00; }
.log-error { color: #ff5555; }
.log-success { color: #00ff00; }

/* 响应式设计 */
@media (max-width: 1200px) {
    /* 中等屏幕：显示汉堡菜单，侧边栏可收起 */
    .v-app-bar .v-btn[aria-label="menu"] {
        display: flex !important;
    }
}

@media (min-width: 1201px) {
    /* 宽屏：隐藏汉堡菜单，侧边栏常驻 */
    .v-app-bar .v-btn[aria-label="menu"] {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .stat-cards .v-col {
        margin-bottom: 16px;
    }
    
    .main-card {
        margin-bottom: 16px;
    }
    
    .title-bar {
        padding: 16px 20px 12px;
        font-size: 16px;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(var(--v-theme-scrollbar), 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(var(--v-theme-scrollbar), 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--v-theme-scrollbar), 0.5);
}

/* 动画效果 */
.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s ease;
}

.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.slide-enter-active, .slide-leave-active {
    transition: transform 0.3s ease;
}

.slide-enter-from {
    transform: translateX(-100%);
}

.slide-leave-to {
    transform: translateX(100%);
}

/* 卡片悬浮效果 */
.card-hover-no-margin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* 页面内容淡入动画 */
.app-container {
    animation: pageContentFadeIn 0.5s ease-out;
}

@keyframes pageContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 卡片交错淡入动画 */
.stat-card,
.main-card,
.config-card {
    animation: cardFadeIn 0.5s ease-out backwards;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.15s; }
.stat-card:nth-child(3) { animation-delay: 0.2s; }
.stat-card:nth-child(4) { animation-delay: 0.25s; }

.main-card:nth-child(1) { animation-delay: 0.3s; }
.main-card:nth-child(2) { animation-delay: 0.35s; }

.config-card:nth-child(1) { animation-delay: 0.1s; }
.config-card:nth-child(2) { animation-delay: 0.15s; }
.config-card:nth-child(3) { animation-delay: 0.2s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 侧边栏菜单项淡入动画 */
.menu-item {
    animation: menuItemSlideIn 0.4s ease-out backwards;
}

.menu-item:nth-child(1) { animation-delay: 0.05s; }
.menu-item:nth-child(2) { animation-delay: 0.1s; }
.menu-item:nth-child(3) { animation-delay: 0.15s; }
.menu-item:nth-child(4) { animation-delay: 0.2s; }
.menu-item:nth-child(5) { animation-delay: 0.25s; }
.menu-item:nth-child(6) { animation-delay: 0.3s; }
.menu-item:nth-child(7) { animation-delay: 0.35s; }
.menu-item:nth-child(8) { animation-delay: 0.4s; }
.menu-item:nth-child(9) { animation-delay: 0.45s; }
.menu-item:nth-child(10) { animation-delay: 0.5s; }
.menu-item:nth-child(11) { animation-delay: 0.55s; }

@keyframes menuItemSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Logo淡入动画 */
.logo-image {
    animation: logoFadeIn 0.8s ease-out;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* 版本号淡入动画 */
.version-container {
    animation: versionSlideUp 0.6s ease-out 0.3s backwards;
}

@keyframes versionSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 网络速度和系统状态样式 */
.network-speed, .system-stat {
    font-size: 12px;
    font-weight: 600;
    color: rgb(var(--v-theme-on-surface));
}

/* 等高行 */
.row-equal-height {
    display: flex;
    flex-wrap: wrap;
}

.row-equal-height > [class*="v-col"] {
    display: flex;
    flex-direction: column;
}

.row-equal-height .v-card {
    flex: 1;
}

/* redia原有组件样式 */
.usage-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.usage-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.usage-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usage-text {
    font-size: 14px;
    font-weight: 500;
    color: rgb(var(--v-theme-on-surface));
}

.plugin-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(61,111,213,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.config-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.config-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(86,202,0);
    flex-shrink: 0;
}

.config-name {
    font-size: 14px;
    font-weight: 500;
    color: rgb(var(--v-theme-on-surface));
}

/* 确保卡片内容正确显示 */
.glass-card {
    backdrop-filter: blur(10px);
    background: rgba(var(--v-theme-config-card), 0.8) !important;
    border: 1px solid rgba(231,227,252,0.12);
    border-radius: 16px;
}

/* 修复菜单项样式 */
.menu-items {
    padding: 0 8px;
}

.menu-item {
    margin: 4px 0;
}

/* 移除分类标题样式，因为不再使用分类 */
.menu-category .category-header {
    display: none;
}
/* App图标样式 - 确保favicon也有圆角 */
link[rel="shortcut icon"],
link[rel="apple-touch-icon"] {
    border-radius: 20%;
}

/* 插件图标样式优化 */
.plugin-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(61,111,213,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.plugin-icon img {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
}

/* 确保所有图片都有合适的圆角 */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* 侧边栏logo容器优化 */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
/* 移动端适配 */
@media (max-width: 768px) {
    /* 仪表盘标题 */
    .dashboard h2 {
        font-size: 24px !important;
        margin-bottom: 16px !important;
    }
    
    /* 卡片间距调整 */
    .stat-cards .v-col {
        margin-bottom: 12px;
    }
    
    .stat-card {
        height: 140px !important;
        padding: 16px !important;
    }
    
    .main-card {
        height: auto !important;
        min-height: 160px;
        margin-bottom: 16px;
        padding: 16px !important;
    }
    
    /* 标题字体调整 */
    .stat-card h3,
    .main-card h3 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }
    
    /* 最近缓存记录标题 - 排除plugin-name */
    .dashboard h3:not(.plugin-name) {
        font-size: 18px !important;
        margin-bottom: 12px !important;
    }
    
    /* 配置卡片标题对齐修复 */
    .dashboard .config-card .plugin-name {
        margin: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* 配置项间距 */
    .config-item {
        padding: 8px 0 !important;
    }
    
    /* 使用情况网格 */
    .usage-grid {
        gap: 8px !important;
    }
    
    /* 侧边栏移动端适配 */
    .magic-sidebar {
        width: 210px !important;
    }
    
    .magic-sidebar .logo-wrapper {
        padding: 12px !important;
    }
    
    .magic-sidebar .logo-image {
        max-width: 100% !important;
        width: calc(100% - 24px) !important;
        height: auto !important;
        max-height: none !important;
    }
    
    .magic-sidebar .item-title {
        font-size: 15px !important;
    }
    
    .magic-sidebar .item-icon {
        font-size: 22px !important;
    }
    
    .magic-sidebar .item-content {
        padding: 10px 12px !important;
    }
    
    /* 应用栏移动端适配 */
    .v-app-bar {
        padding-top: 0 !important;
    }
    
    /* 主内容区移动端适配 */
    .app-container {
        padding: 16px !important;
    }
    
    /* 消息提示移动端适配 */
    .v-snackbar {
        margin: 8px !important;
    }
    
    /* 对话框移动端适配 */
    .v-dialog {
        margin: 16px !important;
    }
    
    /* 配置卡片移动端适配 - 修复图标和文字对齐 */
    .config-card .card-header {
        min-height: 40px;
    }
    
    .config-card .plugin-icon {
        width: 40px;
        height: 40px;
    }
    
    .config-card .plugin-icon img {
        width: 28px;
        height: 28px;
    }
    
    .config-card .plugin-name {
        font-size: 15px;
        height: 40px;
    }
    
    /* 禁用卡片动画以提升性能 */
    .stat-card,
    .main-card,
    .config-card,
    .menu-item {
        animation: none !important;
    }
    
    /* 简化悬停效果 */
    .stat-card:hover,
    .config-card:hover {
        transform: translateY(-2px) scale(1);
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .dashboard h2 {
        font-size: 20px !important;
    }
    
    .stat-card {
        height: 120px !important;
        padding: 12px !important;
    }
    
    .stat-card h3,
    .main-card h3 {
        font-size: 14px !important;
    }
    
    .usage-text,
    .config-name {
        font-size: 13px !important;
    }
    
    .app-container {
        padding: 12px !important;
    }
    
    .magic-sidebar .logo-image {
        max-width: 100% !important;
        width: calc(100% - 24px) !important;
        height: auto !important;
        max-height: none !important;
    }
    
    /* 缓存管理页面移动端优化 */
    .cache-item {
        padding: 10px 12px !important;
        margin-bottom: 6px !important;
    }
    
    .cache-item .v-chip {
        height: 18px !important;
        font-size: 10px !important;
    }
    
    .cache-item .v-btn {
        min-width: 28px !important;
        width: 28px !important;
        height: 28px !important;
    }
}


/* ========== 日志样式 - Symedia风格 ========== */

/* 日志表格容器 */
.table-container {
    height: 100%;
    overflow-y: auto;
}

/* 日志表格 */
.logs-table {
    background: transparent !important;
}

.logs-table tbody tr {
    border-bottom: 1px solid rgba(231,227,252,0.06);
}

.logs-table tbody tr:hover {
    background: rgba(255,255,255,0.03) !important;
}

.logs-table td {
    border-bottom: none !important;
    font-size: 14px;
}

/* 日志级别标签 */
.logs-table .v-chip {
    font-weight: 500;
    min-width: 70px;
    justify-content: center;
}

/* 日志弹窗 */
.log-dialog .v-overlay__content {
    border-radius: 16px !important;
}

.log-dialog .v-overlay__scrim {
    background: rgba(0, 0, 0, 0.7) !important;
}

.log-dialog-card {
    background: rgb(var(--v-theme-background)) !important;
    border-radius: 16px !important;
    overflow: hidden;
}

.log-dialog-title {
    border-bottom: 1px solid rgba(231,227,252,0.08);
}

.log-table-container {
    height: calc(100vh - 200px);
}

/* 日志工具栏 */
.log-toolbar {
    border-bottom: 1px solid rgba(231,227,252,0.08);
    padding-bottom: 12px !important;
}

/* 侧边栏日志页面卡片 */
.logs-page-card {
    background: rgb(var(--v-theme-background)) !important;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.logs-page-card .v-card-title {
    border-bottom: 1px solid rgba(231,227,252,0.08);
}

/* 移动端日志弹窗适配 */
@media (max-width: 768px) {
    /* 移动端全屏弹窗 */
    .log-dialog .v-overlay__content {
        border-radius: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
    
    .log-dialog-card {
        border-radius: 0 !important;
        height: 100vh !important;
    }
    
    /* 移动端安全区域 */
    .log-dialog-title {
        padding-top: max(16px, env(safe-area-inset-top, 16px)) !important;
    }
    
    .log-table-container {
        height: calc(100vh - 180px - env(safe-area-inset-top, 0px)) !important;
    }
    
    /* 工具栏居中对称 */
    .log-toolbar .d-flex {
        justify-content: center !important;
    }
    
    .log-toolbar .v-btn-group {
        margin-right: 0 !important;
    }
    
    .logs-table td {
        font-size: 12px;
        padding: 8px 12px !important;
    }
    
    .logs-table .v-chip {
        font-size: 11px;
        min-width: 60px;
    }
    
    .logs-table .d-flex {
        flex-wrap: wrap;
        gap: 8px !important;
    }
    
    .logs-table .d-inline-flex {
        min-width: auto !important;
    }
    
    .logs-page-card .px-4 {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}


/* ========== 配置卡片样式 ========== */

.config-card {
    position: relative;
    background: rgba(var(--v-theme-config-card), 0.8) !important;
    border: 1px solid rgba(231,227,252,0.12);
    border-radius: 16px;
    padding: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 卡片光效 */
.config-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.config-card:hover::after {
    opacity: 1;
}

.config-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    border-color: rgba(61,111,213,0.3);
}

.config-card .card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    min-height: 48px;
}

.config-card .plugin-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.config-card .plugin-icon img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: contain;
    display: block;
}

.config-card .plugin-icon .v-img {
    width: 40px !important;
    height: 40px !important;
    flex: none;
}

.config-card .plugin-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 48px;
}

.config-card .card-divider {
    height: 1px;
    background: rgba(231,227,252,0.12);
    margin: 12px 0;
}

.config-card .config-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.config-card .config-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}

.config-card .config-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.config-card .config-dot.active {
    background: #56CA00;
    box-shadow: 0 0 8px rgba(86,202,0,0.5);
}

.config-card .config-name {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
}

/* 仪表盘配置卡片等高 */
.config-card.media-card,
.config-card.cloud-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.config-card.media-card .config-list,
.config-card.cloud-card .config-list {
    flex: 1;
}

/* 霓虹边框 */
.neon-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 16px 16px 0 0;
}

.neon-border.neon-purple {
    background: linear-gradient(90deg, #8B5CF6, #A78BFA);
    box-shadow: 0 0 10px rgba(139,92,246,0.5);
}

.neon-border.neon-blue {
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    box-shadow: 0 0 10px rgba(59,130,246,0.5);
}

/* 卡片光晕 */
.card-glow {
    position: absolute;
    bottom: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    opacity: 0.05;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.config-card:hover .card-glow {
    opacity: 0.1;
}

.purple-glow {
    background: radial-gradient(circle, #8B5CF6 0%, transparent 70%);
}

.blue-glow {
    background: radial-gradient(circle, #3B82F6 0%, transparent 70%);
}

.neon-border.neon-cyan {
    background: linear-gradient(90deg, #00BCD4, #26C6DA);
    box-shadow: 0 0 10px rgba(0,188,212,0.5);
}

.cyan-glow {
    background: radial-gradient(circle, #00BCD4 0%, transparent 70%);
}


/* ========== 浅色主题样式 ========== */
.v-theme--light {
    --v-theme-background: 244,245,250;
    --v-theme-surface: 255,255,255;
    --v-theme-side-bar: 255,255,255;
    --v-theme-side-bar-hover: 240,242,248;
    --v-theme-navitem: 248,249,252;
    --v-theme-card-bg: 255,255,255;
    --v-theme-config-card: 245,245,245;
    --v-theme-on-background: 47,43,61;
    --v-theme-on-surface: 47,43,61;
    --v-theme-scrollbar: 208,208,208;
}

/* 浅色主题侧边栏 */
.v-theme--light .magic-sidebar {
    background: rgb(255,255,255) !important;
    border-right: 1px solid rgba(47,43,61,0.12);
}

.v-theme--light .magic-sidebar .logo-wrapper {
    border-bottom: 1px solid rgba(47,43,61,0.12);
}

.v-theme--light .magic-sidebar .logo-image {
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
    background: rgba(0,0,0,0.03);
}

/* 浅色主题菜单项 */
.v-theme--light .menu-item .item-icon {
    color: rgba(47,43,61,0.7);
}

.v-theme--light .menu-item .item-title {
    color: rgba(47,43,61,0.9);
}

.v-theme--light .menu-item:hover {
    background: rgb(240,242,248);
}

.v-theme--light .menu-item:hover .item-icon {
    color: rgba(47,43,61,0.9);
}

.v-theme--light .menu-item.active {
    background: rgb(238,242,255);
}

.v-theme--light .menu-item.active .item-icon {
    color: rgb(61,111,213);
}

.v-theme--light .menu-item.active .item-title {
    color: rgb(47,43,61);
}

/* 浅色主题顶部栏 */
.v-theme--light .fixed-header {
    background-color: rgba(244,245,250, 0.85) !important;
    border-bottom: 1px solid rgba(47,43,61,0.12);
}

/* 浅色主题按钮 - 确保可见性 */
.v-theme--light .header-icon-btn {
    background: rgba(47,43,61,0.06) !important;
    color: rgb(47,43,61) !important;
}

.v-theme--light .header-icon-btn:hover {
    background: rgba(47,43,61,0.12) !important;
}

.v-theme--light .header-icon-btn .v-icon {
    color: rgb(47,43,61) !important;
}

/* 浅色主题用户菜单 */
.v-theme--light .elegant-menu {
    background: rgb(255,255,255) !important;
    border: 1px solid rgba(47,43,61,0.12);
}

.v-theme--light .elegant-menu .v-list-item-title {
    color: rgb(47,43,61) !important;
}

.v-theme--light .elegant-menu-item:hover {
    background: rgba(47,43,61,0.05) !important;
}

/* 浅色主题卡片 */
.v-theme--light .stat-card,
.v-theme--light .main-card,
.v-theme--light .glass-card,
.v-theme--light .config-card {
    background: rgb(255,255,255) !important;
    border: 1px solid rgba(47,43,61,0.12);
}

.v-theme--light .stat-card:hover,
.v-theme--light .main-card:hover,
.v-theme--light .config-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* 浅色主题标题栏 */
.v-theme--light .title-bar {
    border-bottom: 1px solid rgba(47,43,61,0.12);
    color: rgb(47,43,61);
}

/* 浅色主题分类标题 */
.v-theme--light .category-line {
    background: rgba(47,43,61,0.12);
}

.v-theme--light .category-title {
    color: rgba(47,43,61,0.6);
}

/* 浅色主题文字颜色 */
.v-theme--light .usage-text,
.v-theme--light .config-name,
.v-theme--light .network-speed,
.v-theme--light .system-stat {
    color: rgb(47,43,61) !important;
}

.v-theme--light h2,
.v-theme--light h3 {
    color: rgb(47,43,61) !important;
}

/* 浅色主题注释和说明文字 - 增强对比度 */
.v-theme--light .text-caption,
.v-theme--light .text-body-2,
.v-theme--light .v-list-item-subtitle,
.v-theme--light [class*="text-grey"],
.v-theme--light .text-secondary {
    color: rgba(47,43,61,0.85) !important;
}

/* 浅色主题小字体说明 */
.v-theme--light .text-sm,
.v-theme--light small,
.v-theme--light .subtitle,
.v-theme--light .description {
    color: rgba(47,43,61,0.8) !important;
}

/* 浅色主题卡片内的副标题 */
.v-theme--light .v-card-subtitle,
.v-theme--light .stat-card .subtitle,
.v-theme--light .config-card .description {
    color: rgba(47,43,61,0.8) !important;
}

/* 浅色主题表单标签和提示 */
.v-theme--light .v-label,
.v-theme--light .v-messages,
.v-theme--light .v-input__details {
    color: rgba(47,43,61,0.8) !important;
}

/* 浅色主题禁用状态文字 */
.v-theme--light .v-btn--disabled,
.v-theme--light .text-disabled {
    color: rgba(47,43,61,0.4) !important;
}

/* 浅色主题 - 所有辅助文字 */
.v-theme--light .text-medium-emphasis {
    color: rgba(47,43,61,0.8) !important;
}

.v-theme--light .text-high-emphasis {
    color: rgba(47,43,61,0.95) !important;
}

.v-theme--light .text-low-emphasis {
    color: rgba(47,43,61,0.6) !important;
}

/* 浅色主题 - 输入框提示文字 */
.v-theme--light .v-field__input::placeholder,
.v-theme--light .v-text-field input::placeholder,
.v-theme--light .v-textarea textarea::placeholder {
    color: rgba(47,43,61,0.6) !important;
    opacity: 1 !important;
}

/* 浅色主题 - 表单帮助文字 */
.v-theme--light .v-input__append,
.v-theme--light .v-input__prepend,
.v-theme--light .v-field__append-inner,
.v-theme--light .v-field__prepend-inner {
    color: rgba(47,43,61,0.7) !important;
}

/* 浅色主题 - 所有说明性文字 */
.v-theme--light p,
.v-theme--light span:not(.v-btn__content):not(.v-chip__content) {
    color: inherit;
}

/* 浅色主题 - 确保所有灰色文字可见 */
.v-theme--light [style*="color: rgba(255,255,255,0.5)"],
.v-theme--light [style*="color: rgba(255,255,255,0.6)"],
.v-theme--light [style*="color: rgba(255,255,255,0.7)"] {
    color: rgba(47,43,61,0.75) !important;
}

/* 浅色主题 - 监控卡片标签 */
.v-theme--light .monitor-label {
    color: rgba(47, 43, 61, 0.7) !important;
}

.v-theme--light .monitor-subtitle {
    color: rgba(47, 43, 61, 0.65) !important;
}

/* 浅色主题 - 网络速度和系统状态 */
.v-theme--light .network-speed,
.v-theme--light .system-stat {
    color: rgba(47, 43, 61, 0.9) !important;
}

/* 浅色主题日志 */
.v-theme--light .logs-page-card,
.v-theme--light .log-dialog-card {
    background: rgb(255,255,255) !important;
}

.v-theme--light .logs-table tbody tr {
    border-bottom: 1px solid rgba(47,43,61,0.08);
}

.v-theme--light .logs-table tbody tr:hover {
    background: rgba(0,0,0,0.02) !important;
}

.v-theme--light .log-dialog-title,
.v-theme--light .logs-page-card .v-card-title {
    border-bottom: 1px solid rgba(47,43,61,0.08);
}

.v-theme--light .log-toolbar {
    border-bottom: 1px solid rgba(47,43,61,0.08);
}

/* 浅色主题滚动条 */
.v-theme--light ::-webkit-scrollbar-track {
    background: rgba(208,208,208, 0.2);
}

.v-theme--light ::-webkit-scrollbar-thumb {
    background: rgba(189,189,189, 0.5);
}

.v-theme--light ::-webkit-scrollbar-thumb:hover {
    background: rgba(158,158,158, 0.7);
}

/* 浅色主题加载动画 */
.v-theme--light .loading {
    background: rgb(244,245,250);
}

/* 浅色主题配置卡片 */
.v-theme--light .config-card .plugin-name {
    color: rgb(47,43,61);
}

.v-theme--light .config-card .config-name {
    color: rgba(47,43,61,0.85);
}

.v-theme--light .config-card .card-divider {
    background: rgba(47,43,61,0.12);
}

.v-theme--light .config-card .config-dot {
    background: rgba(47,43,61,0.3);
}

/* 浅色主题提示信息 */
.v-theme--light [style*="background: rgba(61,111,213,0.1)"],
.v-theme--light [style*="background: rgba(86,202,0,0.1)"],
.v-theme--light [style*="background: rgba(255,180,0,0.1)"] {
    border: 1px solid rgba(47,43,61,0.08);
}

/* 浅色主题输入框 */
.v-theme--light .v-field--variant-outlined .v-field__outline {
    --v-field-border-opacity: 0.2;
}

/* 浅色主题渐变线 */
.v-theme--light [style*="background: linear-gradient"] {
    opacity: 0.8;
}

/* 浅色主题版本号 */
.v-theme--light .version-container {
    background: rgba(0,0,0,0.06);
}

.v-theme--light .version-container .version-text {
    color: rgba(47,43,61,0.6);
}

.v-theme--light .sidebar-menu-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
}

.v-theme--light .sidebar-menu-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}


/* ========== 顶部栏按钮动画和样式 ========== */

/* 按钮容器 */
.header-actions {
    animation: headerSlideIn 0.6s ease-out;
}

@keyframes headerSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 优雅的图标按钮 */
.header-icon-btn {
    position: relative;
    width: 40px !important;
    height: 40px !important;
    border-radius: 10px !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: visible !important;
}

.header-icon-btn .v-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 深色主题按钮样式 */
.v-theme--dark .header-icon-btn {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.v-theme--dark .header-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 浅色主题按钮样式 */
.v-theme--light .header-icon-btn {
    background: rgba(47, 43, 61, 0.06) !important;
    color: rgba(47, 43, 61, 0.7) !important;
}

.v-theme--light .header-icon-btn:hover {
    background: rgba(47, 43, 61, 0.12) !important;
    color: rgba(47, 43, 61, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 按钮特定颜色 */
.log-btn:hover .v-icon {
    transform: scale(1.1);
}

.theme-toggle-btn:hover .v-icon {
    transform: scale(1.15) rotate(15deg);
}

.user-btn:hover .v-icon {
    transform: scale(1.1);
}

/* 分隔线 */
.header-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 4px;
}

.v-theme--light .header-divider {
    background: rgba(47, 43, 61, 0.12);
}

/* 优雅的下拉菜单 */
.elegant-menu {
    border-radius: 16px !important;
    overflow: hidden;
    min-width: 220px;
    padding: 8px;
    animation: menuSlideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes menuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.elegant-menu-item {
    border-radius: 12px !important;
    margin: 4px 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 12px 16px !important;
}

.elegant-menu-item:hover {
    transform: translateX(4px);
}

.v-theme--dark .elegant-menu-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
}

.v-theme--light .elegant-menu-item:hover {
    background: rgba(47, 43, 61, 0.06) !important;
}

/* 菜单图标包装器 */
.menu-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.primary-icon {
    background: rgba(61, 111, 213, 0.15);
    color: rgb(61, 111, 213);
}

.info-icon {
    background: rgba(22, 177, 255, 0.15);
    color: rgb(22, 177, 255);
}

.error-icon {
    background: rgba(255, 76, 81, 0.15);
    color: rgb(255, 76, 81);
}

.warning-icon {
    background: rgba(255, 180, 0, 0.15);
    color: rgb(255, 180, 0);
}

.elegant-menu-item:hover .menu-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.elegant-menu-item:hover .primary-icon {
    background: rgba(61, 111, 213, 0.25);
    box-shadow: 0 0 12px rgba(61, 111, 213, 0.3);
}

.elegant-menu-item:hover .info-icon {
    background: rgba(22, 177, 255, 0.25);
    box-shadow: 0 0 12px rgba(22, 177, 255, 0.3);
}

.elegant-menu-item:hover .error-icon {
    background: rgba(255, 76, 81, 0.25);
    box-shadow: 0 0 12px rgba(255, 76, 81, 0.3);
}

.elegant-menu-item:hover .warning-icon {
    background: rgba(255, 180, 0, 0.25);
    box-shadow: 0 0 12px rgba(255, 180, 0, 0.3);
}

/* 菜单项标题 */
.elegant-menu-item .v-list-item-title {
    font-weight: 500;
    font-size: 15px;
}

/* 按钮脉冲动画 */
@keyframes btnPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(61, 111, 213, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(61, 111, 213, 0);
    }
}

/* 图标脉冲动画 - 用于健康状态指示 */
@keyframes iconPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.pulse-icon {
    animation: iconPulse 2s ease-in-out infinite;
}

.header-icon-btn:focus-visible {
    animation: btnPulse 1.5s ease-in-out infinite;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .header-actions {
        gap: 4px;
    }
    
    .header-icon-btn {
        width: 36px !important;
        height: 36px !important;
    }
    
    .header-icon-btn .v-icon {
        font-size: 20px !important;
    }
    
    .header-divider {
        height: 20px;
    }
    
    .elegant-menu {
        min-width: 200px;
    }
    
    .menu-icon-wrapper {
        width: 32px;
        height: 32px;
    }
}


/* ========== 侧边栏布局优化 ========== */

/* 侧边栏整体布局 */
.magic-sidebar .v-navigation-drawer__content {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* 菜单滚动区域 */
.sidebar-menu-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.sidebar-menu-scroll::-webkit-scrollbar {
    width: 4px;
}

.sidebar-menu-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu-scroll::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
}

.sidebar-menu-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

/* 版本号容器 */
.version-container {
    background: rgba(255,255,255,0.08);
    border-radius: 20px;
}

.version-container .version-text {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    font-weight: 500;
}

/* 浅色主题版本号 */
.v-theme--light .version-container {
    background: rgba(0,0,0,0.06);
}

.v-theme--light .version-container .version-text {
    color: rgba(47,43,61,0.5);
}

.v-theme--light .sidebar-menu-scroll::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.15);
}

.v-theme--light .sidebar-menu-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.25);
}


/* ========== 系统监控卡片样式 ========== */

.system-monitor-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(61, 111, 213, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.system-monitor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3D6FD5, #8B5CF6, #00BCD4);
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.system-monitor-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(61, 111, 213, 0.2);
    border-color: rgba(61, 111, 213, 0.5) !important;
}

/* 监控网格 */
.monitor-grid {
    margin: 0 -8px;
}

.monitor-grid .v-col {
    padding: 8px;
}

/* 监控项 */
.monitor-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.monitor-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* 监控图标包装器 */
.monitor-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.cpu-icon {
    background: rgba(255, 180, 0, 0.15);
}

.memory-icon {
    background: rgba(156, 39, 176, 0.15);
}

.disk-icon {
    background: rgba(255, 76, 81, 0.15);
}

.network-icon {
    background: rgba(86, 202, 0, 0.15);
}

.monitor-item:hover .monitor-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.monitor-item:hover .cpu-icon {
    box-shadow: 0 0 16px rgba(255, 180, 0, 0.4);
}

.monitor-item:hover .memory-icon {
    box-shadow: 0 0 16px rgba(156, 39, 176, 0.4);
}

.monitor-item:hover .disk-icon {
    box-shadow: 0 0 16px rgba(255, 76, 81, 0.4);
}

.monitor-item:hover .network-icon {
    box-shadow: 0 0 16px rgba(86, 202, 0, 0.4);
}

/* 监控内容 */
.monitor-content {
    flex: 1;
    min-width: 0;
}

.monitor-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.monitor-value {
    font-size: 20px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.2;
}

.monitor-value-sm {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.monitor-subtitle {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.network-stats {
    margin-top: 4px;
}

/* 浅色主题监控卡片 */
.v-theme--light .system-monitor-card {
    border-color: rgba(61, 111, 213, 0.2) !important;
}

.v-theme--light .system-monitor-card:hover {
    border-color: rgba(61, 111, 213, 0.4) !important;
    box-shadow: 0 12px 40px rgba(61, 111, 213, 0.15);
}

.v-theme--light .monitor-item {
    background: rgba(47, 43, 61, 0.03);
    border-color: rgba(47, 43, 61, 0.08);
}

.v-theme--light .monitor-item:hover {
    background: rgba(47, 43, 61, 0.05);
    border-color: rgba(47, 43, 61, 0.15);
}

.v-theme--light .monitor-label {
    color: rgba(47, 43, 61, 0.6);
}

.v-theme--light .monitor-value,
.v-theme--light .monitor-value-sm {
    color: rgba(47, 43, 61, 0.95);
}

.v-theme--light .monitor-subtitle {
    color: rgba(47, 43, 61, 0.5);
}

/* 移动端监控卡片适配 */
@media (max-width: 768px) {
    .monitor-item {
        padding: 12px;
    }
    
    .monitor-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .monitor-icon-wrapper .v-icon {
        font-size: 20px !important;
    }
    
    .monitor-value {
        font-size: 16px;
    }
    
    .monitor-value-sm {
        font-size: 12px;
    }
    
    .monitor-label {
        font-size: 11px;
    }
}

@media (max-width: 600px) {
    .monitor-grid .v-col {
        padding: 6px;
    }
    
    .monitor-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px 12px;
    }
    
    .monitor-content {
        width: 100%;
    }
}


/* ========== 浅色主题 - 强制修复所有注释文字 ========== */

/* 浅色主题 - 所有内联样式的灰色文字 */
.v-theme--light div[style*="color: rgba(255,255,255"],
.v-theme--light span[style*="color: rgba(255,255,255"],
.v-theme--light p[style*="color: rgba(255,255,255"] {
    color: rgba(47,43,61,0.8) !important;
}

/* 浅色主题 - 配置项说明 */
.v-theme--light .config-item div,
.v-theme--light .config-item span {
    color: rgba(47,43,61,0.85) !important;
}

/* 浅色主题 - 缓存记录说明 */
.v-theme--light .config-item div[style*="font-size: 12px"] {
    color: rgba(47,43,61,0.75) !important;
}

/* 浅色主题 - 表单字段说明 */
.v-theme--light .v-field__field,
.v-theme--light .v-field__input,
.v-theme--light .v-field-label {
    color: rgba(47,43,61,0.9) !important;
}

/* 浅色主题 - 对话框和卡片中的说明文字 */
.v-theme--light .v-card-text,
.v-theme--light .v-dialog .v-card-text {
    color: rgba(47,43,61,0.85) !important;
}

/* 浅色主题 - 列表项说明 */
.v-theme--light .v-list-item-title,
.v-theme--light .v-list-item-subtitle {
    color: rgba(47,43,61,0.9) !important;
}

/* 浅色主题 - 所有小号字体 */
.v-theme--light [style*="font-size: 11px"],
.v-theme--light [style*="font-size: 12px"],
.v-theme--light [style*="font-size: 13px"] {
    color: rgba(47,43,61,0.8) !important;
}

/* 浅色主题 - Vuetify 默认的 medium-emphasis */
.v-theme--light .v-input--density-default .v-field__input,
.v-theme--light .v-input--density-default .v-label {
    color: rgba(47,43,61,0.85) !important;
}

/* 浅色主题 - 确保所有文本输入可见 */
.v-theme--light input,
.v-theme--light textarea,
.v-theme--light select {
    color: rgba(47,43,61,0.95) !important;
}

/* 浅色主题 - API 设置页面的所有文字 */
.v-theme--light .v-expansion-panel-text,
.v-theme--light .v-expansion-panel-title {
    color: rgba(47,43,61,0.9) !important;
}

/* 浅色主题 - 开关和复选框标签 */
.v-theme--light .v-switch__label,
.v-theme--light .v-checkbox__label,
.v-theme--light .v-radio__label {
    color: rgba(47,43,61,0.9) !important;
}

/* 浅色主题 - 表格文字 */
.v-theme--light .v-table td,
.v-theme--light .v-table th {
    color: rgba(47,43,61,0.9) !important;
}

/* 浅色主题 - 提示信息 */
.v-theme--light .v-alert__content {
    color: rgba(47,43,61,0.9) !important;
}

/* 浅色主题 - 选项卡文字 */
.v-theme--light .v-tab {
    color: rgba(47,43,61,0.7) !important;
}

.v-theme--light .v-tab--selected {
    color: rgba(47,43,61,0.95) !important;
}

/* 浅色主题 - 菜单项文字 */
.v-theme--light .v-menu .v-list-item {
    color: rgba(47,43,61,0.9) !important;
}


/* ========== 浅色主题 - 终极修复：覆盖所有内联白色文字样式 ========== */

/* 强制覆盖所有白色半透明文字 - 0.4 透明度 */
.v-theme--light [style*="color: rgba(255,255,255,0.4)"],
.v-theme--light [style*="color:rgba(255,255,255,0.4)"] {
    color: rgba(47,43,61,0.65) !important;
}

/* 强制覆盖所有白色半透明文字 - 0.5 透明度 */
.v-theme--light [style*="color: rgba(255,255,255,0.5)"],
.v-theme--light [style*="color:rgba(255,255,255,0.5)"] {
    color: rgba(47,43,61,0.7) !important;
}

/* 强制覆盖所有白色半透明文字 - 0.6 透明度 */
.v-theme--light [style*="color: rgba(255,255,255,0.6)"],
.v-theme--light [style*="color:rgba(255,255,255,0.6)"] {
    color: rgba(47,43,61,0.75) !important;
}

/* 强制覆盖所有白色半透明文字 - 0.7 透明度 */
.v-theme--light [style*="color: rgba(255,255,255,0.7)"],
.v-theme--light [style*="color:rgba(255,255,255,0.7)"] {
    color: rgba(47,43,61,0.8) !important;
}

/* 强制覆盖所有白色半透明文字 - 0.8 透明度 */
.v-theme--light [style*="color: rgba(255,255,255,0.8)"],
.v-theme--light [style*="color:rgba(255,255,255,0.8)"] {
    color: rgba(47,43,61,0.85) !important;
}

/* 强制覆盖所有白色半透明文字 - 0.9 透明度 */
.v-theme--light [style*="color: rgba(255,255,255,0.9)"],
.v-theme--light [style*="color:rgba(255,255,255,0.9)"] {
    color: rgba(47,43,61,0.9) !important;
}

/* 强制覆盖所有白色文字 - 1.0 透明度 */
.v-theme--light [style*="color: rgba(255,255,255,1)"],
.v-theme--light [style*="color:rgba(255,255,255,1)"],
.v-theme--light [style*="color: white"],
.v-theme--light [style*="color:white"],
.v-theme--light [style*="color: #fff"],
.v-theme--light [style*="color:#fff"],
.v-theme--light [style*="color: #ffffff"],
.v-theme--light [style*="color:#ffffff"] {
    color: rgba(47,43,61,0.95) !important;
}

/* 浅色主题 - 版本号文字 */
.v-theme--light .version-text {
    color: rgba(47,43,61,0.7) !important;
}

/* 浅色主题 - 信息提示框内的文字 */
.v-theme--light div[style*="background: rgba(61,111,213,0.1)"] div,
.v-theme--light div[style*="background: rgba(255,180,0,0.1)"] div,
.v-theme--light div[style*="background: rgba(86,202,0,0.1)"] div {
    color: rgba(47,43,61,0.85) !important;
}

/* 浅色主题 - code 标签 */
.v-theme--light code {
    background: rgba(47,43,61,0.1) !important;
    color: rgba(47,43,61,0.9) !important;
}

/* 浅色主题 - 空状态提示 */
.v-theme--light div[style*="text-align: center"] p {
    color: rgba(47,43,61,0.7) !important;
}

/* 浅色主题 - 所有 span 标签（除了按钮内容） */
.v-theme--light span:not(.v-btn__content):not(.v-chip__content):not(.v-icon) {
    color: inherit !important;
}

/* 浅色主题 - 确保继承正确的颜色 */
.v-theme--light .v-card-text span,
.v-theme--light .v-list-item span,
.v-theme--light .v-expansion-panel-text span {
    color: rgba(47,43,61,0.85) !important;
}
