/* =========== Tabs =========== */
.byhelp-tabs {
  position: relative;
  min-width: 0;
}
.byhelp-tabs-nav {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  margin: 0;
  padding: 8px 12px 0;
  border: 0;
  border-bottom: 1px solid #dce4f0;
  background: #f8fafd;
}
.byhelp-tabs-nav .nav-item {
  flex: 0 1 220px;
  min-width: 170px;
  margin: 0;
}
.byhelp-tabs-nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  width: 100%;
  min-height: 54px;
  padding: 14px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--byhelp-secondary);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.byhelp-tabs-nav .nav-link:hover {
  color: var(--byhelp-primary);
  background: rgba(20, 43, 90, .035);
}
.byhelp-tabs-nav .nav-link.active {
  color: var(--byhelp-primary);
  background: rgba(255, 27, 48, .035);
}
.byhelp-tabs-nav .nav-link::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: -1px;
  left: 12px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--byhelp-primary);
  opacity: 0;
  transition: opacity .2s ease;
}
.byhelp-tabs-nav .nav-link.active::after {
  opacity: 1;
}
.byhelp-tabs-nav .nav-link:focus-visible,
.byhelp-tabs-toggle:focus-visible {
  outline: 2px solid var(--byhelp-primary);
  outline-offset: -4px;
}
.byhelp-tabs .nav-link::before,
.byhelp-tabs .byhelp-tabs-toggle::before {
  content: "";
  display: none;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background: currentColor;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}
.byhelp-tabs [data-tab="description"]::before,
.byhelp-tabs [data-tab="installation"]::before,
.byhelp-tabs [data-tab="features"]::before,
.byhelp-tabs [data-tab="history"]::before {
  display: block;
}
.byhelp-tabs [data-tab="description"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6M8 13h8M8 17h8'/%3E%3C/svg%3E");
}
.byhelp-tabs [data-tab="installation"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12m-5-5 5 5 5-5'/%3E%3Cpath d='M5 17v3h14v-3'/%3E%3C/svg%3E");
}
.byhelp-tabs [data-tab="features"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6h5m4 0h9M8 3v6M3 12h11m4 0h3M14 9v6M3 18h7m4 0h7M10 15v6'/%3E%3C/svg%3E");
}
.byhelp-tabs [data-tab="history"]::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8'/%3E%3Cpath d='M3 3v5h5M12 7v5l4 2'/%3E%3C/svg%3E");
}
.byhelp-tabs-content {
  min-width: 0;
  padding: 24px 28px 30px;
  background: #fff;
  color: #393b3f;
  overflow-wrap: anywhere;
}
.byhelp-tabs-content .tab-pane {
  min-width: 0;
  overflow-x: auto;
}
.byhelp-tabs-content pre {
  max-width: 100%;
  overflow-x: auto;
}
.byhelp-tabs-content p {
  margin: 0 0 14px;
  line-height: 1.65;
}
.byhelp-tabs-content p:last-child {
  margin-bottom: 0;
}
.byhelp-tabs-content h2,
.byhelp-tabs-content h3 {
  margin: 0 0 16px;
  color: var(--byhelp-secondary);
  font-weight: 700;
  line-height: 1.3;
}
.byhelp-tabs-content h2 {
  font-size: 24px;
}
.byhelp-tabs-content h3 {
  font-size: 19px;
}
.byhelp-tabs-content ul,
.byhelp-tabs-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
  line-height: 1.65;
}
.byhelp-tabs-content li {
  margin-bottom: 6px;
}
.byhelp-tabs-content li:last-child {
  margin-bottom: 0;
}
.byhelp-tabs-content a {
  color: var(--byhelp-primary);
  text-decoration: none;
}
.byhelp-tabs-content a:hover {
  text-decoration: underline;
}
.byhelp-tabs-content img {
  max-width: 100%;
  height: auto;
}
.byhelp-tabs-content table {
  width: 100%;
}
.byhelp-tabs-toggle {
  display: none;
}
/* =========== RESPONSIVE =========== */
@media (max-width: 767.98px) {
  .bpanel.module-content {
    position: relative;
    padding: 0;
    overflow: hidden;
  }
  .bpanel.module-content:has(.byhelp-tabs.is-open) {
    overflow: visible;
    z-index: 10;
  }
  .byhelp-tabs {
    position: relative;
    padding: 0;
  }
  .byhelp-tabs-content {
    position: relative;
    z-index: 0;
    padding: 20px;
    border-radius: 0 0 var(--module-radius, 12px) var(--module-radius, 12px);
  }
  .byhelp-tabs-content {
    position: relative;
    z-index: 0;
  }
  .byhelp-tabs.has-multiple-tabs {
    --tabs-toggle-height: 54px;
    position: relative;
  }
  .byhelp-tabs.has-multiple-tabs .byhelp-tabs-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: var(--tabs-toggle-height);
    padding: 12px 18px;
    border: 0;
    border-bottom: 1px solid #dce4f0;
    border-radius: var(--module-radius, 12px) var(--module-radius, 12px) 0 0;
    background: #f8fafd;
    color: var(--byhelp-primary);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }
  .byhelp-tabs-toggle span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .byhelp-tabs-toggle::after {
    content: "";
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
  }
  .byhelp-tabs.is-open .byhelp-tabs-toggle::after {
    transform: rotate(225deg);
  }
  .byhelp-tabs.has-multiple-tabs .byhelp-tabs-nav {
    display: none;
    position: absolute;
    z-index: 20;
    top: var(--tabs-toggle-height);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    max-height: 280px;
    margin: 0;
    padding: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #dce4f0;
    border-top: 0;
    border-radius: 0 0 10px 10px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(20, 43, 90, .12);
  }
  .byhelp-tabs.has-multiple-tabs.is-open .byhelp-tabs-nav {
    display: flex;
  }
  .byhelp-tabs.has-multiple-tabs .byhelp-tabs-nav .nav-item {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
  }
  .byhelp-tabs.has-multiple-tabs .byhelp-tabs-nav .nav-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 11px 14px;
    border: 0;
    border-radius: 7px;
    font-size: 14px;
    text-align: left;
  }
  .byhelp-tabs.has-multiple-tabs .byhelp-tabs-nav .nav-link.active {
    color: var(--byhelp-primary);
    background: rgba(255, 27, 48, .07);
  }
  .byhelp-tabs.has-multiple-tabs .byhelp-tabs-nav .nav-link::after {
    display: none;
  }
  .byhelp-tabs-content {
    padding: 20px;
  }
}
@media (max-width: 479.98px) {
  .byhelp-tabs .nav-link::before,
  .byhelp-tabs .byhelp-tabs-toggle::before {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }
  .byhelp-tabs-content {
    padding: 18px 16px 22px;
  }
  .byhelp-tabs-content h2 {
    font-size: 21px;
  }
  .byhelp-tabs-content h3 {
    font-size: 18px;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .byhelp-tabs-nav .nav-item {
    flex: 0 1 190px;
    min-width: 0;
  }
  .byhelp-tabs-nav .nav-link {
    gap: 6px;
    padding: 12px 8px;
    font-size: 14px;
    white-space: normal;
  }
  .byhelp-tabs-nav .nav-link::before {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
  }
}
