/* latin-ext */
@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(/assets/fonts/SourceCodePro-Regular-400-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(/assets/fonts/SourceCodePro-Regular-400-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 600;
    src: local('Source Code Pro Semibold'), local('SourceCodePro-Semibold'), url(/assets/fonts/SourceCodePro-Semibold-600-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Source Code Pro';
    font-style: normal;
    font-weight: 600;
    src: local('Source Code Pro Semibold'), local('SourceCodePro-Semibold'), url(/assets/fonts/SourceCodePro-Semibold-600-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg-color: #fafafa;
    --color: #57595A;
    --emphasis: #466372;
    --primary: #9AD1ED;
    --emphasis-primary: #c5e2f1;
    --emphasis-secondary: #466372;
    --light: #909090;
    --super-light:  #f9fafc;
    --error: #f26d6d;
    --success: #63d9b1;
    --dark: #313538;
}
body.dark-mode {
    --bg-color: #242424;
}

html {
    font-family: "Roboto", sans-serif;
    -webkit-text-size-adjust:100%;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    overflow: hidden;
    background: var(--bg-color);
    color: var(--color);
}
body, html {
    height: 100%;
    margin: 0;
}
body.dark-mode{ background: var(--bg-color); }
body.dark-mode .component_modal > div,
body.dark-mode .component_page_admin{ --bg-color: #f2f3f5; }

.center{
    text-align: center;
}

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

select {
    -webkit-appearance: none;
    -moz-appearance: none;
}

select:-moz-focusring {
    color: transparent;
    outline: none;
    border: none;
}

select::-ms-expand {
    display: none;
}

button::-moz-focus-inner {
    border: 0;
}

input, textarea, select {
    transition: border 0.2s;
    outline: none;
}

.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

button:focus,
a:focus,
a:active,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"]>input[type="button"]::-moz-focus-inner {
    outline: none !important;
}

select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
}

.connect-form input:hover,
.connect-form textarea:hover,
.connect-form input:focus,
.connect-form textarea:focus {
    border-color: rgb(154, 209, 237)!important;
}

.drag-drop {
    z-index: 2;
}

.drag-drop.dragging>div {
    background: rgba(0, 0, 0, 0.1);
}


/* CONNECTION FORM */

.login-form button.active {
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.20);
}

::-webkit-scrollbar {
    height: 4px;
    width: 4px
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .1)
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    -o-border-radius: 2px;
    border-radius: 2px;
    background: rgba(0, 0, 0, .2);
}

.scroll-y {
    scrollbar-3dlight-color: #7d7e94;
    scrollbar-arrow-color: #c1c1d1;
    scrollbar-darkshadow-color: #2d2c4d;
    scrollbar-face-color: rgba(0, 0, 0, .1);
    scrollbar-highlight-color: #7d7e94;
    scrollbar-shadow-color: #2d2c4d;
    scrollbar-track-color: rgba(0, 0, 0, .1);
}

.pointer {
    cursor: pointer;
}

.hidden{
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
