body {
    --body-background-color: #f2f5f8;
    --navbar-background-color: linear-gradient(89.81deg, #0678F4 41.01%, #37B2DF 99.64%);
    --nav-tab-background-color: #ebebeb;
    --tab-background-color: #f4f4f4;
    --transition-delay: 0s;
    --button-bg-color: white;
    --button-bg-hover: #e7e7e7;
    --form-bg-color: white;
    --form-border-color: #1a73e8e3;
    --border-color: 1px solid #d2d6de;
    --icon-color: black;
    --terminal-bg-color: white;
    --text-color: black;
    --text1-color: #5e5e5e;
    --text2-color: rgb(46, 46, 46);
    --nav-tab-active-text: black;
    --nav-tab-inactive-text: darkgrey;
    --nav-tab-active-color: white;
    --nav-tab-active-bg-color: white;
    --warning-color: red;
    --box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px 1px;
    --carbon-ad-bg-color: hsl(0, 0%, 98%);
    --carbon-ad-box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1);
    --carbon-ad-color: inherit;
    --carbon-ad-bg: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, .025) 5px, hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 95%, .4);
    --min-width: 320px;
    background-color: var(--body-background-color);
    transition: var(--transition-delay);
    /* background-image: url("subtle-grey.png"); */
    /* overflow-x: scroll; */
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif
}

body.dark {
    --body-background-color: rgb(15, 15, 15);
    --navbar-background-color: linear-gradient(132deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 60%);
    --nav-tab-background-color: rgb(39, 40, 43);
    --tab-background-color: rgb(39, 40, 43);
    --button-bg-color: rgb(39, 40, 43);
    --button-bg-hover: grey;
    --border-color: 1px solid transparent;
    --form-bg-color: rgb(34, 34, 39);
    --form-border-color: black;
    --icon-color: white;
    /* --terminal-bg-color: #1d1f21; */
    --terminal-bg-color: black;
    --text-color: white;
    --text1-color: #bdbdbd;
    --text2-color: #bdbdbd;
    --nav-tab-active-text: white;
    --nav-tab-inactive-text: #909099;
    --nav-tab-active-color: green;
    --nav-tab-active-bg-color: rgb(39, 40, 43);
    --warning-color: darkorange;
    /* --box-shadow: rgba(255, 255, 255, 0.2) 0px 1px 4px 1px; */
    /* --carbon-ad-bg-color: rgb(15, 15, 15); */
    --carbon-ad-bg-color: hsl(0, 0%, 10%);
    --carbon-ad-box-shadow: 0 0 1px hsla(0, 0%, 0%, .5);
    --carbon-ad-color: #ddd;
    --carbon-ad-bg: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, .025) 5px, hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 15%, .4);
    background-image: none;
}

#editor-main {
    height: 100%;
    display: flex;
    flex-direction: column;
    /* box-shadow: 1px 1px 4px 1px hsla(0, 0%, 0%, .1);
    box-shadow: var(--box-shadow); */
    margin-top: 6px;
    /* margin-left: 5px;
    margin-right: 5px; */
    border-radius: 10px;
}


/* .modal-header,
.modal-body,
.modal-footer {
background-color: var(--body-background-color);
color: var(--icon-color);
transition: var(--transition-delay);
} */


/* .form-control {
background-color: var(--form-bg-color);
border: var(--border-color);
color: var(--icon-color);
} */

#create_tab,
#header-control>.btn-group>.btn {
    background-color: white;
    border: 1px solid #d2d6de;
    color: black;
    /* transition: 0.5s; */
    background-color: var(--button-bg-color);
    border: var(--border-color);
    color: var(--icon-color);
    transition: var(--transition-delay);
}

#header-control>.btn-group>.btn:hover {
    background-color: #e7e7e7;
    border: 1px solid #d2d6de;
    color: black;
    /* transition: 0.5s; */
    background-color: var(--button-bg-hover);
    border: var(--border-color);
    color: var(--icon-color);
    transition: var(--transition-delay);
}

.textbox {
    background-color: white;
    color: black;
    border: 1px solid #d2d6de;
    /* transition: 0.5s; */
    background-color: var(--form-bg-color);
    color: var(--text-color);
    border: var(--border-color);
    transition: var(--transition-delay);
}

