@font-face {
    font-family: "Inter Variable";
    src: url("./../fonts/inter.var.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --palette-text-primary: #1C252E;
    --palette-text-secondary: #637381;
    --palette-primary-main: #2D86FE;
    --palette-error-main: #FF5630;
    --palette-error-darker: #7A0916;
    --palette-error-lighter: #FFE9D5;
    --palette-info-main: #00B8D9;
    --palette-info-darker: #003768;
    --palette-info-lighter: #CAFDF5;
    --palette-grey-800: #1C252E;
    --palette-button-background: #1C252E;
    --palette-button-hover: #454f5b;
    --palette-button-hover-2: #F4F6F8;
    --background-color-default: #FFFFFF;
    --divider-color: rgba(145, 158, 171, 0.2);
}

@media (prefers-color-scheme: dark) {
    :root {
        --palette-text-primary: #FFFFFF;
        --palette-text-secondary: #919EAB;
        --palette-primary-main: #1F5FCC;
        --background-color-default: #162030;
        --palette-button-background: #FFFFFF;
        --palette-button-hover: #d3d2d2;
        --palette-button-hover-2: #1C252E;
    }
}


*, ::before, ::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    -webkit-overflow-scrolling: touch;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    font-size: 17px;
}

body {
    display: flex;
    flex: 1 1 auto;
    min-height: 100%;
    flex-direction: column;
    margin-top: 0;
    font-family: "Inter Variable", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

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

p {
    margin-top: 0;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.571429;
    color: var(--palette-text-secondary);
}

a {
    margin-top: 0;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.571429;
    color: var(--palette-primary-main);
    text-decoration-line: none;
}

a:hover {
    text-decoration-line: underline;
}

h5 {
    display: block;
    margin-top: 0;
    font-weight: 700;
    font-size: 1.125rem;
    line-height: 1.5;
}

.title-container {
    margin-bottom: 40px;
    row-gap: 12px;
    column-gap: 12px;
    display: flex;
    text-align: center;
    white-space-collapse: preserve-breaks;
    text-wrap: wrap;
    text-wrap-mode: wrap;
    flex-direction: column;
}

.primary-button {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
    box-sizing: border-box;
    outline-width: 0;
    margin-top: 0;
    cursor: pointer;
    -webkit-user-select: none;
    vertical-align: middle;
    appearance: none;
    text-decoration-line: none;
    font-weight: 700;
    text-transform: unset;
    min-width: 64px;
    border-top-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    border-radius: 8px;
    border-top-color: currentcolor;
    font-size: 16px;
    box-shadow: none;
    width: 100%;
    transition: 0.1s ease all;
    transition-property: background-color;
    color: var(--background-color-default);
    background-color: var(--palette-button-background);
    height: 48px;
    padding: 8px 16px;
}

.primary-button:hover,
.primary-button:focus-visible:before {
    background: var(--palette-button-hover);
}

.root {
    display: flex;
    flex: 1 1 auto;
    min-height: 100%;
    flex-direction: column;
}

.layout-root {
    display: flex;
    flex: 1 1 auto;
    min-height: 100%;
    flex-direction: column;
}

.layout-root::before {
    position: fixed;
    background: url("./../img/background.webp") center center / cover no-repeat fixed;
    z-index: 1;
    inset: 0;
    content: "''";
}

.main-root {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
}

.auth-container {
    padding: 24px 24px;
    width: 100%;
    z-index: 2;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    max-width: 420px;
}

.stack-2 {
    row-gap: 12px;
    column-gap: 12px;
    display: flex;
    flex-direction: column;
}

.stack-4 {
    row-gap: 24px;
    column-gap: 24px;
    display: flex;
    flex-direction: column;
}

.stack-h-2 {
    row-gap: 12px;
    column-gap: 12px;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}

.divider {
    flex-shrink: 0;
    display: flex;
    text-align: center;
    border-top-width: 0;
    border-right-width: 0;
    border-bottom-width: 0;
    border-left-width: 0;
    border-top-style: solid;
    border-left-style: solid;
    margin-top: 24px;
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 0.75rem;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--divider-color);
}

.divider:before {
    content: "";
    align-self: center;
    width: 100%;
    border-top-width: 1px;
    border-top-color: var(--divider-color);
    border-top-style: dashed;
}

.divider:after {
    content: "";
    align-self: center;
    width: 100%;
    border-top-width: 1px;
    border-top-color: var(--divider-color);
    border-top-style: dashed;
}

.divider span {
    display: inline-block;
    padding-left: 12px;
    padding-right: 12px;
    white-space-collapse: collapse;
    text-wrap-mode: nowrap;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--palette-text-secondary);
}

.alert {
    transition-duration: 300ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0ms;
    transition-behavior: normal;
    transition-property: box-shadow;
    border-radius: 8px;
    box-shadow: none;
    background-image: none;
    font-weight: 400;
    font-size: 14px;
    display: flex;
    padding: 6px 16px;
    margin-bottom: 24px;
    color: var(--palette-info-darker);
    background-color: var(--palette-info-lighter);
}

.alert .icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-right: 12px;
    display: flex;
    font-size: 22px;
    opacity: 1;
    color: var(--palette-info-darker);
}

.alert .message {
    padding-top: 8px;
    padding-bottom: 8px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: auto;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: var(--palette-info-darker);
}

.alert.warning {
    color: var(--palette-error-darker);
    background-color: var(--palette-error-lighter);
}

.alert.warning .icon {
    color: var(--palette-error-darker);
}

.alert.warning .message {
    color: var(--palette-error-darker);
}

.img-container {
    width: 100%;
    height: 74px;
    -webkit-box-align: center;
    align-items: center;
    position: relative;
    display: inline-flex;
    -webkit-box-pack: center;
    justify-content: center;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

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

.mb-0 {
    margin-bottom: 0 !important;
}

/*md<=*/
@media (min-width: 900px) {
    .main-root {
        -webkit-box-pack: center;
        justify-content: center;
        padding: 80px 0 80px 0;
    }

    .auth-container {
        padding: 40px 24px;
    }

    .img-container {
        height: 96px;
    }
}

@media (prefers-color-scheme: light) {
    body {
        color: var(--palette-text-primary);
        background-color: var(--background-color-default);
    }

    .layout-root::before {
        opacity: 0.24;
    }

    .auth-container {
        /*DEFAULT*/
        background-color: var(--background-color-default);
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: var(--palette-text-primary);
        background-color: var(--background-color-default);
    }

    .layout-root::before {
        opacity: 0.08;
    }

    .auth-container {
        background-color: var(--background-color-default);
    }
}
