/*主容器*/
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    background-color: #f4f5f6;
}

/*top容器*/
.top {
    display: flex;
    height: 8vh;
    margin: 1vh auto;
    justify-content: center;
    align-items: center;
}

/*top图标*/
.top .top-left {
    height: 45px;
    margin-right: 5px;
}

/*top标题*/
.top .top-right {
    margin-bottom: 0;
    font-size: 32px;
    font-weight: 700;
    font-family: 'YouYuan', serif;
    letter-spacing: 2px;
}


/*扫描提示*/
.span-top {
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
    color: #129adf;
    background-color: #cce5ff;
}

.card {
    width: 100%;
}

/*二维码容器*/
.qr-wrapper {
    position: relative;
    width: 220px;
    max-width: 35%;
    aspect-ratio: 1 / 1;
    margin: 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f8f9fa;
    overflow: hidden;
}

/*二维码*/
.qr-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    display: block;
}

/* 二维码遮罩层 */
.qr-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: default;
}

.qr-overlay.show {
    display: flex;
}

.overlay-content {
    text-align: center;
    color: #fff;
    padding: 0 12px;
}

.overlay-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.overlay-btn {
    padding: 7px 18px;
    background: #129adf;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(18, 154, 223, 0.4);
}

.overlay-btn:hover {
    background: #0f86c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(18, 154, 223, 0.5);
}

.overlay-btn:active {
    transform: translateY(0);
}

/*验证信息*/
.check-info {
    font-size: 13px;
    font-weight: 500;
    color: #090909;
    margin-bottom: 15px;
}

.card-footer {
    margin-bottom: 3vh;
}

.card-footer .alert p {
    color: #000000;
    font-size: 14px;
}

.card-footer .btn {
    width: 100%;
    /*background-color: #deb15c;*/
}

.card-footer #to_qq_client {
    animation: gentleShake 0.9s infinite ease-in-out;
    /*color: #ffc107;*/
}

.card-footer #to_qq_client:hover {
    background-color: #deb15c;
    color: #fff;
}

.card-footer #to_success_logo {
    margin-top: 12px;
}

.card-footer #to_success_logo:hover {
    background-color: #48b0f7;
}

/*三个点 加载效果...*/
.three-dots {
    --size: 14px;
    display: inline-block;
    font-size: var(--size);
    height: var(--size);
    line-height: var(--size);
    overflow: hidden;
}

.three-dots::after {
    display: inline-block;
    white-space: pre;
    content: '\A.\A..\A...';
    animation: loop 4s steps(4) infinite;
}

@keyframes loop {
    to {
        transform: translateY(calc(0px - var(--size) * 4));
    }
}


@keyframes gentleShake {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-1px) rotate(-0.5deg);
    }
    75% {
        transform: translateX(1px) rotate(0.5deg);
    }
}

