.version-query-page {
  padding-top: 91px;
  min-height: calc(100vh - 91px);
  background: #fff;
}

.version-query-hero-container {
  position: relative;
  height: 116px;
  background: linear-gradient( 90deg, rgba(220,231,243,0) 0%, rgba(228,233,247,0.7) 100%);
  background: #F6F8FC;
}
.version-query-hero-container::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  background: linear-gradient( 90deg, rgba(220,231,243,0) 0%, rgba(228,233,247,0.7) 100%);
  pointer-events: none;
}

.version-query-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  text-align: left;
  box-sizing: border-box;
  width: 1200px;
  height: 100%;
  margin: 0 auto;
}

.version-query-hero__title,
.version-query-hero__subtitle {
  position: relative;
  z-index: 1;
}

.version-query-hero__title {
  margin: 0 0 12px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 24px;
  color: #28282B;
  line-height: 33px;
  text-align: left;
  font-style: normal;
}

.version-query-hero__subtitle {
  margin: 0;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #5B5F69;
  line-height: 20px;
  text-align: left;
  font-style: normal;
}

.version-query-main {
  width: 1200px;
  margin: 27px auto 48px;
  position: relative;
  z-index: 1;
}
.version-query-form-card{
  padding: 20px;
}

.version-query-card {
  background: #fff;
  box-shadow: 0px 1px 8px 1px rgba(177,177,177,0.2);
  border-radius: 4px;
  margin-bottom: 20px;
}

.version-query-section-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 21px;
}

.version-query-section-header .version-query-section-title {
  margin-bottom: 0;
  margin-right: 5px;
}

.version-query-section-subtitle {
  margin: 0;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #858585;
  line-height: 20px;
  text-align: left;
  font-style: normal;
}

.version-query-section-subtitle a {
  color: #1180FF;
  text-decoration: none;
}

.version-query-section-subtitle a:hover {
  text-decoration: underline;
}

.version-query-section-title {
  position: relative;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 18px;
  color: #28282B;
  line-height: 25px;
  text-align: left;
  font-style: normal;
  padding-left: 12px;
  margin-bottom: 21px;
}

.version-query-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 14px;
  background: #1180ff;
}

.version-query-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 482px;
  border-bottom: 1px solid #e8ebf0;
  margin-bottom: 24px;
}

.version-query-tab {
  position: relative;
  display: inline-block;
  padding: 0 4px 12px;
  margin: 0;
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 16px;
  color: #232323;
  line-height: 22px;
  text-align: left;
  font-style: normal;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}

.version-query-tab:hover {
  color: #1180ff;
}

.version-query-tab.is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 55px;
  height: 3px;
  background: #1180ff;
  border-radius: 2px;
  transform: translateX(-50%);
}

