﻿.container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: var(--gfpal-BG4);
}

.loginbox {
    background-color: white;
    position: relative;
    width: 400px;
    padding: 20px;
    gap: 10px;
    border-radius: 5px;
}

    .loginbox .logo {
        position: absolute;
        top: -50px;
        width: 150px;
        height: 50px;
    }

        .loginbox .logo img {
            object-fit: contain;
            width: 100%;
            height: 100%;
        }

    .loginbox .hidden {
        display: none;
    }

    .loginbox .r_form.vertical {
        padding: 0;
    }

    .loginbox .r_form .formelement .value[data-type='textbox'] input {
        border-left: none;
        border: 1px solid #d0d0d0;
    }

    .loginbox .code-value {
        display: flex;
        justify-content: center;
    }

    .loginbox .code-inputs {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }

    .loginbox input.code-digit {
        width: 48px;
        height: 56px;
        border-radius: 8px;
        border: 2px solid #d0d0d0;
        text-align: center;
        font-size: 18px !important;
        font-weight: 600;
        outline: none;
    }

    .loginbox .code-digit:focus {
        border-color: #0b86ff;
        box-shadow: 0 0 0 2px rgba(11, 134, 255, 0.15);
    }

    .loginbox .buttonrow {
        display: flex;
        justify-content: space-between;
        padding-right: 5px;
        flex-direction: row-reverse;
    }

        .loginbox .buttonrow .forgotpassword {
            color: gray;
            text-decoration: underline;
            cursor: pointer;
        }

    .loginbox .button {
        background: black;
        color: white;
        width: 170px;
        height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 6px;
        cursor: pointer;
    }

    .loginbox .r_form.hidden {
        display: none;
    }

.loginbox .language-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 165px;
    align-self: flex-end;
}

.loginbox .language-flag {
    width: 49px;
    min-width: 44px;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    cursor: pointer;
}

.loginbox .language-flag:hover { background: #f7f7f7; }
.loginbox .language-flag.selected { border: 2px solid var(--cust-color2, #555); padding: 5px 3px; }
.loginbox .language-flag .code { font-size: 12px; font-weight: 700; line-height: 1; color: #555; }
