/* resources/puchi-custom/styles.css */
.puchistatic-logo {
    width: 200px;
}

.puchistatic-copyright {
    display: none;
}

.puchistatic-knowledge-search-bar {
    display: none !important;
}
.puchistatic-client-downloads {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.puchistatic-client-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 16px;
  color: #495057;
  border-right: 1px solid #eee;
  transition: background-color .2s, color .2s;
}
.puchistatic-client-download:last-child {
  border-right: 0;
}
.puchistatic-client-download:hover {
  color: #0665d0;
  background: #f6f6f6;
}
.puchistatic-client-download i {
  font-size: 24px;
}
.puchistatic-client-download span {
  font-weight: 600;
}
@media (max-width: 767.98px) {
  .puchistatic-client-downloads {
    grid-template-columns: repeat(2, 1fr);
  }
  .puchistatic-client-download {
    border-bottom: 1px solid #eee;
  }
  .puchistatic-client-download:nth-child(2) {
    border-right: 0;
  }
  .puchistatic-client-download:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}
.puchi-plan-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.puchi-plan-compare-entry-slot {
  display: inline-flex;
  flex: 0 0 auto;
  justify-content: flex-end;
  min-height: 32px;
  margin-left: auto;
}
.puchi-plan-compare-entry.ant-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0;
  color: #1677ff;
  font-size: 14px;
  font-weight: 500;
}
.puchi-plan-compare-entry .anticon:last-child {
  font-size: 11px;
  transition: transform .2s;
}
.puchi-plan-compare-entry:hover .anticon:last-child {
  transform: translateX(2px);
}
@media (max-width: 575.98px) {
  .puchi-plan-heading-row {
    gap: 8px;
    font-size: 24px;
  }
  .puchi-plan-compare-entry-slot {
    flex-basis: auto;
  }
  .puchi-plan-compare-entry.ant-btn-link {
    gap: 4px;
    font-size: 13px;
    white-space: nowrap;
  }
}
@media (max-width: 359.98px) {
  .puchi-plan-heading-row {
    flex-wrap: wrap;
  }
  .puchi-plan-compare-entry-slot {
    flex-basis: 100%;
  }
}
.compare-nodes-page {
  min-height: 100%;
  overflow-x: hidden;
  background: #f5f7fa;
}
.compare-nodes-page > .content {
  max-width: 1500px;
}
.compare-nodes-workspace {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.compare-nodes-header {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 52px;
}
.compare-nodes-heading-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #1677ff;
  font-size: 21px;
  background: #e6f4ff;
  border: 1px solid #91caff;
  border-radius: 8px;
}
.compare-nodes-heading-copy {
  min-width: 0;
}
.compare-nodes-heading-copy h1 {
  margin: 0;
  color: rgba(0, 0, 0, .88);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
}
.compare-nodes-page .ant-divider-horizontal {
  margin: 18px 0 14px;
}
.compare-nodes-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 320px;
  color: rgba(0, 0, 0, .45);
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 6px;
}
.compare-nodes-loading .anticon {
  color: #1677ff;
  font-size: 22px;
}
.compare-nodes-tabs {
  display: none;
}
.compare-nodes-viewport {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 1px 0 10px 1px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: #b8c0cc #eef1f5;
  scrollbar-width: thin;
}
.compare-nodes-track {
  box-sizing: content-box;
  width: max-content;
  min-width: calc(100% - 16px);
  padding-right: 16px;
}
.compare-nodes-grid {
  display: grid;
  align-items: start;
  gap: 14px;
  width: 100%;
  min-width: max-content;
}
.compare-nodes-column {
  position: relative;
  min-width: 280px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 7px;
  box-shadow: 0 2px 8px rgba(31, 35, 41, .05);
  transition:
    border-color .2s,
    box-shadow .2s,
    transform .2s;
}
.compare-nodes-column:hover {
  border-color: #c9d1dc;
  box-shadow: 0 6px 18px rgba(31, 35, 41, .08);
  transform: translateY(-1px);
}
.compare-nodes-column-accent {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
}
.compare-nodes-column-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px;
  border-bottom: 1px solid #eef0f3;
}
.compare-nodes-plan-title {
  min-width: 0;
}
.compare-nodes-plan-title h2 {
  margin: 0;
  overflow: hidden;
  color: rgba(0, 0, 0, .85);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compare-nodes-count {
  color: rgba(0, 0, 0, .45);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.compare-nodes-list {
  margin: 0;
  padding: 10px;
  list-style: none;
}
.compare-nodes-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-bottom: 6px;
  padding: 7px 8px;
  background: #fafbfc;
  border: 1px solid #eef0f3;
  border-radius: 5px;
  transition: border-color .16s, background-color .16s;
}
.compare-nodes-list li:last-child {
  margin-bottom: 0;
}
.compare-nodes-list li:hover {
  background: #f5f8fc;
  border-color: #d8dee8;
}
.compare-nodes-list li.is-highlighted:hover {
  filter: saturate(1.05);
}
.compare-nodes-row-number {
  color: rgba(0, 0, 0, .3);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.compare-nodes-node-name {
  min-width: 0;
  overflow: hidden;
  color: rgba(0, 0, 0, .72);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.compare-nodes-column-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 180px;
  padding: 24px;
  color: rgba(0, 0, 0, .38);
  text-align: center;
}
.compare-nodes-column-state .anticon {
  font-size: 28px;
}
.compare-nodes-page .ant-result {
  background: #fff;
  border: 1px solid #e8ebef;
  border-radius: 6px;
}
@media (min-width: 992px) {
  .compare-nodes-viewport {
    padding-right: 1px;
    overflow-x: hidden;
  }
  .compare-nodes-track {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    padding-right: 0;
  }
  .compare-nodes-grid {
    width: 100%;
    min-width: 0;
  }
  .compare-nodes-column {
    min-width: 0;
  }
}
@media (max-width: 991.98px) {
  .compare-nodes-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 9px 0;
    overflow: hidden;
    background: rgba(245, 247, 250, .96);
    border-top: 1px solid #e8ebef;
    border-bottom: 1px solid #e8ebef;
  }
  .compare-nodes-tabs-scroll {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0 9px;
    overflow: visible;
    white-space: normal;
  }
  .compare-nodes-tabs .ant-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    width: 100%;
    padding: 3px;
    background: #e9edf2;
    border-radius: 6px;
  }
  .compare-nodes-tabs .ant-btn {
    flex: 1 1 120px;
    min-width: 104px;
    height: 34px;
    overflow: hidden;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .compare-nodes-tabs .ant-btn + .ant-btn {
    margin-left: 0;
  }
  .compare-nodes-viewport {
    margin-right: 0;
    scroll-snap-type: x mandatory;
  }
  .compare-nodes-grid {
    display: flex;
    gap: 12px;
  }
  .compare-nodes-column {
    flex: 0 0 min(84vw, 350px);
    scroll-snap-align: start;
  }
}
@media (max-width: 575.98px) {
  .compare-nodes-workspace {
    padding: 16px;
  }
  .compare-nodes-heading-icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }
  .compare-nodes-header {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
  }
  .compare-nodes-heading-copy h1 {
    font-size: 20px;
  }
  .compare-nodes-column {
    flex-basis: calc(100vw - 48px);
    min-width: 260px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .compare-nodes-column {
    transition: none;
  }
  .compare-nodes-column:hover {
    transform: none;
  }
}
