@import "./partials/_base-token.css";
@import "./partials/_general-token-summer.css";

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-feature-settings: "ss03";
    font-variation-settings: "FANU" 1;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
    -o-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    position: relative;
    z-index: -1;
    background-color: var(--color-background-page) !important;
    display: flex;
    flex-direction: column;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 50px rgba(0, 0, 0, 0) inset !important;
    -webkit-text-fill-color: var(--color-text-primary) !important;
    transition: background-color 5000s ease-in-out 0s;
}

* {
    box-sizing: border-box;

    scrollbar-width: thin !important;
    scrollbar-gutter: 0 !important;
    scrollbar-color: var(--color-scrollbar-thumb) transparent;
    -webkit-tap-highlight-color: transparent;


    ::-webkit-scrollbar {
        width: 6px;
    }

    ::-webkit-scrollbar-corner {
        background-color: transparent !important;
    }

    ::-webkit-scrollbar-track {
        border-radius: 20px;
        background: transparent;
    }

    ::-webkit-scrollbar-thumb {
        background: var(--color-scrollbar-thumb);
        border-radius: 20px;
    }

    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-scrollbar-thumb-hover);
    }
}

a {
    text-decoration: none;
    outline-color: var(--color-primary-main) !important;
    outline-offset: 4px;
    color: var(--color-primary-plus-2);
}

.en {
    font-variation-settings: "FANU" 0 !important;
    font-feature-settings: normal !important;
}

.ltr {
    direction: ltr;
}

div:focus-visible {
    outline: none !important;
}

label:focus-visible {
    outline-width: 1px !important;
    outline-color: var(--outline-color);
    outline-style: solid;
    border-radius: var(--border-radius-small);
    outline-offset: 0;
}

.renderHTMLContent p {
    font-size: var(--font-size-body2);
    font-weight: var(--font-weight-body2);
    line-height: var(--line-height-body2);
    margin: 0;
}

.tinyUnit {
    font-size: var(--font-size-tiny);
    margin-right: var(--spacing-xx-small);
    font-weight: var(--font-weight-tiny);
    line-height: var(--line-height-tiny);
}

.noScroll {
    overflow-y: hidden !important;
}

.generalLayoutHeader {
    height: 130px;
}


.center-block {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

@media only screen and (max-width: 600px) {
    .kbLayoutHeader {
        height: 102px;
    }
}

.errorRoot {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: var(--spacing-xx-large);
    height: 100%;
}

.errorContainer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: center;
    height: 100%;
}

.errorImage {
    max-width: 100%;
    height: auto;
}