#terminal {
    width: 100%;
    margin: 0;
    background-color: white;
    /* transition: 0.5s; */
    /* border: 1px solid #d2d6de !important; */
    background-color: var(--terminal-bg-color);
    transition: var(--transition-delay);
    overflow: hidden;
    /* border: var(--border-color);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px; */
}


/* #tool-btn {
margin-left: 0.3rem;
} */

#hint-btn {
    transition: .6s ease-out;
    transform: scale(1);
}

.btn-primary,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #085fd1;
    border-color: #085fd1;
}

.btn-primary:hover {
    background-color: #064faf;
}

.btn-success:hover,
.btn-success:active,
.btn-success.hover {
    background-color: #008d4c !important;
    color: #fff;
}

.btn-danger:hover,
.btn-danger:active,
.btn-danger.hover {
    background-color: #dd4b39 !important;
    color: #fff;
}

#share-btn:hover,
#share-btn:active,
#share-btn.hover {
    background-color: rgb(100, 100, 100) !important;
    /* background-color: #085fd1 !important; */
    color: #fff;
}

#support-btn:hover,
#support-btn:active,
#support-btn.hover {
    background-color: rgb(100, 100, 100) !important;
    /* background-color: #085fd1 !important; */
    color: #fff;
}

.ui.fluid.dropdown {
    float: right;
    height: 34px !important;
    margin-right: 0.3rem;
    width: 15rem !important;
    transition: 0.5s;
    background-color: white;
    color: black;
    background-color: var(--button-bg-color);
    color: var(--text-color);
}

.ui.selection.dropdown {
    min-height: 34px !important;
}

.ui.dropdown .menu>.item {
    font-size: inherit;
    display: flex;
}

.ui.dropdown .menu>.item>img {
    transform: scale(0.8);
    height: 3rem !important;
    width: 3.6rem !important;
    margin-left: -0.1rem !important;
}

.ui.selection.dropdown>.dropdown.icon {
    margin-top: -1.2rem;
}

.ui.selection.visible.dropdown>.text:not(.default),
.ui.dropdown>.text {
    display: flex;
    margin-top: -0.2rem;
    color: black;
    color: var(--text-color);
}

.ui.selection.dropdown .menu {
    max-height: 15em !important;
}

.ui.dropdown>.text>img {
    /* margin-top: -0.07rem !important; */
    width: 3rem !important;
    transform: scale(0.8);
}

@media only screen and (min-width: 768px) {
    .ui.selection.dropdown .menu {
        max-height: 25em !important;
    }
}

#control-btn {
    margin-right: 3px;
}

#input_arguments {
    flex: 1;
    width: 100%;
}

#share-btn, #support-btn {
    flex: 0.01;
    margin-right: 3px;
    background-color: white;
    color: rgba(0, 0, 0, .65);
    color: var(--text1-color);
    border-color: grey;
    /* color: #085fd1;
border-color: #085fd1; */
}

#run-btn,
#share-btn,
#stop-btn {
    /* width: 100%; */
    min-width: 7.5rem;
    background-color: white;
    /* transition: 0.5s; */
    background-color: var(--button-bg-color);
    transition: var(--transition-delay);
}

#support-btn {
    /* width: 100%; */
    min-width: 1rem;
    background-color: white;
    /* transition: 0.5s; */
    background-color: var(--button-bg-color);
    transition: var(--transition-delay);
}

#share-content-after {
    top: 20vh;
}

#share-content {
    top: 20vh;
    height: 240px;
}

#share-dialog {
    width: 360px;
}

#share-dialog-after {
    width: 380px;
}

#addthis_nav {
    margin-top: 5px;
    margin-left: 1rem;
}

#addthis_share_modal {
    margin-top: 2.4rem;
    text-align: center;
    transform: scale(1.5);
}

#share-copy {
    float: right;
    margin-right: 5px;
    margin-top: 2px;
    cursor: pointer;
}

#share-btn-modal {
    width: 100%;
}

.nav-tabs>li>a {
    display: inline-block;
    width: 100%;
    /* margin-bottom: -1px; */
}

