﻿@font-face {
    font-family: 'Bouncy';
    src: url('/Fonts/Bouncy.otf') format('opentype');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bouncy';
    src: url('/Fonts/BouncyFill.otf') format('opentype');
    font-display: swap;
    font-weight: bold; /* For example, you can use bold for this version */
    font-style: normal;
}

@font-face {
    font-family: 'Bouncy';
    src: url('/Fonts/BouncyThin.otf') format('opentype');
    font-display: swap;
    font-weight: 300; /* Use a light weight for Thin variant */
    font-style: normal;
}

:root {
    --login-font-family: 'Bouncy', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    --login-control-font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
}


html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.login-container {
    min-height: 100vh; /* Full screen height */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--login-bg-mobile, url('/images/login-background.png')) no-repeat center center;
    background-size: cover; /* Ensures full image is shown */
    background-position: center center;
    background-attachment: fixed; /* Keeps the background fixed when scrolling */
    font-family: var(--login-font-family);
}

.login-container button,
.login-container input,
.login-container select,
.login-container textarea,
.login-container label,
.login-container p,
.login-container span {
    font-family: inherit;
}

.login-container button,
.login-container input,
.login-container select,
.login-container textarea {
    font-family: var(--login-control-font-family);
}

.login-container .row {
    width: 100%;
    margin: 0;
}

.login-container .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#login-form {
    width: min(280px, 90vw);
}

.pin-masked-input {
    -webkit-text-security: disc;
}

.login-container #sync-status-dot {
    position: fixed;
    top: 12px;
    right: 12px;
}

.login-container .btn-primary {
    background-color: var(--login-button-color, #2F80ED);
    border-color: var(--login-button-color, #2F80ED);
}

.login-container .btn-primary:hover,
.login-container .btn-primary:focus,
.login-container .btn-primary:active {
    background-color: color-mix(in srgb, var(--login-button-color, #2F80ED) 85%, black);
    border-color: color-mix(in srgb, var(--login-button-color, #2F80ED) 85%, black);
}

@media (min-width: 768px) {
    .login-container {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        background-image: var(--login-bg-desktop, var(--login-bg-mobile, url('/images/login-background.png')));
    }
}

.bouncy-title {
    font-family: 'Bouncy', sans-serif;
    font-weight: normal; /* Regular Bouncy font */
    font-size: 64px; /* Increase the font size */
    color: var(--login-title-color, #2F80ED);
    display: block;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center; /* Ensure text is centered inside the element */
}

    .bouncy-title.bold {
        font-weight: bold; /* Apply the BouncyFill.otf */
    }

    .bouncy-title.thin {
        font-weight: 300; /* Apply the BouncyThin.otf */
    }
