:root {
  --primary-color: #00c9ff;
  --secondary-color: #4cc9f0;
  --accent-color: #ff2a6d;
  --dark-bg: #0f0c29;
  --darker-bg: #000000;
  --card-bg: rgba(15, 12, 41, 0.8);
  --text-color: #e6e6e6;
  --text-secondary: #a0a0a0;
  --success-color: #4cd964;
  --warning-color: #f5ac37;
  --danger-color: #ff2e63;
  --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  /* 白天模式变量 */
  --light-primary: #0077b6;
  --light-secondary: #00b4d8;
  --light-accent: #ff6b6b;
  --light-dark-bg: #f8f9fa;
  --light-darker-bg: #e9ecef;
  --light-card-bg: rgba(255, 255, 255, 0.98);
  --light-text-color: #212529;
  --light-text-secondary: #495057;
  --light-input-bg: #ffffff;
  --light-input-border: #ced4da;
  --light-input-text: #212529;
  --light-table-bg: rgba(0, 0, 0, 0.03);
  --light-table-border: #dee2e6;
}

/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background-attachment: fixed;
}

/* 粒子背景效果 */
#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
}

/* 导航栏 */
.navbar {
  background: rgba(15, 12, 41, 0.9);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo-icon {
  font-size: 2rem;
  animation: pulse 2s infinite;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

.nav-links a.active {
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 15px rgba(0, 201, 255, 0.4);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color), #34c759);
  color: white;
}

.btn-warning {
  background: linear-gradient(135deg, var(--warning-color), #ff9f1c);
  color: white;
}

/* 主要内容区域 */
.main-content {
  max-width: 1400px;
  margin: 80px auto 40px;
  padding: 0 2rem;
  min-height: 80vh;
}

/* 卡片设计 */
.card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 201, 255, 0.25);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.card-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 统计卡片 */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
  color: var(--primary-color);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* API接口展示 */
.api-section {
  margin-top: 3rem;
}

.api-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.api-title i {
  font-size: 1.5rem;
}

.api-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-method {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 600;
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.api-endpoint {
  font-family: 'Consolas', monospace;
  font-size: 1.1rem;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 10px;
  margin: 0.5rem 0;
  color: var(--primary-color);
}

.api-description {
  margin: 0.5rem 0;
  color: var(--text-secondary);
}

/* API测试区域 */
.api-test {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-test-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.2);
}

.btn-api {
  background: linear-gradient(135deg, var(--accent-color), #ff6b6b);
  color: white;
  width: 100%;
  min-width: 200px;
  margin: 2rem auto 0;
  padding: 0.9rem 2.5rem;
  display: block;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-align: center;
}

.api-response {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 1.5rem;
  font-family: 'Consolas', monospace;
  font-size: 0.95rem;
  color: #e0e0e0;
  margin-top: 1.5rem;
  min-height: 150px;
  overflow: auto;
}

.api-response pre {
  margin: 0;
  padding: 0;
}

/* 仪表盘特定样式 */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dashboard-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.dashboard-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 201, 255, 0.25);
}