.nav-tabs>li>a:hover {
    background-color: #ebebeb;
    /* transition: 0.5s; */
    background-color: var(--nav-tab-background-color);
    color: var(--nav-tab-active-text);
}

.nav-tabs>li:not(.active)>a {
    color: darkgrey;
    background-color: #ebebeb;
    /* transition: 0.5s; */
    color: var(--nav-tab-inactive-text);
    font-weight: normal;
    background-color: var(--nav-tab-background-color);
    border: 0px;
    border-bottom-color: transparent;
    transition: var(--transition-delay);
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    color: black;
    background-color: white;
    /* transition: 0.5s; */
    border-bottom: 2px solid white;
    color: var(--nav-tab-active-text);
    cursor: default;
    font-weight: normal;
    background-color: var(--nav-tab-active-bg-color);
    border: 0px;
    border-bottom: 2px solid var(--nav-tab-active-color);
    transition: var(--transition-delay);
}

.nav-tabs>li.active>a {
    border: 0px;
    border-bottom: 2px solid white;
    border-bottom: 2px solid var(--nav-tab-active-color);
}

#start-term {
    margin-top: 0.2rem;
}

#content {
    position: relative;
    width: 60%;
    margin: auto;
    z-index: 10;
}

.navbar-top {
    /* background-color: #1a73e8; */
    background-image: linear-gradient(89.81deg, #0678F4 41.01%, #37B2DF 99.64%);
    /* transition: 0.5s; */
    background-image: var(--navbar-background-color);
    transition: var(--transition-delay);
    display: flex;
    flex-direction: row;
    height: 40px;
    min-width: var(--min-width);
}

.nav_logo {
    display: flex;
    gap: 6px;
    font-family: "Vicasso";
    color: #fff;
    font-size: 150% !important;
    margin-top: 10px !important;
    margin-left: 13.2vw;
}

.addthis_inline_share_toolbox_28pb {
    margin-top: 5px;
    margin-left: 1rem;
}

@font-face {
    font-family: "Vicasso";
    src: url("vicasso/afe27afa1552f15b1f4f7090a35260bb.eot");
    /* IE9*/
    src: url("vicasso/afe27afa1552f15b1f4f7090a35260bb.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("vicasso/afe27afa1552f15b1f4f7090a35260bb.woff2") format("woff2"), /* chrome、firefox */
    url("vicasso/afe27afa1552f15b1f4f7090a35260bb.woff") format("woff"), /* chrome、firefox */
    url("vicasso/afe27afa1552f15b1f4f7090a35260bb.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url("vicasso/afe27afa1552f15b1f4f7090a35260bb.svg#Vicasso") format("svg");
    /* iOS 4.1- */
}

#header-text {
    margin-top: 4px;
    font-size: 170%;
    color: #666;
    text-align: center;
    font-family: "Vicasso";
}

.modal-content {
    border-radius: 12px;
}

#container {
    height: calc(100vh - 40px);
    width: 75vw;
    min-width: var(--min-width);
    min-height: 600px;
    float: center;
    padding: 0 0.8rem;
}

#editor {
    border-left: 1px solid #d2d6de;
    border-right: 1px solid #d2d6de;
    transition: 0s !important;
    border-left: var(--border-color);
    border-right: var(--border-color);
    height: 100%;
    font-size: 100%;
    overflow-y: auto;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    /* font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'source-code-pro', monospace; */
    transition: var(--transition-delay);
    /* -webkit-font-smoothing: antialiased; */
}

#mi {
    display: flex;
    flex-direction: column;
}

#d {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 4px 1px;
    box-shadow: var(--box-shadow);
    margin-left: 5px;
    margin-right: 5px; */
}

.status {
    border: 0px solid;
    border-radius: 0px;
    color: black;
    background-color: #f4f4f4;
    /* transition: 0.5s; */
    color: var(--icon-color);
    background-color: var(--tab-background-color);
    transition: var(--transition-delay);
    width: 102%;
}

