.euc-table__inner {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  table-layout: fixed;
}

.euc-search .button-wrapper.wrap.with-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.euc-search .button-wrapper-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.euc-search .button-wrapper-box.wide {
  min-width: 0;
}

.euc-search .form-field {
  gap: 0;
}

.euc-search .form-field label {
  display: none;
}

.euc-search .form-control {
  min-width: 0;
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 18px;
}

.euc-search .button {
  min-height: 40px;
  padding: 10px 20px;
  font-size: 16px;
  line-height: 20px;
}

.euc-table__inner th {
  text-align: left;
  font-weight: 400;
  padding: 0 8px 2px;
  font-size: 12px;
  line-height: 16px;
  color: #4f5f72;
  background-color: transparent;
  border: 0;
}

.euc-table__inner td {
  padding: 10px 8px;
  background: #eef3f8;
  border: 0;
  font-size: 14px;
  line-height: 18px;
  vertical-align: middle;
}

.euc-table__inner tbody tr td {
  background-color: #e6ebf1;
}
.euc-table__inner tbody tr td:first-child {
  border-radius: 4px 0 0 4px;
}

.euc-table__inner tbody tr td:last-child {
  border-radius: 0 4px 4px 0;
}

.euc-table__inner th:nth-child(1),
.euc-table__inner td:nth-child(1) {
  width: 14%;
}

.euc-table__inner th:nth-child(2),
.euc-table__inner td:nth-child(2) {
  width: 34%;
}

.euc-table__inner th:nth-child(3),
.euc-table__inner td:nth-child(3) {
  width: 12%;
}

.euc-table__inner th:nth-child(4),
.euc-table__inner td:nth-child(4) {
  width: 10%;
}

.euc-table__inner th:nth-child(5),
.euc-table__inner td:nth-child(5) {
  width: 18%;
}

.euc-table__inner th:nth-child(6),
.euc-table__inner td:nth-child(6) {
  width: 12%;
}

.euc-input {
  width: 40px;
  height: 28px;
  display: block;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 14px;
  line-height: 28px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  box-sizing: border-box;
  vertical-align: middle;
  padding: 0;
}

.euc-table__submit {
  min-width: 82px;
  padding: 7px 12px;
  font-size: 14px;
  line-height: 18px;
}

.euc-quantity {
  display: inline-grid;
  grid-template-columns: 16px 40px 16px;
  align-items: center;
  justify-items: center;
  column-gap: 8px;
  min-width: 96px;
  height: 28px;
  padding: 0 6px;
  background: #fff;
  border-radius: 4px;
}

.euc-quantity__button {
  display: block;
  position: relative;
  border: 0;
  background: transparent;
  color: #6f7e8b;
  width: 16px;
  height: 28px;
  padding: 0;
  cursor: pointer;
  margin: 0;
}

.euc-quantity__button::before,
.euc-quantity__button--plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 1.5px;
  background: #6f7e8b;
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.euc-quantity__button--plus::after {
  width: 1.5px;
  height: 8px;
}

.euc-table__footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1fr);
  gap: 8px;
  margin-top: 6px;
  width: 100%;
}

.euc-table__footer-button {
  width: 100%;
  min-height: 38px;
  padding: 10px 16px;
  font-size: 16px;
  line-height: 20px;
}

@media (max-width: 900px) {
  .euc-search .button-wrapper.wrap.with-title {
    grid-template-columns: 1fr;
  }

  .euc-search .button-wrapper-box {
    flex-wrap: wrap;
  }

  .euc-table__inner {
    display: block;
    overflow-x: auto;
  }

  .euc-table__footer {
    grid-template-columns: 1fr;
  }
}
