@font-face {
    font-family: "Mona Sans";
    src: url(../fonts/MonaSans-Regular.ttf)format('truetype');
}

@font-face {
    font-family: "TikTok Sans";
    src: url(../fonts/new/TikTokSans-Regular.ttf)format('truetype');
}

@font-face {
    font-family: "Gruppo";
    src: url(../fonts/Gruppo.ttf)format('truetype');
}

/*new fornts*/
@font-face {
    font-family: "JetBrains Mono";
    src: url(../fonts/JetBrainsMono-Regular.ttf)format('truetype');
}

@font-face {
    font-family: 'Montserrat Thin';
    src: url(../fonts/Montserrat.ttf) format("truetype");
}

/*new fornts*/

:root {
    --main-font: 'Mona Sans';
    --tree-font: 'Montserrat Thin';
    --mirror-font: 'JetBrains Mono';
    --text-size: 0.92rem;
}

* {
    text-decoration: none !important;
}

body {
    font-family: var(--main-font);
    background-color: var(--bs-theme-bg-body);
}

.site-name {
    font-family: "Gruppo" !important;
    font-size: 38px;
    color: var(--bs-color-00);
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

.vertical-collpsed .site-name {
    font-size: 0;
    opacity: 0;
}

.btn-toggle-custom {
    transition: all 0.3s ease-in-out;
}

.vertical-collpsed .btn-toggle-custom {
    font-size: 0;
    opacity: 0;
}

/* shared */
.bs-radius {
    border-radius: 0.375rem !important;
}

.highlight {
    background: #ffff00bf;
}

.pull-right {
    float: right !important;
}

.pull-left {
    float: left !important;
}

.h-100vh {
    min-height: 100vh;
}

.h-70vh {
    min-height: 70vh;
}

.h-60vh {
    min-height: 60vh;
}

.h-50vh {
    min-height: 50vh;
}

.mxh-100vh {
    max-height: 100vh;
}

.h-100p {
    height: 100% !important;
}

.p-16 {
    padding: 16px !important;
}

.mb-1r {
    margin-bottom: .1rem !important;
}

.h-over,
.h-over a:hover {
    background-color: var(--bs-hover-bg);
}

.border-b-1 {
    border-bottom: 1px solid var(--bs-border-b-color);
}

.p-812px {
    padding: 8px 12px !important;
}

.m-6px {
    margin-top: 6px !important;
}

.p-6px {
    padding: 6px !important;
}

.bg-transparent {
    background-color: transparent !important;
}

.ptb-1r {
    padding: 1rem 1px !important;
}

.txt-default {
    color: var(--bs-color-00);
}

.l-height-3 {
    line-height: 36px;
}

.w-600 {
    max-width: 600px;
}

.w-680 {
    max-width: 680px;
}

.p--24px {
    padding: 7.4px 12px !important;
}

.pd-1 {
    padding: 10px !important;
}

.radius-0 {
    border-radius: 0 !important;
}

.radius-2 {
    border-radius: 2px !important;
}

.radius-6 {
    border-radius: 6px !important;
}

.text-justify {
    text-align: justify;
}

.box-shadow {
    box-shadow: 0 0 6px var(--bs-shadow-color) !important
}

.d-flext-start {
    display: flex;
    justify-content: start;
}

.d-flex-justified {
    display: flex;
    justify-content: space-between;
}

.d-flex-centered {
    display: flex;
    justify-content: center;
}

.d-flex-v-center {
    display: flex;
    align-items: center;
}

.mr-1 {
    margin-right: 6px !important;
}

.bs-btn-default {
    font-size: 15px;
    padding: 5px 10px;
}

.flex-justify {
    justify-content: space-around;
}

.p-l6 {
    padding-left: 6px !important;
}

.pd-8x {
    padding: 7.4px 2px !important;
}

.border-1 {
    border: 1px solid var(--bs-border-b-color);
}

.border-2 {
    border: 2px solid var(--bs-border-b-color);
}

.pl-1 {
    padding-left: 1.5rem !important;
}

.p-10 {
    padding: 10px !important;
}

.h-auto {
    height: auto !important;
}

.p-10px {
    padding: 10px !important;
}

.c-pointer {
    cursor: pointer !important
}

/* shared */
.border-r-0 {
    border-right: 0 !important;
}

.top-2 {
    top: 2rem !important;
}

.fs-09 {
    font-size: 0.9rem !important;
}

.end-2 {
    right: 2rem !important;
}

.p-03 {
    padding: 0.75rem !important;
}

.form-check-input:checked[type="checkbox"] {
    --bs-form-check-bg-image: none !important;
}

.nav-tabs-custom .nav-item a {
    position: relative;
}

    .nav-tabs-custom .nav-item a.active {
        color: var(--bs-color-00);
        background: transparent;
        border: 0;
        outline: 0;
        box-shadow: none;
    }

    .nav-tabs-custom .nav-item a::after {
        content: "";
        background: var(--bs-border-b-color-01);
        height: 2px;
        position: absolute;
        width: 100%;
        left: 0;
        bottom: 0px;
        -webkit-transition: all 250ms ease 0s;
        transition: all 250ms ease 0s;
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    .nav-tabs-custom .nav-item a.active::after {
        -webkit-transform: scale(1);
        transform: scale(1);
        border-bottom: 2px solid;
        border-image: linear-gradient(to right, #9880ff 0%, #e900be 100%) 1;
        border-width: 2.5px;
    }

    .nav-tabs-custom .nav-item a:not(.active) {
        color: var(--bs-gray-600);
    }

.card-box-bg {
    background-color: var(--bs-card-box-bg);
    transition: background-color 0.5s ease-in-out;
    border-radius: 18px;
}

.bg-card {
    background-color: var(--bs-theme-bg-body);
}

.card-box-link:hover .card-box-bg {
    background-color: var(--bs-card-box-hover-bg);
}

.profile-dropdown {
    background-color: var(--bs-gray-000);
}

.box-container .box {
    margin-top: 15px;
}

.i-heart {
    color: var(--bs-code-color);
}

.w-100 {
    width: 100%;
}

.word-highlight {
    color: var(--bs-code-color);
}

/*custom*/
.m-width-15 {
    min-width: 15rem !important;
}

.profile-dropdown .dropdown-item:active {
    color: var(---bs-color-00);
    background-color: transparent !important;
}

.profile-dropdown .dropdown-item:focus,
.profile-dropdown .dropdown-item:hover {
    background-color: transparent !important;
}

.logo .logo-lg {
    opacity: 1;
}

.logo .logo-sm {
    display: none;
}

.tab-content-custom .tab-pane .show {
    transition: all 0.5s ease-in-out;
}

.bs-heart-icon {
    color: var(--bs-code-color);
}

.footer,
.navbar-brand-box,
.vertical-menu,
.main-content {
    transition: all 0.3s ease-in-out;
}

.nav-tabs-custom {
    border-bottom: 0px;
}

.layout-wrapper {
    height: 100vh;
}

.blur-filter {
    backdrop-filter: blur(5px);
    background-color: var(--bs-overlay-bg);
}

.switch-theme-panel .form-check-input:focus {
    outline: 0;
    box-shadow: none !important;
}

.vertical-collpsed footer.footer {
    left: 0px;
}

.effect-none:active,
.effect-none:focus {
    background-color: transparent !important;
    box-shadow: none !important;
    color: var(--bs-color-00) !important;
}

.custom-dropdown-menu {
    --bs-dropdown-min-width: 13.5rem !important;
    border-radius: 12px !important;
}

    .custom-dropdown-menu a:hover {
        background-color: var(--bs-card-box-bg);
    }

.extra-context-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px !important;
}

/*theme toggle checkbox*/
.toggle-switch {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

    .toggle-switch label {
        cursor: pointer;
        display: flex;
        gap: 6px;
    }

        .toggle-switch label i.bi {
            vertical-align: middle;
        }

html[data-bs-theme=dark] .toggle-switch label i.bi:before {
    content: "\f496";
}

/*theme toggle checkbox*/
/* Sidebar toggle switch layout */
.bottom-profile .profile {
    padding: .4rem 1.5rem;
    width: 100%;
    height: 45px;
    background-color: var(--bs-card-box-hover-bg);
    line-height: 20px;
}

.vertical-collpsed .bottom-profile .profile a i.bi,
.vertical-collpsed .bottom-profile .profile a {
    font-size: 0px;
}

.theme-toggle label,
.bottom-profile .profile ul li a,
.bottom-profile .profile a {
    font-size: var(--text-size);
}


    .bottom-profile .profile a i.bi {
        font-size: 17px;
    }

    .bottom-profile .profile a:after {
        display: none !important;
    }

ul.bottom-menu li a {
    font-size: 13px !important;
    color: var(--bs-color-00);
}

.vertical-collpsed .simplebar-mask {
    width: 0px;
    transition: all 0.3s ease-in-out;
}

.verticle-middle-c a,
.verticle-middle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.35rem 1rem;
}

    .verticle-middle-c a > i {
        font-size: 18px;
    }

.dropdown-nav-visible.show {
    transform: translate3d(0px, -40px, 0px) !important;
}

.custom-modal-content {
    min-height: 30rem;
    overflow-y: auto;
    border-radius: 1.25rem !important;
    border: 1px solid var(--bs-border-b-color);
    box-shadow: 0 0 12px var(--bs-gray-700);
}

.v-pills-tab {
    background-color: var(--bs-gray-000);
    border-right: 1px solid var(--bs-border-b-color);
}

    .v-pills-tab .nav-link.active,
    .nav-pills .show > .nav-link {
        color: var(--bs-color-00);
        background-color: var(--bs-modal-sidebar-bg);
    }

    .v-pills-tab a.v-pills-item {
        border-radius: 10px;
        color: var(--bs-color-00);
    }

.close-modal {
    font-size: 12px;
    color: var(--bs-color-00);
    padding: 10px;
    margin: 2px 2px 1rem 8px;
}

    .close-modal:hover {
        background-color: var(--bs-filter-bg);
        filter: var(--bs-close-filter) !important;
    }

.about-modal-title {
    border-bottom: 1px solid var(--bs-border-b-color);
    font-weight: 500;
    color: var(--bs-color-00);
    padding-bottom: 12px;
    font-size: 1.16rem;
}

.v-pills-tabContent {
    height: 30rem;
    box-sizing: border-box;
    padding: 10px 1.5rem !important;
    margin-bottom: 1rem;
    margin-top: 1rem !important;
}

    .v-pills-tabContent ul li,
    .v-pills-tabContent ol li,
    .v-pills-tabContent p {
        text-align: justify;
        color: var(--bs-color-00);
        line-height: 21px;
        font-size: var(--text-size);
    }

    .v-pills-tabContent p {
        margin-bottom: 8px;
    }

    .v-pills-tabContent .text-small {
        font-size: 14px !important;
    }

/*---------custom Scroll Bar-----*/
*::-webkit-scrollbar-track {
    background-color: var(--bs-card-box-bg);
}

*::-webkit-scrollbar {
    width: 5.5px;
    height: 5.5px;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--bs-scroll-bar-color);
}

/*---------custom scroll Bar-----*/
ol.faq-list {
    padding-left: 1rem !important;
}

.faq-list li {
    margin-bottom: 8px;
    text-align: justify;
}

ul.bottom-menu {
    list-style: none;
    padding: 0;
}

    ul.bottom-menu li {
        display: inline-block;
    }

.btn-toggle-custom {
    justify-content: space-between;
    align-items: center;
    width: 100%;
    text-align: left;
    background: none;
    padding: 4px 12px;
}

.main-menu.has-arrow::after {
    content: "\f282";
    font-family: bootstrap-icons !important;
    display: block;
    float: right;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    font-size: 1rem;
    line-height: 25px;
    font-weight: 600;
}

.main-menu[aria-expanded="true"]::after {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.sub-menu.has-arrow::after {
    content: "\f64d";
    font-family: bootstrap-icons !important;
    display: block;
    float: right;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    font-size: 1rem;
    line-height: 25px;
    font-weight: 600;
}

.sub-menu[aria-expanded="true"]::after {
    content: "\f63b";
}

.bs-icon i.bi {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bs-bs-icon-border);
    border-radius: 10px;
}

.vertical-menu-btn .v-sidebar-toggle {
    padding: 5px;
    font-size: 18px;
}

.bs-icon .fullscreen-icon {
    padding: 6px;
    font-size: 16px;
}

.bs-setting-icons a i.bi {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.btn-toggle-custom i.bi {
    font-size: 17px;
    margin-right: 6px;
}

.sidebar-menu {
    transition: all 0.3s ease-in-out;
}

    .sidebar-menu ul li a {
        font-size: var(--text-size);
    }

.vertical-collpsed .sidebar-menu {
    opacity: 0;
    display: none;
}

/* Left vertical sidebar dark gray override */
.navbar-brand-box {
    background-color: #2f343a !important;
    border-right: 1px solid #3a4047 !important;
}

    .navbar-brand-box .site-name,
    .navbar-brand-box .title-logo {
        color: #d8dde3 !important;
    }

.vertical-menu {
    background-color: #2f343a !important;
    border-right: 1px solid #3a4047 !important;
}

    .vertical-menu .gt-sidebar-scroll,
    .vertical-menu #sidebar-menu {
        background-color: #2f343a;
    }

    .vertical-menu .bottom-profile .profile {
        background-color: #212529;
    }

    .vertical-menu #sidebar-menu .menu-title,
    .vertical-menu #sidebar-menu ul li a,
    .vertical-menu #sidebar-menu ul li a i {
        color: #d8dde3 !important;
    }