.boxed {
    line-height: 28px;
    background-color: #f4f4f4;
    /* transition: 0.5s; */
    border: 1px solid #d2d6de;
    background-color: var(--tab-background-color);
    transition: var(--transition-delay);
    border: var(--border-color);
    border-top: 0px;
    color: grey;
    font-weight: 350;
    margin-bottom: 0px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue";
    -webkit-font-smoothing: antialiased;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.boxed1 {
    /* line-height: 26px; */
    /* margin-top: 4px; */
    margin-bottom: 0px;
    background-color: #f4f4f4;
    overflow: hidden;
    /* transition: 0.5s; */
    background-color: var(--tab-background-color);
    transition: var(--transition-delay);
    border-right: var(--border-color);
    color: grey;
    font-weight: 300;
    cursor: default;
    min-width: 38px;
    width: 38px;
    padding: 2px;
}

#output-status {
    display: none;
}

.control-bar {
    margin-bottom: 5px;
    /* margin-left: 5px;
    margin-right: 5px; */
    height: 30px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
}

#header-control {
    margin-top: 6px;
    /* margin-left: 5px;
    margin-right: 5px;
    display: flex;
flex-direction: row;
justify-content: space-between; */
    /* height: 34px; */
}

.lang-select {
    margin-right: 4px;
    float: right;
}

.setting-btn {
    float: right;
}

.label-primary {
    background-color: #1a73e8e3 !important;
}

.thVal {
    margin-top: -8px;
    margin-bottom: -8px;
    background-color: white;
    color: black;
    border: 1px solid #1a73e8e3;
    /* transition: 0.5s; */
    background-color: var(--terminal-bg-color);
    color: var(--text-color);
    border: 1px solid var(--form-border-color);
    transition: var(--transition-delay);
}

.boxed2 {
    background-color: white;
    color: black;
    /* transition: 0.5s; */
    background-color: var(--terminal-bg-color);
    color: var(--text-color);
    transition: var(--transition-delay);
    border-top: 0px;
    border: 0px;
    height: calc(100% - 6px);
    width: 100%;
    padding: 5px 2px;
}

/* XTerm.js container styling */
#xterm-container {
    width: 100% !important;
    height: 100% !important;
    background-color: var(--terminal-bg-color);
    overflow: hidden;
}

/* Ensure xterm terminal fits properly */
#xterm-container .xterm {
    width: 100% !important;
}

#xterm-container .xterm-viewport {
    width: 100% !important;
    overflow-y: auto;
}

.nav-tabs {
    /* margin-top: 6px; */
    line-height: 5px;
    background-color: #ebebeb;
    /* transition: 0.5s; */
    border: 1px solid #d2d6de !important;
    border-left: 1px solid #d2d6de;
    border-right: 1px solid #d2d6de;
    background-color: var(--nav-tab-background-color);
    transition: var(--transition-delay);
    border: var(--border-color) !important;
    border-left: var(--border-color);
    border-right: var(--border-color);
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.nav-tabs>li>a {
    display: inline-block;
    line-height: 60%;
    cursor: pointer;
}

.btn-success {
    background-color: white;
    color: #00a65a;
    border-color: #008d4c;
}

.btn-danger {
    background-color: white;
    color: #dd4b39;
    border-color: #d73925;
}

.nav-tabs>li.active {
    font-weight: bold;
}

.nav-tabs>li>span {
    display: none;
    position: absolute;
    right: 4px;
    top: 7px;
    color: grey;
}

.nav-tabs>li:hover>span {
    display: inline-block;
    color: grey;
    cursor: pointer;
}

.nav-tabs>li>span>i:hover {
    display: inline-block;
    color: #d9534f;
    cursor: pointer;
}

pre {
    display: block;
    font-family: monospace;
    white-space: pre;
    font-size: 105%;
    border-radius: 0px;
    border: 0px solid transparent;
    overflow-x: auto;
    overflow-y: auto;
    min-height: 95%;
}

.dropdown-menu {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 15px 0 rgba(0, 0, 0, 0.19);
}

.split {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow-x: hidden;
}

.content {
    border: 1px solid #C0C0C0;
    box-shadow: inset 0 1px 2px #e4e4e4;
    background-color: #fff;
}

/* .gutter {
    background-color: lightgrey opacity 0.2;
    background-repeat: no-repeat;
    background-position: 50%;
}

.gutter.gutter-horizontal {
    cursor: col-resize;
    border: solid 1px lightgrey;
    background-color: lightgrey;
}

.gutter.gutter-vertical {
    cursor: row-resize;
} */

.progress-bar-primary {
    background-color: #1a73e8;
}

.split.split-horizontal,
.gutter.gutter-horizontal {
    height: 100%;
    float: left;
}

#hidden_textarea {
    position: absolute;
    left: -100%;
    top: -100%;
}

