body {
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: lighter;
    color: #FFF;
}

form {
    width: 100%;
    max-width: 23rem;
    padding: 1rem;
}

/* ＝＝＝＝＝＝ 標題區塊 ＝＝＝＝＝＝ */

.title-div {}

.img-logo {
    display: block;
    width: 35%;
    margin: 0 auto;
}

h1 {
    margin: 1rem auto 2.5rem;
    text-align: center;
    font-size: 2.3rem;
}

h2 {
    margin: 0 0 1.5rem;
    font-size: 1.5rem;
    text-align: center;
    opacity: 0.7;
}

/* ＝＝＝＝＝＝ 輸入區塊 ＝＝＝＝＝＝ */

.Inp-Row-Div {
    margin-bottom: 1.5rem;
}

.Inp-Row {
    position: relative;
}

.Inp-Row>.bi,
.inp-label-text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 1.5rem;
    color: #AAA;
}

.form-control {
    font-size: 1.2rem;
    height: auto;
    padding: 0.8rem 1rem;
    padding-left: 4rem;
    letter-spacing: 1px;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgb(186 214 255);
}

/* ＝＝＝ 錯誤驗證 ＝＝＝ */

.form-control.input-validation-error,
.form-control.input-validation-error:focus {
    box-shadow: 0 0 0 0.25rem rgb(239 145 145);
}

.field-validation-error {
    font-size: 1rem;
    color: #ffa3a3;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.5rem;
}

.field-validation-error::before {
    content: '!';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    border: 1px #ffa3a3 solid;
    border-radius: 50%;
    margin-right: 0.25rem;
    font-size: 1rem;
    line-height: 1;
    transform: scale(0.7);
}

#Pwd {
    padding-right: 3.5rem;
    padding-right: 1rem\9;
}

#Pwd::-ms-reveal {
    display: none;
}

.btn.btn-pwd-seen {
    display: flex;
    display: none\9;
    align-items: center;
    justify-content: center;
    height: 2.8em;
    width: 2.8rem;
    padding: 0;
    position: absolute;
    top: calc(50% - 1.4rem);
    right: 0.5rem;
    border: 0;
    border-radius: 50%;
    background-color: transparent;
    font-size: 1rem;
    color: #333;
}

.btn.btn-pwd-seen:hover,
.btn.btn-pwd-seen:focus {
    background-color: rgba(0, 0, 0, 0.06);
}

/* ＝＝＝ 大寫警示 ＝＝＝ */

.Caps-Alert {
    padding: 0.5rem;
    margin-left: 6px;
    position: absolute;
    top: 50%;
    left: 100%;
    z-index: 10;
    border-radius: 0.25rem;
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.4);
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFF;
    font-size: 0.9rem;
    white-space: nowrap;
    transform: translateY(-50%);
}

.Caps-Alert::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    margin-left: -5px;
    margin-top: -3px;
    position: absolute;
    top: 50%;
    left: 0;
    z-index: 10;
    border-style: solid;
    border-width: 4px 5px 4px 0;
    border-color: transparent rgba(0, 0, 0, 0.8) transparent transparent;
}

*::-ms-backdrop,
.btn.btn-pwd-seen,
*::-ms-backdrop,
.Caps-Alert {
    display: none !important;
}

/* ＝＝＝ 按鈕區塊 ＝＝＝ */

.Btn-Div {
    margin-top: 2.5rem;
}

.Btn-Div>.btn {
    margin: 0;
    padding: 0.8rem;
    font-size: 1.25rem;
}

.Btn-Div>.btn-primary {
    border: 1px rgba(255, 255, 255, 0.4) solid;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}

.Btn-Div>.btn:focus {
    box-shadow: 0 0 0 0.25rem rgb(186 214 255);
}

.Btn-Div>.btn>.bi {
    margin-right: 0.5rem;
}

.Btn-Div>.btn.Btn-Sub {
    margin-top: 0.5rem;
    color: #FFF;
    font-size: 1rem;
    letter-spacing: 0.075rem;
    opacity: 0.7;
    font-weight: normal;
}

.Btn-Div>.btn.Btn-Sub:hover,
.Btn-Div>.btn.Btn-Sub:focus {
    opacity: 1;
}

/* ＝＝＝＝＝＝ 變更密碼 ＝＝＝＝＝＝ */

.ChangePwd-Message {
    font-size: 1.25rem;
    text-align: center;
}

.Ele-Mode-ChangePwd .form-control:not(:focus)~.Caps-Alert {
    display: none !important;
}

/* ＝＝＝ 密碼格式說明 ＝＝＝ */

.ChangePwd-Remark {
    margin-top: 1rem;
    font-size: 0.9rem;
    background-color: #d33;
    color: #FFF;
    padding: 1rem;
    border-radius: 0.25rem;
    border: 1px rgba(255, 255, 255, 0.4) solid;
    box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
}

.ChangePwd-Remark ul {
    margin-bottom: 0;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

/* ＝＝＝＝＝＝ 雙因子驗證 ＝＝＝＝＝＝ */

.QRCode-Div {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.5rem;

}

.QRCode-Div>img {
    display: block;
    max-width: 100%;
    border: 1px #CCC solid;
}

.QRCode-Remark-Div {
    font-size: 1rem;
    color: #D33;
}

.me-1 {
    margin-right: 0.25rem;
}