:root>* {
    --md-primary-fg-color: #5c4fe5;
    /* --md-primary-fg-color--light: #ECB7B7; */
    /* --md-primary-fg-color--dark: #90030C; */
}

.md-header__button.md-logo img,
.md-header__button.md-logo svg {
    /* width: 2rem; */
    height: 2rem;
}

.highlight pre>code {
    /* Break long lines in code blocks */
    white-space: pre-wrap;
}

/* Prevent tab FOUC until JS applies preferences */
html.ctf-tabs-hide .tabbed-set .tabbed-labels>label,
html.ctf-tabs-hide .tabbed-set .tabbed-content>.tabbed-block {
    display: none;
}

.ctf-no-frameworks-msg {
    margin: 0.5rem 0 0.75rem 0;
}

/* Header preferences link styles */
.ctf-header-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.ctf-header-sep {
    width: 8px;
    display: inline-block;
}

.ctf-prefs-wrapper {
    display: inline-flex;
    align-items: center;
}

.ctf-prefs-inserted {
    display: contents;
}

/* Extend MkDocs Material tab support beyond 20 tabs (default limit in v9.6.23) */
/* Required for Compliance.tf registry endpoints section which has 27 non-deprecated frameworks */

/* Tab label order */
.tabbed-labels>label:nth-child(21){order:20}
.tabbed-labels>label:nth-child(22){order:21}
.tabbed-labels>label:nth-child(23){order:22}
.tabbed-labels>label:nth-child(24){order:23}
.tabbed-labels>label:nth-child(25){order:24}
.tabbed-labels>label:nth-child(26){order:25}
.tabbed-labels>label:nth-child(27){order:26}
.tabbed-labels>label:nth-child(28){order:27}
.tabbed-labels>label:nth-child(29){order:28}
.tabbed-labels>label:nth-child(30){order:29}
.tabbed-labels>label:nth-child(31){order:30}
.tabbed-labels>label:nth-child(32){order:31}
.tabbed-labels>label:nth-child(33){order:32}
.tabbed-labels>label:nth-child(34){order:33}
.tabbed-labels>label:nth-child(35){order:34}
.tabbed-labels>label:nth-child(36){order:35}
.tabbed-labels>label:nth-child(37){order:36}
.tabbed-labels>label:nth-child(38){order:37}
.tabbed-labels>label:nth-child(39){order:38}
.tabbed-labels>label:nth-child(40){order:39}
.tabbed-labels>label:nth-child(41){order:40}
.tabbed-labels>label:nth-child(42){order:41}
.tabbed-labels>label:nth-child(43){order:42}
.tabbed-labels>label:nth-child(44){order:43}
.tabbed-labels>label:nth-child(45){order:44}
.tabbed-labels>label:nth-child(46){order:45}
.tabbed-labels>label:nth-child(47){order:46}
.tabbed-labels>label:nth-child(48){order:47}
.tabbed-labels>label:nth-child(49){order:48}
.tabbed-labels>label:nth-child(50){order:49}

