.dl-vertical-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-vertical-center h5, p {
  margin: 0; /* 清除段落的默认边距 */
  text-align: left; /* 将文字左对齐 */
}

.layui-layer-btn0 {
  color: white !important;
}

body {
  font: normal 14px/24px \5FAE\8F6F\96C5\9ED1;
  background-color: #faf9f9;
}

.dl-bottom-line {
  border-bottom: 2px solid #0277bd;
}

.dl-middle-size-p{
  font-size: 1.15em;
  line-height: 1.8rem;
}

a {
  text-decoration: none
}

a:link {
  text-decoration: none;
}

#top_nav {
  padding-bottom: 0;
}

#toTop {
  position: fixed;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  display: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.border-left-title {
  border-left: 3px solid red
}

#top-nav_div .container {

  width: 100%;
  max-width: 1400px;

}

.container {

  width: 100%;
  max-width: 1400px;

}

.navbar {
  border-radius: 0;
}

.table td {
  vertical-align: middle;
}

.panel-heading li {
  font-size: 14px;
}

.breadcrumb {
  padding-top: 2px;
  padding-bottom: 2px;
}

#paper_info span {
  font-size: 14px
}

.reward {
  margin-top: 10px;
  border-top: 1px solid #ddd;
  padding-top: 20px

}

/*****blog css****/
.card {
  margin-top: 5px
}

.card .fa {
  margin-top: 5px
}

.card .second {
  margin-left: 20px
}

.card .fa span {
  margin-left: 5px;
  margin-right: 5px;
}

.fa-tags a {
  color: #e41d1d
}

.fa-tags + .item_value {
  color: #999
}

.fa-tags + .item_value a {
  color: #999
}

.fa-tags + .item_value a:hover {
  color: #00a2ca
}

.fa-tags {
  color: #999
}

.fa-clock-o {
  color: #888
}

.fa-clock-o a {
  color: #888
}

.fa-user {
  color: #0099CC
}

.fa-user a {
  color: #0099CC
}

.fa-eye {
  color: #888
}

.fa-eye a {
  color: #888
}

a:hover {
  color: red
}

#blog_nav td {
  padding: 0px;
  font-size: 16px;
  vertical-align: middle
}

.table-active {
  background-color: white;
  border-bottom: 3px solid #1b95e0;
}

span a {
  font: normal 14px/24px \5FAE\8F6F\96C5\9ED1;
}

.blog_tag {

  margin-left: 10px;

}

.blog_search_proposals:hover {
  background-color: #EEEEEE;
}

<!--
search box

-->
#custom-search-form {
  margin: 0;
  margin-top: 5px;
  padding: 0;
}

#custom-search-form .search-query {
  padding-right: 3px;
  padding-right: 4px \9;
  padding-left: 3px;
  padding-left: 4px \9;
  /* IE7-8 doesn't have border-radius, so don't indent the padding */

  margin-bottom: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-transition: width 0.2s ease-in-out;
  -moz-transition: width 0.2s ease-in-out;
  -o-transition: width 0.2s ease-in-out;
  transition: width 0.2s ease-in-out;
}

#custom-search-form button {
  border: 0;
  background: none;
  /** belows styles are working good */
  padding: 2px 5px;
  margin-top: 2px;
  position: relative;
  left: -28px;
  /* IE7-8 doesn't have border-radius, so don't indent the padding */
  margin-bottom: 0;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}

.search-query:focus + button {
  z-index: 3;
}

.search-query:focus {
  width: 260px;
}

/************��������CSS************/
#top_area {
  width: 100%;
  background-color: white;
  padding-top: 10px;
  box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28)
}


li.page-item {
  border-bottom: 0
}

.navbar-nav li {
  min-width: 104px;
  text-align: center;
}

.navbar-collapse {
  z-index: 1000;
  background-color: white
}

.navbar-toggler {
  z-index: 10001
}

.user_area a {

  margin-left: 15px;

}

.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

/******�ײ�css******/
.footer {
  margin-top: 10px;
}

.footer_left_value {
  margin-left: 20px
}

.footer .footer_info {
  margin-bottom: 10px
}

.footer .footer_info_head {
  margin-bottom: 20px;
  margin-top: 20px;
  font-size: 16px;
}

footer {
  color: white;
  font-size: 14px
}

.footer_info a {
  color: white;
}