a.settings-button {
    color: #d8dde3 !important;
}
a.settings-button:hover {
    color: #d8dde3 !important;
}
.vertical-menu #sidebar-menu ul li a:hover,
.vertical-menu #sidebar-menu ul li a:hover i {
    color: #ffffff !important;
    background-color: #3a4047;
}

.vertical-menu #sidebar-menu .mm-active > a,
.vertical-menu #sidebar-menu a.active,
.vertical-menu #sidebar-menu .active-line,
.vertical-menu #sidebar-menu .single-active-line {
    color: #ffffff !important;
    border-radius: 0.5rem;
    font-weight:600;
}

    .vertical-menu #sidebar-menu .mm-active > a i,
    .vertical-menu #sidebar-menu a.active i,
    .vertical-menu #sidebar-menu .active-line i,
    .vertical-menu #sidebar-menu .single-active-line i {
        color: #ffffff !important;
    }

.has-childs {
    border-left: 1px solid #d2d2d2;
    margin-left: 26px;
}

    .has-childs li {
        padding: 0 11px;
    }

.btn-toggle-custom i.bi {
    padding: 4px 6px;
    border-radius: 7px;
}

.text-area {
    border-radius: 0;
    padding: 4px .75rem;
    border: 0;
}

.code-area-card {
    border-radius: 0px;
}

.nav-underline {
    gap: 0px;
}

    .nav-underline .nav-link:focus,
    .nav-underline .nav-link:hover {
        border-bottom-color: transparent;
    }

.bg-whiteoff {
    background: var(--bs-tabpane-header-bg);
}

.nav-button-tab .nav-link {
    color: var(---bs-color-00) !important;
    border: 0;
}

.nav-tabs-custom {
    background-color: var(--bs-tabpane-header-bg);
}

ul.file-upload-drop-down {
    width: 300px;
    padding: 8px;
}

ul.file-download-drop-down {
    width: 250px;
}

.nav-button-tab {
    padding: 0 12px;
}

    .nav-button-tab li.upload-file a {
        font-size: 15px;
        padding: 8.1px .8rem;
        margin: 0;
        border: 0;
    }

    .nav-button-tab li.download-files a {
        font-size: 15px;
        padding: 8.1px 4px;
        margin: 0;
        border: 0;
    }

    .nav-button-tab li.upload-file a i.bi {
        margin-right: 4px;
    }

p.error-message {
    font-size: 0.85rem;
    padding: 4px 0 0 0px;
    color: var(--bs-error-msg-color);
}

/*Code Mirror*/
.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
    padding: 0 6px !important;
}

.row pre {
    font-size: 13px;
    line-height: 21px;
}

pre[class*="language-"] {
    border: none !important;
    text-shadow: none !important;
}

code[class*=language-],
pre[class*=language-],
code span.token {
    font-size: 14px !important;
    font-family: var(--mirror-font) !important;
    text-shadow: none !important;
}

:not(pre) > code[class*=language-],
pre[class*=language-] {
    background: transparent !important;
}

pre[class*=language-] {
    padding: 1rem !important;
    margin: 0 !important;
    overflow: visible !important;
}

/*CodeMirror*/
.CodeMirror-lines {
    font-size: 13px;
    font-family: var(--mirror-font) !important;
}

.CodeMirror-activeline-background {
    background: #f3f3f3;
}

.CodeMirror-activeline-gutter {
    background: #f3f3f3;
}

.dark .CodeMirror-activeline-gutter .CodeMirror-linenumber {
    color: #cbd0dd;
    font-weight: bold;
}

.CodeMirror-activeline-gutter .CodeMirror-linenumber {
    color: #333;
    font-weight: bold;
}

.CodeMirror-gutters {
    border-right: 1px solid #e5e7e966 !important;
    background-color: #fff !important;
}

.CodeMirror pre.CodeMirror-line,
.CodeMirror pre.CodeMirror-line-like {
    padding: 0 6px !important;
}

.dark .drop-tab .input-group input[type='text'] {
    background: #141824;
}

.dark .CodeMirror-scrollbar-filler,
.CodeMirror-gutter-filler {
    background-color: #1f2530;
}

/*CodeMirror*/
/*Mode - JSON*/
.cm-s-eclipse .CodeMirror-line > span > span.cm-property {
    color: #244eb1 !important;
}

/*Code Mirror*/

.upload_url {
    cursor: pointer;
}

.clipboard-check::before {
    content: "\f290" !important;
}