textarea {
    font-size: large;
}

.progress-bar.active {
    -webkit-animation: progress-bar-stripes 0.4s linear infinite;
    -o-animation: progress-bar-stripes 0.4s linear infinite;
    animation: progress-bar-stripes 0.4s linear infinite;
}

.textbox {
    box-sizing: border-box;
    /* border: 1px solid lightgrey; */
    /* -webkit-transition: 0.5s;
    transition: 0.5s; */
    outline: none;
    overflow: auto;
    height: 30px !important;
    border-radius: 3px;
    flex: 0.9;
}

.textbox:focus {
    border: 1px solid green;
}

.label {
    font-size: 90% !important;
    /* padding-top: 5px !important; */
}

.progress {
    height: 6px;
    line-height: 6px;
    background: white;
    /* transition: 0.5s; */
    background: var(--terminal-bg-color);
    transition: var(--transition-delay);
    margin-bottom: 0px !important;
    width: 100% !important;
    border-radius: 0px !important;
}

.progress-bar {
    line-height: 6px;
    margin-bottom: 0px !important;
    width: 100% !important;
    border-radius: 0px !important;
}

.progress-bar-primary {
    height: 6px !important;
}

.progress-bar-success {
    height: 2px !important;
}

.progress-bar-danger {
    height: 2px !important;
}

.progress-bar-warning {
    height: 2px !important;
}

.ace-tm .ace_gutter {
    background: #f4f4f4;
    /* transition: 0.5s; */
    background: var(--tab-background-color);
    transition: var(--transition-delay);
}

.ace_gutter-cell {
    color: grey;
    margin-top: 1px;
    font-size: 96%;
}

.ace_autocomplete {
    font-size: 110%;
}

.tooltip {
    position: fixed;
    z-index: 1 !important;
}

.tooltip-inner {
    background-color: #e4e4e4;
    color: black;
}

.tooltip.top .tooltip-arrow {
    border-top-color: #e4e4e4;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #e4e4e4;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #e4e4e4;
}

.tooltip.left .tooltip-arrow {
    border-left-color: #e4e4e4;
}


/* .tooltip.in {
opacity: 0.94;
} */

#shareModal,
#shareModalAfter {
    text-align: -webkit-center;
    text-align: -moz-center;
}

#aboutSiteModal {
    -webkit-font-smoothing: antialiased;
}

.abountModalBody p {
    line-height: 1.5em;
    font-size: 115%;
    font-weight: 400;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
}

.modal-footer>p {
    float: left;
    margin-left: -1em;
}

@media all and (max-width: 1100px) {
    #container {
        width: 100%;
    }
    .nav_logo {
        margin-left: 2.8rem;
    }
    #header-text {
        display: none;
    }
    #control-btn {
        margin-right: 3px;
    }
}

@media all and (max-width: 571px) {
    .nav_logo {
        margin-left: 1.6rem;
        font-size: 125%;
    }
    .container {
        padding-right: 5px;
        padding-left: 5px;
    }
}

#shell-output {
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
    padding: 0;
    font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
    font-size: 13px;
    border: none;
}

#term-output,
#term-form,
#term-input {
    margin: 0;
    padding: 0;
    font-family:inherit;
    font-size: inherit;
    border: none;
}

#term-output {
    white-space: -moz-pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
    white-space: pre-wrap;
    word-break: break-word;
    display: contents;
}

#term-input {
    width: 60%;
    background-color: white;
    color: black;
    /* transition: 0.5s; */
    background-color: var(--terminal-bg-color);
    color: var(--text-color);
    transition: var(--transition-delay);
    margin-top: 0.2rem;
}

.wrapper,
#term-form {
    height: auto;
    margin: 0;
    margin-left: 0.6rem;
}

.wrapper {
    margin-top: 0.4rem;
}

