@font-face {
    font-family: Montserat;
    font-style: normal;
    src: url('/fonts/Montserrat-VariableFont_wght.ttf');
    font-display: swap;
}

@font-face {
    font-family: Montserat;
    font-style: italic;
    src: url('/fonts/Montserrat-Italic-VariableFont_wght.ttf');
    font-display: swap;
}

:root {
    font-size: 62.5%;
    font-family: var(--fonts_primary-font);
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
}

body {
    box-sizing: border-box;
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    margin: 0;
    font-size: 1.4rem;
}

.componentes {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    gap: 6px;
    flex: 0 0 auto;
    overflow: auto;
}

.componentes.desativado {
    opacity: 0.5;
    pointer-events: none;
}

.botao-selecao-componente {
    cursor: pointer;
    border: none;
    background: var(--colors_basecolor);
    color: var(--colors_baseforecolor);
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    border: 1px solid var(--colors_actionborder_and_focuscolor);
}

.botao-selecao-componente:hover,
.botao-selecao-componente:focus-visible {
    background: var(--colors_actionhover);
}

#host {
    flex: 1 0 0;
    overflow: auto;
}

.gx-mask {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    animation: entermask 1s;
    background-position: center;
    background-color: black;
    opacity: 0.1;
    z-index: 9999;
}

body > .gx-mask {
    position: fixed;
}

/* SAFARI, EDGE/CHROME < 121 */
*::-webkit-scrollbar {
    background: var(--colors_databackgroundcolor);
    width: 1rem;
    height: 1rem;
}

*::-webkit-scrollbar-thumb {
    background: var(--colors_actionborder_and_focuscolor);
    border: 2px solid var(--colors_databackgroundcolor);
    border-radius: 0.5rem;
}

*::-webkit-scrollbar-button:single-button {
    display: block;
    height: 1.25rem;
    width: 1.25rem;
    background-size: 0.75rem;
    background-repeat: no-repeat;
}

*::-webkit-scrollbar-button:single-button:vertical:decrement {
    background-position: center 0.5rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,0 0,50 100,50'/></svg>");
}

*::-webkit-scrollbar-button:single-button:vertical:increment {
    background-position: center 0.5rem;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,50 0,0 100,0'/></svg>");
}

*::-webkit-scrollbar-button:single-button:horizontal:decrement {
    background-position: 0.5rem center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='0,50 50,0 50,100'/></svg>");
}

*::-webkit-scrollbar-button:single-button:horizontal:increment {
    background-position: 0.5rem center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='rgb(96, 96, 96)'><polygon points='50,50 0,0 0,100'/></svg>");
}

*::-webkit-scrollbar-corner {
    background: var(--colors_databackgroundcolor);
}

/* FIREFOX, EDGE/CHROME > 121 */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--colors_actionborder_and_focuscolor) var(--colors_databackgroundcolor);
}