.card-list {
  width: 98%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  transition: transform .3s ease-in-out, box-shadow .3s cubic-bezier(.47, 0, .745, .715), border .3s linear .1s;
}

.card-item {
  display: block;
  /*flex: 1;*/
  /*width: 33.3%;*/
  /*min-width: 33.3%;*/
  /*max-width: 33.3%;*/
  /*height: 350px;*/
}

.editor-content-view p,
.editor-content-view li {
  white-space: pre-wrap; /* 保留空格 */
}

.editor-content-view blockquote {
  border-left: 8px solid #d0e5f2;
  padding: 10px 10px;
  margin: 10px 0;
  background-color: #f1f1f1;
}

.editor-content-view code {
  font-family: monospace;
  background-color: #eee;
  padding: 3px;
  border-radius: 3px;
}
.editor-content-view pre>code {
  display: block;
  padding: 10px;
}

.editor-content-view table {
  border-collapse: collapse;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}
.editor-content-view table th {
  border: 1px solid var(--w-e-textarea-border-color);
  line-height: 1.5;
  min-width: 30px;
  padding: 3px 5px;
  text-align: left;
  border-collapse: collapse;

}
.editor-content-view table{
  display: table;
  border-collapse: collapse;
  box-sizing: border-box;
  text-indent: initial;
  border-spacing: 2px;
  border-color: grey;
}
.editor-content-view td {
  border: 1px solid #ccc;
  min-width: 50px;
  padding: 3px 5px;
  height: 20px;
  border-collapse: collapse;

}

.editor-content-view th {
  border: 1px solid #ccc!important;
  min-width: 50px;
  height: 20px;
  border-collapse: collapse;

}
.editor-content-view th {
  background-color: #f1f1f1;
}

.editor-content-view ul,
.editor-content-view ol {
  padding-left: 20px;
}

.editor-content-view input[type="checkbox"] {
  margin-right: 5px;
}

.py-5 {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}
/*a {
  color: #007bff !important;
}

a:hover {
  color: red !important;
}

nav a{
  color: #212529!important;
}
*/

#model-card-div a{
  color: #007bff !important;
}

#model-card-div a:hover{
  color: red !important;
}

.tailwind-content-view a{
  color: #007bff !important;
}

.tailwind-content-view a:hover{
  color: red !important;
}

h2 {
  font-size: 2rem !important;
  line-height: 3rem !important;
  margin: 0.5rem 0!important;
  font-weight: 500;
}

h3 {
  font-size: 1.75rem !important;
  line-height: 2rem !important;
  margin: 0.5rem 0!important;
  font-weight: 500;
}

h4 {
  font-size: 1.5rem !important;
  line-height: 1.75rem !important;
  margin: 0.5rem 0!important;
  font-weight: 500;
}
h5 {
  font-size: 1.25rem !important;
  line-height: 1.5rem !important;
  margin: 0.5rem 0!important;
  font-weight: 500;
}

.editor-content-view {
  max-width: 1280px;
  font-size: 1rem !important;
  line-height: 1.8rem !important;
}

/*
.content_container a {
  color: #007bff!important;
}

.btn-primary-link {
  background-color: #007bff!important;
  color: white!important;
}
*/


h6{
  font-size: 1.0rem!important;
  line-height: 32px!important;
}

.dl-normal-link a{
  color: #007bff!important;
}


.dl-normal-link a:hover{
  color: red!important;
}

#model-scale-filter a.font-white{
  color: white!important;
}


.content_container {
  background-color: white;
  padding-left: 15px;
  padding_right: 15px;
  width: 100%;
  max-width: 1400px;
  margin-top: 10px;
  padding-bottom: 0px;
}

.navbar-nav li.active{
  border-bottom: 2px solid #0d47a1;
}

.dropdown-item.active, .dropdown-item:active {
  color: #fff!important;
  text-decoration: none;
  background-color: #007bff;
}

.ai-logo-img {
  max-width: 50px;
  max-height: 50px;
}

table td, .table th {
  padding: .75rem;
  vertical-align: middle;
  border-top: 1px solid #dee2e6;
}

h6{
  line-height: 32px;
}

/* 定义排序后的列颜色 */
.sorted-column {
  background-color: #FCFCFC; /* 示例颜色, 使用 !important 确保覆盖默认样式 */
}