#term-input:focus {
    outline: none;
    border: none;
}

#term-expand {
    margin-top: 0.2rem;
    width: 100%;
}

.error {
    color: red;
}

.warning {
    color: red;
    color: var(--warning-color);
}

.fa-sync-alt {
    font-size: small;
}

.error-msg {
    cursor: pointer;
    text-decoration: underline;
    text-decoration-thickness: 1.2px;
}

#carbonads {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#carbonads {
    position: fixed;
    height: auto;
    width: 11.5vw;
    display: flex;
    min-width: 120px;
    background-color: var(--carbon-ad-bg-color);
    box-shadow: var(--carbon-ad-box-shadow);
    margin: auto;
    margin-left: 1.6rem;
    margin-top: 5rem;
}

#carbonads a {
    color: var(--carbon-ad-color);
    text-decoration: none;
}

#carbonads a:hover {
    color: var(--carbon-ad-color);
}

#carbonads span {
    position: relative;
    display: block;
    overflow: hidden;
    text-align: center;
}

#carbonads .carbon-wrap {
    display: flex;
    flex-direction: column;
}

.carbon-img {
    text-align: center;
    margin: 0;
    line-height: 1;
}

.carbon-text {
    padding: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.carbon-poweredby {
    display: block;
    padding: 8px 10px;
    background: var(--carbon-ad-bg);
    color: #aaa !important;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 600;
    font-size: 9px;
    line-height: 1;
}

#sidebar-right-ad,
#sidebar-left-ad {
    min-width: 210px;
}

@media all and (max-width: 1100px) {
    #sidebar-right-ad,
    #sidebar-left-ad {
        display: none;
    }
    .carbon-img>img {
        height: 70px !important;
    }
    #carbonads .carbon-wrap {
        flex-direction: row;
    }
    #carbonads {
        position: relative;
        height: 70px;
        width: 40rem;
        min-width: var(--min-width);
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
    }
    .carbon-text {
        padding-top: 2px;
    }
    .carbon-poweredby {
        background: none;
        margin-top: -25px;
        text-align: right;
    }
}

@media all and (max-width: 410px) {
    #carbonads {
        width: var(--min-width);
    }
    .addthis_inline_share_toolbox_28pb {
        display: none;
    }
    .container {
        padding-right: 0px;
        padding-left: 0px;
        margin-right: 4px;
    }
    #share-dialog {
        width: calc(var(--min-width) - 20px);
    }
    .addl-option {
        display: none;
    }
}

.para {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.625;
    color: var(--text2-color);
}

#footer {
    color: #5f6368;
    text-align: center;
    padding: 10px;
    letter-spacing: .25px;
    margin-bottom: 0px;
}

.header1 {
    color: var(--text2-color);
}

#info {
    padding-right: 15px;
    padding-left: 15px;
}

.text-content>h1 {
    text-align: center;
}

.text-content>p,
.text-content>ul>li,
#info>ul>li {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.625;
    color: var(--text2-color);
}

.text-content {
    background: var(--carbon-ad-bg-color);
    padding: 5px 20px;
    margin: 20px 8px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.d-flex {
    display: flex;
}

.ezmob-footer-desktop {
    background: transparent !important;
}


/* Custom Scrollbar Styles */
/* For Webkit browsers like Chrome/Safari/Edge */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

@media (max-width: 1100px) {
    ::-webkit-scrollbar {
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 571px) {
    ::-webkit-scrollbar {
        width: 4px;
        height: 4px;
    }
}

::-webkit-scrollbar-track:hover {
    background: #f1f1f1;
    /* border-radius: 6px; */
}

.dark ::-webkit-scrollbar-track:hover {
    background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    /* border-radius: 6px; */
}

.dark ::-webkit-scrollbar-thumb {
    background: #3e3e3e;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #999;
}

::-webkit-scrollbar-corner {
    background: #f1f1f1 !important;
}

.dark::-webkit-scrollbar-corner {
    background: #2d2d2d !important;
}

.dark ::-webkit-scrollbar-corner {
    background: #2d2d2d !important;
}

.terminal-container {
    display: flex;
    flex-direction: row;
    border-radius: 10px !important;
    border: var(--border-color);
    overflow: hidden;
}

/* Split Layout Styles */
#split-wrapper {
    width: 100%;
    height: calc(100vh - 86px);
    min-height: 500px;
    position: relative;
    display: flex;
}

#split-wrapper .split {
    box-sizing: border-box;
}

