* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            overflow-x: hidden;
        }
        a {
            text-decoration: none;
        }
        .dashboard-container {
            display: flex;
            min-height: 100vh;
            transition: all 0.3s ease;
        }
        
        .sidebar {
            background: rgba(255, 255, 255, 0.95);
            color: #64748b;
            transition: all 0.3s ease;
            overflow-y: auto;
            box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
            z-index: 100;
			/*margin-top: 50px;*/
            min-width: 250px;
        }
        
        .sidebar.collapsed {
            width: 70px;
        }
        
        .user-info {
            padding: 24px 20px;
            border-bottom: 1px solid #e2e8f0;
            text-align: center;
        }
        
        .user-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-size: 50px;
            font-weight: bold;
        }
        
        .user-name {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .user-status {
            font-size: 12px;
            color: #27ae60;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
        }
        
        .status-dot {
            width: 8px;
            height: 8px;
            background-color: #27ae60;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { opacity: 0.6; }
            50% { opacity: 1; }
            100% { opacity: 0.6; }
        }
        
        .date-display {
            font-size: 13px;
            color: #64748b;
            margin-top: 8px;
        }
        
        .nav-menu {
            padding: 20px 15px;
            transition: all 0.3s ease; /* 平滑过渡 */
        }

        /* 固定时的样式 */
        .nav-menu.sticky {
            position: fixed;
            top: 0;
            left: 0;
            z-index: 1000;
            background-color: #fff;
        }
        
        .nav-item {
			width: 220px;
            padding: 14px 24px;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.2s;
            position: relative;
            color: #64748b;
            user-select: none;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            margin-bottom: 0.5rem;
            transition: all 0.3s;
            text-decoration: none;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
        }
        
        .nav-item:hover {
            background-color: rgba(13, 110, 253, 0.1);
            color: #0d6efd;
            border-left: 3px solid #3b82f6;
        }
        
        .nav-item.active {
            background-color: #0d6efd;
            color: #fff;
            
        }
        
        .nav-item.has-children::after {
            content: '';
            position: absolute;
            right: 20px;
			width: 0; 
			height: 0; 
			border-left: 5px solid transparent;
			border-right: 5px solid transparent;
			border-bottom: 7px solid #666;
            transition: transform 0.3s ease;
			transform: rotate(90deg);
        }
        
        .nav-item.has-children.expanded::after {
            transform: rotate(180deg);
        }
		
		.nav-item.has-children.active::after {
			border-left: 5px solid transparent;
			border-right: 5px solid transparent;
			border-bottom: 7px solid #fff;
        }
        
        .nav-icon {
            width: 24px;
            text-align: center;
            margin-right: 16px;
            font-size: 18px;
        }
        
		.nav-text {
	display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    width: 100%;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
}
        
        .sub-nav {
			width: 220px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background-color: #F5F7FA;
            margin-bottom: 0.5rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        .sub-nav.expanded {
            max-height: 300px;
        }
        
        .sub-nav-item {
            padding: 10px 20px;
            display: flex;
            align-items: center;
            cursor: pointer;
            transition: all 0.2s;
            color: #666;
            font-size: 13px;
            text-decoration: none;
            border-bottom: 1px solid #E5E9F2; /* 轻量分割线 */
        }

        .sub-nav-item:last-child {
            border-bottom: none; /* 最后一个子项去掉底部边框 */
        }
        
        .sub-nav-item:hover {
            background: #E8F3FF; /* hover 时的浅蓝背景，强化交互科技感 */
            color: #0d6efd; /* 文字变主色，反馈更明显 */
        }
        
        .sub-nav-item.active {
            background-color: #0d6efd;
            color: #fff;
        }

        .third-level-item{
            /*padding-left: 40px;*/
        }
        
        .sub-nav-icon {
            width: 16px;
            text-align: center;
            margin-right: 12px;
            font-size: 12px;
        }
        
        .collapse-btn {
            position: absolute;
            top: 24px;
            right: -12px;
            background-color: #3498db;
            color: white;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 101;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        
        .collapse-btn:hover {
            background-color: #2980b9;
        }

        .third-level-menu{
            box-shadow: none;
            margin-bottom: 0;
        }

        .third-level-item:last-child{
            border-bottom: 1px solid #E5E9F2;
        }
        
        .main-content {
			width: 100%;
            flex: 1;
            padding: 24px;
            overflow-y: auto;
            transition: all 0.3s ease;
			/*margin-top: 50px;*/
        }
        
        .main-content.expanded {
            margin-left: 0;
        }
        
        .tab-nav {
            background-color: #fff;
            padding: 0 24px;
            border-bottom: 1px solid #eaeaea;
            display: flex;
            border: 1px solid var(--border-color);
			box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
			border-radius: 12px;
        }
        
        .tab-item {
            padding: 18px 24px;
            font-size: 15px;
            color: #7f8c8d;
            cursor: pointer;
            border-bottom: 3px solid transparent;
            transition: all 0.2s;
        }
        
        .tab-item:hover {
            color: #0d6efd;
        }
        
        .tab-item.active {
            color: #0d6efd;
            border-bottom-color: #0d6efd;
            font-weight: 600;
        }
		
        /* 卡片样式 */
        .card-tech {
            background-color: #fff;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            backdrop-filter: blur(5px);
            transition: transform 0.3s, box-shadow 0.3s;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
        }
        
        .card-tech:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(13, 110, 253, 0.15);
            border-color: rgba(13, 110, 253, 0.3);
        }
		
        .content-page {
            margin-top: 24px;
			border-radius: 12px;
            display: none;
        }
		
        .content-page.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        .page-list {
            margin-top: 24px;
			border-radius: 12px;
			background: #fff;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .page-header {
            /*margin-bottom: 24px;*/
			padding:15px;
        }
        
        .page-title {
            font-size: 22px;
            font-weight: 600;
            color: #2c3e50;
        }
        
        .data-table-container {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
            overflow: hidden;
        }
        
        .data-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .data-table>thead {
            vertical-align: bottom;
        }
        
        .data-table th {
            background-color: rgba(13, 110, 253, 0.08);
            /*background-color: #f8f9fa;*/
            padding: 16px 14px;
            text-align: center;
            font-weight: 600;
            color: #2c3e50;
            border-bottom: 1px solid #eaeaea;
        }
        
        .data-table td {
            padding: 14px;
            text-align: center;
            border-bottom: 1px solid #f1f1f1;
            color: #555;
            word-break: break-all;
        }
        
        .data-table tbody tr:hover {
            background-color: rgba(13, 110, 253, 0.05);
        }

        tr.danger{
            background-color: rgba(232, 20, 20, 0.47);
        }
    
        .data-table tbody tr.danger:hover {
            background-color: rgba(255, 77, 79, 0.7);
        }
        
        .sidebar.collapsed .nav-text,
        .sidebar.collapsed .user-name,
        .sidebar.collapsed .user-status,
        .sidebar.collapsed .date-display,
        .sidebar.collapsed .nav-item::after {
            display: none;
        }
        
        .sidebar.collapsed .sub-nav-item span {
            display: none;
        }
        
        .sidebar.collapsed .sub-nav {
            position: absolute;
            left: 70px;
            top: 0;
            background-color: #2c3e50;
            min-width: 160px;
            border-radius: 0 4px 4px 0;
            box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
            z-index: 1000;
        }
        
        .sidebar.collapsed .sub-nav-item {
            padding: 12px 16px;
            white-space: nowrap;
        }
        
        .sidebar.collapsed .sub-nav-item span {
            display: inline;
        }
        
        @media (max-width: 768px) {
            .dashboard-container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
                height: auto;
				/*min-height: 100vh;*/
			/*margin-top: 50px;*/
            }
            
            .sidebar.collapsed {
                width: 100%;
                height: 70px;
                overflow: hidden;
            }
            
            .collapse-btn {
                top: 12px;
                right: 12px;
            }
            
            .nav-menu {
                display: flex;
                flex-wrap: wrap;
                justify-content: center;
                padding: 10px;
            }
            
            .nav-item {
				width: 100%;
                padding: 10px 15px;
                margin: 0 5px;
                border-radius: 4px;
            }
            .sub-nav {
				width: 100%;
			}
            .tab-nav {
                overflow-x: auto;
                white-space: nowrap;
            }
            
            .tab-item {
                padding: 15px 20px;
            }

            .main-content{
                padding: 24px 0;
            }
        }
		/* 其他页面样式 */
        .stats-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 24px;
        }
        
        .stat-card {
            background-color: #fff;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
            display: flex;
            align-items: center;
        }
        
        .stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            font-size: 22px;
            color: white;
        }
        
        .stat-content h3 {
            font-size: 14px;
            color: #7f8c8d;
            margin-bottom: 5px;
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: 700;
            color: #2c3e50;
        }
		.main-header {
    position: fixed;
    max-height: 100px;
    z-index: 1030;
    width: 100%;
	top: 0;
    display: flex;
}
.main-header .logo {
    background-color: #3498db;
    color: #fff;
    border-bottom: 0 solid transparent;
	display: block;
    float: left;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    width: 220px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    padding: 0 15px;
    font-weight: 300;
    overflow: hidden;
}
.top_right_wrap{ height:50px; flex: 1; float:left; padding-right:1%;  color:#fff; background: linear-gradient(180deg, #1a2530 0%, #2c3e50 100%);}
.top_right_pic{width: 56px; height:50px; float:right; position:relative;}
.head_pic_border{width:28px; height: 28px;display: flex; border-radius: 50%; margin-left:14px; margin-top:11px;align-items: center;justify-content: center;}
.head_pic_border img{padding: 0;  width: 28px;height: 28px;border-radius: 50%;}
.toprightpop{
	position:absolute; 
	display:none;
	width:180px;
	height:auto;
	top:55px;
	right:38px;
	}
.top_right_pic:hover{
	background:#00273B;
}
.toprightpop_arrow{width:180px;height:6px; float:left}	
.toprightpop_arrow img{float:right; margin-right:3px;}
.toprightpop_body_wrap{width:180px;height:auto; float:left;background:#FFF; border-radius:5px;}
.toprightpop_word_body{ width:160px; height:auto; float:left; padding:10px; color:#666; line-height:30px;}
.toprightpop_word{width:160px; height:30px;  float:left; }
.loginnme{  border-bottom:#eee 1px solid;}
.top_nav{ width:100%; height:40px;  background:#00273B; border-bottom:#007DBB 2px solid; color:#fff;}

.form-container {
            padding: 2rem;
            background: #ffffff;
        }

        .form-group {
            margin-bottom: 1.5rem;
            position: relative;
        }

        .form-label {
            display: block;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .required {
            color: #ef4444;
            font-size: 0.875rem;
        }

        .form-control {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background-color: #fafbfc;
        }

        .form-control:focus {
            outline: none;
            border-color: #165DFF;
            box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
            background-color: white;
        }

        .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
            background-color: #eee;
            opacity: 1;
        }

        select.form-control {
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1rem;
            padding-right: 2.5rem;
        }

        textarea.form-control {
            min-height: 100px;
            resize: vertical;
        }

        .door-number-group {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            align-items: center;
        }

        .door-number-item {
            display: flex;
            flex-direction: column;
            flex: 1;
            min-width: 120px;
        }

        .door-number-item:first-child {
            flex: 1;
        }

        .door-number-item label {
            font-size: 0.875rem;
            font-weight: 500;
            /*color: #64748b;*/
            margin-bottom: 0.25rem;
        }

        .door-number-item .form-control {
            padding: 0.75rem 0.75rem;
        }

        .door-number-combined {
            display: flex;
            gap: 0.5rem;
        }

        .door-number-number {
            flex: 1;
        }

        .door-number-unit {
            flex: 0 0 60px;
        }

        .full-door-number-display {
            margin-top: 0.75rem;
            padding: 0.75rem 1rem;
            background-color: #f8fafc;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 0.875rem;
            color: #64748b;
        }

        .full-door-number-display strong {
            color: #1e293b;
        }

        .file-upload {
            position: relative;
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .file-upload input[type="file"] {
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
            z-index: 2;
        }

        .file-upload-label {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background-color: #165DFF;
            color: white;
            border-radius: 8px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            flex-shrink: 0;
        }

        .file-upload-label:hover {
            background-color: #0d4ed8;
            transform: translateY(-2px);
        }

        .file-upload-text {
            flex-grow: 1;
            padding: 0.75rem 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1rem;
            background-color: #fafbfc;
            color: #64748b;
        }

        .button-group {
            display: flex;
            gap: 1rem;
            padding: 0 2rem 2rem;
            background: #ffffff;
        }

        .btn {
            padding: 0.75rem 1.5rem;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-primary {
            background: linear-gradient(135deg, #165DFF, #36BFFA);
            color: white;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, #0d4ed8, #0284c7);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(22, 93, 255, 0.3);
        }

        .btn-secondary {
            background-color: #f1f5f9;
            color: #64748b;
        }

        .btn-secondary:hover {
            background-color: #e2e8f0;
            color: #1e293b;
        }

        .form-section-title {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #e2e8f0;
            color: #165DFF;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .image-preview {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 10px;
            padding: 10px;
            border: 1px dashed #e2e8f0;
            border-radius: 8px;
        }
        
        .preview-item {
            position: relative;
            width: 100px;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        .preview-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .delete-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background: rgba(255,255,255,0.8);
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            font-size: 16px;
            cursor: pointer;
            color: #ff4d4f;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        @media (max-width: 768px) {
            
            .form-container {
                padding: 1.5rem;
            }
            
            .button-group {
                flex-direction: column;
            }
            
            .file-upload {
                flex-direction: column;
                align-items: stretch;
            }
            
            .door-number-group {
                flex-direction: column;
            }
            
            .door-number-item, .door-number-item:first-child {
                min-width: 100%;
                flex: 1 0 100%;
            }
            
            .door-number-combined {
                flex-direction: column;
            }
            
            .door-number-unit {
                flex: 1;
            }
        }
        .click {
    cursor: pointer;
    color: #3b82f6 !important;
}
.upload{
	margin-bottom:10px;
}

.zoom {
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 4px;
}
.zoom:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 图片优化 */
.optimized-img {
    will-change: transform;
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}