.login-page {
    display: flex;
    flex-direction: row;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    user-select: none;
}

.login-page-left {
    background-image: url('/Images/trees3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
}

.login-page-right {
    background-image: var(--background-gradient);
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    width: 50%;
    min-width: 350px;
    height: 100%;
}

.cope-logo {
    font-family: Aleo, sans-serif;
    font-weight: 700;
    font-size: 26pt;
    color: var(--title-colour);
    margin-bottom: 10px;
}

.login-title {
    font-family: Aleo, sans-serif;
    font-weight: 700;
    font-size: 26pt;
    color: var(--title-colour);
    margin-bottom: 50px;
}

.login-box {
    display: flex;
    flex-direction: column;
    /*border: 1px grey solid;*/
    width: 50%;
    min-width: 200px;
    max-width: 340px;
    height: auto;
}

.username-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 22px;
}

.username-label {
    font-size: 12px;
    color: gray;
    margin-bottom: 3px;
}

.password-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.password-label {
    font-size: 12px;
    color: gray;
    margin-bottom: 3px;
}

.sign-in-button {
    align-self: center;
    margin-bottom: 10px;
}

.forgotten-password-link {
    align-self: center;
    font-size: 12px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.loading-box {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.loading-label {
}

.loading-bar {
    width: 300px;
    height: 5px;
    background: rgba(0,64,128,0.6);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.sectionwrapper-loading-bar {
    width: inherit;
    height: 5px;
    background: rgba(0,64,128,0.6);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-bar-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 20%, var(--hover-colour) 50%, transparent 80%);
    background-size: 200% 100%;
    animation: shimmer 1.8s ease-in-out infinite;
}

.bar-glow {
    box-shadow: 0 0 6px 1px color-mix(in srgb, var(--active-colour) 60%, transparent), 0 0 16px 2px color-mix(in srgb, var(--active-colour) 30%, transparent);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 10px 3px color-mix(in srgb, var(--active-colour) 80%, transparent), 0 0 28px 6px color-mix(in srgb, var(--active-colour) 45%, transparent);
    }
}
