﻿
:root {
    color-scheme: light;
    --main-one-color: #d63a3b;
    --main-one-color-2: #cc2a2b;
    --main-one-color-trans: rgba(214,58,59,0.1);
    --main-one-color-trans-2: rgba(214,58,59,0.3);
    --main-one-color-trans-solid: #FBEBEB;
    --main-two-color: #2D68F6;
    --main-two-color-2: #0a4be6;
    --main-two-color-trans: rgba(45,104,246,0.1);
    --main-two-color-trans-2: rgba(45,104,246,0.3);
    --main-two-color-trans-solid: #EAF0FE;
    --background: #F1F5F9;
    --background-reverse: #111421;
    --light: #ffffff;
    --dark: #000000;
    --gray: #333333;
    --gray-dark: #CCCCCC;
    --gray-dark-hover: #afafaf;
    --widget: #ffffff;
    --success: #388E3C;
    --success-trans: rgba(56,142,60,0.1);
    --success-trans-solid: #EBF3EB;
    --border: rgba(190,190,190,0.2);
    --font-on-two: #fff;
    --font-on-one: #fff;
    --layer: #fff;
    --grid-lines: rgba(0,0,0,0.1);
    --nav: #1a1e32;
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: RobotoC;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--dark);
    scrollbar-color: rgba(0,0,0,.3) rgba(0,0,0,.2);
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 13px;
    height: 13px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,.3);
}

::-webkit-scrollbar-track {
    background: rgba(0,0,0,.2);
}

::-webkit-scrollbar-corner {
    background: rgba(0,0,0,.4);
}

.toast-error {
    background: var(--main-one-color) !important;
}

.toast-success {
    background: var(--success) !important;
}

body {
    background-color: var(--background);
}