.dashboard-title {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.dashboard-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.dashboard-description {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.provider-status {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.provider-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.provider-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.provider-name {
  font-weight: 600;
  color: var(--text-color);
}

.provider-status-text {
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.provider-status-available {
  background: rgba(76, 201, 100, 0.2);
  color: var(--success-color);
}

.provider-status-unavailable {
  background: rgba(255, 46, 99, 0.2);
  color: var(--danger-color);
}

.provider-default {
  background: rgba(0, 201, 255, 0.1);
  color: var(--primary-color);
  padding: 0.2rem 0.8rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* 表格样式 */
.table-container {
  overflow-x: auto;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.3);
  padding: 1rem;
  margin-top: 1.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.table th {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-color);
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* 系统信息 */
.system-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
}

.info-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* 快速操作 */
.quick-actions {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.quick-action {
  flex: 1;
  min-width: 200px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-action:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

.quick-action i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.quick-action h4 {
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

/* 底部 */
.footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}

/* 二级按钮样式 - 主题切换按钮使用 */
.btn-secondary {
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* 按钮动画 */
.btn-api:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #ff4d8d, #ff6b6b);
  box-shadow: 0 7px 20px rgba(255, 45, 141, 0.4);
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .api-test-form {
    grid-template-columns: 1fr;
  }
  
  .navbar-container {
    padding: 1rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .nav-links a {
    margin: 0.3rem;
  }
  
  .main-content {
    padding: 0 1rem;
  }
  
  .stats-cards, .dashboard-stats, .system-info {
    grid-template-columns: 1fr;
  }
}

/* 动画效果 */
@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.7; }
  100% { opacity: 1; }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* 3D效果 */
.card {
  position: relative;
  perspective: 1000px;
}

.card:hover {
  transform: translateY(-8px) rotateX(2deg);
}

/* 代码高亮 */
.hljs {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 1rem;
  overflow-x: auto;
  font-family: 'Consolas', monospace;
}

.hljs-keyword, .hljs-selector-tag {
  color: var(--primary-color);
}

.hljs-string, .hljs-template-tag {
  color: var(--success-color);
}

.hljs-comment {
  color: var(--text-secondary);
}

.hljs-number {
  color: var(--warning-color);
}

/* 粒子效果 */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
  animation: float 8s infinite ease-in-out;
}

/* 2025科技感动画 */
@keyframes float {
  0% { transform: translateY(0) translateX(0); opacity: 0.5; }
  50% { transform: translateY(-20px) translateX(10px); opacity: 1; }
  100% { transform: translateY(0) translateX(0); opacity: 0.5; }
}

/* 悬浮效果 */
.hover-effect {
  transition: all 0.3s ease;
}

.hover-effect:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 201, 255, 0.3);
}

/* 加载动画 */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 12, 41, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.loading-content {
  text-align: center;
  color: var(--primary-color);
}

/* 通知消息 */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    display: flex;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.3s, transform 0.3s;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.info {
    background-color: #3498db;
}

.notification.success {
    background-color: #2ecc71;
}

.notification.error {
    background-color: #e74c3c;
}

.notification i {
    margin-right: 10px;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 表格样式增强 */
.table-responsive {
  overflow-x: auto;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

/* 数据卡片 */
.data-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-card .card-title {
  font-size: 1.4rem;
  color: var(--primary-color);
}

.data-card .card-actions {
  display: flex;
  gap: 0.5rem;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-secondary);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* 搜索框 */
.search-box {
  margin-bottom: 2rem;
}

.search-box .search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1rem;
  transition: var(--transition);
}

.search-box .search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.2);
}

/* API文档表格 */
.api-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.api-table th {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
}

.api-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.api-table tr:last-child td {
    border-bottom: none;
}

.api-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* 测试页面布局 */
.api-test-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.api-doc-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

/* 在style.css末尾添加以下样式 */

/* API文档页面样式 */
.docs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.docs-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.docs-tab {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.docs-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.docs-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.docs-section {
    display: none;
    margin-bottom: 3rem;
}

.docs-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* API卡片增强样式 */
.api-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.api-method {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.api-method.get-only {
    background: rgba(0, 123, 255, 0.2);
    color: #007bff;
    border: 1px solid rgba(0, 123, 255, 0.3);
}

.api-method.post-only {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.api-method.get-post {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.api-endpoint {
    font-family: 'Consolas', monospace;
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    margin: 1rem 0;
    color: var(--primary-color);
    overflow-x: auto;
}

.api-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* 参数表格 */
.api-params {
    margin: 2rem 0;
}

.api-params h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.params-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.params-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.params-table tr:last-child td {
    border-bottom: none;
}

.params-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.params-table code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    color: var(--primary-color);
}

/* 示例部分 */
.api-example {
    margin: 2rem 0;
}

.api-example h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.example-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.example-tab {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.example-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.example-tab.active {
    background: rgba(0, 201, 255, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.example-content {
    display: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
}

.example-content.active {
    display: block;
}

.example-content pre {
    margin: 0;
}

/* 代码示例部分 */
.example-section {
    margin-bottom: 3rem;
}

.example-section h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.code-example {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.code-example h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 600;
}

.code-example pre {
    margin: 0;
}

/* 常见问题 */
.faq-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-item h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-item h4:before {
    content: "Q:";
    color: var(--primary-color);
    font-weight: 700;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-left: 1.5rem;
}

/* 首页新增样式 */
.intro-section {
    margin: 3rem 0;
}

.intro-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.intro-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.intro-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.intro-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.intro-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.test-tips {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 201, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.test-tips p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.test-tips i {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .docs-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .docs-tab {
        justify-content: center;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
    }
    
    .params-table {
        display: block;
        overflow-x: auto;
    }
    
    .example-tabs {
        flex-direction: column;
    }
}

/* OCS配置示例区域 */
.ocs-section {
    margin: 3rem 0;
}

.ocs-content {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .ocs-content {
        flex-direction: column;
    }
}

.ocs-card {
    flex: 2;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ocs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ocs-header h3 {
    margin: 0;
    color: var(--primary-color);
}

.ocs-code {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.ocs-tips {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 201, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.tips-content {
    margin-top: 1rem;
}

.tips-content ul, .tips-content ol {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-color);
}

.tips-content li {
    margin-bottom: 0.5rem;
}

.tips-content code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    color: var(--primary-color);
}

.ocs-examples {
    flex: 1;
}

.example-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.example-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.example-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.example-item.active {
    background: rgba(0, 201, 255, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.example-item i {
    font-size: 1.2rem;
}

.example-content {
    display: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.example-content.active {
    display: block;
}

.example-content h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* API文档中的OCS样式 */
.ocs-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ocs-intro-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ocs-intro-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.ocs-intro-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.ocs-config-section {
    margin: 2rem 0;
}

.config-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.config-tabs {
    display: flex;
    gap: 0.5rem;
}

.config-tab {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.config-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.config-tab.active {
    background: rgba(0, 201, 255, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.config-content {
    display: none;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
}

.config-content.active {
    display: block;
}

.ocs-usage {
    margin: 2rem 0;
}

.usage-steps {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h5 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.step-content ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-secondary);
}

.usage-tips {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--success-color);
}

.variable-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.variable-table table {
    width: 100%;
    border-collapse: collapse;
}

.variable-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
}

.variable-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.handler-examples {
    margin: 1rem 0;
}

/* OCS示例页面样式 */
.ocs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ocs-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.ocs-tab {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.ocs-tab:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.ocs-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.ocs-section {
    display: none;
    margin-bottom: 3rem;
}

.ocs-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.config-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.config-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.config-actions {
    display: flex;
    gap: 1rem;
}

.config-description {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.config-params {
    margin-top: 2rem;
}

.config-variants {
    margin-top: 3rem;
}

.variant-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.variant-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.variant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 201, 255, 0.2);
}

.variant-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.variant-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.variant-content {
    margin-top: 1rem;
}

.variant-content pre {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.variant-content .btn {
    margin-top: 1rem;
}

.guide-steps {
    display: grid;
    gap: 3rem;
    margin: 3rem 0;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.step-content ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-color);
}

.guide-tips {
    margin-top: 4rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tip-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-3px);
}

.tip-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.tip-card h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.example-scenarios {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.scenario {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.scenario h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.scenario-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.troubleshoot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.issue-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.issue-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.issue-content h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.issue-content ul, .issue-content ol {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-secondary);
}

.troubleshoot-contact {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(0, 201, 255, 0.1);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.contact-info ul {
    margin: 1rem 0 1rem 1.5rem;
    color: var(--text-color);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}


/* OCS配置页面样式 */
.ocs-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ocs-content {
    margin-top: 2rem;
}

.config-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.config-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.config-actions {
    display: flex;
    gap: 1rem;
}

.config-description {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: var(--text-color);
}

.config-description p {
    margin-bottom: 0.5rem;
}

.config-description code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    color: var(--primary-color);
}

.config-code {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.config-tabs {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.tab-button.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.usage-steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.step-content ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-secondary);
}

.params-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.params-table table {
    width: 100%;
    border-collapse: collapse;
}

.params-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.params-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.params-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.variables-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 201, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.variables-section h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.variables-section ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-color);
}

.variables-section li {
    margin-bottom: 0.5rem;
}

.variables-section code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    color: var(--primary-color);
}

.variant-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.variant-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.variant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 201, 255, 0.2);
}

.variant-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.variant-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.variant-content {
    margin-top: 1rem;
}

.variant-content pre {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.variant-content .btn {
    margin-top: 1rem;
}

.troubleshoot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.issue-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.issue-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.issue-content h5 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.issue-content ul, .issue-content ol {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-secondary);
}

.contact-section {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(0, 201, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.contact-section h4 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-section ul {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-color);
}

.contact-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* API文档中的OCS样式 */
.ocs-intro {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.ocs-config-section {
    margin: 2rem 0;
}

.ocs-usage-guide {
    margin-top: 3rem;
}

.config-tips {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--success-color);
}

.config-variants {
    margin-top: 2rem;
}

.variant-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.variant-tab {
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.variant-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.variant-tab.active {
    background: rgba(0, 201, 255, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.variant-content {
    display: none;
}

.variant-content.active {
    display: block;
}

.example-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .config-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .config-actions {
        width: 100%;
        flex-wrap: wrap;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        justify-content: center;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
}

/* OCS配置页面专用样式 */
.config-actions-section {
    margin-bottom: 2rem;
}

.config-actions-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.config-actions-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.action-buttons .btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

.action-hint {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.full-config {
    margin-bottom: 3rem;
}

.config-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.description-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 1rem;
}

.description-item:last-child {
    margin-bottom: 0;
}

.description-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 2px;
}

.description-item div {
    flex: 1;
    color: var(--text-color);
}

.description-item code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    color: var(--primary-color);
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.guide-section,
.params-section,
.variants-section,
.troubleshoot-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-section h2,
.params-section h2,
.variants-section h2,
.troubleshoot-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guide-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.step-content ul {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--text-secondary);
}

.step-content li {
    margin-bottom: 0.5rem;
}

.params-table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.params-table th {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary-color);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.params-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-color);
}

.params-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.variables-section h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.variables-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.variable-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
}

.variable-item code {
    display: block;
    font-family: 'Consolas', monospace;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.variable-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.variant-tab-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.variant-tab-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.variant-tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.variant-tab-btn.active {
    background: rgba(0, 201, 255, 0.2);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.variant-content {
    display: none;
}

.variant-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.variant-description {
    margin-bottom: 1.5rem;
}

.variant-description h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.variant-description p {
    color: var(--text-secondary);
}

.issues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.issue-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.issue-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.issue-content h5 {
    color: var(--text-color);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.issue-content ul,
.issue-content ol {
    margin: 0.5rem 0 0.5rem 1.5rem;
    color: var(--text-secondary);
}

.issue-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.issue-content a:hover {
    text-decoration: underline;
}

.contact-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-content p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-color);
}

.contact-option i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
}

.contact-option a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-option a:hover {
    text-decoration: underline;
}

/* 通知样式 */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.notification.success {
    border-left: 4px solid var(--success-color);
}

.notification.error {
    border-left: 4px solid var(--danger-color);
}

@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
    }
    
    .action-buttons .btn-lg {
        width: 100%;
    }
    
    .step-card {
        flex-direction: column;
        gap: 1rem;
    }
    
    .variant-tab-buttons {
        flex-direction: column;
    }
    
    .variant-tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .issues-grid {
        grid-template-columns: 1fr;
    }
}

/* ==================== 白天/黑夜主题切换样式 ==================== */

/* 白天模式颜色变量 */
[data-theme="light"] {
  --primary-color: #0077b6;
  --secondary-color: #00b4d8;
  --accent-color: #ff6b6b;
  --dark-bg: #f8f9fa;
  --darker-bg: #e9ecef;
  --card-bg: rgba(255, 255, 255, 0.98);  /* 提高透明度 */
  --text-color: #212529;  /* 更深的文本颜色，提高可读性 */
  --text-secondary: #495057;  /* 提高次级文本对比度 */
  --success-color: #28a745;
  --warning-color: #fd7e14;
  --danger-color: #dc3545;
  --input-bg: #ffffff;  /* 表单输入背景 */
  --input-border: #ced4da;  /* 表单边框颜色 */
  --input-text: #212529;  /* 输入框文字颜色 */
  --table-bg: rgba(0, 0, 0, 0.03);  /* 表格背景 */
  --table-border: #dee2e6;  /* 表格边框 */
}

/* 白天模式基础样式 */
[data-theme="light"] body {
  background: linear-gradient(135deg, var(--darker-bg), var(--dark-bg));
  color: var(--text-color);
}

/* 白天模式导航栏 */
[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .logo {
  color: var(--primary-color);
}

[data-theme="light"] .nav-links a {
  color: var(--text-secondary);
}

[data-theme="light"] .nav-links a.active {
  color: var(--primary-color);
}

[data-theme="light"] .nav-links a:hover {
  color: var(--primary-color);
}

[data-theme="light"] .nav-links a:after {
  background: var(--primary-color);
}

/* 白天模式按钮 */
[data-theme="light"] .btn-secondary {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-color);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 白天模式卡片 */
[data-theme="light"] .card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
}

[data-theme="light"] .card .card-title {
  color: #1e40af !important; /* 深蓝色标题 */
  font-weight: 700;
}

[data-theme="light"] .card .card-subtitle {
  color: #4b5563 !important; /* 深灰色副标题 */
}

[data-theme="light"] .card p,
[data-theme="light"] .card span,
[data-theme="light"] .card div:not(.btn) {
  color: #374151 !important; /* 深灰色正文 */
}

[data-theme="light"] .card:hover {
  box-shadow: 0 15px 40px rgba(0, 119, 182, 0.12);
}

[data-theme="light"] .stat-card,
[data-theme="light"] .api-card,
[data-theme="light"] .provider-item,
[data-theme="light"] .quick-action,
[data-theme="light"] .intro-card,
[data-theme="light"] .data-card,
[data-theme="light"] .config-card,
[data-theme="light"] .ocs-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .card-header,
[data-theme="light"] .config-header,
[data-theme="light"] .ocs-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .dashboard-title,
[data-theme="light"] .api-title,
[data-theme="light"] .config-header h2 {
  color: var(--primary-color);
}
[data-theme="light"] .card-title {
  color: var(--primary-color);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .card-subtitle {
  color: var(--text-secondary);
}

/* 白天模式表单 */
[data-theme="light"] .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-color);
}

[data-theme="light"] .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
}

[data-theme="light"] .search-box .search-input {
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-color);
}

/* 白天模式响应区域 */
/* 白天模式响应区域 */
[data-theme="light"] .api-response,
[data-theme="light"] .config-code,
[data-theme="light"] .example-content,
[data-theme="light"] .api-endpoint,
[data-theme="light"] .test-result {
  background: rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  color: #111827 !important; /* 更深的文字颜色 */
}

[data-theme="light"] .api-response pre,
[data-theme="light"] .config-code pre,
[data-theme="light"] .example-content pre {
  color: #111827 !important;
}

/* 特别处理JSON代码高亮 */
[data-theme="light"] .hljs {
  background: rgba(0, 0, 0, 0.03) !important;
  color: #374151 !important; /* 深灰色文字 */
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

[data-theme="light"] .hljs-attr {
  color: #065f46 !important; /* 深绿色属性名 */
}

[data-theme="light"] .hljs-string {
  color: #92400e !important; /* 棕色字符串 */
}

[data-theme="light"] .hljs-number {
  color: #1e40af !important; /* 蓝色数字 */
}

[data-theme="light"] .hljs-literal {
  color: #7c3aed !important; /* 紫色布尔值 */
}

[data-theme="light"] .hljs-keyword {
  color: #dc2626 !important; /* 红色关键字 */
}

/* 白天模式表格 */
[data-theme="light"] .table-container,
[data-theme="light"] .table-responsive,
[data-theme="light"] .params-table,
[data-theme="light"] .api-table {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .table th {
  background: rgba(0, 0, 0, 0.08);
  color: var(--primary-color);
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .table tr:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* 白天模式代码块 */
[data-theme="light"] .hljs {
  background: rgba(0, 0, 0, 0.05);
}

/* 白天模式通知 */
[data-theme="light"] .notification {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 白天模式页脚 */
[data-theme="light"] .footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-secondary);
}

/* 白天模式统计值 */
[data-theme="light"] .stat-value,
[data-theme="light"] .dashboard-value,
[data-theme="light"] .info-value {
  color: var(--primary-color);
}

/* 白天模式粒子效果调整 */
[data-theme="light"] #particles-js {
  opacity: 0.05;
}

[data-theme="light"] .particle {
  background-color: var(--primary-color);
}

/* 主题过渡动画 */
body, .navbar, .card, .btn, .form-control, .table, .notification {
  transition: all 0.3s ease;
}

/* 主题切换动画 */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

#themeToggle i {
    transition: transform 0.3s ease;
}

#themeToggle:hover i {
    transform: scale(1.1);
}

/* 主题过渡效果 */
body, .navbar, .card, .btn, .form-control, .table, .notification,
.stat-card, .api-card, .provider-item, .quick-action, .intro-card,
.data-card, .config-card, .ocs-card, .api-response, .config-code,
.example-content, .api-endpoint, .test-result, .table-container,
.table-responsive, .params-table, .api-table, .hljs {
    transition: all 0.3s ease;
}

/* 粒子背景主题调整 */
[data-theme="light"] #particles-js {
    opacity: 0.1;
}

