/* 玻璃形态风格 - SwapX 风格配色 */

/* 全局背景 - 深蓝/青色系（静态） */
body {
    background-color: #2d3137;
    color: #fff;
    font: 13px "Open Sans", Verdana, Geneva, sans-serif;
    font-weight: 300;
    margin: 0;
    min-width: 300px;
    max-width: 100%;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 背景网格纹理 - 非常淡 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* 实体卡片 - 深色主题下的内容容器 */
.glass-card {
    background-color: #353a42; /* 比 body(#2d3137) 略亮，提升层级 */
    border: 1px solid #3f454d;
    border-radius: 18px;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.45);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background-color: #3a4048;
    border-color: #4a515a;
    box-shadow: 
        0 10px 28px rgba(0, 0, 0, 0.55);
    transform: translateY(-2px);
}

/* 玻璃形态导航栏 */
.glass-nav {
    background: rgba(30, 41, 59, 0.75);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 输入框 - 4kwallpapers 深色扁平风格 */
.glass-input {
    background-color: #232731;
    border: 1px solid #3f454d;
    border-radius: 4px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.glass-input:focus {
    background-color: #2a2f37;
    border-color: #6b7280; /* 浅灰/浅绿之间的低调色 */
    box-shadow: none;
    outline: none;
}

/* textarea 也使用相同的样式 */
textarea.glass-input {
    resize: vertical;
    min-height: 100px;
}

/* number 输入框上下箭头（spinner）样式统一 */
input.glass-input[type="number"] {
    padding-right: 12px;
}

/* Chrome / Edge / Safari */
input.glass-input[type="number"]::-webkit-outer-spin-button,
input.glass-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button;
    opacity: 0.75;
    filter: invert(1); /* 让默认黑色箭头在深色背景下可见 */
}

/* Firefox：默认会用系统样式，这里保持原生但与主题更一致 */
input.glass-input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

input.glass-input[type="number"]:focus {
    appearance: textfield;
    -moz-appearance: textfield;
}

/* 禁用状态的输入框样式 */
.glass-input:disabled,
.glass-input[readonly] {
    background: #262a31 !important;
    color: rgba(255, 255, 255, 0.5) !important;
    border-color: #343840 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* 下拉菜单样式 */
.action-menu {
    position: relative;
    display: inline-block;
}

.action-menu-button {
    background: rgba(30, 41, 59, 0.7) !important;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.action-menu-button:hover {
    background: rgba(30, 41, 59, 0.85) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
    box-shadow: 
        0 4px 12px rgba(34, 211, 238, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-1px);
}

.action-menu-button svg {
    transition: transform 0.3s ease;
}

.action-menu-dropdown.show ~ .action-menu-button svg {
    transform: rotate(180deg);
}

.action-menu-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    background: rgba(30, 41, 59, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(34, 211, 238, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    min-width: 110px;
    z-index: 1000;
    display: none;
    overflow: hidden;
    padding: 4px;
    animation: menuFadeIn 0.2s ease;
}

/* 向上展开的菜单 */
.action-menu-dropdown.show-up {
    top: auto;
    bottom: calc(100% + 6px);
    animation: menuFadeInUp 0.2s ease;
}

@keyframes menuFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.action-menu-dropdown.show {
    display: block;
}

/* 下拉菜单中的按钮样式 - 必须覆盖 .glass-table button 的样式 */
.action-menu-dropdown button,
.action-menu-dropdown .action-menu-item,
button.action-menu-item,
.action-menu-item {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    padding: 12px 16px !important;
    text-align: left !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 12px !important;
    margin: 2px 0 !important;
    position: relative !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.action-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 0 3px 3px 0;
    transition: height 0.2s ease;
}

.action-menu-dropdown button:hover,
.action-menu-dropdown .action-menu-item:hover,
button.action-menu-item:hover,
.action-menu-item:hover {
    background: transparent !important;
    background-color: transparent !important;
    transform: translateX(2px);
    box-shadow: none !important;
}

.action-menu-item:hover::before {
    height: 60%;
}

/* 下拉菜单中的按钮颜色样式 - 必须覆盖 .glass-table button 的样式 */
.action-menu-dropdown button.menu-item-blue,
.action-menu-dropdown .action-menu-item.menu-item-blue,
button.action-menu-item.menu-item-blue,
.action-menu-item.menu-item-blue {
    color: #67e8f9 !important;
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.action-menu-dropdown button.menu-item-blue::before,
.action-menu-dropdown .action-menu-item.menu-item-blue::before,
button.action-menu-item.menu-item-blue::before,
.action-menu-item.menu-item-blue::before {
    background: linear-gradient(180deg, #22d3ee 0%, #3b82f6 100%);
}

.action-menu-dropdown button.menu-item-blue:hover,
.action-menu-dropdown .action-menu-item.menu-item-blue:hover,
button.action-menu-item.menu-item-blue:hover,
.action-menu-item.menu-item-blue:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #a5f3fc !important;
    box-shadow: none !important;
}

.action-menu-dropdown button.menu-item-green,
.action-menu-dropdown .action-menu-item.menu-item-green,
button.action-menu-item.menu-item-green,
.action-menu-item.menu-item-green {
    color: #6ee7b7 !important;
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.action-menu-dropdown button.menu-item-green::before,
.action-menu-dropdown .action-menu-item.menu-item-green::before,
button.action-menu-item.menu-item-green::before,
.action-menu-item.menu-item-green::before {
    background: linear-gradient(180deg, #22c55e 0%, #10b981 100%);
}

.action-menu-dropdown button.menu-item-green:hover,
.action-menu-dropdown .action-menu-item.menu-item-green:hover,
button.action-menu-item.menu-item-green:hover,
.action-menu-item.menu-item-green:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #a7f3d0 !important;
    box-shadow: none !important;
}

.action-menu-dropdown button.menu-item-red,
.action-menu-dropdown .action-menu-item.menu-item-red,
button.action-menu-item.menu-item-red,
.action-menu-item.menu-item-red {
    color: #fca5a5 !important;
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

.action-menu-dropdown button.menu-item-red::before,
.action-menu-dropdown .action-menu-item.menu-item-red::before,
button.action-menu-item.menu-item-red::before,
.action-menu-item.menu-item-red::before {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.action-menu-dropdown button.menu-item-red:hover,
.action-menu-dropdown .action-menu-item.menu-item-red:hover,
button.action-menu-item.menu-item-red:hover,
.action-menu-item.menu-item-red:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #fecaca !important;
    box-shadow: none !important;
}

/* 通用按钮 - 深色块按钮（参考 4kwallpapers 左侧菜单按钮） */
.glass-btn {
    background-color: #212429 !important;
    border: none;
    border-radius: 4px;
    color: #ffffff !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 2px 0 #1b1b1b;
}

.glass-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.6s;
}

.glass-btn:hover::before {
    left: 100%;
}

.glass-btn:hover {
    background-color: #81e400;
    color: #000000;
    box-shadow: 
        0 2px 2px 0 #1b1b1b;
    transform: translateY(-2px);
}

.glass-btn:active {
    transform: translateY(0);
}

/* 表格内操作按钮样式 - 参考下拉菜单样式 */
.glass-table button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    font-weight: 500 !important;
    padding: 6px 14px !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    margin-right: 8px !important;
    position: relative !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* 左侧渐变条 */
.glass-table button::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    border-radius: 0 3px 3px 0;
    transition: height 0.2s ease;
}

.glass-table button:hover {
    background: transparent !important;
    background-color: transparent !important;
    transform: translateX(2px);
    box-shadow: none !important;
}

.glass-table button:hover::before {
    height: 60%;
}

.glass-table button:active {
    transform: translateX(1px);
}

/* 表格内不同颜色的操作按钮 - 蓝色（解绑等） */
.glass-table button.text-blue-600,
.glass-table button[onclick*="unbind"] {
    color: #67e8f9 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.glass-table button.text-blue-600::before,
.glass-table button[onclick*="unbind"]::before {
    background: linear-gradient(180deg, #22d3ee 0%, #3b82f6 100%);
}

.glass-table button.text-blue-600:hover,
.glass-table button[onclick*="unbind"]:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #a5f3fc !important;
}

/* 表格内不同颜色的操作按钮 - 绿色（启用等） */
.glass-table button.text-green-600,
.glass-table button[onclick*="enable"] {
    color: #6ee7b7 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.glass-table button.text-green-600::before,
.glass-table button[onclick*="enable"]::before {
    background: linear-gradient(180deg, #22c55e 0%, #10b981 100%);
}

.glass-table button.text-green-600:hover,
.glass-table button[onclick*="enable"]:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #a7f3d0 !important;
}

/* 表格内不同颜色的操作按钮 - 红色（禁用、删除等） */
.glass-table button.text-red-600,
.glass-table button[onclick*="disable"],
.glass-table button[onclick*="delete"] {
    color: #fca5a5 !important;
    background: transparent !important;
    background-color: transparent !important;
}

.glass-table button.text-red-600::before,
.glass-table button[onclick*="disable"]::before,
.glass-table button[onclick*="delete"]::before {
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.glass-table button.text-red-600:hover,
.glass-table button[onclick*="disable"]:hover,
.glass-table button[onclick*="delete"]:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #fecaca !important;
}

/* 主要按钮 - 默认深色块，悬停时亮绿高亮 */
.btn-primary {
    background-color: #212429;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 
        0 4px 18px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #81e400;
    color: #000000;
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
}

/* 文本颜色 - 清晰易读 */
.text-glass {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.text-glass-light {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.text-glass-dim {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* 状态徽章 - 玻璃形态 */
/* 玻璃态卡片式状态徽章 */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(34, 211, 238, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.3px;
}

/* 状态类名样式 - status-1, status-2, status-3 */
.status-badge.status-1 {
    background: linear-gradient(135deg, 
        rgba(107, 114, 128, 0.25) 0%, 
        rgba(75, 85, 99, 0.2) 100%
    );
    color: #d1d5db;
    border-color: rgba(107, 114, 128, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(107, 114, 128, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.status-1::after {
    background: #d1d5db;
    box-shadow: 0 0 8px rgba(209, 213, 219, 0.6);
}

.status-badge.status-1:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(107, 114, 128, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.status-badge.status-2 {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.25) 0%, 
        rgba(34, 211, 238, 0.2) 100%
    );
    color: #67e8f9;
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.status-2::after {
    background: #67e8f9;
    box-shadow: 0 0 8px rgba(103, 232, 249, 0.8);
}

.status-badge.status-2:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.status-badge.status-3 {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.25) 0%, 
        rgba(220, 38, 38, 0.2) 100%
    );
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.status-3::after {
    background: #fca5a5;
    box-shadow: 0 0 8px rgba(252, 165, 165, 0.8);
}

.status-badge.status-3:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.status-badge.status-expired {
    background: linear-gradient(135deg, 
        rgba(251, 146, 60, 0.25) 0%, 
        rgba(249, 115, 22, 0.2) 100%
    );
    color: #fdba74;
    border-color: rgba(251, 146, 60, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(251, 146, 60, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.status-expired::after {
    background: #fdba74;
    box-shadow: 0 0 8px rgba(253, 186, 116, 0.8);
}

.status-badge.status-expired:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(251, 146, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 状态徽章光晕效果 */
.status-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent
    );
    transition: left 0.6s;
}

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

.status-badge:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(34, 211, 238, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 状态图标 */
.status-badge::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px currentColor;
}

/* 正常/已激活 - 绿色 */
.status-badge.bg-green-500,
.status-badge[class*="green"] {
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.25) 0%, 
        rgba(16, 185, 129, 0.2) 100%
    );
    color: #6ee7b7;
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(34, 197, 94, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.bg-green-500::after,
.status-badge[class*="green"]::after {
    background: #6ee7b7;
    box-shadow: 0 0 8px rgba(110, 231, 183, 0.8);
}

.status-badge.bg-green-500:hover,
.status-badge[class*="green"]:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(34, 197, 94, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 已激活 - 蓝色 */
.status-badge.bg-blue-500,
.status-badge[class*="blue"] {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.25) 0%, 
        rgba(34, 211, 238, 0.2) 100%
    );
    color: #67e8f9;
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(59, 130, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.bg-blue-500::after,
.status-badge[class*="blue"]::after {
    background: #67e8f9;
    box-shadow: 0 0 8px rgba(103, 232, 249, 0.8);
}

.status-badge.bg-blue-500:hover,
.status-badge[class*="blue"]:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(59, 130, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 已禁用/已到期 - 红色 */
.status-badge.bg-red-500,
.status-badge[class*="red"] {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.25) 0%, 
        rgba(220, 38, 38, 0.2) 100%
    );
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(239, 68, 68, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.bg-red-500::after,
.status-badge[class*="red"]::after {
    background: #fca5a5;
    box-shadow: 0 0 8px rgba(252, 165, 165, 0.8);
}

.status-badge.bg-red-500:hover,
.status-badge[class*="red"]:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(239, 68, 68, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 未使用 - 灰色 */
.status-badge.bg-gray-500,
.status-badge[class*="gray"] {
    background: linear-gradient(135deg, 
        rgba(107, 114, 128, 0.25) 0%, 
        rgba(75, 85, 99, 0.2) 100%
    );
    color: #d1d5db;
    border-color: rgba(107, 114, 128, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(107, 114, 128, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.bg-gray-500::after,
.status-badge[class*="gray"]::after {
    background: #d1d5db;
    box-shadow: 0 0 8px rgba(209, 213, 219, 0.6);
}

.status-badge.bg-gray-500:hover,
.status-badge[class*="gray"]:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(107, 114, 128, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 已到期 - 橙色 */
.status-badge.bg-orange-500,
.status-badge[class*="orange"] {
    background: linear-gradient(135deg, 
        rgba(251, 146, 60, 0.25) 0%, 
        rgba(249, 115, 22, 0.2) 100%
    );
    color: #fdba74;
    border-color: rgba(251, 146, 60, 0.4);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(251, 146, 60, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.status-badge.bg-orange-500::after,
.status-badge[class*="orange"]::after {
    background: #fdba74;
    box-shadow: 0 0 8px rgba(253, 186, 116, 0.8);
}

.status-badge.bg-orange-500:hover,
.status-badge[class*="orange"]:hover {
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 16px rgba(251, 146, 60, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* 表格 - 玻璃形态 */
.glass-table {
    background-color: #353a42; /* 与卡片统一的实体背景 */
    border: 1px solid #3f454d;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-height: 0;
    max-height: 100%;
}

/* 表格滚动区域 */
.glass-table > .overflow-x-auto {
    flex: 1 1 0;
    overflow-y: auto !important;
    overflow-x: auto !important;
    min-height: 0;
    max-height: 100%;
    position: relative; /* 作为 loading 遮罩的定位容器 */
}

/* 表格内容加载遮罩，避免翻页时闪烁 */
.glass-table-loading {
    position: absolute;
    inset: 0;
    background: rgba(45, 49, 55, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.glass-table-loading.show {
    opacity: 1;
}

.glass-table > .overflow-x-auto > table {
    width: 100%;
}

/* 分页区域 - 固定在表格底部 */
.glass-table > #pagination {
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    display: flex;
    justify-content: center; /* 数字分页整体左右居中 */
    align-items: center;
}

/* 表格分页样式（参考提供的 pages 样式，适配当前深色主题） */
.glass-table #pagination p.pages {
    font-size: 22px;
    font-family: Roboto, "Open Sans", Verdana, Geneva, sans-serif;
    text-align: center;
    clear: left;
    margin: 15px 0;
}

.glass-table #pagination p.turbo {
    display: none;
}

.glass-table #pagination p.pages a,
.glass-table #pagination p.pages strong {
    display: inline-block;
    padding: 6px 16px;
    margin-left: 3px;
    margin-right: 3px;
    line-height: 1.42857143;
    color: #fff;
    background-color: #232731;
    border: 0;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 2px 0 #1b1b1b;
    border-radius: 4px;
}

.glass-table #pagination p.pages a:hover {
    color: #000;
    background-color: #81e400;
    text-decoration: none;
}

.glass-table #pagination p.pages strong {
    font-weight: 400;
    color: #000;
    background-color: #81e400;
}

.glass-table thead {
    background-color: #373d45;
    position: sticky;
    top: 0;
    z-index: 10;
}

.glass-table thead th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

.glass-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.glass-table tbody tr:hover {
    background-color: #3d444d;
}

.glass-table tbody tr:last-child {
    border-bottom: none;
}

.glass-table tbody td {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.glass-table tbody td div,
.glass-table tbody td span,
.glass-table tbody td p {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* 强制覆盖所有可能的灰色文字类 */
.glass-table tbody td *,
.glass-table tbody td .text-gray-900,
.glass-table tbody td .text-gray-800,
.glass-table tbody td .text-gray-700,
.glass-table tbody td .text-gray-600,
.glass-table tbody td .text-gray-500,
.glass-table tbody td .text-gray-400,
.glass-table tbody td .text-gray-300 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* 确保状态徽章内的文字也清晰 */
.glass-table .status-badge {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    font-weight: 600;
}

/* 选择框 - 深色扁平 + 绿色高亮 */
.glass-select {
    background-color: #232731;
    border: 1px solid #3f454d;
    border-radius: 4px;
    color: #ffffff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' opacity='0.9' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* 复选框 - 玻璃形态 */
.glass-checkbox {
    appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    max-width: 16px;
    background: #232731;
    border: 2px solid #3f454d;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

.glass-checkbox:hover {
    background: #2a2f37;
    border-color: #81e400;
}

.glass-checkbox:checked {
    background: #81e400;
    border-color: #81e400;
    box-shadow: 
        0 0 0 1px rgba(129, 228, 0, 0.6),
        0 2px 8px rgba(0, 0, 0, 0.6);
}

.glass-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.glass-select option {
    background: #1e293b;
    color: #ffffff;
}

.glass-select:focus {
    background-color: #2a2f37;
    border-color: #6b7280;
    box-shadow: none;
    outline: none;
}

/* 模态框 - 玻璃形态 */
.glass-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.glass-modal-content {
    background-color: #2d3137;
    border: 1px solid #3f454d;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

/* 链接 - 青色/蓝色系 */
.glass-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    position: relative;
}

.glass-link:hover {
    color: #67e8f9;
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.4);
}

.glass-link.active {
    color: #67e8f9;
    background: rgba(34, 211, 238, 0.15);
    border-radius: 8px;
    text-shadow: 0 0 8px rgba(103, 232, 249, 0.3);
}

/* 图标容器 */
.icon-container {
    background: linear-gradient(135deg, 
        rgba(34, 211, 238, 0.2) 0%, 
        rgba(59, 130, 246, 0.2) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 
        0 4px 15px rgba(34, 211, 238, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.3);
    border-radius: 5px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 211, 238, 0.5);
    background-clip: padding-box;
}

/* 表格滚动区域专用滚动条 */
.glass-table > .overflow-x-auto::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.glass-table > .overflow-x-auto::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.glass-table > .overflow-x-auto::-webkit-scrollbar-thumb {
    background: rgba(34, 211, 238, 0.4);
    border-radius: 4px;
}

.glass-table > .overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: rgba(34, 211, 238, 0.6);
}

/* 加载动画 */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 数值滚动动画 */
@keyframes numberRoll {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes numberPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.summary-value {
    transition: all 0.3s ease;
}

.summary-value.updating {
    animation: numberRoll 0.5s ease-out;
}

.summary-value.changed {
    animation: numberPulse 0.6s ease-out;
}

/* 汇总卡片切换动画 */
.summary-card-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.summary-card-content.switching {
    opacity: 0.5;
    transform: translateY(-5px);
}

/* 大屏数字样式 */
.big-screen-number {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 30px currentColor;
    animation: numberGlow 2s ease-in-out infinite alternate;
}

@keyframes numberGlow {
    from {
        text-shadow: 
            0 0 10px currentColor,
            0 0 20px currentColor,
            0 0 30px currentColor;
    }
    to {
        text-shadow: 
            0 0 15px currentColor,
            0 0 30px currentColor,
            0 0 45px currentColor;
    }
}

/* 大屏分隔符样式 */
.big-screen-divider {
    position: relative;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(245, 158, 11, 0.3) 20%,
        rgba(245, 158, 11, 0.5) 50%,
        rgba(245, 158, 11, 0.3) 80%,
        transparent 100%
    );
    margin: 24px 0;
}

.big-screen-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.6);
    box-shadow: 
        0 0 10px rgba(245, 158, 11, 0.8),
        0 0 20px rgba(245, 158, 11, 0.4);
    animation: dividerPulse 2s ease-in-out infinite;
}

@keyframes dividerPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .glass-card {
        border-radius: 20px;
    }
    
    .big-screen-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   企业化布局样式
   ============================================ */

/* 主布局容器 */
.layout-container {
    display: flex;
    min-height: 100vh;
    position: relative;
}

/* 侧边栏 */
.sidebar {
    width: 60px; /* 始终收起 */
    background: #2d3137;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: visible;
    z-index: 100;
}

/* 侧边栏始终收起，标题和文本始终隐藏 */
.sidebar .sidebar-title,
.sidebar .sidebar-nav-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.sidebar .sidebar-nav-item {
    justify-content: center;
    padding: 10px;
    position: relative;
}

/* 侧边栏 Logo */
.sidebar-logo {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 60px;
    box-sizing: border-box;
    background-color: #212429;
    box-shadow: 0 2px 10px #111;
    /* 只保留外侧左下角圆角，右侧与内容顶部对齐成直角 */
    border-radius: 0 0 0 15px;
    position: relative;
}

.sidebar-logo h1.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
    flex: 1;
}

.sidebar-collapse-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: auto;
}

.sidebar-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.sidebar-collapse-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* 侧边栏导航菜单 */
.sidebar-nav {
    padding: 16px 0;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

/* Tooltip提示 */
.sidebar-tooltip {
    position: fixed;
    padding: 6px 10px;
    background: rgba(0, 0, 0, 0.95);
    color: #ffffff;
    font-size: 0.8125rem;
    white-space: nowrap;
    border-radius: 4px;
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    font-weight: 500;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sidebar-tooltip.show {
    display: block;
    opacity: 1;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-left-color: rgba(34, 211, 238, 0.5);
}

.sidebar-nav-item.active {
    background: rgba(34, 211, 238, 0.15);
    color: #67e8f9;
    border-left-color: #22d3ee;
}

.sidebar-nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* 默认隐藏受限菜单项（仅管理员可见），避免闪烁 */
.sidebar-nav-item.restricted-menu {
    display: none !important;
}

/* 管理员可见时显示 */
.sidebar-nav-item.restricted-menu.admin-visible {
    display: flex !important;
}

/* 受限按钮默认隐藏 */
button.restricted-menu {
    display: none !important;
}

/* 管理员可见时显示 */
button.restricted-menu.admin-visible {
    display: inline-flex !important;
}

.sidebar-nav-text {
    transition: opacity 0.3s ease, width 0.3s ease;
    white-space: nowrap;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    margin-left: 60px; /* 始终收起 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 顶部栏 */
.topbar {
    background: #212429;
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 24px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 2px 10px #111;
    /* 只保留外侧右下角圆角，左侧与侧边栏顶部对齐成直角 */
    border-radius: 0 0 15px 0;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: #67e8f9;
}

.breadcrumb-item.active {
    color: #ffffff;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

/* 顶部栏右侧 */
.topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* 用户菜单 */
.user-menu-container {
    position: relative;
}

.user-menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.user-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 1);
}

.user-menu-item svg {
    flex-shrink: 0;
}

/* 内容区域 */
.content-area {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

/* 页面标题区域 */
.page-header {
    margin-bottom: 24px;
    flex-shrink: 0;
}

/* 搜索筛选区域 - 不参与滚动 */
.content-area > .glass-card:not(.glass-table),
.content-area > div > .glass-card:not(.glass-table) {
    flex-shrink: 0;
    margin-bottom: 24px;
}

/* 每日统计 - 汇总级别切换按钮 */
.summary-toggle-btn {
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(148, 163, 184, 0.55);
    background: rgba(15, 23, 42, 0.6);
    color: rgba(226, 232, 240, 0.8);
    cursor: pointer;
    transition: all 0.18s ease-out;
}

.summary-toggle-btn:hover {
    border-color: rgba(248, 250, 252, 0.6);
    background: rgba(30, 64, 175, 0.4);
    color: rgba(248, 250, 252, 0.96);
}

.summary-toggle-btn.active {
    border-color: transparent;
    background-image: linear-gradient(90deg, #fb923c, #facc15);
    color: #0f172a;
    box-shadow:
        0 10px 25px rgba(234, 179, 8, 0.45),
        0 0 0 1px rgba(250, 250, 250, 0.08);
}

/* 确保表格是最后一个可伸缩元素 */
.content-area > .glass-table {
    flex: 1;
    min-height: 0;
}

.page-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.page-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin: 0;
}

/* 侧边栏折叠按钮（移动端） */
.sidebar-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-toggle svg {
    width: 24px;
    height: 24px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
}

/* 大屏卡片样式 - 统一协调的配色 */
.big-screen-card {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.98) 0%,
        rgba(30, 41, 59, 0.96) 50%,
        rgba(15, 23, 42, 0.98) 100%
    );
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.big-screen-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(148, 163, 184, 0.2) 50%,
        transparent 100%
    );
    pointer-events: none;
}

.big-screen-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.6;
}

/* 大屏数字样式 - 突出立体感，清晰锐利 */
.big-screen-card .text-5xl,
.big-screen-card .text-6xl,
.big-screen-card .text-7xl {
    font-weight: 900;
    letter-spacing: -0.02em;
    position: relative;
}

/* 大数字3D立体效果 - 清晰锐利，统一配色 */
.big-screen-card .big-number-3d {
    position: relative;
    display: inline-block;
    color: #60a5fa;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 6px rgba(0, 0, 0, 0.4),
        0 0 12px rgba(96, 165, 250, 0.4),
        0 0 24px rgba(96, 165, 250, 0.2);
    filter: drop-shadow(0 0 2px rgba(96, 165, 250, 0.4));
    transform: perspective(1000px) translateZ(0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.big-screen-card .big-number-3d span {
    display: inline-block;
    background: linear-gradient(135deg, 
        #93c5fd 0%,
        #60a5fa 50%,
        #3b82f6 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
    text-shadow: none;
    filter: none;
}

/* 大屏分隔符 - 有层次感 */
.big-screen-card .flex.items-center.justify-center.mb-6 {
    position: relative;
    padding: 20px 0;
}

.big-screen-card .flex.items-center.justify-center.mb-6 > div:first-child,
.big-screen-card .flex.items-center.justify-center.mb-6 > div:last-child {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.3) 30%,
        rgba(34, 211, 238, 0.4) 50%,
        rgba(59, 130, 246, 0.3) 70%,
        transparent 100%
    );
    box-shadow: 0 0 4px rgba(34, 211, 238, 0.2);
}

.big-screen-card .flex.items-center.justify-center.mb-6 > div:nth-child(2) {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.6);
    box-shadow: 
        0 0 8px rgba(34, 211, 238, 0.5),
        0 0 16px rgba(34, 211, 238, 0.3);
}

/* 大数字下方分割线 */
.big-screen-card .big-number-divider {
    width: 100%;
    margin: 16px 0;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.big-screen-card .big-number-divider > div:first-child,
.big-screen-card .big-number-divider > div:last-child {
    flex: 1 1 0% !important;
    height: 1px !important;
    min-height: 1px !important;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(59, 130, 246, 0.4) 30%,
        rgba(34, 211, 238, 0.5) 50%,
        rgba(59, 130, 246, 0.4) 70%,
        transparent 100%
    ) !important;
    box-shadow: 0 0 4px rgba(34, 211, 238, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.big-screen-card .big-number-divider > div:nth-child(2) {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.big-screen-card .big-number-divider > div:nth-child(2) > div {
    width: 4px !important;
    height: 4px !important;
    min-width: 4px !important;
    min-height: 4px !important;
    border-radius: 50% !important;
    background: rgba(34, 211, 238, 0.6) !important;
    box-shadow: 
        0 0 6px rgba(34, 211, 238, 0.5),
        0 0 12px rgba(34, 211, 238, 0.3) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 大屏卡片内对比卡片 - 有色彩区分 */
.big-screen-card .glass-card {
    background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.7) 0%,
        rgba(30, 41, 59, 0.6) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.big-screen-card .glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(148, 163, 184, 0.25);
}

/* 今日对比卡片 - 蓝色系 */
.big-screen-card .glass-card.bg-gradient-to-br.from-blue-500\/10 {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(59, 130, 246, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.big-screen-card .glass-card.bg-gradient-to-br.from-blue-500\/10:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(59, 130, 246, 0.15);
}

/* 本周对比卡片 - 绿色系 */
.big-screen-card .glass-card.bg-gradient-to-br.from-green-500\/10 {
    border-color: rgba(34, 197, 94, 0.2);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(34, 197, 94, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.big-screen-card .glass-card.bg-gradient-to-br.from-green-500\/10:hover {
    border-color: rgba(34, 197, 94, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(34, 197, 94, 0.15);
}

/* 本月对比卡片 - 紫色系 */
.big-screen-card .glass-card.bg-gradient-to-br.from-purple-500\/10 {
    border-color: rgba(168, 85, 247, 0.2);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 0 12px rgba(168, 85, 247, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.big-screen-card .glass-card.bg-gradient-to-br.from-purple-500\/10:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(168, 85, 247, 0.15);
}

/* 大屏卡片统一配色方案 */
.big-screen-value {
    color: #60a5fa !important; /* 蓝色 - 价值 */
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.3);
}

.big-screen-revenue {
    color: #818cf8 !important; /* 蓝紫色 - 收益 */
    text-shadow: 0 0 8px rgba(129, 140, 248, 0.3);
}

.big-screen-keys {
    color: #cbd5e1 !important; /* 灰白色 - 卡密数 */
    text-shadow: 0 0 6px rgba(203, 213, 225, 0.2);
}

.big-screen-devices {
    color: #7dd3fc !important; /* 浅蓝色 - 设备数 */
    text-shadow: 0 0 8px rgba(125, 211, 252, 0.3);
}

/* 大屏卡片图标颜色 */
.big-screen-card svg.text-cyan-400,
.big-screen-card svg.text-purple-400,
.big-screen-card svg.text-blue-300 {
    color: #60a5fa !important;
}

.big-screen-card svg.text-glass {
    color: #cbd5e1 !important;
}

/* 汇总列之间的分割线 - 更柔和 */
.big-screen-card .space-y-5.border-l.border-r {
    border-left-color: rgba(148, 163, 184, 0.08) !important;
    border-right-color: rgba(148, 163, 184, 0.08) !important;
    position: relative;
}

.big-screen-card .space-y-5.border-l.border-r::before,
.big-screen-card .space-y-5.border-l.border-r::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(245, 158, 11, 0.1) 20%,
        rgba(168, 85, 247, 0.1) 50%,
        rgba(245, 158, 11, 0.1) 80%,
        transparent 100%
    );
    opacity: 0.5;
}

.big-screen-card .space-y-5.border-l.border-r::before {
    left: 0;
}

.big-screen-card .space-y-5.border-l.border-r::after {
    right: 0;
}

/* 大屏卡片内数值样式 - 有层次 */
.big-screen-card .text-2xl,
.big-screen-card .text-3xl {
    font-weight: 600;
    letter-spacing: -0.01em;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 8px currentColor;
}

/* 大屏卡片内数据项样式 - 去掉边框和背景 */
.big-screen-card .rounded-lg {
    transition: all 0.25s ease;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
}

.big-screen-card .rounded-lg:hover {
    transform: translateY(-2px);
    background: transparent;
    border: none;
    box-shadow: none;
}

/* 价值数据项 - 去掉边框和背景 */
.big-screen-card .data-item-value {
    border: none !important;
}

.big-screen-card .data-item-value:hover {
    border: none !important;
    box-shadow: none !important;
}

/* 收益数据项 - 去掉边框和背景 */
.big-screen-card .data-item-revenue {
    border: none !important;
}

.big-screen-card .data-item-revenue:hover {
    border: none !important;
    box-shadow: none !important;
}

/* 卡密数数据项 - 去掉边框和背景 */
.big-screen-card .data-item-keys {
    border: none !important;
}

.big-screen-card .data-item-keys:hover {
    border: none !important;
    box-shadow: none !important;
}

/* 设备数数据项 - 去掉边框和背景 */
.big-screen-card .data-item-devices {
    border: none !important;
}

.big-screen-card .data-item-devices:hover {
    border: none !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    .content-area {
        padding: 16px;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .topbar {
        padding: 0 16px;
    }
    
    .big-screen-card {
        padding: 1.5rem;
    }
    
    .big-screen-card .text-5xl,
    .big-screen-card .text-6xl {
        font-size: 2.5rem;
    }
}