.preload *,
.preload {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

.hidden {
    display: none !important;
}

.button {
    display: block;
    background-color: var(--main-two-color);
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: .3s ease all;
    text-decoration: none;
    font-size: 24px;
    position: relative;
    padding: 0px 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.button.red {
    background-color: var(--main-one-color);
}

.button.disabled {
    background-color: rgba(0,0,0,0.5);
}

.button span {
    color: #fff;
    font-size: 24px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.button.small {
    height: 40px;
    line-height: 40px;
    font-size: 19px;
}

.button.small span {
    font-size: 19px;
}

.button:hover {
    background-color: var(--main-two-color-2);
    transition: .3s ease all;
}

.button.red:hover {
    background-color: var(--main-one-color-2);
    transition: .3s ease all;
}

.button.disabled:hover {
    background-color: rgba(0,0,0,0.5);
    cursor: default;
}

@keyframes btn-spin {
    0% {
        animation-timing-function: cubic-bezier(0.58,0.07,0.41,0.92);
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}

.button .loader {
    color: #fff;
    animation: btn-spin 1s infinite linear;
    top: 50%;
    left: auto;
    right: 1.25em;
    height: 1em;
    margin: -0.5em;
    opacity: 0;
    z-index: -1;
    transition: all .3s;
    transition-timing-function: ease-in;
    position: absolute;
    transform-origin: 50% 50%;
    transform-box: fill-box;

}

.button .loader::after {
    border-radius: 50%;
    border: 0.3em solid #fff;
    border-left-color: transparent;
    content: " ";
    display: block;
    width: 2em;
    height: 2em;
    box-sizing: border-box;
    transform-origin: 0 0;
    transform: translateZ(0) scale(0.5) translate(50%,0px);
    backface-visibility: hidden;
}

.button.loading {
    cursor: default;
    background-color: var(--main-two-color-2);
}

.button.red.loading {
    background-color: var(--main-one-color-2);
    transition: .3s ease all;
}

.button.loading span {
    transform: translateX(-20px);
}

.button.loading .loader {
    opacity: 1;
    z-index: auto;
    visibility: visible;
}

.logs {
    padding: 20px;
    text-align: left;
}

.logs .inner {
    background-color: var(--main-two-color-trans-2);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--main-two-color);
}

.logs .button {
    display: inline-block;
    margin-top: 20px;
}

.logs h3 {
    color: var(--dark);
    font-weight: 500;
    font-size: 24px;
}

.logs .message {
    font-weight: 400;
    font-size: 16px;
    color: var(--dark);
}

.logs .entries {
    margin-bottom: 10px;
}

.logs .entry .date,
.logs .entry .level,
.logs .entry .message {
    color: var(--dark);
    display: inline-block;
}

.logs .entry .date {
    padding-right: 5px;
}

.logs .entry .level {
    padding-right: 5px;
}

body > .contents {
    min-height: 100svh;
    transition: none;
    display: grid;
    grid-template-columns: 60px 1fr 1fr 1fr 1fr;
    grid-template-rows: 60px 1fr 1fr 1fr 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.top-bar {
    background-color: var(--nav);
    grid-area: 1 / 1 / 2 / 6;
    display: grid;
    grid-template-columns: 252px;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .logo {
    height: 100%;
    padding: 0px 20px;
    position: relative;
}

.top-bar .logo::after {
    content: "DOCS";
    display: block;
    position: absolute;
    right: -43px;
    bottom: 17px;
    background-color: var(--main-two-color);
    color: #fff;
    padding: 3px 6px;
    font-size: 16px;
    border-radius: 4px;
    font-weight: 550;
}

.top-bar .logo .image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: calc(100% - 20px);
    margin-top: 10px;
}

.side-bar {
    grid-area: 2 / 1 / 6 / 2;
    position: relative;
    z-index: 5001;
}

.side-bar .inner {
    background-color: var(--nav);
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    height: 100%;
    overflow: hidden;
    z-index: 5001;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.side-bar:hover .inner {
    width: 250px;
}

.side-bar .category {
    height: 60px;
    line-height: 60px;
    width: 250px;
    display: block;
    border-left: 2px solid transparent;
    cursor: pointer;
}

.side-bar .category .icon svg path {
    color: #fff;
    height: 60px;
    line-height: 60px;
}

.side-bar .category .icon {
    width: 58px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 19px;
    display: block;
    float: left;
}

.side-bar .category .text {
    color: #fff;
    height: 60px;
    line-height: 60px;
    display: block;
    float: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 60px);
}

.side-bar .category:hover .icon svg path,
.side-bar .category.active .icon svg path {
    color: var(--main-two-color);
}

.side-bar .category:hover .text,
.side-bar .category.active .text {
    color: var(--main-two-color);
}

.side-bar .category.active {
    border-left: 2px solid var(--main-two-color);
    background-color: rgba(0,0,0,0.3);
}

.side-bar .category.active .text {
    font-weight: 550;
}

.body {
    grid-area: 2 / 2 / 6 / 6;
    height: calc(100svh - 60px);
    transition: .3s ease background-color;
}

.footer {
    margin-top: 55px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.8);
    overflow: hidden;
    text-align: left;
}

.footer .header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    background-color: var(--nav);
    padding: 20px;
    border-bottom: 1px solid rgba(100,100,100,0.3);
    border-top-left-radius: 3px; 
    border-top-right-radius: 3px; 
}

.footer .header .logo {
    width: 230px;
    height: 43px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    position: relative;
}

.footer .header .logo::after {
    content: "DOCS";
    display: block;
    position: absolute;
    right: -65px;
    bottom: 9px;
    background-color: var(--main-two-color);
    color: #fff;
    padding: 3px 6px;
    font-size: 16px;
    border-radius: 4px;
    font-weight: 550;
}

.footer .header .right {
    text-align: right;
}

.footer .bottom {
    padding: 20px;
    background-color: var(--nav);
    border-bottom-left-radius: 3px; 
    border-bottom-right-radius: 3px; 
}

.footer .header .right .main {
    color: #fff;
    font-size: 15px;
    font-weight: 450;
}

.footer .bottom {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 20px;
    grid-row-gap: 0px;
}

.footer .links .link {
    display: inline-block;
    width: 100%;
    padding: 3px 0px;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
}

.footer .languages .desc {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    margin-bottom: 8px;
}

.footer .languages .language {
    display: block;
    width: 100%;
    height: 35px;
    line-height: 35px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 7px;
    grid-row-gap: 0px;
    border-bottom: 1px solid rgba(100,100,100,0.2);
    padding-left: 5px;
    cursor: pointer;
}

.footer .languages .language:hover {
    background-color: var(--main-two-color-trans-2);
}

.footer .languages .language .text {
    color: #fff;
    font-size: 16px;
}

.footer .languages .language .image {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 27px;
    height: 18px;
    display: block;
    transform: translateY(8px);
}