@charset "UTF-8";

.header_bg {
  margin-bottom: -14px;
  height: 140px;
  background: url(/static/index/images/home/home_header_bg.webp?v=__VER__) no-repeat;
  background-size: cover;

}

/* models -------- */

.container {
  padding-bottom: 180px;
}

/* 头部样式 */
.models_header {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.models_header-title h1 {
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 34px;
  color: var(--theBcColor);
}

.models_header-title p {
  margin: 0;
  color: #666;
  font-size: 14px;
  font-weight: 400;

  width: 460px;
}

.compare-btn-container {
  position: relative;
}

.badge-count {
  position: absolute;
  top: -12px;
  right: -10px;
  display: flex;
  align-items: center;
  justify-content: center;


  background-color: #FF2C6B;
  color: white;
  font-size: 14px;
  font-weight: 600;
  /* padding: 2px 6px; */
  border-radius: 30px;

  width: 24px;
  height: 24px;
}

.comp_btn {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 32px;
  height: 40px;

  font-size: 16px;
  font-weight: 500;

  color: var(--theBcColor);

  border: 1px solid var(--themeColor);
  border-radius: 8px;

  cursor: pointer;

  transition: all 0.2s ease-out;
}

.comp_btn:hover {
  background: var(--themeColor);

  color: #fff;
}


/* 主体布局 */
.main-container {
  position: relative;
  z-index: 1;

  display: flex;
  gap: 16px;
}

.main-container::after {
  content: "";

  position: absolute;
  top: -300px;
  left: -231px;

  width: 1698px;
  height: 740px;

  /* border: 1px solid red; */

  background: url(/static/index/images/models/zhongjian.webp?v=__VER__) no-repeat;

  z-index: 0;
}

.main-container::before {
  content: "";

  position: absolute;
  bottom: -420px;
  right: -420px;

  width: 979px;
  height: 1210px;

  /* border: 1px solid blue; */

  background: url(/static/index/images/models/youzi.webp?v=__VER__) no-repeat;

  z-index: 0;

}



/* 左侧筛选侧边栏 */
.sidebar {
  position: relative;
  z-index: 1;


  flex: 0 0 250px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 120px, #ffffff 100%);
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #E6EBF3;
  box-sizing: border-box;
  height: fit-content;
}

.filter-section {
  margin-bottom: 0;
}

.sidebar-divider {
  border-top: 1px dotted #e2e8f0;
  margin: 24px 0;
}

.filter-title {
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 20px;
}

.checkbox-group-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkbox-group-vertical .el-checkbox {
  margin-right: 0;
  height: auto;
  --el-checkbox-text-color: #475569;
}

.checkbox-group-vertical .el-checkbox__inner {
  width: 18px !important;
  height: 18px !important;
  border-radius: 4px !important;
  border-color: #e2e8f0 !important;
  background-color: transparent !important;
}

.checkbox-group-vertical .el-checkbox__inner::after {
  border: 2px solid #e2e8f0 !important;
  border-top: 0 !important;
  border-left: 0 !important;
  transform: rotate(45deg) scaleY(1) !important;
  left: 5px !important;
  top: 2px !important;
  width: 4px !important;
  height: 8px !important;
  transition: none !important;
}

.checkbox-group-vertical .el-checkbox__input.is-checked .el-checkbox__inner {
  background-color: #fff !important;
  border-color: var(--themeColor) !important;
}

.checkbox-group-vertical .el-checkbox__input.is-checked .el-checkbox__inner::after {
  border-color: var(--themeColor) !important;
}

.checkbox-group-vertical .el-checkbox__label {
  padding-left: 12px;
  font-size: 14px;
  color: #475569 !important;
}

.checkbox-group-vertical .el-checkbox__input.is-checked+.el-checkbox__label {
  color: #0f172a !important;
}

.price-range-inputs {
  display: flex;
  align-items: center;
  gap: 6px;

  /* border: 1px solid red; */
}

.price_line{
  width: 26px;
  height: 1px;
  background: #E6EBF3;
}

.price-range-inputs .el-input {
  flex: 1;
  min-width: 0;
  width: 0;
}

.price-range-inputs .el-input__wrapper {
  box-shadow: 0 0 0 1px #e2e8f0 inset;
  border-radius: 6px;
}

.price-range-inputs .el-input__wrapper:hover {
  box-shadow: 0 0 0 1px #cbd5e1 inset;
}

.price-range-inputs .el-input__wrapper.is-focus {
  box-shadow: 0 0 0 1px var(--themeColor) inset;
}

/* 右侧主内容区 */
.content-area {
  position: relative;
  flex: 1;

  z-index: 1;
}



/* 顶部过滤工具栏 */
.toolbar-filter {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #E6EBF3;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;

  height: 189px;

  box-shadow:
    /* 顶部加深暗角：X偏移0, Y偏移40px, 模糊80px, 不扩散, 极淡的灰蓝 */
    inset -54px 40px 80px -20px rgb(189 189 189 / 10%);

  box-shadow: inset 23px 29px 23px -9px rgb(189 189 189 / 10%);



}

.search-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.search-row02 {
  display: flex;
  flex-direction: column;
}

.search_line {
  border-top: 1px dashed #E6EBF3;

  margin: 16px 0;
}

.sear_icon {
  width: 20px;
}

.sear_ipt .el-input__wrapper {
  border-radius: 63px;

  border: 1px solid #fff;
  box-shadow: 0px 1px 6px 0px #00000014;

  background: rgba(255, 255, 255, 0.1);

}

.view-toggle {
  display: inline-flex;
  /* background: #ffffff; */
  border-radius: 6px;

  display: flex;
  gap: 10px;
}

.view-toggle .toggle-btn {
  padding: 0 16px;
  border: 1px solid #E6EBF3;
  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  height: 36px;

  color: var(--theBcColor);
  font-size: 14px;
  font-weight: 500;


  cursor: pointer;
  transition: all 0.2s;
}

.view-toggle .toggle-btn:first-child {
  border-radius: 8px;
}

.view-toggle .toggle-btn:last-child {
  border-radius: 8px;
  margin-left: -1px;
}

.view-toggle .toggle-btn.active {
  background: var(--themeColor);
  border-color: var(--themeColor);
  color: #ffffff;
  z-index: 2;
}

.view-toggle .toggle-btn:hover:not(.active) {
  color: var(--themeColor);
  background: #f8fafc;
}

.media-types {
  display: flex;
  gap: 16px;
}

.media-types .el-button {
  padding: 8px 24px;

  border-radius: 8px;
  height: 36px;

  border: 1px solid #E6EBF3;
  background: #F3F6FF;

}

.media-types .el-button.el-button--primary {
  border: 1px solid var(--themeColor);
  background: var(--themeColor);

  color: #ffffff;
}

.select-row {
  display: flex;
  gap: 21px;
  align-items: center;
}

.select-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 400;
  color: #666;
}