[data-theme="light"] .particle {
    background-color: var(--primary-color);
}

/* 白天模式表单元素 - 重要修复 */
[data-theme="light"] .form-control,
[data-theme="light"] .search-box .search-input,
[data-theme="light"] select,
[data-theme="light"] textarea,
[data-theme="light"] input[type="text"],
[data-theme="light"] input[type="email"],
[data-theme="light"] input[type="password"],
[data-theme="light"] input[type="number"] {
  background: var(--input-bg) !important;
  border: 1px solid var(--input-border) !important;
  color: var(--input-text) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) inset;
}

[data-theme="light"] .form-control:focus,
[data-theme="light"] .search-box .search-input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.15) !important;
  outline: none;
}

/* 白天模式下拉框特别样式 */
[data-theme="light"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23212529'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 16px !important;
  padding-right: 36px !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}
/* 修正黑夜模式下的表单元素 */
[data-theme="dark"] .form-control,
[data-theme="dark"] .search-box .search-input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="number"] {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--text-color) !important;
}

[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .search-box .search-input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus,
[data-theme="dark"] input:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* 修正下拉框在黑夜模式下的样式 */
[data-theme="dark"] select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e6e6e6'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 16px !important;
  padding-right: 36px !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

[data-theme="light"] .stat-value,
[data-theme="light"] .dashboard-value,
[data-theme="light"] .info-value {
  color: var(--primary-color);
  text-shadow: 0 1px 3px rgba(0, 119, 182, 0.1);
}

[data-theme="light"] .stat-label,
[data-theme="light"] .dashboard-description,
[data-theme="light"] .info-label {
  color: var(--text-secondary);
}
/* 白天模式表格 */
[data-theme="light"] .table-container,
[data-theme="light"] .table-responsive,
[data-theme="light"] .params-table,
[data-theme="light"] .api-table {
  background: var(--table-bg) !important;
  border: 1px solid var(--table-border) !important;
}

[data-theme="light"] .table th {
  background: rgba(0, 119, 182, 0.05) !important;
  color: var(--primary-color) !important;
  border-bottom: 2px solid rgba(0, 119, 182, 0.2) !important;
  font-weight: 600;
}

[data-theme="light"] .table td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
  color: var(--text-color) !important;
}

