/* Define colors */

/* Light mode colors (default) */

:root {
    --primary: #162587;
    --primary-light: #9390f0;
    --primary-dark: #5f5bc4;
    --white: #fff;
    --light-gray: #D8D8E1;
    --lighter-gray: #f0f0f7;
    --main-gray: #777;
    --dark-gray: #2d2d2d;
    --hover-gray: #666;
    --meth-get: #24963e;
    --meth-put: #e5c500;
    --meth-post: #4070ec;
    --meth-delete: #F33;
    --red: #F33;
    --shadow-sm: 0 2px 8px rgba(118, 115, 230, 0.08);
    --shadow-md: 0 4px 16px rgba(118, 115, 230, 0.12);
    --shadow-lg: 0 8px 32px rgba(118, 115, 230, 0.15);

    /* Light mode specific */

    --bg-primary: linear-gradient(135deg, #f5f3ff 0%, #f0f1f7 100%);
    --bg-secondary: #ffffff;
    --text-primary: #212529;
    --text-secondary: #555;
    --border-color: #e8e7f3;
    --sidenav-bg: linear-gradient(180deg, #ffffff 0%, #f9f8ff 100%);
    --sidenav-border: #e8e7f3;
    --table-hover: #f8f7ff;
    --input-bg: #fafbff;
    --code-bg: #f5f3ff;
    --code-color: #5f5bc4;
}

/* Dark mode colors */

:root[data-theme="dark"] {
    --primary: #9390f0;
    --primary-light: #b4b1fc;
    --primary-dark: #6a66d9;
    --white: #1a1a2e;
    --light-gray: #3a3a4e;
    --lighter-gray: #2a2a3e;
    --main-gray: #a0a0b0;
    --dark-gray: #e0e0e0;
    --hover-gray: #b0b0c0;
    --meth-get: #2db84f;
    --meth-put: #f0d700;
    --meth-post: #5a8cff;
    --meth-delete: #ff5555;
    --red: #ff5555;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);

    /* Dark mode specific */

    --bg-primary: linear-gradient(135deg, #1a1a2e 0%, #0f0f1f 100%);
    --bg-secondary: #252540;
    --text-primary: #e8e8f0;
    --text-secondary: #b0b0c0;
    --border-color: #3a3a4e;
    --sidenav-bg: linear-gradient(180deg, #1a1a2e 0%, #0f0f1f 100%);
    --sidenav-border: #3a3a4e;
    --table-hover: #2a2a3e;
    --input-bg: #1a1a2e;
    --code-bg: #2a2a3e;
    --code-color: #b4b1fc;
}

:root[data-theme="dark"] h1 {
    color: var(--text-white);
}

:root[data-theme="dark"] h3 {
    color: var(--text-primary);
}

.color-primary {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary);
}

.bg-red {
    color: var(--white);
    background-color: var(--red);
}

.border-danger {
    border: 1px solid var(--red);
}

input[type="date"] {
    line-height: 1.4 !important;
}

@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('./glyphicons-halflings-regular.eot');
    src: url('./glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'),
        url('./glyphicons-halflings-regular.woff') format('woff'),
        url('./glyphicons-halflings-regular.woff2') format('woff2'),
        url('./glyphicons-halflings-regular.ttf') format('truetype'),
        url('./glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg');
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system,
        BlinkMacSystemFont,
        Segoe UI,
        Roboto,
        Oxygen,
        Ubuntu,
        Cantarell,
        Fira Sans,
        Droid Sans,
        Helvetica Neue,
        sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-weight: 400;
    min-height: 100vh;
    transition: background 0.3s ease, color 0.3s ease;
}

a:focus {
    background-color: var(--primary);
    outline: none;
}

a {
    transition: all 0.3s ease;
}

#content {
    margin-top: 10px;
    padding-left: 10px;
}

p {
    font-size: 130%;
    color: var(--text-secondary);
    line-height: 1.6;
}

ul>li {
    font-size: 130%;
    color: var(--text-secondary);
}

ol>li {
    font-size: 130%;
    color: var(--text-secondary);
}

section {
    padding: 30px 0;
}

article {
    border-top: 1px solid var(--light-gray);
    padding: 14px 0 30px 0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

table {
    background: var(--bg-secondary);
    border-collapse: collapse;
    width: 100%;
    margin: 0 0 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

table:hover {
    box-shadow: var(--shadow-md);
}

th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: left;
    padding: 12px 8px;
    border: none;
    font-weight: 600;
    letter-spacing: 0.3px;
}

td {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

tbody tr:hover td {
    background-color: var(--table-hover);
}

tbody tr {
    transition: all 0.2s ease;
}

td.code {
    font-family: "Source Code Pro", monospace;
    font-weight: 600;
}

.label {
    float: right;
    margin-top: 4px;
    user-select: none;
}

.label.optional {
    background-color: var(--meth-get);
}

.label.required {
    background-color: var(--red);
}

.default-value,
.type-size {
    font-style: italic;
    font-size: 95%;
}

.open-left {
    right: 0;
    left: auto;
}

.invisible {
    visibility: hidden;
}

.input-group-addon {
    color: var(--white);
    background-color: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 500;
}

.input-group-addon.sample-request-select {
    padding: 0;
}

.input-group-addon.sample-request-select select {
    width: auto;
    height: 32px;
}

.sample-request-input-Boolean-container {
    width: 40px;
    height: 34px;
    background: var(--white);
    border: 1px solid var(--light-gray);
}

.sample-request-input-Boolean-container>div {
    margin-top: 7px;
    text-align: center;
}

.sample-request-input-Boolean-container>div input {
    margin: 0;
}

.form-control:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(118, 115, 230, 0.1);
}

.form-control {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.form-horizontal .form-group {
    margin-left: 0;
    margin-right: 0;
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    width: 100px;
    height: 38px;
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    padding: .375rem .75rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(118, 115, 230, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 115, 230, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(118, 115, 230, 0.3);
}

.btn-danger {
    color: #fff;
    background: linear-gradient(135deg, var(--red) 0%, #e63946 100%);
    border-color: var(--red);
    width: 100px;
    height: 38px;
    display: inline-block;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: none;
    padding: .375rem .75rem;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(243, 51, 51, 0.3);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 51, 51, 0.4);
}

.btn-danger:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(243, 51, 51, 0.3);
}

/* Request method (HTTP verb) */

.method {
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    margin: 0 0 12px 0;
    padding: 6px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--main-gray);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.method:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.meth-get {
    background-color: var(--meth-get);
}

.meth-put {
    background-color: var(--meth-put);
    color: #000;
}

.meth-post {
    background-color: var(--meth-post);
}

.meth-delete {
    background-color: var(--meth-delete);
}

/* Sidenav  */

#scrollingNav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    padding: 0;
    background: var(--sidenav-bg);
    border-right: 1px solid var(--sidenav-border);
    font-family: 'Segoe UI', sans-serif;
    box-shadow: 2px 0 12px rgba(118, 115, 230, 0.08);
    backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.sidenav-search {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    transition: border-color 0.3s ease;
}

.search-input {
    width: 100%;
    padding: 10px 32px 10px 16px;
    font-size: 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
    background: var(--input-bg);
    color: var(--text-primary);
}

.search-input:focus {
    border-color: var(--primary);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(118, 115, 230, 0.1);
}

.search-reset {
    position: absolute;
    right: 24px;
    top: 24px;
    font-size: 16px;
    color: #aaa;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.search-reset:hover {
    color: var(--primary);
}

.sidenav {
    height: 100%;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    padding-bottom: 70px;
}

.sidenav li {
    margin: 0;
    transition: all 0.2s ease;
}

.sidenav a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    position: relative;
}

.sidenav a:hover {
    background: linear-gradient(90deg, rgba(118, 115, 230, 0.1) 0%, transparent 100%);
    color: var(--primary);
    border-left-color: var(--primary);
    /*padding-left: 20px;*/
}

.nav-section {
    padding: 14px 16px 8px;
    font-size: 11px;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.8px;
    font-weight: 700;
    background-color: transparent;
}

.sidenav>li.nav-header {
    margin-top: 8px;
    margin-bottom: 8px;
}

.sidenav>li.nav-header>a {
    padding: 8px 16px;
    font-weight: 700;
    font-size: 15px;
    background: linear-gradient(90deg, rgba(118, 115, 230, 0.08) 0%, transparent 100%);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}

.sidenav>li.active>a,
.sidenav>li.selected-for-activate>a {
    position: relative;
    background: linear-gradient(90deg, rgba(118, 115, 230, 0.15) 0%, transparent 100%);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 20px;
    font-weight: 600;
}

.sidenav .pull-left.typ-name span {
    text-transform: uppercase;
}

.nav-list-item .typ-name {
    color: #fff;
    padding: 2px;
    padding-right: 0;
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px;
    min-width: 37px;
}

.nav-list-item .typ-name.typ-get {
    color: var(--meth-get);
}

.nav-list-item .typ-name.typ-post {
    color: var(--meth-post);
}

.nav-list-item .typ-name.typ-put {
    color: var(--meth-put);
}

.nav-list-item .typ-name.typ-patch {
    color: #50e3c2;
}

.nav-list-item .typ-name.typ-delete {
    color: var(--meth-delete);
}

.nav-list-item .typ-name.typ-head {
    color: #9012fe;
}

.nav-list-item .typ-name.typ-options {
    color: #0d5aa7;
}

/* Side nav logo image */
.sidenav-logo-image {
    padding: 16px 10px 0 10px;
}

/* Side nav search */

.sidenav-search {
    padding: 16px 10px 10px;
}

.sidenav-search .search {
    height: 26px;
}

.search-reset {
    position: absolute;
    display: block;
    cursor: pointer;
    height: 20px;
    text-align: center;
    right: 26px;
    top: 16px;
    background-color: transparent;
}

/* Content */

.well {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 20px;
    transition: all 0.3s ease;
}

.well:hover {
    box-shadow: var(--shadow-md);
}

@media screen and (max-width: 767px) {
    #content {
        margin-top: 58px;
    }

    .row-offcanvas {
        position: relative;
        -webkit-transition: all .25s ease-out;
        -o-transition: all .25s ease-out;
        transition: all .25s ease-out;
        left: 0;
    }

    .row-offcanvas,
    .row-offcanvas * {
        transition: all 0.5s ease-out;
    }

    .row-offcanvas .sidebar-offcanvas {
        position: absolute;
        top: 0;
        left: -200px !important;
        width: 100%;
        max-width: 200px;
    }

    .nav-toggle {
        position: fixed;
        left: 0;
        background: var(--dark-gray);
        width: 100%;
    }

    .nav-toggle .btn {
        margin: 10px 14px;
    }

    .nav-toggle .icon-bar {
        display: block;
        width: 22px;
        height: 2px;
        border-radius: 1px;
        background-color: var(--white);
    }

    .nav-toggle .icon-bar+.icon-bar {
        margin-top: 4px;
    }

    .row-offcanvas.active .sidebar-offcanvas {
        left: 0 !important;
        /* 6 columns */
    }

    .row-offcanvas.active,
    .row-offcanvas.active .nav-toggle {
        left: 200px;
    }

    .row-offcanvas.active .nav-toggle .btn>.icon-bar {
        transform: rotate(45deg) translate(-4px, -4px);
    }

    .row-offcanvas.active .nav-toggle .btn .icon-bar:nth-child(2) {
        display: none;
    }

    .row-offcanvas.active .nav-toggle .btn .icon-bar:nth-child(3) {
        transform: rotate(-45deg);
    }
}

/* Prism - Toolbar  */

div.code-toolbar.code-toolbar>.toolbar {
    top: .4rem;
    right: .4rem;
}

div.code-toolbar.code-toolbar>.toolbar>.toolbar-item>button:hover,
div.code-toolbar.code-toolbar>.toolbar>.toolbar-item>button:focus {
    color: var(--white);
}

div.code-toolbar.code-toolbar>.toolbar>.toolbar-item>button {
    color: var(--light-gray);
    padding: .5em;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: 0 2px 8px rgba(118, 115, 230, 0.3);
    border-radius: 4px;
    transition: all 0.2s ease;
}

div.code-toolbar.code-toolbar>.toolbar>.toolbar-item>button:hover {
    box-shadow: 0 4px 12px rgba(118, 115, 230, 0.4);
}

/* Code toolbar container styling for scroll */

div.sample-request-response .code-toolbar {
    max-height: 500px;
    overflow-y: auto;
}

/* Compare  */

ins {
    background: #60d060;
    text-decoration: none;
    color: #000000;
}

del {
    background: #f05050;
    color: #000000;
}

.label-ins {
    background-color: #60d060;
}

.label-del {
    background-color: #f05050;
    text-decoration: line-through;
}

pre.ins {
    background-color: #60d060;
}

pre.del {
    background-color: #f05050;
    text-decoration: line-through;
}

table.ins th,
table.ins td {
    background-color: #60d060;
}

table.del th,
table.del td {
    background-color: #f05050;
    text-decoration: line-through;
}

tr.ins td {
    background-color: #60d060;
}

tr.del td {
    background-color: #f05050;
    text-decoration: line-through;
}

/* Spinner */

#loader {
    position: absolute;
    width: 100%;
}

