@CHARSET "UTF-8";
 /* 基础样式重置 */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     /*font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
     font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
 }
 
 :root {
     --primary-color: #6C63FF;
     --secondary-color: #4FC3F7;
     --accent-color: #FF6B6B;
     --light-color: #FFFFFF;
     --dark-color: #2D3436;
     --background-color: #F8F9FA;
     --card-bg: #FFFFFF;
     --text-color: #2D3436;
     --text-light: #7F8C8D;
     --sidebar-width: 320px;
     --sidebar-collapsed-width: 80px;
     --transition-speed: 0.3s;
     --border-radius: 12px;
     --shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
     --shadow-hover: 0 15px 30px rgba(0, 0, 0, 0.1);
 }
 
 body {
     display: flex;
     min-height: 100vh;
     background-color: var(--background-color);
     color: var(--text-color);
     line-height: 1.6;
     overflow-x: hidden;
 }
 
 /* 侧边导航栏样式 */
 .sidebar {
     width: var(--sidebar-width);
     background: var(--light-color);
     color: var(--text-color);
     transition: all var(--transition-speed) ease;
     position: fixed;
     height: 100vh;
     overflow-y: auto;
     z-index: 1000;
     box-shadow: var(--shadow);
     border-right: 1px solid rgba(0,0,0,0.05);
 }
 
 .sidebar-header {
     padding: 1.8rem 1.5rem;
     display: flex;
     align-items: center;
     justify-content: space-between;
     border-bottom: 1px solid rgba(0,0,0,0.05);
 }
 
 .sidebar-header h2 {
     font-size: 1.5rem;
     white-space: nowrap;
     overflow: hidden;
     font-weight: 700;
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
 }
 
 .sidebar-header .logo {
     display: flex;
     align-items: center;
     gap: 12px;
 }
 
 .logo-icon {
     font-size: 1.8rem;
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     -webkit-background-clip: text;
     -webkit-text-fill-color: transparent;
 }
 
 .toggle-btn {
     background: rgba(0,0,0,0.05);
     border: none;
     color: var(--text-color);
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
     transition: all 0.3s;
 }
 
 .toggle-btn:hover {
     background: rgba(0,0,0,0.1);
 }
 
 .sidebar.collapsed {
     width: var(--sidebar-collapsed-width);
 }
 
 .sidebar.collapsed .toggle-btn {
     transform: rotate(180deg);
 }
 
 .sidebar.collapsed .nav-link span,
 .sidebar.collapsed .sidebar-header h2,
 .sidebar.collapsed .dropdown-toggle {
     display: none;
 }
 
 /* 导航菜单样式 */
 .nav-menu {
     list-style: none;
     padding: 1.5rem 0;
 }
 
 .nav-item {
     position: relative;
     margin: 8px 0;
 }
 
 .nav-link {
     display: flex;
     align-items: center;
     padding: 0.9rem 1.5rem;
     color: var(--text-color);
     text-decoration: none;
     transition: all 0.3s;
     border-left: 4px solid transparent;
     margin: 0 0.5rem;
     border-radius: 8px 0 0 8px;
     cursor: pointer;
 }
 
 .nav-link:hover, .nav-link.active {
     background-color: rgba(108, 99, 255, 0.08);
     color: var(--primary-color);
     border-left-color: var(--primary-color);
 }
 
 .nav-link i {
     font-size: 1.2rem;
     margin-right: 1rem;
     width: 24px;
     text-align: center;
 }
 
 /* 下拉菜单样式 */
 .dropdown-menu {
     list-style: none;
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.3s ease;
     background-color: rgba(0,0,0,0.02);
     border-radius: 0 0 8px 8px;
     margin: 0 0.5rem;
 }
 
 .dropdown-menu.show {
     max-height: 1000px;
 }
 
 .dropdown-menu .nav-link {
     padding-left: 3.2rem;
     border-left: none;
     border-radius: 0;
 }
 
 .dropdown-toggle {
     position: absolute;
     right: 1.5rem;
     transition: transform 0.3s;
 }
 
 .dropdown.open .dropdown-toggle {
     transform: rotate(90deg);
 }
 
 /* 主内容区域 */
 .main-content {
     flex: 1;
     margin-left: var(--sidebar-width);
     transition: margin-left var(--transition-speed);
     padding: 2rem 2.5rem;
 }
 
 .sidebar.collapsed ~ .main-content {
     margin-left: var(--sidebar-collapsed-width);
 }
 
 .page-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 2.5rem;
     padding-bottom: 1.5rem;
     border-bottom: 1px solid rgba(0,0,0,0.06);
 }
 
 .breadcrumb {
     display: flex;
     list-style: none;
     font-size: 0.95rem;
     color: var(--text-light);
 }
 
 .breadcrumb li:not(:last-child)::after {
     content: "/";
     margin: 0 12px;
 }
 
 .breadcrumb a {
     color: var(--primary-color);
     text-decoration: none;
     transition: all 0.3s;
 }
 
 /* 内容区域样式 */
 .content-area {
     display: none;
     animation: fadeIn 0.5s ease;
 }
 
 .content-area.active {
     display: block;
 }
 
 @keyframes fadeIn {
     from { opacity: 0; transform: translateY(10px); }
     to { opacity: 1; transform: translateY(0); }
 }
 
 /* 卡片网格 */
 .card-grid {
     display: grid;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
     gap: 1.8rem;
     margin-bottom: 2.5rem;
 }
 
 .card {
     background: var(--card-bg);
     border-radius: var(--border-radius);
     overflow: hidden;
     box-shadow: var(--shadow);
     transition: transform 0.3s, box-shadow 0.3s;
     border: 1px solid rgba(0,0,0,0.03);
 }
 
 .card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-hover);
 }
 
 .card-header {
     background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
     color: white;
     padding: 1.2rem;
     font-size: 1.1rem;
     font-weight: 600;
 }
 
 .card-body {
     padding: 1.8rem;
 }
 
 .card-footer {
     padding: 1.2rem;
     background: rgba(0,0,0,0.02);
     border-top: 1px solid rgba(0,0,0,0.04);
     display: flex;
     justify-content: space-between;
 }
 
 .btn {
     padding: 0.6rem 1.2rem;
     border: none;
     border-radius: 8px;
     cursor: pointer;
     font-weight: 500;
     transition: all 0.3s;
     display: inline-flex;
     align-items: center;
     gap: 8px;
 }
 
 .btn-primary {
     background: var(--primary-color);
     color: white;
 }
 
 .btn-primary:hover {
     background: #5651e5;
     transform: translateY(-2px);
 }
 
 .btn-outline {
     background: transparent;
     border: 1px solid var(--primary-color);
     color: var(--primary-color);
 }
 
 .btn-outline:hover {
     background: var(--primary-color);
     color: white;
 }
 
 /* 表格样式 */
 .data-table {
     width: 100%;
     border-collapse: collapse;
     margin: 1.5rem 0;
     background: var(--card-bg);
     border-radius: var(--border-radius);
     overflow: hidden;
     box-shadow: var(--shadow);
 }
 
 .data-table th, .data-table td {
     padding: 1rem;
     text-align: left;
     border-bottom: 1px solid rgba(0,0,0,0.05);
 }
 
 .data-table th {
     background-color: rgba(108, 99, 255, 0.1);
     font-weight: 600;
     color: var(--primary-color);
 }
 
 .data-table tr:hover {
     background-color: rgba(108, 99, 255, 0.03);
 }
 
 /* 表单样式 */
 .form-group {
     margin-bottom: 1.5rem;
 }
 
 .form-label {
     display: block;
     margin-bottom: 0.5rem;
     font-weight: 500;
     color: var(--text-color);
 }
 
 .form-control {
     width: 100%;
     padding: 0.8rem 1rem;
     border: 1px solid rgba(0,0,0,0.1);
     border-radius: 8px;
     font-size: 1rem;
     transition: border-color 0.3s;
 }
 
 .form-control:focus {
     outline: none;
     border-color: var(--primary-color);
     box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
 }
 
 /* 响应式设计 */
 @media (max-width: 992px) {
     .sidebar {
         width: var(--sidebar-collapsed-width);
     }
     
     .sidebar .nav-link span,
     .sidebar .sidebar-header h2,
     .sidebar .dropdown-toggle {
         display: none;
     }
     
     .main-content {
         margin-left: var(--sidebar-collapsed-width);
     }
     
     .sidebar.expanded {
         width: var(--sidebar-width);
     }
     
     .sidebar.expanded .nav-link span,
     .sidebar.expanded .sidebar-header h2,
     .sidebar.expanded .dropdown-toggle {
         display: inline-block;
     }
     
     .overlay {
         display: none;
         position: fixed;
         top: 0;
         left: 0;
         right: 0;
         bottom: 0;
         background-color: rgba(0,0,0,0.5);
         z-index: 999;
     }
     
     .overlay.active {
         display: block;
     }
 }
 
 @media (max-width: 768px) {
     .sidebar {
         transform: translateX(-100%);
         width: var(--sidebar-width);
     }
     
     .sidebar.expanded {
         transform: translateX(0);
     }
     
     .sidebar .nav-link span,
     .sidebar .sidebar-header h2,
     .sidebar .dropdown-toggle {
         display: inline-block;
     }
     
     .main-content {
         margin-left: 0;
         width: 100%;
         padding: 1.5rem;
     }
     
     .card-grid {
         grid-template-columns: 1fr;
     }
     
     .menu-toggle {
         display: block;
         position: fixed;
         top: 1.5rem;
         left: 1.5rem;
         background: var(--primary-color);
         color: white;
         border: none;
         border-radius: 8px;
         padding: 0.6rem 0.8rem;
         z-index: 800;
         cursor: pointer;
         box-shadow: var(--shadow);
     }
     
     .data-table {
         display: block;
         overflow-x: auto;
     }
 }
 
 @media (max-width: 480px) {
     .main-content {
         padding: 1.2rem;
     }
     
     .page-header {
         flex-direction: column;
         align-items: flex-start;
         gap: 1rem;
     }
     
     .breadcrumb {
         flex-wrap: wrap;
     }
 }
 
 /* 工具类 */
 .text-center {
     text-align: center;
 }
 
 .mt-1 { margin-top: 0.5rem; }
 .mt-2 { margin-top: 1rem; }
 .mt-3 { margin-top: 1.5rem; }
 .mb-1 { margin-bottom: 0.5rem; }
 .mb-2 { margin-bottom: 1rem; }
 .mb-3 { margin-bottom: 1.5rem; }
 
 /* 页面特定样式 */
 .stats-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
     gap: 1.5rem;
     margin-bottom: 2.5rem;
 }
 
 .stat-card {
     background: var(--card-bg);
     border-radius: var(--border-radius);
     padding: 1.8rem;
     box-shadow: var(--shadow);
     text-align: center;
     transition: transform 0.3s, box-shadow 0.3s;
     border: 1px solid rgba(0,0,0,0.03);
 }
 
 .stat-card:hover {
     transform: translateY(-5px);
     box-shadow: var(--shadow-hover);
 }
 
 .stat-value {
     font-size: 2.2rem;
     font-weight: 700;
     color: var(--primary-color);
     margin-bottom: 0.5rem;
 }
 
 .stat-label {
     color: var(--text-light);
     font-size: 0.95rem;
 }
 
 /* 进度条样式 */
 .progress-container {
     margin: 1.5rem 0;
 }
 
 .progress-info {
     display: flex;
     justify-content: space-between;
     margin-bottom: 0.5rem;
     font-size: 0.9rem;
     color: var(--text-light);
 }
 
 .progress-bar {
     height: 10px;
     background: rgba(0,0,0,0.08);
     border-radius: 5px;
     overflow: hidden;
 }
 
 .progress-fill {
     height: 100%;
     border-radius: 5px;
     transition: width 0.5s ease;
 }
 
 .progress-cpu {
     background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
     width: 65%;
 }
 
 .progress-memory {
     background: linear-gradient(90deg, var(--accent-color), #FF9E80);
     width: 72%;
 }
 /*首页超链接*/
 .index-a{
 	text-decoration: none;
 }

 .bold-line {
    border: none;
    border-top: 3px solid #000; /* 4px是线的粗细，#000是黑色 */
    margin: 20px 0; /* 上下边距，使线与其他内容分隔开 */
}

.des {
	font-size: 1.3rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.des a {
	text-decoration: none;
}

.responsive-img { 
	max-width: 100%; 
	height: auto; 
}

.breadcrumb li {
 	display: block; 
 	width: 100%; 
 	text-align: right;
}

i {
	color: blue;
}

.cpurple {
	color:purple;
}
/*问题和答案*/
.question {
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
}

.question-header {
    padding: 15px;
    background-color: #e9ecef;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question-header:hover {
    background-color: #dee2e6;
}

.toggle-icon {
    font-weight: bold;
    transition: transform 0.3s;
}

.answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: white;
}

.answer li {
	list-style: none;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked + .question-header + .answer {
    max-height: 1000px;
    padding: 15px;
}

input[type="checkbox"]:checked + .question-header .toggle-icon {
    transform: rotate(180deg);
}

.answer-content {
    line-height: 1.5;
}

.correct {
    color: #28a745;
    font-weight: bold;
}
/*分数*/
fraction {
	display: inline-block;
	text-align: center;
	vertical-align: middle;
}
fraction sup {
	display: block;
	font-size: 0.8em;
	line-height: 1;
}
fraction sub {
	display: block;
	font-size: 0.8em;
	line-height: 1;
}
/*模拟表格*/
.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    width: 100%;
}

.fake-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.fake-thead {
    display: table-header-group;
    background: #f8f9fa;
}

.fake-tbody {
    display: table-row-group;
}

.fake-tr {
    display: table-row;
}

.fake-th, .fake-td {
    display: table-cell;
    padding: 12px 16px;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
    text-align: left;
    font-size: 1.3rem;
    vertical-align: middle;
}

.fake-th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    position: sticky;
    left: 0;
}