/* 悬停样式，Bootstrap 通常有类似的定义，这里确保优先级 */
.table-hover tr:hover {
  background-color: #ECECEC !important; /* 这将覆盖上面的颜色 */
}

.table-hover tr:hover td{
  background-color: #ECECEC !important; /* 这将覆盖上面的颜色 */
}

.sort_cursor{
  cursor: pointer;
}

.breadcrumb a{
  color: #0d6efd;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #333;
  line-height: 1.5;
}

.model-icon {
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  border-radius: 12px;
}

.feature-icon {
  color: #6b7280;
}

.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.stats-bar {
  background-color: #e5e7eb;
  border-radius: 4px;
  height: 8px;
}

.stats-fill {
  background-color: #6366f1;
  border-radius: 4px;
  height: 8px;
}

.benchmark-table th {
  background-color: #f9fafb;
  font-weight: 500;
}

.table-responsive-container { width: 100%; overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 0.5rem; }
/*.benchmark-table { border-collapse: collapse; white-space: nowrap; }*/
/*.benchmark-table th, .benchmark-table td { padding: 12px 15px; border: 1px solid #e2e8f0; text-align: left; vertical-align: middle; }*/
/*.benchmark-table thead th { background-color: #f8fafc; font-weight: 600; position: sticky; top: 0; z-index: 10; }*/
/*.benchmark-table tbody tr:hover { background-color: #f1f5f9; }*/
/*.benchmark-table td:first-child, .benchmark-table th:first-child { font-weight: 600; background-color: #f8fafc; position: sticky; left: 0; z-index: 5; min-width: 200px; white-space: normal; }*/
.highlight-link { color: #3b82f6; text-decoration: none; font-weight: 600; }
.highlight-link:hover { text-decoration: underline; }

/* 响应式布局样式 */
.charts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.bar-chart-section {
  flex: 1;
  min-width: 0;
}

.heatmap-section {
  flex: 1;
  min-width: 0;
}

/* PC端：当评测项目较少时，柱状图占满整行 */
@media (min-width: 768px) {
  .charts-container.full-width-bar .bar-chart-section {
    flex: 1 1 100%;
    margin-bottom: 2rem;
  }
  .charts-container.full-width-bar .heatmap-section {
    flex: 1 1 100%;
  }
}

/* 移动端：保持原有布局 */
@media (max-width: 767px) {
  .charts-container {
    flex-direction: column;
  }
  .bar-chart-section,
  .heatmap-section {
    flex: 1 1 100%;
  }
}
:root {
  --primary-color: #007bff;
  --primary-hover-color: #0056b3;
  --background-color: #f4f7f9;
  --panel-background-color: #ffffff;
  --text-color: #343a40;
  --subtle-text-color: #6c757d;
  --border-color: #dee2e6;
  --border-radius: 8px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --strong-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --animation-duration: 0.3s;
}
body { background-color: var(--background-color); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: var(--text-color); line-height: 1.6; }

.page-header { text-align: center; margin-bottom: 2rem; margin-top: 1rem; }
.page-header h1 { font-size: 2.5rem; font-weight: 600; margin-bottom: 0.5rem; }
.page-header p { font-size: 1.1rem; color: var(--subtle-text-color); }
.selection-container { display: flex; gap: 2rem; flex-wrap: wrap; }
.selection-panel { flex: 1; min-width: 300px; background-color: var(--panel-background-color); border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 1.5rem 2rem; display: flex; flex-direction: column; }
.selection-panel h2 { font-size: 1.5rem; font-weight: 500; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.search-box { position: relative; margin-bottom: 1rem; }
.search-box .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--subtle-text-color); pointer-events: none; }
.search-box input { width: 100%; padding: 0.75rem 1rem 0.75rem 2.5rem; border: 1px solid var(--border-color); border-radius: var(--border-radius); font-size: 1rem; transition: border-color 0.3s ease; }
.search-box input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); }
.item-list { list-style: none; overflow-y: auto; max-height: 350px; margin-right: -1rem; padding-right: 1rem; padding-left: 0; }
.item-list::-webkit-scrollbar { width: 6px; }
.item-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 10px; }
.item-list::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.item-list::-webkit-scrollbar-thumb:hover { background: #aaa; }

.item-list li {
  padding: 0;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  position: relative;
  display: flex;
  align-items: center;
}
.item-list li:last-child { margin-bottom: 0; }
.item-list li:hover { border-color: var(--primary-color); background-color: #f8f9fa; }
.item-list li.selected { background-color: var(--primary-color); color: white; border-color: var(--primary-color); }
.item-list li.selected::after { content: '✔'; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.1rem; }

.item-content {
  flex-grow: 1;
  padding: 0.8rem 2.8rem 0.8rem 1.2rem;
  overflow: hidden; /* 防止内容溢出 */
}
.item-main {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.item-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
  transition: color 0.3s ease;
}
.item-meta {
  font-size: 0.8rem;
  color: var(--subtle-text-color);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease, background-color 0.3s ease;
}
.item-meta.item-cat {
  background-color: #e9ecef;
  padding: 0.2rem 0.5rem;
  border-radius: 1rem;
  font-weight: 500;
}

.item-list li.selected .item-title,
.item-list li.selected .item-meta {
  color: white;
}
.item-list li.selected .item-meta.item-cat {
  background-color: rgba(255, 255, 255, 0.25);
}
.item-list li.selected .item-meta svg {
  fill: white;
}

/* [优化] 新增规则：专门调整评测列表项的布局，使其在同一行 */
#eval-list .item-main {
  flex-direction: row; /* 从垂直排列改为水平排列 */
  align-items: center; /* 垂直居中对齐 */
  justify-content: space-between; /* 两端对齐，将标题和标签推到两侧 */
}
/* [优化] 确保长标题不会把标签挤下去，而是优雅地省略 */
#eval-list .item-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  padding-right: 0.5rem;
}
#eval-list .item-meta {
  flex-shrink: 0; /* 不允许标签收缩 */
}