.bs-loader,
.bs-text-loader,
.bs-result-loader {
    position: relative;
}

/*TREE*/

.json-tree-container {
    font-family: ui-monospace, monospace;
    font-size: 14px;
    color: var(--bs-color-00);
    padding: 10px;
}

.json-tree {
    list-style: none;
    padding-left: 18px;
    margin: 0;
    position: relative;
}

    .xml-tree li,
    .json-tree li {
        margin: 6px 0;
        line-height: 1.5;
        position: relative;
        list-style: none;
        font-family: var(--tree-font);
        font-size: 15px;
    }

        .xml-tree li::before,
        .json-tree li::before {
            content: "";
            position: absolute;
            top: 0px;
            left: -24px;
            bottom: 0;
            width: 1px;
            background: var(--bs-border-r-color);
        }

        .xml-tree li:last-child::before,
        .json-tree li:last-child::before {
            height: 20px;
        }

details > summary {
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 18px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::marker {
    content: '';
    display: none;
}

details > summary::before {
    content: "\f4fa";
    font-family: bootstrap-icons !important;
    position: absolute;
    left: 0;
    font-size: 16px;
    transition: all 0.2s ease;
}

details[open] > summary::before {
    content: "\f2e6";
}

.xml-tree li .xml-attr-key,
.xml-tree li .key,
.json-tree li .key {
    font-weight: 600;
    margin-left: 6px;
    font-size: 14px;
    color: var(--bs-color-00);
    text-transform: capitalize;
}

.xml-tree li .xml-attr-val {
    font-size: 14px;
    color: var(--bs-color-00);
}

.xml-value {
    font-size: 14px;
}

li span.type-string {
    color: var(--bs-cm-string);
    font-weight: 600;
    font-size: 13px;
}

li span.type-number {
    color: var(--bs-cm-number);
    font-size: 14px;
}

span.type-null {
    color: #af1a65;
}

li span.type-boolean {
    color: #0075b6;
}

details summary .type-count {
    opacity: 0.4;
    font-size: 14px;
}

.search-textbox {
    padding: 2px;
}

    .search-textbox .input-group-text {
        height: 32px;
        padding: 6px 8px 4px 8px;
        border: 0;
        border-bottom: 1px solid #eee;
        background: transparent;
        border-radius: 0;
    }

    .search-textbox .text-box {
        height: 32px;
        border: 0;
        border-bottom: 1px solid #eee;
        border-radius: 0;
        background: transparent;
        border-radius: 0;
    }

        .search-textbox .text-box:focus {
            box-shadow: none;
            outline: 0;
        }

    .search-textbox .input-group-text i.bi {
        font-size: 14px;
    }

.minify-text i.bi::before {
    content: "\f14c";
}

/* ace editor */
.custom-ace-1 {
    height: 18vh;
    min-height: 18vh;
}

.custom-ace-2 {
    height: 25vh;
    min-height: 25vh;
}

.custom-ace-lg-1 {
    height: 80vh;
    min-height: 80vh;
}

.custom-ace-fc {
    height: 70vh;
    min-height: 70vh;
}

.custom-ace-seo {
    height: 100vh;
    min-height: 100vh;
}

.custom-mirror-cc {
    height: 75vh;
    min-height: 75vh;
}

.custom-mirror-fc {
    height: 60vh;
    min-height: 60vh;
}

.custom-mirror-tc {
    height: 50vh;
    min-height: 50vh;
}

.custom-mirror .CodeMirror pre.CodeMirror-line,
.custom-mirror .CodeMirror pre.CodeMirror-line-like {
    font-size: 1.1em;
}

.custom-mirror .CodeMirror-scroll {
    height: 100% !important;
}

.custom-mirror .CodeMirror {
    height: 100% !important;
    min-height: 100% !important;
}

.desc-panel pre code {
    color: rgb(127, 4, 214);
    font-size: 15px;
}

.desc-panel p {
    line-height: 21px;
}

.has-dropdown-arrow::after {
    display: inline-block;
    margin-left: .255em;
    vertical-align: .255em;
    content: "\f282";
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: 400 !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.200em;
    -webkit-font-smoothing: antialiased;
    border: 0;
}

.dropdown-toggle::after {
    display: none !important;
}

.code-area-card a.nav-link i.bi {
    vertical-align: middle;
}

button.btn.btn-default:active {
    border-color: var(--bs-border-b-color);
}

button.btn.btn-default {
    border: 1px solid var(--bs-border-b-color);
}

.btn.btn-default:hover {
    background-color: var(--bs-btn-hover-bg);
}

/*code line numbers*/
.code-block {
    position: relative;
    background: var(--bs-card-box-bg);
    border: 1px solid var(--bs-border-b-color);
    border-radius: 6px;
    padding-left: 1.5em;
    overflow: auto;
}

    .code-block pre {
        font-size: 14px;
        padding: 12px 0;
        margin: 0;
    }

.line-numbers {
    counter-reset: linenumber;
    white-space: pre;
    font-family: monospace;
    line-height: 1.5;
}

    .line-numbers code,
    .line-numbers {
        display: block;
    }

        .line-numbers::before {
            content: "";
        }

        .line-numbers span {
            display: block;
            counter-increment: linenumber;
            text-align: left;
        }

            .line-numbers span::before {
                content: counter(linenumber);
                display: inline-block;
                width: 2em;
                color: #888;
            }

/*buttons*/
.btn-custom {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    border-radius: 6px;
    background-color: transparent;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-custom-success {
    color: var(--bs-theme-bg-body);
    background-color: #00c281;
    border-color: #00c281;
}

    .btn-custom-success:hover {
        background-color: #096;
        border-color: #096;
    }

/*buttons*/

.has-childs a:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.rightbar-title h5 i.bi {
    vertical-align: middle;
}

.json-tree-benefits li {
    font-weight: 600;
}

.copy-to-clipboard i.bi-check2-circle {
    color: green;
}

/*error panel*/
.error-panel {
    position: absolute;
    display: none;
}

    .error-panel p {
        font-size: 14px;
        color: var(--bs-error-msg-color);
    }

.modal-md {
    width: 390px !important;
}

.modal-footer {
    padding: 4px 10px;
}

.item-hover,
.icon-hover i.bi {
    padding: 3px 5px;
    border-radius: 4px;
    border: 1px solid transparent;
}

    .item-hover:hover,
    .icon-hover:hover i.bi {
        border-color: var(--bs-border-r-color);
        background: var(--bs-btn-hover-bg);
    }

/*loader*/
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff57;
    z-index: 9999
}

.loader,
.loader:before,
.loader:after {
    background: #000;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    width: 1em;
    height: 4em;
}

.loader {
    color: #000;
    text-indent: -9999em;
    margin: 88px auto;
    position: fixed;
    z-index: 99999;
    cursor: wait;
    top: 30%;
    left: 50%;
    font-size: 7px;
    -webkit-transform: translateZ(10);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

    .loader:before,
    .loader:after {
        position: fixed;
        top: 0;
        content: "";
    }

    .loader:before {
        left: -1.5em;
        -webkit-animation-delay: -0.32s;
        animation-delay: -0.32s;
    }

    .loader:after {
        left: 1.5em;
    }

@-webkit-keyframes load1 {

    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {

    0%, 80%, 100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

.loader_overlay {
    position: fixed;
    height: 100%;
    width: 100%;
    opacity: 0.2;
    z-index: 5;
}



.cloud-upload {
    padding: 0 9px !important;
}

.form-check-input:focus {
    box-shadow: none !important;
}

.download-file {
    padding: 0px 8px;
    border-width: 0 0 0 1px;
    border-style: solid;
    border-color: var(--bs-border-b-color);
    cursor: pointer;
}

/*text compare*/
.line {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.line-number {
    min-width: 36px;
    padding: 0.09rem 6px;
    user-select: none;
    color: var(--bs-line-number-color);
    background: transparent;
    text-align: right;
    font-size: 14px;
    margin-right: 0.5rem;
    position: relative;
}

.pre {
    font-family: monospace;
    white-space: pre-wrap;
    word-break: break-word;
    /* prevents overflow */
    display: inline-block;
    /* allows multiline inside span */
}

/* gray placeholder */
.changed-gray-line {
    background: var(--bs-graline-space-bg-color);
}

/* regular diff colors */
.line-modified.content-added,
.line-added,
.empty-line-added {
    background: #dafbe1;
    color: var(--bs-mod-line-text-color) !important;
}

.line-removed,
.empty-line-removed {
    background: #fdeaea;
    color: var(--bs-mod-line-text-color) !important;
}

.line-modified {
    background: #ffebe9;
    color: var(--bs-mod-line-text-color) !important;
}

/* .line-same {
    background: white;
} */

.added {
    background: #6ddfaa;
    color: var(--bs-mod-line-text-color) !important;
}

.removed {
    background: #f4b3b3;
    color: var(--bs-mod-line-text-color) !important;
}

.line-removed .removed {
    background: transparent;
}

.changed-gray-line .line-number {
    display: none;
}

.line-modified.content-added .line-number,
.line-added .line-number,
.empty-line-added .line-number {
    background: #6ddfaa;
    color: var(--bs-mod-line-text-color) !important;
}

.line.line-modified.content-removed .line-number,
.line-removed .line-number,
.empty-line-removed .line-number {
    background: #f4b3b3;
    color: var(--bs-mod-line-text-color) !important;
}

.line-removed .line-number,
.empty-line-removed .line-number,
.empty-line-added .line-number,
.line-added .line-number {
    position: relative;
}

    .line-modified.content-added .line-number::after,
    .line-added .line-number:after,
    .empty-line-added .line-number:after {
        content: '+';
        right: -12px;
        position: absolute;
    }

    .line-modified .line-number:after,
    .line-removed .line-number:after,
    .empty-line-removed .line-number:after {
        content: '-';
        right: -12px;
        position: absolute;
    }

.line-same .line-number {
    border-right: 1px solid var(--bs-border-r-color);
}

.line-added .added {
    background: transparent;
}

/*text compare*/

.cog-menu {
    border-radius: 100%;
    border: 0;
    background: transparent;
    padding: 8px 0;
}

.fw-bold {
    font-weight: 600 !important;
}

/*select list*/
.schema-form-card-body .bootstrap-select {
    width: 50% !important;
}

.bs-select-inside .bootstrap-select,
.bs-select .bootstrap-select {
    width: 100% !important;
}

    .bs-select .bootstrap-select button.dropdown-toggle {
        border-radius: 0;
        border-top-right-radius: 6px;
        border-top-left-radius: 6px;
        background: var(--bs-tabpane-header-bg);
        color: var(--bs-color-00);
        border-color: transparent !important;
    }

    .bs-select-inside .bootstrap-select button.dropdown-toggle {
        background: var(--bs-tabpane-header-bg);
        color: var(--bs-color-00);
        border-color: var(--bs-border-b-color);
    }

.bs-select .dropdown-menu {
    border-radius: 0px !important;
    padding: 0 !important;
}

.bs-select input.form-control {
    border-radius: 0px !important;
}

    .bs-select-inside input.form-control:focus,
    .bs-select input.form-control:focus {
        box-shadow: none !important;
    }

.bs-select-inside .bootstrap-select button.dropdown-toggle:focus,
.bs-select .bootstrap-select button.dropdown-toggle:focus {
    outline: 0 !important;
}

.bs-select .bootstrap-select button.dropdown-toggle:active {
    background-color: transparent !important;
    border-color: transparent !important;
}


.bs-select .btn-check:checked + .btn,
.bs-select .btn.active,
.bs-select .btn.show,
.bs-select .btn:first-child:active,
.bs-select :not(.btn-check) + .btn:active,
.bs-select .bootstrap-select button.dropdown-toggle:hover {
    background-color: var(--bs-card-box-bg);
    border-color: transparent !important;
}

.filter-option-inner {
    position: relative;
}

.bs-select-inside .filter-option-inner::after,
.bs-select .filter-option-inner::after {
    content: "\f282";
    font-family: bootstrap-icons !important;
    display: block;
    float: right;
    -webkit-transition: -webkit-transform 0.2s;
    transition: -webkit-transform 0.2s;
    transition: transform 0.2s;
    transition: transform 0.2s, -webkit-transform 0.2s;
    font-size: 1rem;
    line-height: 25px;
    font-weight: 600;
    position: absolute;
    top: 0;
    right: 0;
}

.bs-select .bs-actionsbox,
.bs-select .bs-donebutton,
.bs-select .bs-searchbox {
    padding: 6px 6px;
}

.bs-select-inside .bootstrap-select > select,
.bs-select .bootstrap-select > select {
    width: 100% !important;
}

.bs-select-inside .bootstrap-select button.dropdown-toggle {
    border-color: var(--bs-border-b-color) !important;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select > select.mobile-device:focus + .dropdown-toggle {
    outline: none !important;
}

/*select list*/
.form-control:focus {
    box-shadow: none !important;
}

.d-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.d-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.d-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-icons::before {
    top: 14px;
    left: -14px;
    position: absolute;
    font-family: bootstrap-icons !important;
    padding: 2px 6px;
    border: 1px solid var(--bs-border-r-color);
    border-radius: 100%;
    background: var(--bs-light-simple-bg);
    font-size: 15px;
}

.bs_facebook::before {
    content: "\f344";
    color: #556ee6;
}

.bs_twitter::before {
    content: "\f5ef";
    color: #0d6efd;
}

.bs_youtube::before {
    content: "\f62b";
    color: #dc3545;
}

.bs_instagram::before {
    content: "\f437";
    color: #de0c9a;
}

.bs_linked_in::before {
    content: "\f472";
    color: #3347a8;
}

.bs_github::before {
    content: "\f3ed";
}

.bs_pinterest::before {
    content: "\f663";
    color: #f23232;
}

.bs_wikipedia::before {
    content: "\f8cc";
}

.bs_website::before {
    content: "\f7d5";
    color: #6472b5;
}

.remove_control {
    position: absolute;
    top: 4px;
    right: 3px;
    padding: 0px 4px;
    border-radius: 100%;
    cursor: pointer;
}

.list-item,
.extra_contct_form .list-item,
.extra_list_controls .list-item,
.extra_faqs_controls .list-item,
.extra_list_controls .list-item {
    position: relative;
    border-radius: 6px;
}

.remove_multiple_control {
    position: absolute;
    top: 59px;
    right: -13px;
    padding: 0px 4px;
    border-radius: 100%;
    cursor: pointer;
}

.w-title h5 {
    line-height: 3.6rem;
    font-size: 1.2rem;
    font-weight: 600;
}

/*file upload*/
#drag-target-box {
    border: 1px solid var(--bs-border-b-color);
    border-radius: 16px;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dropzone-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.dropzone-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.dropzone-text {
    margin-bottom: 0;
    text-align: center;
    color: #6b7280;
}

    .dropzone-text .dropzone-title {
        font-weight: 700;
        color: var(--bs-color-00);
        margin: 0 0 4px 0;
        letter-spacing: 0.3px;
    }

.dropzone-hint {
    font-size: 15px;
    color: #6b7280;
    margin: 0;
    font-weight: 400;
    text-align: center;
}

.dropzone-formats .format-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.dropzone-text .dropzone-subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    margin: 0 0 8px 0;
}

.dropzone-icon i.bi {
    font-size: 2.5rem;
}

/*File Upload & Drag*/

.custom-accordion-item {
    border-top: 1px solid var(--bs-border-b-color) !important;
    border-right: 1px solid var(--bs-border-b-color);
    border-bottom: 1px solid var(--bs-border-b-color);
    border-left: 4px solid var(--bs-border-b-color);
    border-radius: 0.375rem;
}

    .custom-accordion-item .accordion-button {
        border-radius: 0.375rem;
        box-shadow: none !important;
    }

        .custom-accordion-item .accordion-button:not(.collapsed) {
            background-color: var(--bs-active-bg);
        }

        .custom-accordion-item .accordion-button[aria-expanded="true"] {
            background-color: var(--bs-light-simple-bg);
            font-weight: 600 !important;
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

    .custom-accordion-item:not(:last-child) {
        margin-bottom: 1rem;
    }

.image-view {
    height: 210px;
}

    .image-view img {
        height: 100%;
        max-width: 100%;
        padding: 6px;
        border: 1px solid var(--bs-border-b-color);
    }

.about-info-modal .nav-pills a {
    font-size: var(--text-size);
}

.string-text-area {
    width: 100%;
    padding: 0 12px 0px 0;
    font-size: 13px;
    border: 0;
    background: transparent;
}

    .string-text-area:focus,
    .string-text-area:focus-visible {
        outline: 0;
    }

.custom-tabs {
    border: 0 !important;
}

    .custom-tabs .nav-link {
        color: var(---bs-color-00);
    }

        .custom-tabs .nav-link:not(.active):hover {
            border-color: transparent !important;
        }

    .custom-tabs .nav-link {
        font-size: var(--text-size);
        border-radius: 8px;
    }

        .custom-tabs .nav-link.active {
            font-weight: 600;
            border: 1px solid var(--bs-border-b-color);
            border-radius: 8px;
            background: var(--bs-card-box-bg);
        }

.custom-tab-content .tab-pane {
    border-radius: 8px;
}

.custom-badge {
    border-radius: 100%;
    font-size: 14px;
    height: 30px;
    width: 30px;
    text-align: center;
    padding: 4px;
    margin-right: 8px;
}

.bi-completed,
.st_completed {
    color: #096;
}

.bi-failed,
.st_failed {
    color: #ef4444;
}

.bi-partially_completed,
.st_partially_completed {
    color: #ffc107;
}

.sts_completed {
    border-left-color: #096 !important;
}

.sts_failed {
    border-left-color: #ef4444 !important;
}

.accordion-failed::after {
    display: none !important;
}

.error_m {
    color: #ef4444;
    font-size: 14px;
}

.bi-completed::before {
    content: "\f26b";
}

.bi-failed::before {
    content: "\f623";
}

.bi-partially_completed::before {
    content: "\f333";
}

.summary-details {
    display: flex;
    gap: 6px;
}

.textarea-wrapper {
    background-color: var(--bs-card-box-bg);
}

.custom-accordion-item .accordion-button::after {
    display: none !important;
}

.accordion-code-toggle {
    padding: 4px 18px;
    border: 1px solid var(--bs-border-b-color);
    border-radius: 6px;
    background: var(--bs-card-box-bg);
}

.accordion-loading-icon {
    position: absolute;
    font-size: 20px;
    animation: anim-spin 2s linear infinite;
    top: 3px;
    right: 5px;
}

@keyframes anim-spin {
    0% {
        -webkit-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.spin-span {
    height: 30px;
    width: 30px;
    background: #eff2f7;
    border-radius: 6px;
}

.bi-circle-icon {
    font-size: 22px;
    padding: 0 1rem;
}

.base-string-area-card {
    border-radius: 6px;
}

    .base-string-area-card a.nav-link i.bi {
        vertical-align: middle;
    }

.accordion-failed {
    cursor: not-allowed !important;
}

.progress-sm {
    height: 5px;
}

.progress-sec {
    padding: 0 21px;
}

.accordion-loading {
    cursor: wait !important;
}

.crypto-prop {
    min-height: 67.5vh;
}

.hash-prop {
    min-height: 63vh;
}

.codec-prop {
    min-height: 53.4vh;
}

.case-prop {
    min-height: 40vh;
}

.cc-options-wrap {
    display: block;
}

.cc-option-group {
    width: 100%;
    min-width: 0;
}

.cc-option-select {
    flex: 1;
    width: auto;
    min-width: 0;
}

.btn-label:hover {
    border-color: var(--bs-border-b-color);
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active {
    background-color: var(---bs-tabpane-header-bg) !important;
    border-color: var(--bs-border-b-color) !important;
}

.encodetypes-group,
.cryptotypes-group {
    display: flex;
    justify-content: space-around;
}

.contact_row,
.checks_group {
    border-radius: var(--bs-border-radius);
}

.bs-select-wrapper .bootstrap-select > select {
    left: 0 !important;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.sitemap-table > :not(caption) > * > * {
    font-size: 14px !important;
}

/*------ responsive table -----*/
.col-long {
    width: 42%;
}

.truncate td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.vertical-menu-btn:hover {
    background-color: transparent;
}

.sitemap-table > thead th:not(.col-long) {
    text-align: center;
}

.sitemap-table > thead th {
    background: var(--table-header-bg);
}

.bs-link {
    color: #dc3545;
}

.editor {
    line-height: 1.6;
    font-size: 14px;
    font-family: var(--mirror-font) !important;
}

.ace-eclipse .ace_gutter {
    background: transparent;
    border-right: 1px solid #eee;
}

.ace_marker-layer .ace_active-line,
.ace-eclipse .ace_gutter-active-line {
    background-color: #f7f7f7;
}

.ace-eclipse .ace_gutter-active-line {
    font-weight: bold;
    color: #495057;
}

.convert-options label {
    font-size: 15px;
}

.convert-options .effect-none:hover {
    background-color: transparent !important;
}

.convert-options .convert-actions {
    padding: 0 10px;
}

ul.convert-options {
    width: 225px;
    padding: 8px;
}

    ul.convert-options li.drop-tab {
        margin-top: 2px;
        margin-bottom: 2px;
    }

.nav-button-tab li.convert-options-item a {
    font-size: 15px;
    padding: 8.1px .8rem;
    margin: 0;
    border: 0;
}

.alert span {
    font-size: 14px;
}

.sample-code {
    font-family: var(--mirror-font);
}

.summary-sec {
    font-size: 14px;
}

/*== image to base string ==*/
.placeh-wrapper .placeholder {
    border-radius: 12px;
}

.place-image {
    height: 92px;
    border-radius: 0.375rem;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeh-sec {
    padding: 0.65rem;
}

.col-08 {
    padding: 0px 0px 0 10px;
}

.badge-soft-success {
    color: #34c38f;
    background-color: rgba(52, 195, 143, .18);
    font-size: 11px;
}

.badge-soft-danger {
    color: #f46a6a;
    background-color: rgba(244, 106, 106, .18);
}

.badge-soft-warning {
    color: #f1b44c;
    background-color: rgba(241, 180, 76, .18);
}

.failed-image {
    background: #adb5bd;
    display: flex;
    align-items: center;
    justify-content: center;
}

.in-progress-loader {
    height: 32px;
    width: 32px;
    display: block;
    border-radius: 100%;
    border: 4px solid #eff2f7;
    animation: anim-spin 1s linear infinite;
    border-top-color: #50a5f1;
}

@keyframes anim-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.file-size-sec {
    font-size: 15px;
}

.string-actions {
    font-size: 14px;
    position: absolute;
    bottom: 10px;
    right: 12px;
    display: flex;
    gap: 6px;
}

span.string-actions i {
    padding: 4px 7.5px;
    border: 2px solid #495057a6;
    border-radius: 100%;
    cursor: pointer;
}

.decode-details-action {
    padding: 4px 8px;
    font-size: 15px;
}

.bs-active {
    background: var(--bs-active) !important;
}

.control-input {
    border-radius: 0px;
    border-top-right-radius: 42px;
    border-bottom-right-radius: 42px;
    padding-right: 2rem !important;
}

.control-actions {
    border-radius: 0px;
    border-top-left-radius: 42px;
    border-bottom-left-radius: 42px;
}

.progress-box {
    height: 100px;
    border: 2px solid var(--bs-border-b-color);
    width: 100px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.file-wrapper {
    transition: all 0.5s ease-in-out;
}

ul.sm-primary-details li,
ul.sitemap-details li {
    font-size: 14.5px;
    padding: 1px 0;
    display: flex;
    gap: 10px;
}

    ul.sm-primary-details li span,
    ul.sitemap-details li span {
        font-weight: 600;
    }

.sitemap-table thead th:first-child {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.sitemap-table thead th:last-child {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

.ls-none li {
    list-style: none !important;
}

.start-crawl:disabled {
    cursor: wait;
}

.bs-gap-01 {
    gap: .40rem !important;
}

.clear-input {
    position: absolute;
    top: 16px;
    right: 10px;
    cursor: pointer;
}

.site-url-card {
    border-radius: 42px;
}

.area-disabled {
    pointer-events: none !important;
}

.sitemap-table-wrapper {
    height: 65vh;
    min-height: 65vh;
    overflow: auto;
    padding: 0 6px;
}

.mt-03 {
    margin-top: 1rem !important;
}

.bs-select-110 {
    width: 110px;
}

/* customs */
.bootstrap-select > select {
    left: 0% !important;
}

.secret-keys {
    font-size: 15px;
}

/* Hide other first-level menus when one is open
/* Animation */
/* .parent-expanded .first-level-menu:not(.active-parent) {
    transition: all 0.5s ease-in-out;
    display: none;
}

.insider-menus .first-level-menu:not(.mm-active) {
    transition: all 0.5s ease-in-out;
    display: none;
} */

/* custom modes */
.jwt-section .ace_active-line {
    background-color: transparent !important;
}

.jwt-section .ace_c_key {
    color: #a11;
}

.jwt-section .ace_c_string {
    color: #0a58ca;
}

.jwt-section .ace_c_number {
    color: #dc3545;
}

.jwt-section .ace_c_constant {
    color: #219;
}

/*--- Token CSS ----*/
.ace_jwt.ace_c_header {
    color: #fa003a;
}

.ace_jwt.ace_c_part2 {
    color: #059669;
}

.ace_jwt.ace_c_part3 {
    color: #b100ff;
}

.ace_jwt.ace_c_part4 {
    color: #3184fb;
}

.ace_jwt.ace_c_part5 {
    color: #dc2626;
}

/* DOT separators */
.ace_jwt.ace_c_dot {
    color: #9ca3af;
}

.image-container {
    position: relative;
}

.convert-place-image {
    border-radius: 0.375rem;
    background: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.convert-file-name {
    position: absolute;
    top: 15px;
    left: 15px;
}

.action-wrapper {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
}

.btn-convert {
    width: 100%;
}
/*Image convert*/
.displayFiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.image-container {
    position: relative;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 8px;
    background: white;
}

    .image-container img {
        width: 100%;
        height: 140px;
        object-fit: cover;
        border-radius: 6px;
    }

.image-remove-btn {
    position: absolute;
    top: 6px;
    right: 6px;
}

.image-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-top: 5px;
}

/* Newer */
/* --- Common: Page & Header --- */
.ocr-page, .tti-page, .qr-page, .sp-page, .serp-page {
    padding: 0;
}

.ocr-header, .tti-header, .qr-header, .sp-header, .serp-header {
    margin-bottom: 20px;
}

.ocr-header {
    margin-bottom: 24px;
}

    .ocr-header h1, .tti-header h1, .qr-header h1, .sp-header h1, .serp-header h1 {
        font-weight: 700;
        font-size: 28px;
        margin: 0 0 6px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--text-color);
    }

        .ocr-header h1 i {
            color: var(--wt-teal-dark);
            font-size: 24px;
        }

        .tti-header h1 i {
            color: var(--wt-purple);
            font-size: 24px;
        }

        .qr-header h1 i {
            color: var(--wt-blue);
            font-size: 24px;
        }

        .sp-header h1 i {
            color: var(--wt-orange-dark);
            font-size: 24px;
        }

        .serp-header h1 i {
            color: var(--wt-green-dark);
            font-size: 24px;
        }

    .ocr-header p, .tti-header p, .qr-header p, .sp-header p, .serp-header p {
        color: var(--text-muted);
        font-size: 13px;
        margin: 0;
    }

/* --- Common: Section Cards --- */
.ocr-section, .tti-section, .qr-section, .sp-section, .serp-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
}

.ocr-section-head, .tti-section-head, .qr-section-head, .sp-section-head, .serp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-head);
    background: var(--bg-card-head);
}

.ocr-section-title, .tti-section-title, .qr-section-title, .sp-section-title, .serp-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .ocr-section-title i {
        color: var(--wt-teal);
    }

    .tti-section-title i {
        color: var(--wt-purple);
    }

    .qr-section-title i {
        color: var(--wt-blue);
    }

    .sp-section-title i {
        color: var(--text-color);
    }

    .serp-section-title i {
        color: var(--wt-green-dark);
    }

.ocr-section-body, .tti-section-body, .qr-section-body, .sp-section-body, .serp-section-body {
    padding: 16px;
}

.tti-section-head-toggle {
    cursor: pointer;
    user-select: none;
}

    .tti-section-head-toggle:hover {
        background: var(--wt-blue-light);
    }

/* --- Common: Toolbar --- */
.ocr-toolbar, .tti-toolbar, .qr-toolbar, .sp-toolbar, .serp-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.ocr-toolbar {
    margin-bottom: 20px;
}

/* --- Common: Buttons --- */
.ocr-btn, .tti-btn, .qr-btn, .sp-btn, .serp-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--border-input);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

    .ocr-btn i, .tti-btn i, .qr-btn i, .sp-btn i, .serp-btn i {
        font-size: 15px;
    }

/* Primary buttons - Blue */
.ocr-btn-primary, .tti-btn-primary, .qr-btn-primary, .sp-btn-primary, .serp-btn-primary {
    background: var(--wt-blue);
    color: #fff;
    border-color: var(--wt-blue);
}

    .ocr-btn-primary:hover, .tti-btn-primary:hover, .qr-btn-primary:hover, .sp-btn-primary:hover, .serp-btn-primary:hover {
        background: var(--wt-blue-hover);
        border-color: var(--wt-blue-hover);
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        transform: translateY(-1px);
    }

    .ocr-btn-primary:disabled, .tti-btn-primary:disabled, .qr-btn-primary:disabled, .sp-btn-primary:disabled, .serp-btn-primary:disabled {
        opacity: .5;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

/* Outline buttons */
.ocr-btn-out, .tti-btn-out, .qr-btn-out, .sp-btn-out, .serp-btn-out {
    background: var(--bg-card);
    color: var(--text-secondary);
    border-color: var(--border-input);
}

    .ocr-btn-out:hover, .tti-btn-out:hover, .qr-btn-out:hover, .sp-btn-out:hover, .serp-btn-out:hover {
        background: var(--wt-blue-light);
        border-color: var(--wt-blue);
        color: var(--wt-blue-hover);
    }

    /* Download buttons - Green */
    .ocr-btn-out:has(.bi-download),
    .tti-btn-out:has(.bi-download),
    .qr-btn-out:has(.bi-download),
    .sp-btn-out:has(.bi-download) {
        background: var(--wt-green-light);
        color: var(--wt-green-dark);
        border-color: var(--wt-green-border);
    }

        .ocr-btn-out:has(.bi-download):hover,
        .tti-btn-out:has(.bi-download):hover,
        .qr-btn-out:has(.bi-download):hover,
        .sp-btn-out:has(.bi-download):hover {
            background: var(--wt-green-dark);
            border-color: var(--wt-green-dark);
            color: #fff;
            box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
        }

    /* Copy buttons - Indigo */
    .ocr-btn-out:has(.bi-clipboard),
    .tti-btn-out:has(.bi-clipboard),
    .qr-btn-out:has(.bi-clipboard),
    .sp-btn-out:has(.bi-clipboard),
    .ocr-btn-out:has(.bi-check-lg),
    .tti-btn-out:has(.bi-check-lg),
    .qr-btn-out:has(.bi-check-lg),
    .sp-btn-out:has(.bi-check-lg) {
        background: var(--wt-indigo-light);
        color: var(--wt-indigo);
        border-color: var(--wt-indigo-border);
    }

        .ocr-btn-out:has(.bi-clipboard):hover,
        .tti-btn-out:has(.bi-clipboard):hover,
        .qr-btn-out:has(.bi-clipboard):hover,
        .sp-btn-out:has(.bi-clipboard):hover,
        .ocr-btn-out:has(.bi-check-lg):hover,
        .tti-btn-out:has(.bi-check-lg):hover,
        .qr-btn-out:has(.bi-check-lg):hover,
        .sp-btn-out:has(.bi-check-lg):hover {
            background: var(--wt-indigo);
            border-color: var(--wt-indigo);
            color: #fff;
        }

/* Red/Danger buttons - Clear/Delete/Cancel */
.ocr-btn-red, .tti-btn-red, .qr-btn-red, .sp-btn-red, .serp-btn-red {
    background: var(--wt-red-light);
    color: var(--wt-red-dark);
    border-color: var(--wt-red-border);
}

    .ocr-btn-red:hover, .tti-btn-red:hover, .qr-btn-red:hover, .sp-btn-red:hover, .serp-btn-red:hover {
        background: var(--wt-red-dark);
        color: #fff;
        border-color: var(--wt-red-dark);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
    }

/* Small buttons */
.ocr-btn-sm, .tti-btn-sm, .qr-btn-sm, .sp-btn-sm, .serp-btn-sm {
    padding: 4px 10px;
    font-size: 11px;
}

/* Spacer */
.ocr-spacer, .tti-spacer, .qr-spacer, .sp-spacer, .serp-spacer {
    flex: 1;
}

/* --- Common: Form Elements --- */
.ocr-form-row, .tti-form-row, .qr-form-row, .sp-form-row, .serp-form-row {
    margin-bottom: 12px;
}

.ocr-label, .tti-label, .qr-label, .sp-label, .serp-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.ocr-select, .tti-select, .qr-select, .sp-select, .serp-select {
    padding: 7px 10px;
    border: 1px solid var(--border-input);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-color);
    outline: none;
    background: var(--bg-input);
    transition: border-color .2s, box-shadow .2s;
}

.tti-select, .qr-select, .serp-select {
    width: 100%;
    padding: 8px 12px;
}

    .ocr-select:focus, .tti-select:focus, .qr-select:focus, .sp-select:focus, .serp-select:focus {
        border-color: var(--wt-blue);
        box-shadow: 0 0 0 3px var(--wt-blue-ring);
    }

.ocr-input, .tti-input, .qr-input, .sp-input, .serp-input {
    padding: 7px 10px;
    border: 1px solid var(--border-input);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-color);
    outline: none;
    background: var(--bg-input);
    transition: border-color .2s, box-shadow .2s;
}

.qr-input, .serp-input {
    width: 100%;
    padding: 8px 12px;
}

    .tti-input:focus, .qr-input:focus, .sp-input:focus, .serp-input:focus {
        border-color: var(--wt-blue);
        box-shadow: 0 0 0 3px var(--wt-blue-ring);
    }

.ocr-textarea, .tti-textarea, .qr-textarea, .sp-textarea, .serp-textarea {
    width: 100%;
    min-height: 200px;
    font-size: 13px;
    line-height: 1.7;
    border: 1px solid var(--border-input);
    border-radius: 8px;
    padding: 14px;
    resize: vertical;
    color: var(--text-color);
    background: var(--bg-input);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}

.tti-textarea {
    min-height: 160px;
    font-size: 14px;
    font-family: inherit;
}

.qr-textarea {
    min-height: 100px;
    padding: 10px 12px;
    font-family: inherit;
}

.sp-textarea {
    tab-size: 4;
    line-height: 1.6;
}

.serp-textarea {
    min-height: 80px;
    padding: 10px 12px;
    font-family: inherit;
}

    .ocr-textarea:focus, .tti-textarea:focus, .qr-textarea:focus, .sp-textarea:focus, .serp-textarea:focus {
        border-color: var(--wt-blue);
        box-shadow: 0 0 0 3px var(--wt-blue-ring);
    }

.ocr-textarea[readonly] {
    background: var(--bg-readonly);
}

/* --- Common: Color Pickers --- */
.ocr-color-row, .tti-color-row, .qr-color-row, .sp-color-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.qr-color-row {
    gap: 14px;
}

.ocr-color-pick, .tti-color-pick, .qr-color-pick, .sp-color-pick {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .ocr-color-pick label, .tti-color-pick label, .qr-color-pick label, .sp-color-pick label {
        font-size: 12px;
        color: var(--text-secondary);
        font-weight: 600;
    }

    .ocr-color-pick input[type="color"],
    .tti-color-pick input[type="color"],
    .qr-color-pick input[type="color"],
    .sp-color-pick input[type="color"] {
        width: 32px;
        height: 32px;
        border: 1px solid var(--border-input);
        padding: 2px;
        cursor: pointer;
        background: var(--bg-input);
    }

/* --- Common: Range Inputs --- */
.ocr-range-row, .tti-range-row, .qr-range-row, .sp-range-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .ocr-range-row input[type="range"],
    .tti-range-row input[type="range"],
    .qr-range-row input[type="range"],
    .sp-range-row input[type="range"] {
        flex: 1;
        accent-color: var(--wt-blue);
    }

.ocr-range-val, .tti-range-val, .qr-range-val, .sp-range-val {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    min-width: 40px;
    text-align: right;
}

.tti-range-val {
    min-width: 50px;
}

/* --- Common: Radio & Checkbox Groups --- */
.ocr-radio-group, .tti-radio-group, .qr-radio-group, .sp-radio-group, .serp-radio-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ocr-radio-label, .tti-radio-label, .qr-radio-label, .sp-radio-label, .serp-radio-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

    .ocr-radio-label input, .tti-radio-label input, .qr-radio-label input, .sp-radio-label input, .serp-radio-label input {
        accent-color: var(--wt-blue);
    }

/* --- Common: Inline Rows --- */
.tti-inline-row, .sp-inline-row {
    display: flex;
    gap: 8px;
    align-items: end;
}

.sp-inline-row {
    gap: 12px;
    flex-wrap: wrap;
}

    .sp-inline-row > div {
        flex: 1;
        min-width: 150px;
    }

.tti-inline-row > div {
    flex: 1;
}

/* --- Common: Sticky --- */
.tti-sticky, .qr-sticky, .sp-sticky, .serp-sticky {
    position: sticky;
    top: 20px;
}

/* --- Common: Download Groups --- */
.tti-download-group, .qr-download-group {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ============================
   OCR Tool Specific
   ============================ */
.ocr-dropzone {
    border: 2px dotted var(--border-input);
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .2s;
    background: var(--bg-muted);
    color: var(--text-muted);
    position: relative;
}

    .ocr-dropzone:hover, .ocr-dropzone.dragover {
        border-style: dashed;
    }

    .ocr-dropzone i.bi-images {
        font-size: 40px;
        display: block;
        margin-bottom: 10px;
    }

    .ocr-dropzone p {
        margin: 0;
        font-size: 14px;
    }

    .ocr-dropzone small {
        font-size: 11px;
        color: var(--text-muted);
    }

.ocr-preview-wrap {
    text-align: center;
    margin-bottom: 16px;
    position: relative;
}

.ocr-preview-img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    object-fit: contain;
}

.ocr-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background .2s;
}

    .ocr-remove-btn:hover {
        background: var(--wt-red-dark);
    }

.ocr-progress-wrap {
    margin-bottom: 16px;
}

.ocr-progress-bar-bg {
    height: 8px;
    background: var(--bg-muted);
    border-radius: 4px;
    overflow: hidden;
}

.ocr-progress-bar {
    height: 100%;
    background: var(--wt-teal);
    border-radius: 4px;
    transition: width .3s;
}

.ocr-progress-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
}

.ocr-stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.ocr-stat {
    font-size: 12px;
    color: var(--text-muted);
}

    .ocr-stat strong {
        color: var(--wt-teal-dark);
    }

.ocr-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: ocr-spin .6s linear infinite;
}

.ocr-spinner-dark {
    border-color: rgba(0,0,0,0.1);
    border-top-color: var(--wt-teal);
}

.ocr-spin-icon {
    animation: ocr-spin .8s linear infinite;
}

.ocr-error {
    background: var(--wt-red-light);
    border: 1px solid var(--wt-red-border);
    border-left: 4px solid var(--wt-red);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 13px;
    color: var(--ocr-error-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .ocr-error i {
        font-size: 18px;
        color: var(--wt-red);
    }

.ocr-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 5px;
    background: var(--wt-green-light);
    color: var(--wt-green-dark);
}

/* ============================
   Text to Image Tool Specific
   ============================ */
.tti-preset-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.tti-preset {
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-input);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all .15s;
}

    .tti-preset:hover {
        border-color: var(--wt-purple);
        background: var(--wt-purple-light);
        color: var(--wt-purple);
    }

    .tti-preset.active {
        background: var(--wt-purple);
        color: #fff;
        border-color: var(--wt-purple);
    }

.tti-preview-wrap {
    background: repeating-conic-gradient(var(--checkerboard-a) 0% 25%, var(--checkerboard-b) 0% 50%) 50% / 16px 16px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 0;
    min-height: 300px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
}

    .tti-preview-wrap.draggable {
        cursor: move;
    }

    .tti-preview-wrap > div > div {
        transform-origin: top left;
    }

.tti-preview-placeholder {
    color: var(--text-muted);
    font-size: 14px;
}

.tti-bg-preview {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    border: 1px solid var(--border-input);
    margin-top: 6px;
}

/* ============================
   QR Code Tool Specific
   ============================ */
.qr-type-tabs {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    background: var(--bg-tabs);
    padding: 4px;
    border-radius: 10px;
}

.qr-type-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all .2s;
}

    .qr-type-tab:hover {
        color: var(--wt-blue);
    }

    .qr-type-tab.active {
        background: var(--wt-blue);
        color: #fff;
        box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
    }

.qr-preview-wrap {
    text-align: center;
    padding: 30px;
    border-radius: 8px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.qr-preview-placeholder {
    color: var(--text-muted);
    font-size: 14px;
}

.qr-raw-data {
    margin-top: 10px;
    padding: 10px;
    background: var(--bg-muted);
    border-radius: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    word-break: break-all;
    white-space: pre-wrap;
    max-height: 120px;
    overflow: auto;
}

/* ============================
   SQL to SP Tool Specific
   ============================ */
.sp-output {
    width: 100%;
    min-height: 300px;
    font-size: 13px;
    line-height: 1.6;
    border: 1px solid var(--border-input);
    border-radius: 8px;
    padding: 14px;
    resize: vertical;
    color: var(--text-color);
    outline: none;
    tab-size: 4;
}

.sp-options-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.sp-check-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}

    .sp-check-label input {
        accent-color: var(--wt-orange);
    }

.sp-params-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

    .sp-params-table th {
        text-align: left;
        font-weight: 700;
        color: var(--text-secondary);
        padding: 6px 8px;
        border-bottom: 2px solid var(--border-color);
        font-size: 11px;
        text-transform: uppercase;
    }

    .sp-params-table td {
        padding: 5px 8px;
        border-bottom: 1px solid var(--border-head);
        color: var(--text-color);
    }

    .sp-params-table tr:hover td {
        background: var(--wt-orange-light);
    }

    .sp-params-table input, .sp-params-table select {
        padding: 4px 8px;
        border: 1px solid var(--border-input);
        border-radius: 6px;
        font-size: 12px;
        outline: none;
        background: var(--bg-input);
        color: var(--text-color);
    }

        .sp-params-table input:focus, .sp-params-table select:focus {
            border-color: var(--wt-orange);
            box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.12);
        }

.sp-param-name {
    color: var(--wt-blue);
}

.sp-sample-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.sp-sample {
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-input);
    border-radius: 6px;
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all .15s;
}

    .sp-sample:hover {
        border-color: var(--wt-orange);
        background: var(--wt-orange-light);
        color: var(--wt-orange-dark);
    }

.sp-radio-label input {
    accent-color: var(--wt-orange);
}

/* ============================
   SERP Simulator Tool Specific
   ============================ */
.serp-device-tabs {
    display: flex;
    gap: 4px;
    background: var(--bg-tabs);
    padding: 4px;
    border-radius: 10px;
}

.serp-device-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: none;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all .2s;
}

    .serp-device-tab:hover {
        color: var(--wt-green-dark);
    }

    .serp-device-tab.active {
        background: var(--wt-green-dark);
        color: #fff;
        box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
    }

.serp-char-count {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
    display: flex;
    justify-content: space-between;
}

.serp-char-warn {
    color: var(--wt-amber);
    font-weight: 600;
}

.serp-char-over {
    color: var(--wt-red);
    font-weight: 600;
}

.serp-char-ok {
    color: var(--wt-green-dark);
    font-weight: 600;
}

.serp-preview-wrap {
    padding: 20px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.serp-google-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.serp-google-logo {
    font-size: 22px;
    font-weight: 700;
}

    .serp-google-logo .g-blue {
        color: #4285f4;
    }

    .serp-google-logo .g-red {
        color: #ea4335;
    }

    .serp-google-logo .g-yellow {
        color: #fbbc05;
    }

    .serp-google-logo .g-green {
        color: #34a853;
    }

.serp-google-search-bar {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-input);
    border-radius: 24px;
    font-size: 14px;
    color: var(--text-color);
    background: var(--bg-input);
    outline: none;
}

.serp-result {
    max-width: 600px;
}

.serp-result-url-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.serp-result-favicon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.serp-result-favicon-inner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700;
}

.serp-result-site-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.serp-result-site-name {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.serp-result-display-url {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.serp-result-title {
    font-size: 20px;
    line-height: 1.3;
    color: var(--wt-blue);
    cursor: pointer;
    margin-bottom: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
}

    .serp-result-title:hover {
        text-decoration: underline;
    }

.serp-result-desc {
    font-size: 14px;
    line-height: 1.58;
    color: var(--text-secondary);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
}

.serp-result-date {
    color: var(--text-muted);
}

.serp-result.mobile .serp-result-title {
    font-size: 18px;
}

.serp-result.mobile .serp-result-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
}

.serp-placeholder {
    color: var(--text-muted);
}

.serp-tip {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

    .serp-tip i {
        font-size: 12px;
    }

.serp-progress-bar {
    height: 4px;
    background: var(--bg-muted);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.serp-progress-fill {
    height: 100%;
    border-radius: 2px;
    transition: width .3s, background .3s;
}

/* ============================
   Animations
   ============================ */
@keyframes ocr-spin {
    to {
        transform: rotate(360deg);
    }
}

.error-border {
    border-color: #c00;
}
/* Text & Code Tools */
/* ===== Theme Toggle Button ===== */
.wt-theme-toggle {
    background: none;
    border: 1px solid var(--wt-border-input);
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 16px;
    cursor: pointer;
    color: var(--wt-text-secondary);
    transition: all .2s;
    display: inline-flex;
    align-items: center;
}

    .wt-theme-toggle:hover {
        border-color: var(--wt-accent);
        color: var(--wt-accent);
        background: var(--wt-bg-section-hover);
    }

/* ===== Tool Page Layout ===== */
.wt-page {
    padding: 0;
}

.wt-header {
    margin-bottom: 20px;
}

    .wt-header h1 {
        font-weight: 700;
        color: var(--text-color);
        font-size: 28px;
        margin: 0 0 6px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .wt-header h1 i {
            color: var(--wt-accent);
            font-size: 24px;
        }

    .wt-header p {
        color: var(--wt-text-muted);
        font-size: 13px;
        margin: 0;
    }

/* ===== Sections ===== */
.wt-section {
    background: var(--wt-bg-section);
    border: 1px solid var(--wt-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--wt-shadow-card);
}

.wt-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--wt-border-head);
    background: var(--wt-bg-section-head);
}

.wt-section-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

    .wt-section-title i {
        color: var(--wt-text-icon);
    }

.wt-section-body {
    padding: 16px;
}

/* ===== Toolbar ===== */
.wt-toolbar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 16px;
}

.wt-spacer {
    flex: 1;
}

/* ===== Buttons ===== */
.wt-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--wt-border-input);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    background: var(--wt-bg-section);
    color: var(--wt-text-secondary);
}

    .wt-btn i {
        font-size: 15px;
    }

