:root {
    --prime: #02b8b8;       /* #00D4AA; */
    --second: #00807a;      /* #008066; */
    --darker: #01382d;    
    --bkg: #131321;
    --clr: #bbb;
    --hiclr: #fff;
    --tab-bkg: #250769;     /* #032921 */
    --home-bkg: #94e2ec;
    --home-clr: #0e616c;
    --border-clr: #777;
    --border-clr-dark: #444;
    --nav-bkg: #00060c;
    --home-btn-bkg: #8725e2;
    --btn-bkg: #02b8b8;
    --btn-bkg-hi: #8725e2;
    --btn-bkg-dark: #006969;

    --cp-bg-color: transparent;
    --slider-width: 20px;
    --picker-width: 260px;

    --svoast-font-size: 20px;
    --svoast-bg: #000;
    --svoast-error-colour: crimson;
    --svoast-icon-size: 28px;
    --svoast-text: #fff;
}

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

html, body {
	position: relative;
	width: 100%;
	height: 100%;
    scroll-behavior: smooth;
	scrollbar-color: var(--darker) var(--bkg);
	scrollbar-width: 8px;    
}

body {
    background-color: var(--bkg);
	color: var(--clr);
	margin: 0;
	padding: 0;
	box-sizing: border-box;
    font-size: 20px;
	font-family: "Barlow Condensed", sans-serif;
}

