/* Naxel Application Table - Application 子行业产品表格样式 */

/* === 外层容器 === */
.nat-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
}

/* === 行布局 === */
.nat-header-row,
.nat-data-row {
  display: flex;
  align-items: stretch;
}

.nat-header-row {
  background: #EEEEF0;
  min-height: 88px;
}

/* === 数据行 + 登场动效初始状态 === */
.nat-data-row {
  border-top: 1px solid #ebebeb;
  min-height: 196px;
  background: #ffffff;
  opacity: 0;
  transform: translateY(100px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.nat-data-row.nat-animate {
  opacity: 1;
  transform: translateY(0);
}

/* === Sub-application 列（固定左侧）=== */
.nat-col-app {
  width: 210px;
  flex-shrink: 0;
  margin: 24px 6px 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.nat-header-row .nat-col-app {
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: #6E6E6E;
  padding: 0;
}

.nat-app-name {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  line-height: 140%;
}

.nat-app-img-wrap {
  width: 130px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
}

.nat-app-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* === 内容区（app列 + 数据列）=== */
.nat-content-row {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

/* === 中间行区域 === */
.nat-row-main {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
}

/* === 数据列区域 === */
.nat-cols-data {
  flex: 1;
  display: flex;
  min-width: 0;
  gap: 12px;
}

.nat-col-data {
  width:200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 16px;
  font-size: 14px;
  color: #000;
  line-height: 1.6;
}

/* Working Temp. 列收窄 */
.nat-cols-data .nat-col-data:nth-child(3) {
  width: 160px;
}

/* Core Performance 列加宽 */
.nat-cols-data .nat-col-data:last-child {
  width: 260px;
}

.nat-header-row .nat-col-data {
  font-weight: 500;
  color: #6E6E6E;
  padding: 0 16px;
}

/* === 按钮列（固定右侧）=== */
.nat-col-action {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 36px;
}

/* View More 按钮 */
.nat-btn-more {
  display: inline-block;
  background: #0E55AC;
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.2s;
}

.nat-btn-more:hover {
  background: #142f80;
  color: #fff;
}

/* ===== 移动端响应式 ===== */
@media (max-width: 767px) {
  .nat-wrap {
    border-radius: 8px;
  }

  /* 表头行高 */
  .nat-header-row {
    min-height: 60px;
  }

  /* 数据行高 */
  .nat-data-row {
    min-height: 180px;
  }

  /* 隐藏表头按钮列 */
  .nat-header-row .nat-col-action {
    display: none;
  }

  /* 内容区（app列+数据列）：一起横向滚动 */
  .nat-content-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nat-content-row::-webkit-scrollbar {
    display: none;
  }

  /* 数据行：竖排（上方内容区 + 下方按钮） */
  .nat-data-row {
    flex-direction: column;
    position: relative;
  }

  /* 数据列垂直居中 */
  .nat-data-row .nat-row-main {
    align-items: center;
  }

  /* 右侧渐变遮罩：提示还有更多内容 */
  .nat-data-row::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    bottom: 52px;
    background: linear-gradient(to right, transparent, #fff);
    pointer-events: none;
    z-index: 1;
  }

  /* Sub-application 列收窄 */
  .nat-col-app {
    width: 160px;
    flex-shrink: 0;
    padding: 0;
    gap: 6px;
    margin: 0 0 0 18PX;
  }

  .nat-header-row .nat-col-app {
    width: 156px;
    padding: 0;
    font-size: 12px;
  }

  .nat-app-img-wrap {
    width: 80px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-shrink: 0;
  }

  .nat-app-name {
    font-size: 13px;
  }

  .nat-app-img {
    width: 70px;
    height: 70px;
  }

  /* 中间列取消自动撑满 */
  .nat-cols-data {
    flex: none;
  }

  /* 每列固定宽度 */
  .nat-col-data {
    width: 145px;
    flex-shrink: 0;
    flex: none;
    font-size: 13px;
    padding: 5px;
    align-items: center;
  }

  .nat-header-row .nat-col-data {
    font-size: 13px;
    padding: 0;
    min-width: 145px;
    flex-shrink: 0;
    flex: none;
  }

  /* 按钮沉到行底部，全宽显示 */
  .nat-col-action {
    width: 100%;
    padding: 0;
    margin: 0 0 18px 18px;
    justify-content: flex-start;
  }

  .nat-btn-more {
    display: block;
    text-align: center;
    border-radius: 4px;
    font-size: 13px;
    padding: 8px 12px;
    white-space: normal;
  }

  /* 动效偏移量收小 */
  .nat-data-row {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .nat-data-row.nat-animate{
    min-height: 192px;
    display: flex;
    justify-content: center;
  }
}