/* 模型卡片网格 */
.models_grid_wrap {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--border-blue, #E6EBF3);

  box-shadow: inset 13px 15px 23px -9px rgb(189 189 189 / 10%);

}


.models-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;



}

.model-card {
  background: white;
  border-radius: 16px;
  padding: 20px 16px;
  border: 1px solid #e2e8f0;
  position: relative;
  transition: all 0.2s;
}

.model-card.active-style {
  border: 1px solid #6366f1;
  background: #F5F8FF;

  box-shadow: 0px 4px 16px 0px #1A1A1A1A;

}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.model-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.model-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-name {
  font-size: 16px;
  line-height: 23px;
  font-weight: 500;
  color: var(--theBcColor);
}

.model-provider {
  font-size: 13px;
  font-weight: 400;
  line-height: 19px;
  color: #666;
  margin-top: 2px;
}

.card-tags {
  display: flex;
  gap: 10px;
}

.card-tags .el-tag--small {
  height: 22px;
  padding: 0 12px;


  border-radius: 4px;
  border: 1px solid #E6EBF3;
  font-size: 12px;
  font-weight: 400;
  line-height: 22px;
  color: #333;
  background: #EFF3FF;



}

.model-desc {
  font-size: 14px;
  font-weight: 400;
  color: #666;
  line-height: 22px;
  margin-bottom: 20px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.feature-tags .el-tag {
  height: 24px;
  border-radius: 4px;
  padding: 0 6px;

  border: 1px solid #D2EEE3;
  background: #F3FFFB;

  font-size: 12px;
  font-weight: 400;

  color: #5B8374;
}

.pricing-info {
  font-size: 14px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 10px;


}

.price-label {
  font-size: 12px;
  font-weight: 400;
  color: #666;
  /* width: 60px; */
}

.price-value-input {


  color: #1FB97F;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;



}

.price-value-output {
  color: #EA661A;
  font-weight: 400;
  font-size: 14px;
  line-height: 21px;
}

.multiplier-tag {
  position: absolute;
  right: 15px;
  bottom: 101px;
  background: #F6F8FF;
  padding: 0px 10px;
  border-radius: 4px;

  color: #142F80;
  font-size: 13px;
  font-weight: 400;
  line-height: 24px;

  border: 1px solid var(--border-blue, #E6EBF3)
}

.card_line {
  border-top: 1px dashed #E6EBF3;
  margin: 24px 0;
}

.card-actions {
  display: flex;
  /* gap: 12px; */
}

.el-button+.el-button {
  margin-left: 16px;
}

.card-actions .el-button {
  flex: 1;
  height: 36px;
  border-radius: 8px;

}

.card-actions .el-button span {
  transition: all 0.3s ease-out;
}

.card-actions .el-button span:hover {
  gap: 15px;
}


.jian_btn span {
  display: flex;
  gap: 10px;

  font-size: 14px;
  font-weight: 400;

  color: var(--theBcColor);
}




.active-btn {
  border: 1px solid transparent;
  border-radius: 8px;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(to right, #F5F8FF, #F5F8FF),
    linear-gradient(to right, #285DFF, #C728FF);

  transition: all 0.3s ease-in-out;
  cursor: pointer;



}

.active-btn span {
  background: linear-gradient(90deg, #285DFF 0%, #C728FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  font-family: Aspekta;
  font-weight: 400;
  font-size: 14px;

  transition: all 0.3s ease-in-out;
}


.btn_icon_rj {
  width: 16px;
  height: 16px;

  background: url(/static/index/images/models/btn_icon_jian.webp?v=__VER__) no-repeat;
  background-size: cover;

  filter: grayscale(100%) contrast(500%);
}

.btn_icon_jia {
  width: 24px;
  height: 24px;

  background: url(/static/index/images/models/add_icon.webp?v=__VER__) no-repeat;
  background-size: cover;

  filter: grayscale(100%) contrast(500%);


}



.active-btn .btn_icon_rj {
  width: 16px;
  height: 16px;

  background: url(/static/index/images/models/btn_icon_jian.webp?v=__VER__) no-repeat;
  background-size: cover;

  filter: grayscale(0%);
}

.active-btn .btn_icon_jia {
  width: 24px;
  height: 24px;

  background: url(/static/index/images/models/add_icon.webp?v=__VER__) no-repeat;
  background-size: cover;

  filter: grayscale(0%);


}

/* 列表表格视图样式 */
/* [修改说明]：将 .list-table-container 的背景色改为透明 (原为 rgb(255, 36, 36)) */
.list-table-container {
  background: transparent;
  border-radius: 24px;
  /* padding: 16px; */
  border: 1px solid #e2e8f0;
  margin-bottom: 24px;

  overflow: hidden;
}

/* [添加说明]：添加了 .el-table 自身的透明背景，覆盖 Element UI 默认的白色背景 */
.list-table-container .el-table {
  background: transparent;
  --el-table-bg-color: transparent;
  --el-table-tr-bg-color: transparent;
  --el-table-header-bg-color: transparent;
}

.list-table-container .el-table__header {
  height: 68px;
}
/* [修改说明]：将 background: none; 修改为 transparent，确保表格行透明 */
.list-table-container .el-table tr{
  background: transparent;
}

.list-table-container .el-table th.el-table__cell {
  /* [添加说明]：给表头单元格添加透明背景，以防万一 */
  background: transparent;

  font-family: Aspekta;
  font-weight: 400;
  font-size: 14px;

  color: var(--theBcColor);
  /* color: red !important; */



}

.list-table-container .el-table .cell {
  padding: 0 0 0 10px !important;
}

.el-table th.el-table__cell.is-leaf,
.el-table td.el-table__cell {
  border-bottom: none;
}

.list-table-container .el-table__body tr.hover-row>td.el-table__cell {
  background-color: #F3F6FF !important;
}

.list-table-container .el-table__body td.el-table__cell:not(.el-table-fixed-column--right) {
  font-family: Aspekta;
  font-weight: 400;
  font-size: 14px;

  color: #666 !important;
  height: 68px !important;
  /* color: red !important; */

}




.list-action-btn {
  color: #2975DF;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
}

.list-action-btn:hover {
  text-decoration: underline;
}

.list-divider {
  color: #cbd5e1;
  margin: 0 8px;
}

/* 分页 */
.pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.pagination-container .el-pagination.is-background .el-pager li.is-active {
  background-color: transparent !important;
  border: 1px solid var(--themeColor) !important;
  color: var(--themeColor) !important;
  font-weight: 600;
  border-radius: 6px;

  font-size: 14px;
  font-weight: 400;
}

.pagination-container .el-pagination.is-background .el-pager li {
  background-color: transparent;
  color: rgba(14, 23, 38, 0.75);

  min-width: 26px;
  height: 26px;

}

.pagination-container .el-pagination.is-background .btn-next,
.pagination-container .el-pagination.is-background .btn-prev {
  background-color: #ffffff;
  /* border: 1px solid #e2e8f0; */
  color: #94a3b8;
}

.el-pagination .btn-prev .el-icon,
.el-pagination .btn-next .el-icon {
  font-size: 16px;
  color: rgba(14, 23, 38, 0.75);
}

/* 抽屉样式 */
.custom-drawer .el-drawer__header {
  margin: 0 24px;
  margin-bottom: 0px;
  padding: 24px 0;
  border-bottom: 1px solid #e2e8f0;
}

.custom-drawer .el-drawer__title {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
}

.custom-drawer .el-drawer__body {
  padding: 32px 24px;
}

.drawer-section-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--theBcColor);
  margin-bottom: 16px;
}

.drawer-section-title:first-of-type {
  margin-top: 0;
}

.drawer-text-desc {
  font-size: 14px;
  font-weight: 400;
  color:var(--theBcColor);
  line-height: 20px;
  margin: 0 0 24px 0;
}

.spec-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 54px;
}

.spec-block {
  border-radius: 8px;
  padding: 16px;
  min-height: 123px;
  box-sizing: border-box;
  border: 1px solid #E6EBF3;
  border-radius: 10px;

}

.spec-block .block-title {
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  color: var(--theBcColor);
  /* margin-bottom: 16px; */
}

.block-capabilities {
  background-color: #F1F5FF;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.capabilities-tags {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 400;

  color: #666;
}

.block-pricing {
  display: flex;
  flex-direction: column;
  gap: 24px;

  background-color: #FFFAF4;
}

.pricing-values {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;

  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pricing-values .in {
  color: #1FB97F;
}

.pricing-values .out {
  color: #EE752F;
}

.block-release {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background-color: #F3FFFE;
}

.release-value {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;

  color: #666;

}

.block-output {
  display: flex;
  flex-direction: column;
  gap: 24px;

  
  background-color: #FCF6FF;
}

.output-values {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;

  display: flex;
  flex-direction: column;
  gap: 4px;
}

.output-values .ctx {
  color: #1FB97F;
}

.output-values .max-out {
  color: #EE752F;
}

.code-block-wrapper {
  background-color: #1e293b;
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
  margin-top: 12px;
  margin-bottom: 54px;
}

.code-block-wrapper pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 13px;
  color: #f8fafc;
  line-height: 1.6;
}

.integration-link {
  color: var(--themeColor);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.integration-link:hover {
  color: var(--themeColor);
  border-bottom-color: var(--themeColor);
}

.el-select-dropdown__item {
  padding: 0 10px;
}

/* Compare Models Styles */
.compare-active-btn {
  border-color: #a855f7 !important;
  color: #a855f7 !important;
  background-color: #faf5ff !important;
}

.compare-module-container {
  /* background: white; */
  /* border-radius: 12px; */
  /* padding: 32px; */
  /* border: 1px solid #e2e8f0; */
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); */
  /* margin-bottom: 24px; */
}

.compare-module-header {

  text-align: center;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: center;

  height: 99px;
  border-radius: 20px;
  border: 1px solid #E6EBF3;

  box-shadow: inset 10px 12px 80px -50px #cbd5e1, inset 0 0 60px rgb(255 255 255);

  margin-bottom: 32px;
  
}

.compare-title {

  font-family: Aspekta;
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;


  background: linear-gradient(90deg, #285DFF 0%, #C728FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.compare-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  border: 1px solid #E6EBF3;
  /* padding: 24px; */
  box-sizing: border-box;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02); */
  box-shadow: inset 13px 15px 23px -9px rgb(189 189 189 / 10%);
      
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.compare-table th,
.compare-table td {

  /* 
  display: flex;
  align-items: center; */
  height: 68px;
  padding: 12px 10px;
  border: none !important;
  text-align: left;
  vertical-align: middle;
  background: transparent !important;
  color: #666;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

/* 竖线：除了最后一列，其他列右侧加上边框 */
.compare-table th:not(:last-child),
.compare-table td:not(:last-child) {
  border-right: 1px solid #E6EBF3 !important;
}

/* 横线：只保留表头底部的横线 */
.compare-table th {
  /* padding-bottom: 24px; */
  /* padding-top: 0; */
  vertical-align: top;
  border-bottom: 1px solid #E6EBF3 !important;
}

.compare-table th.col-label {
  padding-top: 24px;
}

.compare-table tbody tr:last-child td {
  border-bottom: none !important;

  border-bottom: 1px solid #E6EBF3 !important;
}

.compare-table .col-label {
  width: 180px;
  font-weight: 500;
  color: var(--theBcColor);
  font-size: 15px;
}

.compare-table tbody  td:first-child {
    color: red;

    font-family: Aspekta;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;

    color: var(--theBcColor);

}
.compare-table tbody tr:hover{
  background: #F3F6FF;
}

.model-col-header {
  display: flex;
  justify-content: space-between;
  align-items:flex-start;
  /* border: 1px solid #E6EBF3; */
  /* padding: 16px 20px; */
  /* border-radius: 12px; */
  /* background: #ffffff; */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); */
}

.model-name-wrap .m-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--theBcColor);
}

.model-name-wrap .m-provider {

  font-family: Aspekta;
  font-weight: 300;
  font-size: 14px;
  line-height: 100%;

  color: var(--theBcColor);
  margin-top: 4px;
}

.remove-btn {
  color: #cbd5e1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  margin-top: 2px;
}

.remove-btn:hover {
  color: #ef4444;
}

.compare-add-more {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.add-model-btn {
  margin: 14px 10px;

  width: 100%;
  height: 48px;
  
  border-radius: 12px;
  color: #0f172a;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  cursor: pointer;

  /* background: linear-gradient(to right, #fff, #fff); */
  border: 1px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  background-image: linear-gradient(to right, rgb(255 255 255), rgb(251 242 254)),
                    linear-gradient(to right, #285DFF, #C728FF);



  transition: all 0.2s;
}

.add-model-btn img{
  width: 20px;
  height: 20px;
}

.add-model-btn:hover {
  
  color: #fff;
  background-image: linear-gradient(to right, #285DFF, #C728FF),
                    linear-gradient(to right, #285DFF, #C728FF);

}

.add-model-btn:hover img{

  filter: invert(1);
}