[data-theme="light"] .table tr:hover {
  background: rgba(0, 119, 182, 0.03) !important;
}
/* 白天模式代码高亮 */
[data-theme="light"] .hljs {
  background: rgba(0, 0, 0, 0.02) !important;
}

[data-theme="light"] .hljs-keyword,
[data-theme="light"] .hljs-selector-tag {
  color: var(--primary-color) !important;
}

[data-theme="light"] .hljs-string,
[data-theme="light"] .hljs-template-tag {
  color: var(--success-color) !important;
}

[data-theme="light"] .hljs-number {
  color: var(--warning-color) !important;
}
/* ==================== 全局样式优化 ==================== */

/* 确保所有元素都有平滑的主题切换 */
* {
  transition: background-color 0.3s ease, 
              border-color 0.3s ease, 
              color 0.3s ease,
              box-shadow 0.3s ease !important;
}

/* 表单元素特殊过渡 - 更快响应 */
input, select, textarea, button {
  transition: background-color 0.2s ease, 
              border-color 0.2s ease, 
              color 0.2s ease,
              box-shadow 0.2s ease !important;
}

/* 为所有按钮添加更明显的悬停效果 */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.btn:hover {
  transform: translateY(-2px) !important;
}

/* 为卡片添加更平滑的悬停动画 */
.card, .stat-card, .dashboard-card, .api-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
[data-theme="light"] .api-method {
  color: white !important;
  font-weight: 600;
}