.version-query-form {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.version-query-form .el-form-item {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

.version-query-form .el-form-item:last-of-type {
  margin-bottom: 0;
}

.version-query-form .el-form-item__label {
  width: 88px !important;
  flex: 0 0 88px;
  min-width: 88px;
  float: none;
  box-sizing: border-box;
  color: #28282b;
  font-size: 14px;
  line-height: 36px;
  padding-right: 15px;
  text-align: right;
}

.version-query-form .el-form-item__content {
  flex: 0 0 auto;
  margin-left: 0 !important;
}

.version-query-form .el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before {
  color: #f56c6c;
}

.version-query-form .el-form-item__error {
  display: none;
}

.version-query-select {
  width: 765px;
}

.version-query-form .el-input__inner {
  height: 36px;
  line-height: 36px;
  border-color: #dcdfe6;
  border-radius: 4px;
  font-size: 14px;
}

.version-query-product-group-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #28282B;
  font-weight: 500;
  cursor: pointer;
}

.el-select-dropdown__item.is-disabled .version-query-product-group-label {
  pointer-events: auto;
}

.version-query-product-group-label .el-icon-arrow-right {
  color: #909399;
  transition: transform .2s ease;
}

.version-query-product-group-label .el-icon-arrow-right.is-expanded {
  transform: rotate(90deg);
}

.version-query-product-group-label.is-static-header {
  cursor: default;
  font-weight: 500;
  color: #909399;
}

.version-query-form .el-form-item.is-error .el-input__inner {
  border-color: #f56c6c !important;
}

.version-query-form .el-form-item.is-error .el-input__inner::-webkit-input-placeholder {
  color: #f56c6c;
  opacity: 0.55;
}

.version-query-form .el-form-item.is-error .el-input__inner::-moz-placeholder {
  color: #f56c6c;
  opacity: 0.55;
}

.version-query-form .el-form-item.is-error .el-input__inner:-ms-input-placeholder {
  color: #f56c6c;
  opacity: 0.55;
}

.version-query-form .el-form-item.is-error .el-input__inner::placeholder {
  color: #f56c6c;
  opacity: 0.55;
}

.version-query-form .el-form-item.is-error .el-select:hover .el-input__inner,
.version-query-form .el-form-item.is-error .el-select .el-input.is-focus .el-input__inner {
  border-color: #f56c6c !important;
}

.version-query-form-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.version-query-form-actions .btn-reset {
  min-width: 104px;
  height: 36px;
  padding: 0 24px;
  font-size: 14px;
  color: #1180ff;
  border-color: #1180ff;
  background: #fff;
  border-radius: 4px;
}

.version-query-form-actions .btn-reset:hover {
  color: #298cff;
  border-color: #298cff;
  background: #ecf5ff;
}

.version-query-form-actions .btn-query {
  min-width: 104px;
  height: 36px;
  padding: 0 24px;
  font-size: 14px;
  background: #1180ff;
  border-color: #1180ff;
  border-radius: 4px;
}

.version-query-form-actions .btn-query:hover {
  background: #298cff;
  border-color: #298cff;
}

.version-query-table {
  width: 100%;
}

.version-query-table.el-table {
  border: none;
  color: #28282b;
  font-size: 14px;
}

.version-query-table.el-table::before,
.version-query-table.el-table--border::after,
.version-query-table .el-table__fixed-right::before {
  display: none;
}

.version-query-table .el-table__header th > .cell,
.version-query-table .el-table__body td > .cell {
  padding-left: 10px;
  padding-right: 10px;
}

.version-query-table .el-table__header th:first-child > .cell,
.version-query-table .el-table__body td:first-child > .cell {
  padding-left: 28px;
}

.version-query-table .el-table__header th:last-child > .cell,
.version-query-table .el-table__body td:last-child > .cell {
  padding-right: 28px;
}

.version-query-table .el-table__header th {
  background: #F6F8FC !important;
  color: #28282b;
  font-weight: 600;
  font-size: 14px;
  border-bottom: none;
  padding: 12px 0;
}

.version-query-table .el-table__header th.is-leaf {
  border-bottom: none;
}

.version-query-table .el-table__body td {
  border-bottom: none;
  padding: 14px 0;
}

.version-query-table .el-table__body td .cell.el-tooltip {
  white-space: nowrap;
}

.version-query-table .el-table__body tr.el-table__row--striped td {
  background: #FAFAFA !important;
}

.version-query-table .el-table__empty-block {
  min-height: 88px;
}

.version-query-table .el-table__empty-text {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: #999999;
  line-height: 20px;
}

.version-query-pagination {
  margin-top: 16px;
  padding-right: 28px;
  display: flex;
  justify-content: flex-end;
}

.version-query-notes {
  margin-top: 20px;
  padding: 0 28px 17px;
  border-top: none;
}

.version-query-notes::before {
  content: '';
  display: block;
  width: 1107px;
  max-width: 100%;
  height: 1px;
  background: #E2E2E2;
  margin: 0 auto 17px;
}

.version-query-notes__title {
  margin: 0 0 8px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 12px;
  color: #858585;
  line-height: 18px;
}

.version-query-notes__item {
  margin: 0 0 4px;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 12px;
  color: #858585;
  line-height: 18px;
}

.version-query-notes__item:last-child {
  margin-bottom: 0;
}

/* 产品型号 / 版本号下拉：多列网格（挂载到 body，勿嵌套在 .version-query-page 内） */
.version-query-grid-dropdown.el-select-dropdown {
  width: 765px !important;
  min-width: 765px !important;
  margin-top: 4px !important;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(183, 194, 219, 0.35);
}

.version-query-grid-dropdown .el-select-dropdown__wrap {
  max-height: 320px;
}

.version-query-grid-dropdown .el-select-dropdown__list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 8px 4px;
}

.version-query-grid-dropdown .version-query-row-divider {
  flex: 0 0 100%;
  width: 100%;
  height: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-bottom: 1px solid #eef0f3;
  pointer-events: none;
}

.version-query-grid-dropdown .el-select-dropdown__item {
  width: auto;
  max-width: 100%;
  height: auto;
  min-height: 36px;
  line-height: 22px;
  padding: 7px 20px;
  color: #28282b;
  font-size: 14px;
  text-align: left;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.version-query-grid-dropdown .el-select-dropdown__item.hover,
.version-query-grid-dropdown .el-select-dropdown__item:hover {
  background-color: transparent !important;
  color: #1180ff;
}

.version-query-grid-dropdown .el-select-dropdown__item.selected {
  background-color: transparent !important;
  color: #1180ff;
  font-weight: 500;
}

.version-query-grid-dropdown .el-select-dropdown__item.selected.hover {
  background-color: transparent !important;
}
