﻿@charset "utf-8";
/* Variables
   ============================================== */
/* placeholder */
/* buttons */
/* Mixins
   ============================================== */
/* Reset
   ============================================== */
*,
*:after,
*:before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

._2fa-form {
    display: block;
}

._2fa-form__group {
    margin: 10px 0 0;
}

._2fa-form__group--error._2fa-form__pincode > input {
    background-color: #eb3b3b;
}

    ._2fa-form__group--error._2fa-form__pincode > input[disabled] {
        background-color: #eb3b3b;
        color: #fff;
        opacity: 1;
    }

._2fa-form__group--success._2fa-form__pincode > input {
    background-color: #32c832;
}

    ._2fa-form__group--success._2fa-form__pincode > input[disabled] {
        background-color: #32c832;
        color: #fff;
        opacity: 1;
    }

._2fa-form__pincode {
    display: block;
    width: 100%;
    margin: 10px auto 20px;
    padding: 0;
}

    ._2fa-form__pincode:before,
    ._2fa-form__pincode:after {
        display: table;
        content: '';
    }

    ._2fa-form__pincode:after {
        clear: both;
    }

    ._2fa-form__pincode > label {
        display: block;
        text-align: center;
        margin: 10px 0;
    }

    ._2fa-form__pincode > input[type="number"] {
        -moz-appearance: none;
        -webkit-appearance: none;
        appearance: none;
    }

    ._2fa-form__pincode > input {
        display: inline-block;
        float: left;
        width: 15%;
        height: 50px;
        line-height: 48px;
        text-align: center;
        font-size: 2em;
        color: #181819;
        border: 0;
        border-bottom: 2px solid rgba(0,0,0,0.3);
        border-radius: 2px 2px 0 0;
        transition: background-color 0.3s, color 0.3s, opacity 0.3s;
        cursor: default;
        user-select: none;
        margin: 0;
        margin-top: 10px;
        margin-right: 2%;
        padding: 0;
    }

        ._2fa-form__pincode > input:focus {
            outline: 0;
            box-shadow: none;
            border-color: #1486f0;
            animation: border-pulsate 1.5s infinite;
            -webkit-tap-highlight-color: transparent;
        }

        ._2fa-form__pincode > input:last-child {
            margin-right: 0;
        }

        ._2fa-form__pincode > input[disabled] {
            background: #eee;
            opacity: 1;
        }

._2fa-form__buttons {
    text-align: center;
    margin: 0 auto;
    padding: 10px 0 0;
}
/* Button
   ============================================== */
._2fa-button {
    position: relative;
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    outline: 0;
    cursor: pointer;
    height: 50px;
    line-height: 50px;
    margin: 0;
    padding: 0 20px;
    /* primary */
}

._2fa-button--primary {
    background-color: #4776e6;
    color: #fff;
    line-height: 48px;
    border: 1px solid transparent;
    border-radius: 50px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    user-select: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    -webkit-touch-callout: none;
    /* disabled */
}

    ._2fa-button--primary:focus,
    ._2fa-button--primary:hover {
        background-color: #2d62e2;
        color: #fff;
    }

    ._2fa-button--primary:active {
        background-color: #1d53d4;
        color: #fff;
        box-shadow: inset 0 0 4px 2px rgba(0,0,0,0.1);
    }

    ._2fa-button--primary[disabled] {
        background-color: #4776e6;
        user-select: none;
        pointer-events: none;
        cursor: not-allowed;
        -moz-opacity: 0.3;
        -khtml-opacity: 0.3;
        opacity: 0.3;
    }
/* Placeholder
   ============================================== */
/* Chrome/Opera/Safari */
::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.7;
}
/* Firefox 19+ */
::-moz-placeholder {
    color: inherit;
    opacity: 0.7;
}
/* IE 10+ */
:-ms-input-placeholder {
    color: inherit;
    opacity: 0.7;
}
/* Firefox 18- */
:-moz-placeholder {
    color: inherit;
    opacity: 0.7;
}
/* Animations
   ============================================== */
@-moz-keyframes border-pulsate {
    0% {
        border-color: #1486f0;
    }

    50% {
        border-color: rgba(0,0,0,0.3);
    }

    100% {
        border-color: #1486f0;
    }
}

@-webkit-keyframes border-pulsate {
    0% {
        border-color: #1486f0;
    }

    50% {
        border-color: rgba(0,0,0,0.3);
    }

    100% {
        border-color: #1486f0;
    }
}

@-o-keyframes border-pulsate {
    0% {
        border-color: #1486f0;
    }

    50% {
        border-color: rgba(0,0,0,0.3);
    }

    100% {
        border-color: #1486f0;
    }
}

@keyframes border-pulsate {
    0% {
        border-color: #1486f0;
    }

    50% {
        border-color: rgba(0,0,0,0.3);
    }

    100% {
        border-color: #1486f0;
    }
}