.wt-btn-primary {
    background: var(--wt-bg-btn-primary);
    color: #fff;
    border-color: var(--wt-bg-btn-primary);
}

    .wt-btn-primary:hover {
        background: var(--wt-bg-btn-primary-hover);
        border-color: var(--wt-bg-btn-primary-hover);
        box-shadow: 0 4px 12px var(--wt-shadow-btn);
        transform: translateY(-1px);
    }

    .wt-btn-primary:disabled {
        opacity: .5;
        cursor: not-allowed;
        transform: none;
        box-shadow: none;
    }

.wt-btn-out {
    background: var(--wt-bg-section);
    color: var(--wt-text-secondary);
    border-color: var(--wt-border-input);
}

    .wt-btn-out:hover {
        background: var(--wt-bg-section-hover);
        border-color: var(--wt-accent);
        color: var(--wt-accent);
    }

    /* Download buttons - Green */
    .wt-btn-out:has(.bi-download) {
        background: var(--wt-green-light);
        color: var(--wt-green-dark);
        border-color: var(--wt-green-border);
    }

        .wt-btn-out:has(.bi-download):hover {
            background: var(--wt-green-dark);
            border-color: var(--wt-green-dark);
            color: #fff;
            box-shadow: 0 2px 8px rgba(34, 197, 94, 0.15);
        }

    /* Copy buttons - Indigo */
    .wt-btn-out:has(.bi-clipboard),
    .wt-btn-out:has(.bi-check-lg) {
        background: var(--wt-indigo-light);
        color: var(--wt-indigo);
        border-color: var(--wt-indigo-border);
    }

        .wt-btn-out:has(.bi-clipboard):hover,
        .wt-btn-out:has(.bi-check-lg):hover {
            background: var(--wt-indigo);
            border-color: var(--wt-indigo);
            color: #fff;
        }