[data-theme="light"] .api-method.get-only {
  background: var(--primary-color) !important;
}

[data-theme="light"] .api-method.post-only {
  background: var(--success-color) !important;
}

[data-theme="light"] .api-method.get-post {
  background: var(--warning-color) !important;
}
/* 白天模式链接样式 */
[data-theme="light"] a:not(.btn) {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

[data-theme="light"] a:not(.btn):hover {
  color: #005a8a;
  text-decoration: underline;
}
/* 特别修复首页API测试区域 */
[data-theme="light"] #apiResponse {
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
}

[data-theme="light"] #apiResponse pre {
  color: #111827 !important;
  margin: 0;
  padding: 0;
}

[data-theme="light"] #apiResponse code {
  color: #111827 !important;
  background: transparent !important;
}

/* 确保JSON响应中的"等待测试结果..."可见 */
[data-theme="light"] #apiResponse .hljs.json {
  color: #111827 !important;
}
[data-theme="light"] .form-group label {
  color: #374151 !important;
  font-weight: 600;
}

[data-theme="light"] .api-title {
  color: #1e40af !important;
}

[data-theme="light"] .api-title i {
  color: #1e40af !important;
}
[data-theme="dark"] select {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #e5e7eb !important;
}

[data-theme="dark"] select option {
  background: #1f2937 !important;
  color: #e5e7eb !important;
}