/* Tab label active styling */
.tabbed-set>input:nth-child(21):checked~.tabbed-labels>:nth-child(21){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(22):checked~.tabbed-labels>:nth-child(22){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(23):checked~.tabbed-labels>:nth-child(23){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(24):checked~.tabbed-labels>:nth-child(24){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(25):checked~.tabbed-labels>:nth-child(25){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(26):checked~.tabbed-labels>:nth-child(26){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(27):checked~.tabbed-labels>:nth-child(27){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(28):checked~.tabbed-labels>:nth-child(28){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(29):checked~.tabbed-labels>:nth-child(29){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(30):checked~.tabbed-labels>:nth-child(30){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(31):checked~.tabbed-labels>:nth-child(31){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(32):checked~.tabbed-labels>:nth-child(32){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(33):checked~.tabbed-labels>:nth-child(33){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(34):checked~.tabbed-labels>:nth-child(34){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(35):checked~.tabbed-labels>:nth-child(35){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(36):checked~.tabbed-labels>:nth-child(36){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(37):checked~.tabbed-labels>:nth-child(37){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(38):checked~.tabbed-labels>:nth-child(38){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(39):checked~.tabbed-labels>:nth-child(39){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(40):checked~.tabbed-labels>:nth-child(40){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(41):checked~.tabbed-labels>:nth-child(41){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(42):checked~.tabbed-labels>:nth-child(42){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(43):checked~.tabbed-labels>:nth-child(43){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(44):checked~.tabbed-labels>:nth-child(44){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(45):checked~.tabbed-labels>:nth-child(45){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(46):checked~.tabbed-labels>:nth-child(46){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(47):checked~.tabbed-labels>:nth-child(47){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(48):checked~.tabbed-labels>:nth-child(48){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(49):checked~.tabbed-labels>:nth-child(49){color:var(--md-accent-fg-color)}
.tabbed-set>input:nth-child(50):checked~.tabbed-labels>:nth-child(50){color:var(--md-accent-fg-color)}

/* Tab content visibility - CRITICAL for showing code snippets */
.tabbed-set>input:nth-child(21):checked~.tabbed-content>:nth-child(21){display:block}
.tabbed-set>input:nth-child(22):checked~.tabbed-content>:nth-child(22){display:block}
.tabbed-set>input:nth-child(23):checked~.tabbed-content>:nth-child(23){display:block}
.tabbed-set>input:nth-child(24):checked~.tabbed-content>:nth-child(24){display:block}
.tabbed-set>input:nth-child(25):checked~.tabbed-content>:nth-child(25){display:block}
.tabbed-set>input:nth-child(26):checked~.tabbed-content>:nth-child(26){display:block}
.tabbed-set>input:nth-child(27):checked~.tabbed-content>:nth-child(27){display:block}
.tabbed-set>input:nth-child(28):checked~.tabbed-content>:nth-child(28){display:block}
.tabbed-set>input:nth-child(29):checked~.tabbed-content>:nth-child(29){display:block}
.tabbed-set>input:nth-child(30):checked~.tabbed-content>:nth-child(30){display:block}
.tabbed-set>input:nth-child(31):checked~.tabbed-content>:nth-child(31){display:block}
.tabbed-set>input:nth-child(32):checked~.tabbed-content>:nth-child(32){display:block}
.tabbed-set>input:nth-child(33):checked~.tabbed-content>:nth-child(33){display:block}
.tabbed-set>input:nth-child(34):checked~.tabbed-content>:nth-child(34){display:block}
.tabbed-set>input:nth-child(35):checked~.tabbed-content>:nth-child(35){display:block}
.tabbed-set>input:nth-child(36):checked~.tabbed-content>:nth-child(36){display:block}
.tabbed-set>input:nth-child(37):checked~.tabbed-content>:nth-child(37){display:block}
.tabbed-set>input:nth-child(38):checked~.tabbed-content>:nth-child(38){display:block}
.tabbed-set>input:nth-child(39):checked~.tabbed-content>:nth-child(39){display:block}
.tabbed-set>input:nth-child(40):checked~.tabbed-content>:nth-child(40){display:block}
.tabbed-set>input:nth-child(41):checked~.tabbed-content>:nth-child(41){display:block}
.tabbed-set>input:nth-child(42):checked~.tabbed-content>:nth-child(42){display:block}
.tabbed-set>input:nth-child(43):checked~.tabbed-content>:nth-child(43){display:block}
.tabbed-set>input:nth-child(44):checked~.tabbed-content>:nth-child(44){display:block}
.tabbed-set>input:nth-child(45):checked~.tabbed-content>:nth-child(45){display:block}
.tabbed-set>input:nth-child(46):checked~.tabbed-content>:nth-child(46){display:block}
.tabbed-set>input:nth-child(47):checked~.tabbed-content>:nth-child(47){display:block}
.tabbed-set>input:nth-child(48):checked~.tabbed-content>:nth-child(48){display:block}
.tabbed-set>input:nth-child(49):checked~.tabbed-content>:nth-child(49){display:block}
.tabbed-set>input:nth-child(50):checked~.tabbed-content>:nth-child(50){display:block}

/* Print media - Tab content block order */
@media print {
  .md-typeset .tabbed-block:nth-child(21){order:20}
  .md-typeset .tabbed-block:nth-child(22){order:21}
  .md-typeset .tabbed-block:nth-child(23){order:22}
  .md-typeset .tabbed-block:nth-child(24){order:23}
  .md-typeset .tabbed-block:nth-child(25){order:24}
  .md-typeset .tabbed-block:nth-child(26){order:25}
  .md-typeset .tabbed-block:nth-child(27){order:26}
  .md-typeset .tabbed-block:nth-child(28){order:27}
  .md-typeset .tabbed-block:nth-child(29){order:28}
  .md-typeset .tabbed-block:nth-child(30){order:29}
  .md-typeset .tabbed-block:nth-child(31){order:30}
  .md-typeset .tabbed-block:nth-child(32){order:31}
  .md-typeset .tabbed-block:nth-child(33){order:32}
  .md-typeset .tabbed-block:nth-child(34){order:33}
  .md-typeset .tabbed-block:nth-child(35){order:34}
  .md-typeset .tabbed-block:nth-child(36){order:35}
  .md-typeset .tabbed-block:nth-child(37){order:36}
  .md-typeset .tabbed-block:nth-child(38){order:37}
  .md-typeset .tabbed-block:nth-child(39){order:38}
  .md-typeset .tabbed-block:nth-child(40){order:39}
  .md-typeset .tabbed-block:nth-child(41){order:40}
  .md-typeset .tabbed-block:nth-child(42){order:41}
  .md-typeset .tabbed-block:nth-child(43){order:42}
  .md-typeset .tabbed-block:nth-child(44){order:43}
  .md-typeset .tabbed-block:nth-child(45){order:44}
  .md-typeset .tabbed-block:nth-child(46){order:45}
  .md-typeset .tabbed-block:nth-child(47){order:46}
  .md-typeset .tabbed-block:nth-child(48){order:47}
  .md-typeset .tabbed-block:nth-child(49){order:48}
  .md-typeset .tabbed-block:nth-child(50){order:49}
}