/* 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;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(61,111,213,0.3);
    border-top: 4px solid rgb(61,111,213);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@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);
}

.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 ease;
}

.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: color 0.3s ease;
}

.item-title {
    font-size: 15px;
    font-weight: 500;
    color: rgba(231,227,252,0.9);
    transition: color 0.3s ease;
}

.menu-item:hover {
    background: rgb(var(--v-theme-side-bar-hover));
}

.menu-item.active {
    background: rgb(var(--v-theme-navitem));
}

.menu-item.active .item-icon {
    color: rgb(61,111,213);
}

.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.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,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);
}

/* 网络速度和系统状态样式 */
.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;
    }
}

/* 超小屏幕适配 */
@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.3s ease;
}

.config-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,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.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 .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);
}

.v-theme--light h2,
.v-theme--light h3 {
    color: rgb(47,43,61) !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;
}


/* ========== 侧边栏布局优化 ========== */

/* 侧边栏整体布局 */
.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);
}