.fake-td {
    background-color: white;
    color: #212529;
}

.fake-tr:nth-child(even) .fake-td {
    background-color: #f8f9fa;
}

.fake-tr:hover .fake-td {
    background-color: #e9ecef;
}

/* 自定义滚动条样式 */
.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
/*重要*/
.important {
	color:red;
	font-weight: bold;
}
.important2 {
	color:blue;
	font-weight: bold;
}
.important3 {
	color:green;
	font-weight: bold;
}
/*超链接*/
.normal-a {
	text-decoration: none;
}
/*习题代码*/
.ex-code {
	width: 280px; 
	background-color: black;
	color:white;
	padding-left: 10px;
}
/*行内代码*/
.in-code {
	font-family: 'Courier New', monospace;
	background-color: black;
	color:white;
	padding:0 10px;
}
/*gif大小*/
.gif {
	width: 400px;
	height: 400px;
}
/*行内图片对齐*/
.flex-container {
    display: flex;
    align-items: center; /* 垂直居中对齐 */
    gap: 10px; /* 元素间距 */
}
.icon {
    height: 42px;
}
/*概念样式*/
.cc-card {
    background-color: #ebeeff;
    border-radius: 20px 20px 0 0;
    padding: 30px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.cc-concept-flag {/* 概念旗子标签样式 - 优化版 */
    position: absolute;
    top: 15px;
    right: -15px;
    background-color: #1e3a8a;
    color: white;
    font-weight: bold;
    padding: 8px 35px 8px 20px;
    font-size: 0.9rem;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    
    /* 创建斜切旗子形状 */
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
    
    /* 文本样式 */
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 2px;
    transform: rotate(0deg);
    
    /* 添加装饰线 */
    border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.cc-concept-flag::after {/* 可选：添加旗子上的小圆点装饰 */
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.cc-card-title { /* 卡片标题样式 */
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 15px;
    padding-right: 100px; /* 为旗子标签留出空间 */
}

.cc-card-content { /* 卡片内容样式 */
    line-height: 1.7;
    color: #4a5568;
}

/*带颜色的无序列表符号•*/
.ul-dot {
	color: #ffa944;
	font-size: 30px;
}
/*圆角序号*/
.icon-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-box {
  width: 40px;
  height: 40px;
  background-color: #ebeeff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  flex-shrink: 0;
}

/*总结卡片样式*/
.sum-card {
  width: 100%; /* 与父级同宽 */
  background-color: #f5f7fa; /* 浅灰背景 */
  border-radius: 12px; /* 圆角 */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* 阴影效果 */
  padding: 12px 0;
  position: relative;
  overflow: hidden;
}

/* 卡片头部（示例标签） */
.sum-card-header {
  background-color: #e4e9f2; /* 头部浅蓝灰 */
  padding: 8px 16px;
}

/* 卡片内容项 */
.sum-card-content {
  padding: 12px 16px;
}
.sum-card-item {
  margin-bottom: 16px;
}
.sum-card-item:last-child {
  margin-bottom: 0;
}

/* 高亮文本（do not/不） */
.highlight {
  color: #7a5af8; /* 紫色高亮 */
  font-weight: bold;
}