/* Red/Danger buttons - Clear/Delete/Cancel */
.wt-btn-red {
    background: var(--wt-red-light);
    color: var(--wt-red-dark);
    border-color: var(--wt-red-border);
}

    .wt-btn-red:hover {
        background: var(--wt-red-dark);
        color: #fff;
        border-color: var(--wt-red-dark);
        box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
    }

.wt-btn-sm {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 6px;
}

/* ===== Mode Tabs ===== */
.wt-mode-tabs {
    display: flex;
    gap: 4px;
    background: var(--wt-bg-tabs);
    padding: 4px;
    border-radius: 10px;
}

.wt-mode-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--wt-text-tab);
    cursor: pointer;
    border-radius: 8px;
    transition: all .2s;
}

    .wt-mode-tab:hover {
        color: var(--wt-accent);
    }

    .wt-mode-tab.active {
        background: var(--wt-bg-tab-active);
        color: #fff;
        box-shadow: 0 2px 8px var(--wt-shadow-tab);
    }

/* ===== Editors ===== */
.wt-editor {
    width: 100%;
    min-height: 350px;
    padding: 14px;
    border: 1px solid var(--wt-border-input);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--wt-text-editor);
    background: var(--wt-bg-editor);
    resize: vertical;
    outline: none;
    tab-size: 4;
    transition: border-color .2s, box-shadow .2s;
}

    .wt-editor:focus {
        border-color: var(--wt-border-focus);
        box-shadow: 0 0 0 3px var(--wt-shadow-focus);
    }

    .wt-editor::placeholder {
        color: var(--wt-text-placeholder);
    }

