/*!
 * https://www.fumuqin.net
 * 版权所有 © 2025 雅安网铺城信息技术服务有限公司
 * © 2025 Ya'an Netshopcity Information Technology Service Co., Ltd. All rights reserved.
 */
        /* 全局链接样式修复 */
        a {
            text-decoration: none !important;
            color: inherit;
        }
        
        button, .btn {
            cursor: pointer;
            border: none;
            background: inherit;
            color: inherit;
            padding: 0;
            font: inherit;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        /* 容器布局 */
        .wisdom-care-container {
            display: grid;
            grid-template-columns: 230px 1fr;
            grid-template-rows: 60px 1fr 50px;
            grid-template-areas:
                "header header"
                "sidebar main"
                "footer footer";
            height: 100vh;
            background-color: #f6f8fa;
        }
        
        /* 头部区域 - 固定样式 */
        .app-header {
            grid-area: header;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: linear-gradient(135deg, #1a56db, #0e2a6e);
            color: white;
            padding: 0 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            z-index: 100;
        }
        
        .logo-section {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo {
            font-size: 24px;
            color: #fff;
        }
        
        .app-title {
            font-weight: 600;
            font-size: 18px;
        }
        
        .quick-menu {
            display: flex;
            gap: 20px;
        }
        
        .quick-menu-item {
            display: flex;
            align-items: center;
            gap: 5px;
            padding: 6px 12px;
            background: rgba(255, 255, 255, 0.15);
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
        }
        
        .quick-menu-item:hover {
            background: rgba(255, 255, 255, 0.25);
            transform: translateY(-2px);
        }
        
        /* 侧边栏区域 - 多级菜单 */
        .app-sidebar {
            grid-area: sidebar;
            background: #0f172a;
            color: #b0b0b0;
            overflow-y: auto;
            transition: all 0.3s ease;
            box-shadow: 3px 0 10px rgba(0, 0, 0, 0.1);
        }
        
        .menu-header {
            padding: 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-weight: 500;
            color: #60a5fa;
            text-transform: uppercase;
            font-size: 12px;
            letter-spacing: 1px;
        }
        
        .sidebar-menu {
            padding: 10px 0;
        }
        
        .menu-item {
            padding: 12px 20px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 14px;
        }
        
        .menu-item:hover {
            background: rgba(74, 119, 255, 0.1);
            color: #93c5fd;
        }
        
        .menu-item.active {
            background: rgba(74, 119, 255, 0.2);
            color: #3b82f6;
            border-left: 3px solid #3b82f6;
        }
        
        .menu-item i {
            width: 20px;
            text-align: center;
        }
        
        .submenu {
            margin-left: 40px;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .submenu.show {
            max-height: 1000px;
        }
        
        .submenu-item {
            padding: 8px 20px;
            font-size: 13px;
            transition: all 0.2s;
            cursor: pointer;
        }
        
        .submenu-item:hover {
            color: #60a5fa;
        }
        
        .submenu-item.active {
            color: #3b82f6;
            font-weight: 500;
        }
        
        .toggle-icon {
            margin-left: auto;
            transition: transform 0.3s;
        }
        
        .menu-item.active .toggle-icon {
            transform: rotate(90deg);
        }
        
        /* 主内容区 */
        .app-main {
            grid-area: main;
            padding: 20px;
            overflow-y: auto;
            background-color: #f1f5f9;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .page-title {
            font-size: 22px;
            font-weight: 600;
            color: #1e293b;
        }
        
        .breadcrumb {
            font-size: 13px;
            color: #64748b;
        }
        
        .breadcrumb span:not(:last-child)::after {
            content: ">";
            margin: 0 8px;
            color: #94a3b8;
        }
        
        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }
        
        .card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }
        
        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0, 0, 0, 0.07);
        }
        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .card-title {
            font-size: 16px;
            color: #334155;
            font-weight: 600;
        }
        
        .card-icon {
            height: 40px;
            width: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            font-size: 18px;
            color: white;
        }
        
        .card-value {
            font-size: 28px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 8px;
        }
        
        .card-info {
            font-size: 13px;
            color: #64748b;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .charts-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
        }
        
        .chart-card {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }
        
        .chart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .chart-title {
            font-size: 16px;
            color: #334155;
            font-weight: 600;
        }
        
        .chart-placeholder {
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8fafc;
            border-radius: 8px;
            margin-top: 10px;
            color: #94a3b8;
        }
        
        /* 病人信息网格 */
        .patient-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        
        .patient-card {
            background: white;
            border-radius: 10px;
            padding: 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
        }
        
        .patient-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f1f5f9;
        }
        
        .patient-title {
            font-weight: 600;
            color: #334155;
            font-size: 16px;
        }
        
        .patient-status {
            font-size: 13px;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 500;
        }
        
        .status-normal {
            background-color: #dcfce7;
            color: #16a34a;
        }
        
        .status-critical {
            background-color: #fee2e2;
            color: #dc2626;
        }
        
        .status-warning {
            background-color: #fef9c3;
            color: #ca8a04;
        }
        
        .patient-details {
            display: grid;
            grid-template-columns: 60px 1fr;
            gap: 15px;
            align-items: center;
        }
        
        .patient-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #e2e8f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #94a3b8;
        }
        
        .patient-info {
            font-size: 13px;
        }
        
        .patient-name {
            font-weight: 600;
            font-size: 16px;
            margin-bottom: 4px;
        }
        
        .patient-row {
            display: flex;
            gap: 15px;
            margin-bottom: 3px;
        }
        
        .patient-label {
            color: #64748b;
            width: 70px;
        }
        
        .patient-value {
            color: #334155;
        }
        
        /* 按钮样式 */
        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 8px 16px;
            background-color: #3b82f6;
            color: white;
            border-radius: 4px;
            font-weight: 500;
            transition: all 0.2s ease;
            border: none;
            cursor: pointer;
            gap: 8px;
        }
        
        .button:hover {
            background-color: #2563eb;
            transform: translateY(-1px);
        }
        
        .button.outline {
            background-color: transparent;
            border: 1px solid #3b82f6;
            color: #3b82f6;
        }
        
        .button.outline:hover {
            background-color: #dbeafe;
        }
        
        /* 底部区域 */
        .app-footer {
            grid-area: footer;
            background: #0f172a;
            color: #94a3b8;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px;
            font-size: 13px;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
        }
        
        .footer-links a {
            color: #94a3b8;
            margin-left: 15px;
            transition: color 0.2s;
        }
        
        .footer-links a:hover {
            color: #3b82f6;
        }
        
        /* 响应式设计 */
        @media (max-width: 900px) {
            .wisdom-care-container {
                grid-template-columns: 70px 1fr;
            }
            
            .app-title {
                display: none;
            }
            
            .menu-item span:not(.toggle-icon) {
                display: none;
            }
            
            .menu-header {
                text-align: center;
                padding: 15px 5px;
                font-size: 10px;
            }
            
            .submenu {
                position: absolute;
                left: 70px;
                background: #0f172a;
                width: 200px;
                border-radius: 0 5px 5px 0;
                z-index: 50;
                box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
            }
            
            .page-title {
                font-size: 18px;
            }
            
            .charts-grid, .patient-grid {
                grid-template-columns: 1fr;
            }
            
            .quick-menu {
                gap: 10px;
            }
            
            .quick-menu-item span {
                display: none;
            }
        }
        
        @media (max-width: 600px) {
            .wisdom-care-container {
                grid-template-columns: 1fr;
                grid-template-areas:
                    "header"
                    "main"
                    "footer";
            }
            
            .app-sidebar {
                display: none;
            }
            
            .app-main {
                padding: 15px 10px;
            }
        }