* {
    box-sizing: border-box;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

nav.mainbar {
    width: 480px;
    min-width: 480px;
    background-color: var(--nav-bkg);
    height: 100%;
    padding: 10px 5px 10px;
}

.textitem {
    margin: 5px 10px 25px;
}

.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.badge {
    text-transform: uppercase;
    font-size: 13px;
    background-color: rgb(4, 190, 113);
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 1px 5px 2px;
    border-radius: 5px;
    width: fit-content;
    text-shadow: 1px 1px #000;
    letter-spacing: 0.7px;
}

.charttype {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.charttype.scroller {
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none; 
}

.charttype.scroller::-webkit-scrollbar { 
    width: 0;
    height: 0;
}

.charttype > span {
    cursor: pointer;
    padding: 8px;
    transition: transform 0.3s ease;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 14px;
    border: 1px solid transparent;
}

.charttype > span:not(.sel):hover {
    transform: scale(1.1);
}

.charttype > span.sel {
    background-color: var(--tab-bkg);
    border-color: #4d4d4d;
    cursor: default;
}

.split {
    display: flex;
    gap: 15px;
    margin: 5px 0;
    align-items: center;
    width: 100%;
}

.eachside {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin: 5px 0 0;
    align-items: center;
    width: 100%;
}

.horz {
    display: flex;
    gap: 5px;
    align-items: center;
}

.vert {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.share {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}


.cmds {
    margin: 15px 10px 30px;
    display: flex;
    gap: 8px;
}

.cmds button {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-transform: uppercase;
    min-width: 70px;
}

.cmds i {
    font-size: 24px;
}

.cmds .dwn {
    width: 110px;
}


/* AWESOME COLOR PICKER */
.text-input {
    display: none !important;
}

.wheel > .color-picker > .wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

.wheel > .color-picker > .wrapper > .h, .wheel > .color-picker > .wrapper > .a {
    margin-left: 12px !important;
}

/* ---------------------------- */

/* SVOAST */

.svoast {
    align-items: center;
}

/* ---------------------------- */

/*  MARCHING ANTS */

.marching-ants {
    padding: 7px;
    background-image: linear-gradient(to right, transparent 50%, var(--red) 50%), linear-gradient(to right, transparent 50%, var(--red) 50%), linear-gradient(to bottom, transparent 50%, var(--red) 50%), linear-gradient(to bottom, transparent 50%, var(--red) 50%);
    background-size: 16px 2px, 16px 2px, 2px 16px, 2px 16px;
    background-position: 0 0, 0 100%, 0 0, 100% 0;
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    animation: marching-ants 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border-bottom-left-radius:16px;
    border-bottom-right-radius:16px;
    overflow: hidden;
/*     animation-play-state: paused; */
}

/* .marching-ants > * {
    pointer-events: none;
    visibility: hidden;
} */

@keyframes marching-ants {
    0% {
    background-position: 0 0, 0 100%, 0 0, 100% 0;
    }
    100% {
    background-position: 32px 0, -32px 100%, 0 -32px, 100% 32px;
    }
}

/* ---------------------------- */



h5 {
    margin: 0 0 5px;
    color: #e5e5e5;
    letter-spacing: 1px;
}

h6 {
    margin: 0 0 5px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.buttonbox {
    width: 36px !important;
    height: 31px;
    min-width: 36px;
    border: 1px dotted #888;
    border-radius: 6px;
    cursor: pointer;
}

.buttonbox.clean {
    border-color: transparent;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.fillin {
    flex-grow: 1;
}

.off {
    pointer-events: none;
    user-select: none;
}


section.hidepanel nav.mainbar {
    position: absolute;
    z-index: 1;
    left: -480px;
}

button {
    border: 2px solid var(--btn-bkg);
    background: var(--btn-bkg);
    border-radius: 5px;
    padding: 2px 10px;
    color: #fff;
    text-shadow: 1px 1px #000;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 1px;    
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    font-family: "Barlow Condensed", sans-serif;
}

button.hollow {
    background-color: transparent;
    color: var(--btn-bkg);
}

button:not(.hollow):hover {
    background-color: var(--btn-bkg-hi);
    border-color: var(--btn-bkg-hi);
    color: #fff;
}

button.hollow:hover {
    border-color: var(--btn-bkg-hi);
    color: var(--btn-bkg-hi);
}

input[type=text], input[type=number], input[type=date]  {
    padding: 7px 12px;
    border: none;
    width: 100%;
    background-color: var(--bkg);
    color: var(--clr);
    outline: none;
    font-size: 14px;
    margin: 0;
    border-radius: 6px;
}

input[type=date] {
    position: relative;
}

input[type=date]::-webkit-calendar-picker-indicator {
    opacity: 0;
    display: block;
    position: absolute;
    right: 10px;
    width: 12px;
    height: 100%;
    cursor: pointer;
}

input[type=range] {
    position: relative;
    width: 100%;
}

/* Custom white icon overlay */
input[type=date]::before {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="silver" viewBox="0 0 24 24"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM7 12h5v5H7z"/></svg>');
    position: absolute;
    right: 10px;
    top: 57%;
    transform: translateY(-50%);
    pointer-events: none; 
}

select {
    padding: 7px 12px;
    border: none;
    width: 100%;
    background-color: var(--bkg);
    color: var(--clr);
    outline: none;
    font-size: 13px;
    margin: 0;
    border-radius: 6px;
}

textarea {
    padding: 7px 12px;
    border: none;
    width: 100%;
    background-color: var(--bkg);
    color: var(--clr);
    outline: none;
    font-size: 14px;
    margin: 0;
    border-radius: 6px;
    resize: none;
}






/*   A C C O R D I O N   */

    .tab {
        position: relative;
    }
    .tab input[type=checkbox] {
        position: absolute;
        opacity: 0;
        z-index: -1;
    }
    .tab__content {
        max-height: 0;
        overflow: hidden;
        transition: all 0.35s;
    }
    .tab input[type=checkbox]:checked ~ .tab__content {
        max-height: 515rem;
    }

    /* Visual styles */
    .accordion {
        color: var(--clr);
        overflow: hidden;
    }
    .tab__label,
    .tab__close {
        display: flex;
        color: white;
        background: var(--tab-bkg); /* rgb(5, 16, 27); */
        cursor: pointer;
        text-transform: uppercase;
        border-radius: 6px;
        font-weight: bold;
        letter-spacing: 1px;
    }
    .tab__label {
        justify-content: space-between;
        padding: 10px;
        margin-bottom: 4px;
        margin-right: 5px;
    }
    .tab__label::after {
        content: "\276F";
        width: 1em;
        height: 1em;
        text-align: center;
        transform: rotate(90deg);
        transition: all 0.35s;
    }
    .tab input[type=checkbox]:checked + .tab__label::after {
        transform: rotate(270deg);
    }
    .tab__content p {
        margin: 0;
        padding: 1rem;
    }
    .tab__close {
        justify-content: flex-end;
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
/*     .accordion--radio {
        --theme: var(--secondary);
    } */

    /* Arrow animation */
    .tab input[type=checkbox]:not(:checked) + .tab__label:hover::after {
        animation: bounce 0.5s infinite;
    }
    @keyframes bounce {
        25% {
            transform: rotate(90deg) translate(0.25rem);
        }
        75% {
            transform: rotate(90deg) translate(-0.25rem);
        }
    }