﻿
body {
    background: transparent linear-gradient(123deg, #E6E9F4 0%, #CBDBFD 100%) 0% 0% no-repeat padding-box;
    background-attachment: fixed;
    padding: 0;
    margin: 0;
    font: 14px 'Noto Sans';
}

.h-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.h-outter {
    width: 456px;
}

    .h-outter .footer {
        font: 12px 'Noto Sans';
        letter-spacing: 0px;
        color: #727272;
        opacity: 1;
        text-align: center;
        margin-top: 22px;
    }

.l-content {
    background: #FFFFFF;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 6px 15px 0px;
    border-radius: 4px;
    padding: 5px;
}

    .l-content .sso-logo {
        padding: 30px 0 30px 0;
        text-align: center;
    }

        .l-content .sso-logo img {
            height: 40px;
            width: auto;
        }

    .l-content .main-contain {
        min-height: 150px;
    }


    .l-content .sso-type {
        width: 312px;
        margin: 0 auto;
    }

        .l-content .sso-type nav {
            width: 50%;
            line-height: 45px;
            display: inline-block;
            border-bottom: 1px solid #E7E7E7;
            text-align: center;
            margin: 0 -2px;
            cursor: pointer;
        }

            .l-content .sso-type nav.active {
                border-bottom: 2px solid #3260C9;
                color: #3260C9;
                font-weight: bold;
                line-height: 43px;
            }

    .l-content .sso-type-3 nav {
        width: 33.3%;
    }

    .l-content .l-footer {
        margin: 25px;
        text-align: center;
    }

        .l-content .l-footer img {
            height: 24px;
        }

    .l-content .sso-to-client {
        width: 312px;
        margin: 8px auto 0 auto;
        color: #3260C9;
    }


.h-outter {
    max-height: 100vh;
    overflow: auto;
}
@media only screen and (min-width: 767px) {
    /* 針對 WebKit 瀏覽器的滾動條樣式 */
    .h-outter::-webkit-scrollbar {
        width: 12px; /* 滾動條的寬度 */
    }

    .h-outter::-webkit-scrollbar-thumb {
        background-color: #FFF; /* 滑塊顏色 */
        border-radius: 10px; /* 滑塊圓角 */
        border: 2px solid #cfddfb; /* 滑塊邊框顏色 */
    }

    .h-outter::-webkit-scrollbar-track {
        background-color: #cfddfb; /* 滾動條背景顏色 */
    }
}
@media only screen and (max-width: 768px) {
    body {
        background: #FFF;
    }

    .h-outter {
        height: 100vh;
        max-width: 100%;
        min-width: 330px;
    }

    .l-content {
        box-shadow: none;
        /*height: 100vh;*/
    }
    /*
    .l-content .l-footer {
        margin: 0;
        position: fixed;
        bottom: 40px;
        left: 0;
        width: 100%;
        height: 30px;
        background: #FFF;
        padding: 10px;
    }


    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 35px;
        line-height: 25px !important;
        background: #FFF;
    }
*/
    .footer {
        margin: -10px;
        height: 80px;
    }
        .h-copyright {
        display: none;
    }
}


.board-main {
    width: 88%;
    margin: 0 auto;
}

/********************************************************
*****錯誤提示********************************************
********************************************************/
.login-info {
    position: fixed;
    top: 5px;
    left: 5px;
    right: 5px;
    z-index: 100;
}

.error-alert {
    color: #F23C47;
    margin-bottom: 15px;
}

.login-alert, .login-alert-danger {
    color: #333333;
    background-color: #FFEBEC;
    border: 1px solid #F23C47;
    margin: 0 auto;
    border-radius: 5px;
    font-size: 15px;
    width: 98%;
    max-width: 500px;
    background-image: url("../sso_v1/images/icon-error.svg");
    background-repeat: no-repeat;
    background-size: 28px 28px;
    background-position: 5px 7px;
}

    .login-alert ul, .login-alert-danger ul {
        list-style-type: none;
        margin: 10px 0 10px 0px;
        padding-inline-start: 40px;
    }

    .login-alert li, .login-alert-danger li {
        list-style-type: none;
        line-height: 150%;
    }

.login-alert-success {
    background-color: #EBF8EE;
    border: 1px solid #3ABC5D;
    background-image: url("../sso_v1/images/ic-success.svg");
}


/********************************************************
*****註冊頁面********************************************
********************************************************/

input.input-validation-error {
    border: 1px solid #F23C47;
}

.field-validation-error {
    color: #F00;
}

#register-form input, #register-form select {
    line-height: 42px;
    height: 42px;
    color: #000;
}

    #register-form input::placeholder {
        color: #89a9ed;
    }

.board-main .btn-primary {
    background-color: #3260C9;
    color: #FFF;
}

#register-form .field-validation-error {
    padding-top: 4px;
    padding-bottom: 8px;
    color: #F00;
}

#register-form .send-verify {
    right: 2px;
    top: 2px;
    height: 38px;
    outline: none !important; /* 移除按钮点击时的轮廓线 */
    box-shadow: none !important; /* 移除按钮点击时的阴影效果 */
    border: none !important; /* 移除按钮的边框 */
}
    #register-form .send-verify:focus {
        outline: 0 !important;
    }

#register-form .phone-combine{
    margin-left: 0 !important;
    margin-right: 0 !important;
}

    #register-form .phone-combine #CountryCode {
        border-start-end-radius: 0 !important;
        border-end-end-radius: 0 !important;
    }
    #register-form .phone-combine #Phone {
        border-start-start-radius: 0 !important;
        border-end-start-radius: 0 !important;
    }

/********************************************************
*****登錄界面********************************************
********************************************************/
#login-form {
    color: #333;
}
    #login-form .fc-icon {
        width: 100%;
        position: relative;
    }

        #login-form .fc-icon input {
            padding-left: 40px;
            line-height: 45px;
            height: 45px;
        }

        #login-form .fc-icon::before {
            content: " ";
            width: 45px;
            height: 45px;
            position: absolute;
            left: 0;
            top: 2px;
            background-image: url('../sso_v1/images/icon-password.svg');
            background-repeat: no-repeat;
            background-position: 5px 5px;
            background-size: 30px 30px;
        }

    #login-form .fc-icon-user::before {
        background-image: url('../sso_v1/images/icon-profile.svg');
    }

    #login-form .fc-icon-pwd::before {
        background-image: url('../sso_v1/images/icon-password.svg');
    }

#LoginForm .btn-primary{
    line-height: 200%;
}

.btn-tools {
    border: 1px solid #c2c8d0;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 30px !important;
}
    .btn-tools img.icon {
        width: 25px;
        height: 25px;
    }
    .btn-tools span {
        width: 170px;
        text-align: left;
        padding-left: 15px;
    }

.btn-2nd {
    border: 1px solid #3260c9;
    color: #3260c9;
}