#loader p {
    padding-top: 80px;
    margin-left: -4px;
}

.spinner {
    margin: 200px auto;
    width: 60px;
    height: 60px;
    position: relative;
}

.container1>div,
.container2>div,
.container3>div {
    width: 14px;
    height: 14px;
    background-color: #0088cc;

    border-radius: 100%;
    position: absolute;
    -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
    animation: bouncedelay 1.2s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.spinner .spinner-container {
    position: absolute;
    width: 100%;
    height: 100%;
}

.container2 {
    -webkit-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
}

.container3 {
    -webkit-transform: rotateZ(90deg);
    transform: rotateZ(90deg);
}

.circle1 {
    top: 0;
    left: 0;
}

.circle2 {
    top: 0;
    right: 0;
}

.circle3 {
    right: 0;
    bottom: 0;
}

.circle4 {
    left: 0;
    bottom: 0;
}

.container2 .circle1 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.container3 .circle1 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.container1 .circle2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.container2 .circle2 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

.container3 .circle2 {
    -webkit-animation-delay: -0.7s;
    animation-delay: -0.7s;
}

.container1 .circle3 {
    -webkit-animation-delay: -0.6s;
    animation-delay: -0.6s;
}

.container2 .circle3 {
    -webkit-animation-delay: -0.5s;
    animation-delay: -0.5s;
}

.container3 .circle3 {
    -webkit-animation-delay: -0.4s;
    animation-delay: -0.4s;
}

.container1 .circle4 {
    -webkit-animation-delay: -0.3s;
    animation-delay: -0.3s;
}

.container2 .circle4 {
    -webkit-animation-delay: -0.2s;
    animation-delay: -0.2s;
}

.container3 .circle4 {
    -webkit-animation-delay: -0.1s;
    animation-delay: -0.1s;
}

@-webkit-keyframes bouncedelay {

    0%,
    80%,
    100% {
        -webkit-transform: scale(0.0)
    }

    40% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes bouncedelay {

    0%,
    80%,
    100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    40% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

/* Tabs */

ul.nav-tabs {
    margin: 0;
}

p.deprecated span {
    color: var(--red);
    font-weight: bold;
    text-decoration: underline;
}

/* Footer */

#generator {
    padding: 10px 0;
    display: none;
}

/* Print */

@media print {

    #sidenav,
    #version,
    #versions,
    section .version,
    section .versions {
        display: none;
    }

    #content {
        margin-left: 0;
    }

    a {
        text-decoration: none;
        color: inherit;
    }

    a:after {
        content: " [" attr(href) "] ";
    }

    p {
        color: #000000
    }

    pre {
        background-color: #ffffff;
        color: #000000;
        padding: 10px;
        border: #808080 1px solid;
        border-radius: 6px;
        position: relative;
        margin: 10px 0 20px 0;
    }

}

/* Modern Typography */

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 20px 0 10px 0;
    color: #1a1a2e;
}

