﻿/* ========================================
   自动生成：bios_key.asp 页面样式
   ======================================== */

.auto-style-1 {
  display:none;
}

.auto-style-2 {
  width:160px;
  height:160px;
  margin:10px auto;
}

.auto-style-3 {
  color:#6b7280;
  margin-bottom:20px;
}

.auto-style-4 {
  font-size:36px;
  margin-bottom:10px;
}

.auto-style-5 {
  background:linear-gradient(135deg,#eff6ff,#dbeafe);
  border-left:4px solid #3b82f6;
}

.auto-style-6 {
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.auto-style-7 {
  font-size:24px;
  color:#3b82f6;
  margin-top:2px;
}

.auto-style-8 {
  margin:0 0 8px 0;
  font-size:16px;
  color:#1e40af;
}

.auto-style-9 {
  margin:0;
  font-size:14px;
  color:#374151;
  line-height:1.6;
}

.auto-style-10 {
  text-align:center;
  color:#9ca3af;
}

.auto-style-11 {
  color:#6b7280;
  font-size:13px;
}


/* ========================================
   移动端响应式样式（768px以下）
   ======================================== */
@media (max-width: 768px) {
  /* tool-card优化padding */
  .tool-card {
    padding: 16px !important;
  }
  
  /* 页面标题字体大小调整 */
  .tool-page-title {
    font-size: 20px !important;
  }
  
  /* 页面描述字体大小调整 */
  .auto-style-3 {
    font-size: 13px !important;
    line-height: 1.7 !important;
    margin-bottom: 16px !important;
  }
  
  /* 搜索框容器优化 */
  .bios-search {
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  /* 搜索输入框全宽 */
  .bios-search input {
    width: 100% !important;
    font-size: 14px !important;
    padding: 10px 12px !important;
  }
  
  /* 表格容器：允许横向滚动 */
  .bios-table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
  }
  
  /* 表格字体大小调整 */
  .bios-table th,
  .bios-table td {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
  
  /* 快捷键显示字体大小调整 */
  .bios-key {
    font-size: 13px !important;
    padding: 4px 8px !important;
  }
  
  /* 备注列字体大小调整 */
  .auto-style-11 {
    font-size: 11px !important;
    max-width: 150px !important;
    white-space: normal !important;
    line-height: 1.5 !important;
  }
  
  /* 空状态图标大小调整 */
  .auto-style-4 {
    font-size: 28px !important;
  }
  
  /* 提示卡片padding优化 */
  .auto-style-5 {
    padding: 14px !important;
  }
  
  /* 提示卡片内容间距优化 */
  .auto-style-6 {
    gap: 10px !important;
  }
  
  /* 提示卡片图标大小调整 */
  .auto-style-7 {
    font-size: 20px !important;
  }
  
  /* 提示卡片标题字体大小调整 */
  .auto-style-8 {
    font-size: 15px !important;
  }
  
  /* 提示卡片描述字体大小调整 */
  .auto-style-9 {
    font-size: 13px !important;
    line-height: 1.7 !important;
  }
  
  /* FAQ问题字体大小调整 */
  .faq-question {
    font-size: 14px !important;
    padding: 12px 14px !important;
  }
  
  /* FAQ答案字体大小调整 */
  .faq-answer {
    font-size: 13px !important;
    line-height: 1.7 !important;
    padding: 12px 14px !important;
  }
  
  /* 分享按钮优化 */
  .nc-share-btn {
    font-size: 12px !important;
    padding: 6px 10px !important;
  }
  
  /* 二维码大小调整 */
  .auto-style-2 {
    width: 140px !important;
    height: 140px !important;
  }
}

/* ========================================
   小屏移动端响应式样式（480px以下）
   ======================================== */
@media (max-width: 480px) {
  /* tool-card进一步优化padding */
  .tool-card {
    padding: 12px !important;
  }
  
  /* 页面标题进一步调整 */
  .tool-page-title {
    font-size: 18px !important;
  }
  
  /* 表格字体进一步调整 */
  .bios-table th,
  .bios-table td {
    font-size: 11px !important;
    padding: 6px 8px !important;
  }
  
  /* 快捷键显示字体进一步调整 */
  .bios-key {
    font-size: 12px !important;
    padding: 3px 6px !important;
  }
  
  /* 备注列最大宽度调整 */
  .auto-style-11 {
    max-width: 120px !important;
    font-size: 10px !important;
  }
  
  /* FAQ问题字体进一步调整 */
  .faq-question {
    font-size: 13px !important;
    padding: 10px 12px !important;
  }
  
  /* FAQ答案字体进一步调整 */
  .faq-answer {
    font-size: 12px !important;
    padding: 10px 12px !important;
  }
}


/* ========================================
   A-Z字母导航 - 美化版
   ======================================== */
.bios-alpha-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  margin: 16px 0 20px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.bios-alpha-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}
.bios-alpha-item:hover {
  color: #2563eb;
  transform: translateY(-1px);
  background: rgba(59, 130, 246, 0.08);
}
.bios-alpha-item.active {
  color: #fff;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
  transform: translateY(-1px);
}

/* 关键词高亮 */
.bios-highlight {
  background: #fef08a;
  color: #92400e;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 600;
}

/* 类型标签 */
.bios-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.type-laptop {
  background: #dbeafe;
  color: #1d4ed8;
}
.type-desktop {
  background: #dcfce7;
  color: #15803d;
}
.type-both {
  background: #fef3c7;
  color: #b45309;
}
.type-general {
  background: #f1f5f9;
  color: #475569;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .bios-alpha-nav {
    padding: 6px 8px;
    gap: 1px;
    border-radius: 10px;
  }
  .bios-alpha-item {
    min-width: 26px;
    height: 26px;
    font-size: 12px;
    padding: 0 5px;
    border-radius: 6px;
  }
  .bios-type {
    font-size: 11px;
    padding: 2px 6px;
  }
}


/* ========================================
   类型筛选
   ======================================== */
.bios-type-filter {
  display: flex;
  gap: 8px;
  margin: 12px 0 8px;
  flex-wrap: wrap;
}
.bios-type-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  line-height: 32px;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
  box-sizing: border-box;
}
.bios-type-item i {
  display: inline-block;
  line-height: 1;
  font-size: 12px;
}
.bios-type-item:hover {
  background: #e0e7ff;
  color: #4f46e5;
  border-color: #c7d2fe;
}
.bios-type-item.active {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* ========================================
   热门搜索 + 搜索历史
   ======================================== */
.bios-search-tags {
  margin: 8px 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bios-hot-search,
.bios-history-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.bios-tags-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.bios-tags-label i {
  font-size: 11px;
}
.bios-tag-item {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.bios-tag-item:hover {
  background: #dbeafe;
  color: #2563eb;
  border-color: #bfdbfe;
}
.bios-clear-history {
  font-size: 12px;
  color: #94a3b8;
  cursor: pointer;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}
.bios-clear-history:hover {
  color: #ef4444;
}
.bios-clear-history i {
  font-size: 11px;
}

/* ========================================
   表格斑马纹 + hover效果
   ======================================== */
.bios-table tbody tr:nth-child(odd) {
  background: #f8fafc;
}
.bios-table tbody tr:hover {
  background: #eff6ff !important;
}
.bios-table tbody tr {
  transition: background 0.2s ease;
}

/* ========================================
   移动端适配
   ======================================== */
@media (max-width: 768px) {
  .bios-type-filter {
    gap: 6px;
  }
  .bios-type-item {
    padding: 0 12px;
    font-size: 12px;
    height: 30px;
    line-height: 30px;
  }
  .bios-search-tags {
    gap: 4px;
  }
  .bios-tag-item {
    padding: 2px 8px;
    font-size: 11px;
  }
  .bios-tags-label {
    font-size: 11px;
  }
}
