/* Replacement shapes for connection and integrations */
.tx-connection-path {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-top: 44px;
  padding: 0;
  overflow: visible;
}

.tx-connection-path::before {
  display: none;
}

.tx-connection-path > span {
  position: relative;
  min-height: 74px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 12px 50%);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(12, 38, 79, 0.86);
  box-shadow: none;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.tx-connection-path > span:first-child {
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
}

.tx-connection-path > span:last-child {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%);
}

.tx-connection-path > span::before {
  display: none;
}

.tx-connection-path > span .dashicons {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border: 1px solid rgba(0, 191, 216, 0.28);
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(0, 191, 216, 0.08);
  box-shadow: none;
  font-size: 17px;
  transition: transform 200ms ease, color 200ms ease, background 200ms ease;
}

.tx-connection-path > span > .dashicons {
  min-height: 0 !important;
  padding: 0 !important;
  clip-path: none !important;
}

.tx-connection-path > span b {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.84);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.tx-connection-path > span:hover {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(0, 191, 216, 0.36);
  background:
    linear-gradient(135deg, rgba(23, 105, 255, 0.88), rgba(0, 191, 216, 0.72)),
    #0c264f;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.tx-connection-path > span:hover .dashicons {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(2px);
}

.tx-connection-path > span:hover b {
  color: #fff;
  background: transparent;
}

.tx-integration-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tx-integration-list::before,
.tx-integration-list::after {
  display: none;
}

.tx-integration-list span,
.tx-integration-list strong {
  min-height: 76px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 0 16px;
  border-radius: 14px;
  text-align: left;
  box-shadow: none;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.tx-integration-list span {
  border: 1px solid rgba(15, 36, 67, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.94));
}

.tx-integration-list span:nth-child(1) {
  grid-column: 1 / span 2;
}

.tx-integration-list span:nth-child(2) {
  grid-column: 3 / span 2;
}

.tx-integration-list span:nth-child(3) {
  grid-column: 5 / span 2;
}

.tx-integration-list strong {
  grid-column: 1 / -1;
  grid-row: 2;
  min-height: 88px;
  justify-content: center;
  border: 0;
  color: #fff;
  letter-spacing: 0.08em;
  background:
    linear-gradient(90deg, rgba(7, 27, 58, 0.98), rgba(23, 105, 255, 0.9), rgba(0, 191, 216, 0.78)),
    var(--ink);
  box-shadow: 0 24px 64px rgba(7, 27, 58, 0.18);
}

.tx-integration-list span:nth-child(5) {
  grid-column: 1 / span 2;
  grid-row: 3;
}

.tx-integration-list span:nth-child(6) {
  grid-column: 3 / span 2;
  grid-row: 3;
}

.tx-integration-list span:nth-child(7) {
  grid-column: 5 / span 2;
  grid-row: 3;
}

.tx-integration-list span .dashicons {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  color: var(--blue);
  background: transparent;
  font-size: 20px;
}

.tx-integration-list > span > .dashicons {
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-align: center !important;
}

.tx-integration-list span b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.tx-integration-list span:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 105, 255, 0.26);
  background: #fff;
  box-shadow: 0 16px 40px rgba(7, 27, 58, 0.1);
}

.tx-integration-list span:hover .dashicons {
  color: var(--blue) !important;
  background: transparent !important;
  transform: none !important;
}

.tx-integration-list strong:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 74px rgba(7, 27, 58, 0.22);
}

@media (max-width: 1120px) {
  .tx-connection-path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .tx-connection-path > span,
  .tx-connection-path > span:first-child,
  .tx-connection-path > span:last-child {
    clip-path: none;
    border-radius: 14px;
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .tx-integration-list {
    grid-template-columns: 1fr;
  }

  .tx-integration-list span,
  .tx-integration-list strong,
  .tx-integration-list span:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
  }
}
