.sifency-code-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}
.code-header {
  background: #1e1e1e;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #333;
}
.window-buttons {
  display: flex;
  gap: 8px;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}
.file-title {
  margin: 0 auto;
}
.copy-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.3s;
}
.copy-btn:hover {
  background: #555;
}
.copy-btn.is-copied {
  background: #27c93f;
  color: #000;
}
.layout-minimal .code-header {
  background: 0 0;
  border: none;
}
.layout-terminal .code-header {
  background: #333;
}
.layout-terminal .file-title {
  color: #27c93f;
}
.layout-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.layout-glass .code-header {
  background: rgba(0, 0, 0, 0.2);
}
.layout-gradient {
  padding: 2px;
  background: linear-gradient(45deg, #f06, #4a90e2);
}
.layout-gradient .code-header,
.layout-gradient pre {
  background: #0d0d0d !important;
}
pre[class*="language-"] {
  margin: 0 !important;
  background: #1e1e1e !important;
  border-radius: 0 !important;
  padding: 20px 20px 20px 0 !important;
  overflow: auto;
}
pre.line-numbers {
  position: relative;
  padding-left: 3.8em !important;
  counter-reset: linenumber;
}
pre.line-numbers > .line-numbers-rows {
  position: absolute;
  top: 0;
  left: 0;
  width: 3.8em;
  padding: 20px 0;
  border-right: 1px solid #333;
  user-select: none;
  pointer-events: none;
}
pre.line-numbers > .line-numbers-rows > span {
  display: block;
  counter-increment: linenumber;
  text-align: right;
  padding-right: 0.8em;
}
pre.line-numbers > .line-numbers-rows > span::before {
  content: counter(linenumber);
}
pre code {
  display: block;
  padding-left: 20px;
  white-space: pre;
}
.sifency-one-page-nav-container {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  pointer-events: none;
}
.sifency-one-page-nav-container * {
  box-sizing: border-box;
}
.sifency-one-page-nav-container.pos-right {
  right: 28px;
}
.sifency-one-page-nav-container.pos-left {
  left: 28px;
}
.sifency-one-page-nav-container.pos-bottom-center {
  top: auto;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
}
.sifency-one-page-nav-container.pos-bottom-center .sifency-one-page-nav-list {
  flex-direction: row;
}
.sifency-one-page-nav-container.pos-top-center {
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
}
.sifency-one-page-nav-container.pos-top-center .sifency-one-page-nav-list {
  flex-direction: row;
}
.sifency-one-page-nav-container.pos-top-left {
  top: 28px;
  left: 28px;
  transform: none;
}
.sifency-one-page-nav-container.pos-top-right {
  top: 28px;
  right: 28px;
  transform: none;
}
.sifency-one-page-nav-container.pos-bottom-left {
  top: auto;
  bottom: 28px;
  left: 28px;
  transform: none;
}
.sifency-one-page-nav-container.pos-bottom-right {
  top: auto;
  bottom: 28px;
  right: 28px;
  transform: none;
}
.sifency-one-page-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  pointer-events: auto;
}
.sifency-nav-link,
.sifency-one-page-nav-item {
  display: flex;
  align-items: center;
  position: relative;
}
.sifency-nav-link {
  appearance: none;
  border: none;
  background: 0 0;
  padding: 0;
  cursor: pointer;
  outline: 0;
}
.sifency-nav-icon {
  display: grid;
  place-items: center;
  transition:
    transform 0.25s,
    color 0.25s;
}
.layout-dots .dot-inner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  transition: 0.25s;
}
.layout-dots .sifency-one-page-nav-item.is-active .dot-inner {
  background: #000;
  transform: scale(1.4);
}
.layout-icons .sifency-nav-icon i,
.layout-icons .sifency-nav-icon svg {
  transition: 0.25s;
}
.layout-icons .sifency-one-page-nav-item.is-active .sifency-nav-icon i,
.layout-icons .sifency-one-page-nav-item.is-active .sifency-nav-icon svg {
  color: #000;
  transform: scale(1.2);
}
.sifency-nav-tooltip {
  position: absolute;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px) scale(0.95);
  transition: 0.2s;
  pointer-events: none;
}
.pos-right .sifency-nav-tooltip,
.pos-top-right .sifency-nav-tooltip,
.pos-bottom-right .sifency-nav-tooltip {
  right: 34px;
}
.pos-left .sifency-nav-tooltip,
.pos-top-left .sifency-nav-tooltip,
.pos-bottom-left .sifency-nav-tooltip {
  left: 34px;
}
.pos-bottom-center .sifency-nav-tooltip {
  top: auto;
  bottom: 100%;
  left: 50%;
  margin-bottom: 10px;
  transform: translateX(-50%) translateY(6px) scale(0.95);
}
.pos-top-center .sifency-nav-tooltip {
  top: 100%;
  bottom: auto;
  left: 50%;
  margin-top: 10px;
  transform: translateX(-50%) translateY(-6px) scale(0.95);
}
.sifency-one-page-nav-item.is-active .sifency-nav-tooltip,
.sifency-one-page-nav-item:hover .sifency-nav-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
}
.pos-bottom-center .sifency-one-page-nav-item.is-active .sifency-nav-tooltip,
.pos-bottom-center .sifency-one-page-nav-item:hover .sifency-nav-tooltip,
.pos-top-center .sifency-one-page-nav-item.is-active .sifency-nav-tooltip,
.pos-top-center .sifency-one-page-nav-item:hover .sifency-nav-tooltip {
  transform: translateX(-50%) translateY(0) scale(1);
}
.sifency-nav-link:focus-visible .dot-inner,
.sifency-nav-link:focus-visible i {
  outline: #2563eb solid 2px;
  outline-offset: 4px;
}
.sifency-snap-enabled {
  pointer-events: auto;
}
@media (max-width: 768px) {
  .sifency-one-page-nav-container {
    display: none;
  }
}
.sifency-hscroll-wrapper {
  position: relative;
  display: block;
}
.sifency-hscroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.sifency-hscroll-track {
  display: flex;
  flex-wrap: nowrap;
  height: auto;
  will-change: transform;
  padding: 0 5vw;
}
.sifency-hscroll-item {
  flex: 0 0 auto;
  height: 100%;
  min-width: 300px;
}
@media (max-width: 767px) {
  pre.line-numbers {
    padding-left: 3.2em !important;
  }
  pre.line-numbers > .line-numbers-rows {
    width: 3.2em;
  }
  .sifency-hscroll-disable-mobile-yes .sifency-hscroll-wrapper {
    height: auto !important;
  }
  .sifency-hscroll-disable-mobile-yes .sifency-hscroll-sticky {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .sifency-hscroll-disable-mobile-yes .sifency-hscroll-track {
    flex-direction: column;
    transform: none !important;
  }
}
