﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
}

body {
    background: url('img/bg.png') no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
    overflow: hidden;
}

.login-body {
    position: absolute;
    top: 0;
    bottom: 30px;
    right: 150px;
    /*right: 230px;
    top: 50%;
    transform: translateY(-50%);*/
    background: rgba(255, 255, 255, .6);
    width: 450px;
    padding: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

    .login-body .logo {
        width: 100%;
    }



#login_tab {
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    gap: 20px;
}

    #login_tab span {
        display: block;
        cursor: pointer;
        height: 40px;
        line-height: 40px;
        /* padding: 0 20px; */
        border-bottom: 2px solid transparent;
        font-size: 15px;
        color: #333;
        font-weight: 700;
    }

        #login_tab span.current {
            color: #2e73d7;
            border-color: #2e73d7;
        }
#login-content, #mobile-login {
    width: 100%;
}

    #login-content .btn-primary:hover, #mobile-login .btn-primary:hover {
        background-color: #30b3e3 !important;
        border-color: #30b3e3 !important;
    }

    .login-box {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
        background: #fff;
        padding: 5px 10px;
        border-radius: 5px;
    }
.login-icon {
    color: #919dad;
    font-size: 18px;
    margin-top: 3px;
}

.login-box .input-text {
    border: none;
    padding: 0;
}

.btn-primary-outline {
    color: #2e73d7;
    border-color: #2e73d7 !important;
}


#version {
    width: 100%;
    text-align: right;
    color: #2e73d7;
    font-size: 13px;
    margin-top: 5px;
    cursor: default;
}

.footer-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    height: 30px;
    line-height: 30px;
    background: rgba(255, 255, 255, .6);
}

.footer-info a {
    color: #666 !important;
}

#canvas {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    cursor: pointer;
    background: #fff
}

#verify-area {
    padding: 20px
}

#verify-area .input-area {
    position: relative
}

#verify-area .input-text {
    margin-left: 0;
    width: 100%;
    padding-left: 30px
}

#verify-area .icon-i {
    position: absolute;
    height: 35px;
    line-height: 35px;
    font-size: 20px;
    left: 10px;
    color: #999
}

#verify-area label.error {
    right: 5px;
    top: 8px;
    display: none
}

.bot-box {
    position: absolute;
    bottom: 60px;
    right: 20px;
    cursor: pointer;
    user-select: none;
    background-color: #fff;
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    border-radius: 999px;
    gap: 7px;
}

.bot-box .img {
    width: 30px;
    height: 30px;
    background-color: #2e73d7;
    border-radius: 100%;
}

.bot-box .img img {
    width: 100%;
    height: 100%;
}

.bot-box .text {
    width: 16px;
    margin: 0 auto auto;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
}

.chat-bubble {
    position: absolute;
    width: 200px;
    padding: 10px;
    background-color: #fff;
    filter: drop-shadow(0 0 1px #e9e9e9);
    bottom: 80px;
    right: 80px;
    transform: scale(var(--scale, 0));
    transform-origin: right center;
    font-size: 14px;
    
}

.scale-up {
    animation: scaleUp 0.1s ease-out forwards;
}

.scale-down {
    animation: scaleDown 0.1s ease-out forwards;
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes scaleDown {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0);
    }
}

.chat-bubble::after {
    content: '';
    position: absolute;
    right: -14px; 
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 14px solid #fff; 
}