﻿.ucbn-time-code-wizard-modal {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    background-color: white;
    border: none;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 0 20px rgba(0,0,0,0.5);
    -moz-box-shadow: 0 0 20px rgba(0,0,0,0.5);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    width: calc(100% - 30px);
    max-width: 500px;
}

.ucbn-time-code-wizard-popup-background {
    background-color: black;
    filter: alpha(opacity=70);
    opacity: 0.7;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header {
    display: flex;
    height: 48px;
    background-color: #ebf1ff;
    width: 100%;
    -webkit-border-top-left-radius: 8px;
    border-top-left-radius: 8px;
    -webkit-border-top-right-radius: 8px;
    border-top-right-radius: 8px;
    align-items: center;
    padding: 0 15px;
    -webkit-justify-content: space-between;
    justify-content: space-between;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header.error {
    background-color: #f00;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header .ucbn-modal-header-title {
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 15px;
    color: #6e93d0;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header.error .ucbn-modal-header-title {
    background-color: #f00;
    color: #fff;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header .ucbn-modal-header-title i {
    display: flex;
    font-size: 28px;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header .ucbn-modal-header-title span {
    display: flex;
    font-size: 18px;
    line-height: 18px;
    font-weight: 700;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header a.ucbn-modal-close {
    display: flex;
    height: 28px;
    width: 28px;
    cursor: pointer;
    text-decoration: none;
    align-items: center;
    border: 1px solid #6e93d0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-transition: .3s;
    -o-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
    justify-content: center;
    font-size: 20px;
    background-color: #fff;
    color: #6e93d0;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header.error a.ucbn-modal-close {
    background-color: #f00;
    border-color: #fff;
    color: #fff;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header a.ucbn-modal-close:hover {
    background-color: #6e93d0;
    color: #fff;
}

.ucbn-time-code-wizard-modal .ucbn-modal-header.error a.ucbn-modal-close:hover {
    background-color: #fff;
    color: #f00;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    max-height: calc(100vh - 320px);
    overflow-y: auto;
    padding: 18px 15px 8px 15px;
    gap: 15px;
    max-width: 100%;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-time-code-status {
    display: flex;
    font-size: 15px;
    line-height: 15px;
    font-weight: 700;
    color: #254082;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-time-code {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    gap: 10px;
    -webkit-align-items: center;
    align-items: center;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-time-code span {
    display: flex;
    font-size: 14px;
    line-height: 14px;
    font-weight: 500;
    color: #254082;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-time-code input[type=text] {
    display: flex;
    height: 48px;
    text-align: center;
    border: 2px solid #c2d2ff;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    font-size: 28px;
    font-weight: bold;
    color: #254082;
    letter-spacing: 10px;
    padding: 0 0 0 10px;
    max-width: 200px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .5s,-webkit-box-shadow ease-in-out .5s;
    -o-transition: border-color ease-in-out .5s,box-shadow ease-in-out .5s;
    transition: border-color ease-in-out .5s,box-shadow ease-in-out .5s;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-time-code input[type=text].incorrect {
    color: #f00;
    border-color: #f00;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-time-code input[type=text]:focus {
    border-color: #6e93d0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-countdown {
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 8px;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-countdown .countdown-info {
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    gap: 8px;
    color: #6e93d0;
    font-size: 14px;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-countdown .countdown-info i {
    display: flex;
    width: 20px;
    font-size: 15px;
    -webkit-justify-content: center;
    justify-content: center;
    text-align: center;
    animation-name: ucbn-anim-time-code-spinner;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

@keyframes ucbn-anim-time-code-spinner {
    0% {
        transform: rotate(0);
    }

    35% {
        transform: rotate(180deg);
    }

    50% {
        transform: rotate(180deg);
    }

    85% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-countdown .countdown-time {
    display: flex;
    color: #254082;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 14px;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-incorrect-attempt {
    display: flex;
    color: #f00;
    font-weight: 700;
    font-size: 14px;
    line-height: 14px;
    -webkit-justify-content: center;
    justify-content: center;
}

.ucbn-time-code-wizard-modal .ucbn-modal-body .ucbn-modal-critical-error {
    color: #254082;
    font-size: 14px;
    line-height: 20px;
}

.ucbn-time-code-wizard-modal .ucbn-modal-footer {
    display: flex;
    height: 54px;
    background-color: transparent;
    width: 100%;
    -webkit-align-items: start;
    align-items: start;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    padding: 6px 15px 0 15px;
}

.ucbn-time-code-wizard-modal .ucbn-modal-footer a {
    display: flex;
    gap: 12px;
    height: 34px;
    cursor: pointer;
    text-decoration: none;
    align-items: center;
    border: 2px solid #6e93d0;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    -moz-transition: .3s;
    -o-transition: .3s;
    -webkit-transition: .3s;
    transition: .3s;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    background-color: #6e93d0;
    color: #ebf1ff;
    padding: 0 15px;
}

.ucbn-time-code-wizard-modal .ucbn-modal-footer a:hover {
    text-decoration: none;
    background-color: #ebf1ff;
    color: #254082;
    border-color: #254082;
    -moz-box-shadow: 0px 1px 8px 0px rgba(37, 64, 130, 0.5);
    -webkit-box-shadow: 0px 1px 8px 0px rgba(37, 64, 130, 0.5);
    box-shadow: 0px 1px 8px 0px rgba(37, 64, 130, 0.5);
}

.ucbn-time-code-wizard-modal .ucbn-modal-footer a i {
    display: flex;
    font-size: 16px;
}

.ucbn-time-code-wizard-modal .ucbn-modal-footer a span {
    display: flex;
    font-size: 14px;
    line-height: 12px;
}
