﻿@keyframes bam {
    0% {
        opacity: 0;
        outline: 2px solid green;
    }

    50% {
        opacity: 1.0;
        outline: 24px solid green;
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
        outline: 12px solid green;
    }
}

@keyframes pulse {
    0% {
        scale: 1;
        opacity: 0.1;
    }

    50% {
        scale: 0.9;
        opacity: 0.05;
    }

    100% {
        scale: 1;
        opacity: 0.1;
    }
}

@keyframes revealscandit {
    0% {
    }

    100% {
        opacity: 1;
        width: 500px;
    }
}

.p_pin {
    height: 100%;
    background-color: var(--gfpal-BG1);
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .p_pin h1 {
        margin: 0;
        color: var(--gfpal-white);
        font-size: 1.2em;
        font-weight: normal;
    }

    .p_pin .r_pin h1 {
        text-align: center;
    }

    .p_pin .r_pin .deactivate {
        cursor: pointer;
        color: var(--gfpal-white);
        opacity: 0.4;
    }

    .p_pin .r_pin .deactivate:hover {
        text-decoration:underline;
    }
    
    .p_pin .r_pin {
        border-radius: 6px;
        padding: 20px 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        z-index: 100;
    }

    .p_pin .digits {
        display: flex;
        margin-top: 8px;
        margin-bottom: 30px;
    }

    .p_pin .digit {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background-color: var(--gfpal-white);
        color: var(--gfpal-BG1);
        border-radius: 6px;
        margin: 4px;
        font-size: 2em;
        padding-top: 12px;
        font-size: 3em;
    }

    .p_pin .r_pin .digits input {
        width: 150px;
        font-size: 25pt;
        text-align: center;
        border: 0;
        outline: 0;
        border-radius: 4px;
    }

    .p_pin .logo {
        position: fixed;
        left: 10px;
        top: 10px;
    }

        .p_pin .digit.pulse {
            animation: digitPulse 400ms;
        }

    .p_pin .r_logoblocks {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .p_pin .r_logoblocks .interior {
            position: relative;
            width: 340px;
            height: 470px;
            margin-top: 1px;
            margin-left: -629px;
        }

        .p_pin .r_logoblocks .block {
            position: absolute;
            width: 210px;
            height: 230px;
            opacity:0.1;
        }

            .p_pin .r_logoblocks .block.top {
                top: 0;
                left: 120px;
                animation: pulse 3s infinite;
                animation-delay: 0;
            }

            .p_pin .r_logoblocks .block.mid {
                top: 120px;
                left: 0px;
                animation: pulse 3s infinite;
                animation-delay: 1s;
            }

            .p_pin .r_logoblocks .block.bottom {
                top: 240px;
                left: 120px;
                animation: pulse 3s infinite;
                animation-delay: 2s;
            }

    .p_pin .accessdenied {
        font-weight: bold;
        text-transform: uppercase;
        margin-top: 4px;
        color: var(--gfpal-red);
        visibility: hidden;
    }

    .p_pin .r_pin .switch-activation-method {
        opacity: 0.4;
        cursor:pointer;
    }

    .p_pin .r_pin .switch-activation-method:hover {
        opacity: 1.0;
    }

.r_pin .keys {
    z-index: 2;
}

    .r_pin .keys .row {
        display: flex;
    }

    .r_pin .keys .key {
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--gfpal-white);
        color: #444;
        border-radius: 50%;
        margin: 10px;
        font-size: 2em;
        padding: 30px;
        cursor: pointer;
    }

        .r_pin .keys .key:hover {
            background-color: #ffffff80;
        }

    .r_pin .keys .empty {
        width: 30px;
        height: 30px;
        margin: 10px;
        padding: 30px;
    }

.p_pin .vgap {
    height: 15px;
}

.p_pin .r_jumbo {
    font-size: 30pt;
    font-weight: bold;
    margin-bottom: 6px;
    color: var(--gfpal-white);
}

.p_pin .r_lessjumbo {
    font-size: 16pt;
    font-weight: bold;
}

.p_pin .r_pin .scandit-barcode-picker {
    background-color: transparent !important;
}

    .p_pin .r_pin .scandit-barcode-picker video {
        border-radius: 10px;
    }

.p_pin .activationerror {
    display: none;
    background-color: var(--gfpal-red);
    color: var(--gfpal-white);
    padding: 4px 10px;
    border-radius: 4px;
    text-align: center;
}

.r_checkcontainer {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1111;
    display: none;
    justify-content: center;
    align-items: center;
}

.r_check {
    position: absolute;
    background-color: var(--gfpal-white) !important;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1111;
    outline: 8px solid green;
    animation: bam 1s ease 0s 1 normal forwards;
}

    .r_check i {
        font-size: 40pt;
        color: var(--gfpal-green);
    }

.p_pin .r_pin .logos {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .p_pin .r_pin .logos img.gf {
        height: 40px;
    }

    .p_pin .r_pin .logos img.wmspro {
        height: 28px;
        padding-top: 4px;
    }

.p_pin .r_popup {
    display: none;
    position: absolute;
    background-color: var(--gfpal-BG2);
    color: white;
    padding: 60px;
    z-index: 9999;
    width: 500px;
    height: 300px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
}

.manualinputoverlay {
    display: flex;
    flex-direction: column;
    align-items: center;
}

div[data-displaywhen] {
    display: none;
}

.p_pin[data-state='manual'] div[data-displaywhen='manual'] {
    display: flex;
}

.p_pin[data-state='qr'] div[data-displaywhen='qr'] {
    display: flex;
}

.p_pin .scansubtext {
    z-index: 1;
}

.p_pin .scan-container {
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p_pin .scanqrcode-button {
    z-index: 5;
}

._version {
    font-size: 9pt;
    color: #ffffff40;
    position: absolute;
    bottom: 8px;
    right: 10px;
}
