/* ===== EyouCMS 浅色主题扩展样式 ===== */

/* --- 表单元素浅色适配 --- */
input, textarea, select {
  background: #F5F7FA;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--jasmine);
  font-family: var(--sans);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,134,11,.1);
}
input::placeholder, textarea::placeholder {
  color: var(--muted);
}

/* --- 按钮浅色适配 --- */
.btn, .eyou_btn, button {
  font-family: var(--sans);
}

/* --- 分页浅色适配 --- */
.pagination a, .pagination span {
  background: var(--bg-card);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  transition: .2s;
}
.pagination a:hover, .pagination span.current {
  background: rgba(184,134,11,.1);
  border-color: var(--gold);
  color: var(--gold);
}

/* --- 面包屑浅色 --- */
.breadcrumb, .crumbs {
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb a, .crumbs a {
  color: var(--muted);
}
.breadcrumb a:hover, .crumbs a:hover {
  color: var(--gold);
}

/* --- 文章列表浅色 --- */
.article-list, .list-box {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.article-list li, .list-box li {
  border-bottom: 1px solid var(--line);
}
.article-list li:last-child, .list-box li:last-child {
  border-bottom: none;
}
.article-list a, .list-box a {
  display: block;
  padding: 14px 20px;
  color: var(--ink-soft);
  font-size: 14px;
  transition: .2s;
}
.article-list a:hover, .list-box a:hover {
  color: var(--gold);
  background: rgba(184,134,11,.03);
}

/* --- 文章详情浅色 --- */
.article-content, .detail-content {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 30px;
  color: var(--ink-soft);
  line-height: 1.9;
  font-size: 15px;
}
.article-content h1, .detail-content h1 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--jasmine);
  margin-bottom: 16px;
  line-height: 1.4;
}
.article-content h2, .article-content h3,
.detail-content h2, .detail-content h3 {
  font-family: var(--serif);
  color: var(--jasmine);
  margin: 24px 0 12px;
}
.article-content img, .detail-content img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  margin: 16px 0;
}
.article-content a, .detail-content a {
  color: var(--gold);
  border-bottom: 1px solid rgba(184,134,11,.3);
}
.article-content a:hover, .detail-content a:hover {
  border-bottom-color: var(--gold);
}

/* --- 文章元信息 --- */
.article-meta, .detail-meta {
  font-size: 12px;
  color: var(--muted);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.article-meta span, .detail-meta span {
  margin-right: 16px;
}

/* --- 标签样式 --- */
.tag {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11px;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: .2s;
}
.tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* --- 搜索结果浅色 --- */
.search-result {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
}
.search-result h3 a {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--jasmine);
}
.search-result h3 a:hover {
  color: var(--gold);
}
.search-result p {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.7;
}
.search-result .highlight {
  color: var(--gold);
  font-weight: 600;
}

/* --- 空状态 --- */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: .5;
}

/* --- 加载状态 --- */
.loading {
  text-align: center;
  padding: 40px;
  color: var(--muted);
}

/* --- 表格浅色 --- */
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
}
th {
  background: rgba(184,134,11,.08);
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  padding: 13px 14px;
  text-align: left;
}
td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--jasmine);
}
tr:hover td {
  background: rgba(184,134,11,.03);
}