[data-theme="dark"] select:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #60a5fa !important;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.25) !important;
}

/* 必填红色星号 */
.required-star {
    color: #ff4757;
    margin-right: 4px;
    font-weight: bold;
}

/* 输入框错误状态 */
.input-error {
    border-color: #ff4757 !important;
    background: rgba(255, 71, 87, 0.05) !important;
}

/* 白天模式适配 */
[data-theme="light"] .input-error {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.05) !important;
}
/* 更明显的输入框错误状态 */
.input-error {
    border-color: #ff4757 !important;
    border-width: 2px !important;
    background: rgba(255, 71, 87, 0.08) !important;
    animation: shake 0.5s ease-in-out;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.1) !important;
}

/* 抖动动画 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* 白天模式适配 */
[data-theme="light"] .input-error {
    border-color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

/* 选中错误字段时 */
.input-error:focus {
    border-color: #ff4757 !important;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2) !important;
}

[data-theme="light"] .input-error:focus {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.2) !important;
}
/* 被禁用的下拉选项样式 */
select option:disabled {
    color: #999 !important;
    background-color: #f8f9fa !important;
    font-style: italic;
}

/* 下拉框提示样式 */
select[title] {
    cursor: help;
}

/* 表单提示文本样式 */
.form-text {
    margin-top: 0.25rem;
    color: #6c757d;
    font-size: 0.875em;
}