/* ||||||||||||||||||||||||||||||||||||||||||||||||*/
/* ESB Section Comparison Table */
/* ||||||||||||||||||||||||||||||||||||||||||||||||*/

.esb-comparison-table__inner {
  box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.04);
  padding: 20px;
  border: 1px solid rgba(19, 25, 36, 0.06);
  border-radius: 18px;
  position: relative;
  --color-scheme: #46cb8e;
  background: repeating-radial-gradient(
      circle at 30vw 150px,
      rgb(from var(--color-scheme) r g b / 0),
      rgb(from var(--color-scheme) r g b / 0) 10px,
      rgb(from var(--color-scheme) r g b / 0.04) 10px,
      rgb(from var(--color-scheme) r g b / 0.04) 20px
    ),
    linear-gradient(
      180deg,
      rgb(from var(--color-scheme) r g b / 0.03),
      rgb(from var(--color-scheme) r g b / 0.01)
    );
}

.esb-comparison-table__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(135.86deg, #1472b6 1.79%, #8bbf37 100.34%);
  opacity: 0.1;
  border-radius: inherit;
}

.esb-comparison-table__table {
  box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(19, 25, 36, 0.06);
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--white);
  position: relative;
  z-index: 4;
}

.esb-comparison-table__table table {
  width: 100%;
  text-align: left;
}

.esb-comparison-table__table table th {
  padding: 30px;
  background-color: var(--OffWhite);
  vertical-align: top;
}

.esb-comparison-table__table table th:first-child {
  padding: 56px 30px;
  background-color: #f0f0f0;
}

.esb-comparison-table__table td {
  padding: 18px 30px;
}

.esb-comparison-table__table tr td:first-child {
  background-color: var(--OffWhite);
  font-weight: 600;
}

.esb-comparison-table__tag {
  padding: 5px 26px;
  background-color: #067a461a;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  min-height: 38px;
  min-width: 98px;
  line-height: 1;
}

.esb-comparison-table__tag.tag-no {
  background-color: var(--OffWhite);
}

.esb-comparison-table__tag.tag-no .esb-comparison-table__tag-text::before {
  background-color: #1319244d;
}

.esb-comparison-table__tag-text {
  position: relative;
  padding-left: 18px;
}

.esb-comparison-table__tag-text::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  background-color: var(--PrimaryGreen);
  pointer-events: none;
}

/* ------------------------------------------------ */
/* Desktop Large and Down */
/* ------------------------------------------------ */

@media (max-width: 1919px) {
  .esb-comparison-table__table table th:first-child {
    padding: 40px 30px;
  }

  .esb-comparison-table__table table th {
    padding: 30px 20px;
  }

  .esb-comparison-table__table table th .esb-text-22 {
    font-size: 20px;
  }
}

/* ------------------------------------------------ */
/* Desktop Smaller and Down */
/* ------------------------------------------------ */

@media (max-width: 1439px) {
  .esb-comparison-table__table table th,
  .esb-comparison-table__table table th:first-child {
    padding: 20px;
  }

  .esb-comparison-table__table table th:first-child .esb-text-28 {
    font-size: 24px;
    line-height: normal;
  }

  .esb-comparison-table__table table th .esb-text-22 {
    font-size: 18px;
  }

  .esb-comparison-table__table td {
    padding: 18px 20px;
  }

  .esb-comparison-table__tag {
    padding: 5px 16px;
    min-width: 80px;
    min-height: 34px;
    font-size: 16px;
  }
}

/* ------------------------------------------------ */
/* Tablet P and Down */
/* ------------------------------------------------ */

@media (max-width: 1023px) {
  .esb-comparison-table__inner {
    padding: 10px;
  }

  .esb-comparison-table__table table th,
  .esb-comparison-table__table table th:first-child {
    padding: 20px 16px;
  }

  .esb-comparison-table__table table th:first-child .esb-text-28 {
    font-size: 22px;
  }

  .esb-comparison-table__table table th .esb-text-22 {
    font-size: 16px;
  }

  .esb-comparison-table__table td {
    padding: 16px;
  }

  .esb-comparison-table__tag-text {
    padding-left: 13px;
  }

  .esb-comparison-table__tag {
    padding: 5px 10px;
    min-width: 62px;
    min-height: 32px;
  }
}

/* ------------------------------------------------ */
/* Mobile */
/* ------------------------------------------------ */

@media (max-width: 767px) {
  .esb-comparison-table__inner {
    width: calc(100% + 30px);
    margin-left: -15px;
    position: relative;
    border-radius: 0;
  }

  .esb-comparison-table__table {
    overflow: auto;
    border-radius: 8px;
  }

  .esb-comparison-table__table table {
    display: block;
  }

  .esb-comparison-table__table table th:first-child .esb-text-28 {
    font-size: 20px;
  }

  .esb-comparison-table__table table th,
  .esb-comparison-table__table table th:first-child {
    padding: 20px 18px;
  }

  .esb-comparison-table__table table th:first-child,
  .esb-comparison-table__table tr td:first-child {
    position: sticky;
    position: -webkit-sticky;
    left: 0;
    z-index: 4;
  }

  .esb-comparison-table__table td {
    font-size: 14px;
  }

  .esb-comparison-table__tag {
    font-size: 14px;
    min-width: 58px;
    min-height: 28px;
  }
}