#split-wrapper.layout-horizontal {
    flex-direction: row;
}

#split-wrapper.layout-horizontal .control-bar {
    margin-top: 6px;
}

#split-wrapper.layout-vertical .control-bar {
    margin-bottom: 5px;
}

#split-wrapper.layout-horizontal .terminal-container {
    height: calc(100% - 42px);
}

#split-wrapper.layout-vertical .terminal-container {
    height: calc(100% - 36px);
}

#split-wrapper.layout-vertical {
    flex-direction: column;
}

#split-wrapper .gutter {
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color 0.2s ease;
    z-index: 1;
}

#split-wrapper .gutter:hover {
    background-color: var(--color-blue-500);
}  

.gutter.gutter-horizontal {
    cursor: e-resize;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
}

.gutter.gutter-vertical {
    cursor: n-resize;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAFAQMAAABo7865AAAABlBMVEVHcEzMzMzyAv2sAAAAAXRSTlMAQObYZgAAABBJREFUeF5jOAMEEAIEEFwAn3kMwcB6I2AAAAAASUVORK5CYII=');
}

#ace_settingsmenu select, #ace_settingsmenu input {
    padding: 0.1rem 0.4rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-zinc-400);
    background-color: var(--color-zinc-200);
}

#ace_settingsmenu button {
    padding: 0.1rem 0.4rem;
}

/* Font Settings Modal Styles */
.font-settings-modal {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.font-settings-content {
    background: var(--card-background);
}

.font-setting-group {
    margin-bottom: 1rem;
}

.font-setting-group:last-child {
    margin-bottom: 0;
}

.font-setting-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.font-setting-select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--form-bg-color);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.font-setting-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.font-setting-select option {
    font-family: inherit;
    padding: 0.5rem;
}

.font-preview {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background-color: var(--text-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-family: monospace;
}

.ace-settings-btn-modal {
    margin-top: 2rem !important;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ace-settings-btn-modal:hover {
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.ace-settings-btn-modal:active {
    transform: translateY(0);
}

/* Modal header styling */
.font-settings-modal .modal-header {
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.font-settings-modal .modal-header .close {
    opacity: 0.8;
    text-shadow: none;
}

.font-settings-modal .modal-header .close:hover {
    opacity: 1;
}

.font-settings-modal .modal-title {
    font-weight: 600;
}

/* Modal body spacing */
.font-settings-modal .modal-body {
    padding: 1.5rem;
}

/* Font preview enhancement */
.font-preview {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: var(--text-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-family: monospace;
    line-height: 1.2;
}

/* Dark mode styles for font settings */
.dark .font-settings-content {
    background: var(--form-bg-color);
    border-color: var(--border-color);
}

.dark .font-setting-label {
    color: var(--text-primary);
}

.dark .font-setting-select {
    background-color: var(--form-bg-color);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.dark .font-preview {
    background-color: var(--text-bg-color);
    color: var(--text-secondary);
}

/* Custom dropdown arrow for font selects */
.font-setting-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.dark .font-setting-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%9ca3af' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Font Size Slider Styles */
.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.slider-label {
    color: #6c757d;
    font-weight: 500;
    min-width: 35px;
    text-align: center;
}

.font-size-slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #d3d3d3;
    outline: none;
    transition: background 0.3s;
}

.font-size-slider:hover {
    background: #bbb;
}

.font-size-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.font-size-slider::-webkit-slider-thumb:hover {
    background: #0056b3;
    transform: scale(1.1);
}

.font-size-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #007bff;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.2s ease;
}

.font-size-slider::-moz-range-thumb:hover {
    background: #0056b3;
    transform: scale(1.1);
}

#font-size-display {
    font-weight: 600;
    color: #007bff;
}

/* Terminal font styling */
#terminal, #term-input, #wrap {
    font-family: inherit;
}

/* Ensure terminal uses consistent styling */
.boxed2 {
    font-family: inherit;
}

.float-right {
    float: right;
}