h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin: 25px 0 15px 0;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: #2d2d2d;
    margin: 20px 0 12px 0;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
}

/* Code styling */

pre {
    background: linear-gradient(to right, var(--code-bg) 0%, var(--code-bg) 100%);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

code {
    font-family: 'Courier New', 'Source Code Pro', monospace;
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--code-color);
    font-size: 0.95em;
}

pre code {
    background: transparent;
    padding: 0;
    color: inherit;
}

/* Label styling */

.label {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.label.optional {
    background-color: #e3f2fd;
    color: var(--meth-get);
}

.label.required {
    background-color: #ffebee;
    color: var(--red);
}

/* Additional enhancements */

.default-value,
.type-size {
    font-style: italic;
    font-size: 95%;
    color: #666;
}

.color-primary {
    color: var(--primary);
}

.bg-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Theme Toggle Buttons */

.theme-toggle-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.theme-toggle-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(118, 115, 230, 0.3);
    transition: all 0.3s ease;
    position: relative;
    outline: none;
}

.theme-toggle-btn::before {
    content: attr(data-emoji);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

.theme-toggle-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(118, 115, 230, 0.4);
}

.theme-toggle-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118, 115, 230, 0.3);
}

.theme-toggle-btn.light-btn {
    display: none;
}

:root[data-theme="dark"] .theme-toggle-btn.light-btn {
    display: flex;
}

:root[data-theme="dark"] .theme-toggle-btn.dark-btn {
    display: none;
}

/* Tooltip for theme toggle */

.theme-toggle-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 70px;
    right: 0;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.theme-toggle-btn:hover::after {
    opacity: 1;
}

/* Select style for content type switcher */

:root[data-theme="dark"] .sample-header-content-type-switch {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sample-header-content-type-switch {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sample-header-content-type-switch:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(118, 115, 230, 0.1);
}