.wt-editor-output {
    color: var(--wt-text-editor-out);
}

/* ===== Stats ===== */
.wt-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding: 10px 0 0;
}

.wt-stat {
    font-size: 12px;
    color: var(--wt-text-dim);
    display: flex;
    align-items: center;
    gap: 4px;
}

.wt-stat-val {
    font-weight: 700;
    color: var(--text-color);
}

.wt-stat-green {
    color: var(--wt-green);
    font-weight: 700;
}

/* ===== Options ===== */
.wt-options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.wt-option-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.wt-option-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--wt-text-label);
}

.wt-select {
    padding: 6px 10px;
    border: 1px solid var(--wt-border-input);
    border-radius: 8px;
    font-size: 13px;
    color: var(--wt-text-editor);
    outline: none;
    background: var(--wt-bg-editor);
    transition: border-color .2s, box-shadow .2s;
}

    .wt-select:focus {
        border-color: var(--wt-border-focus);
        box-shadow: 0 0 0 3px var(--wt-shadow-focus);
    }

.wt-check-label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--wt-text-label);
    cursor: pointer;
}

    .wt-check-label input {
        accent-color: var(--wt-accent);
    }

/* ===== Button Row ===== */
.wt-btn-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

/* ===== Fetch Row ===== */
.wt-fetch-row {
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid var(--wt-fetch-row-border);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.gt-fmt-panel > .wt-fetch-row {
    margin: 10px 12px;
}

.wt-fetch-input {
    flex: 1;
    padding: 7px 12px;
    border: 1px solid var(--wt-border-input);
    border-radius: 8px;
    font-size: 13px;
    color: var(--wt-text-editor);
    outline: none;
    background: var(--wt-bg-fetch);
    transition: border-color .2s, box-shadow .2s;
}

    .wt-fetch-input:focus {
        border-color: var(--wt-border-focus);
        box-shadow: 0 0 0 3px var(--wt-shadow-focus);
    }

    .wt-fetch-input::placeholder {
        color: var(--wt-text-placeholder);
    }

/* ===== Toast ===== */
.wt-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--wt-bg-toast);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

    .wt-toast.show {
        opacity: 1;
    }

.wt-toast-err {
    background: var(--wt-bg-toast-err) !important;
}

/* ===== Spinner ===== */
.wt-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: wt-spin .6s linear infinite;
}

@keyframes wt-spin {
    to {
        transform: rotate(360deg);
    }
}

.btn-close {
    font-size: 12px;
}

    .btn-close:focus {
        box-shadow: none !important;
    }