.action-area { text-align: center; margin-top: 3rem; }
#compare-btn { padding: 1rem 3rem; font-size: 1.2rem; font-weight: 500; color: white; background-color: var(--primary-color); border: none; border-radius: var(--border-radius); cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; }
#compare-btn:hover:not(:disabled) { background-color: var(--primary-hover-color); transform: translateY(-2px); }
#compare-btn:disabled { background-color: #cdd5de; cursor: not-allowed; }

.selected-items-container { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.5rem 0; margin-bottom: 1rem; min-height: 2.5rem; border-bottom: 1px solid var(--border-color); }
.selected-item-tag { background-color: var(--primary-color); color: white; padding: 0.3rem 0.6rem; border-radius: 1rem; font-size: 0.9rem; display: flex; align-items: center; }
.tag-close-btn { margin-left: 0.5rem; cursor: pointer; font-weight: bold; font-size: 1rem; line-height: 1; }
.tag-close-btn:hover { color: #ffdddd; }

@keyframes fadeIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes fadeOut { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: scale(0.5); } }

.tag-fade-in { animation: fadeIn var(--animation-duration) ease; }
.tag-fade-out { animation: fadeOut var(--animation-duration) ease forwards; }

.preset-comparisons { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.preset-comparisons h3 { text-align: center; font-size: 1.8rem; font-weight: 500; margin-bottom: 2.5rem; color: var(--text-color); }
.preset-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.preset-card { display: flex; align-items: center; justify-content: space-between; background: var(--panel-background-color); padding: 1.5rem; border-radius: var(--border-radius); box-shadow: var(--shadow); text-decoration: none; color: var(--text-color); border: 1px solid transparent; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.preset-card:hover { transform: translateY(-5px); box-shadow: var(--strong-shadow); border-color: var(--primary-color); }
.card-content .card-title { font-weight: 600; font-size: 1.1rem; margin-bottom: 0.25rem; }
.card-content .card-description { font-size: 0.9rem; color: var(--subtle-text-color); }
.card-icon { color: var(--subtle-text-color); transition: color 0.3s ease; }
.preset-card:hover .card-icon { color: var(--primary-color); }

.breadcrumb { background-color: var(--panel-background-color); padding: 0.75rem 1.5rem; margin-bottom: 2.5rem; }
.breadcrumb-item a { color: var(--primary-color); text-decoration: none; font-weight: 500; }
.breadcrumb-item a:hover { text-decoration: underline; }
.breadcrumb-item.active { color: var(--subtle-text-color); text-decoration: none !important; }
.breadcrumb-item+.breadcrumb-item::before { color: var(--subtle-text-color); }
