/* 登录容器 */
.yqy-login-login-container {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* 左右两侧共同样式 */
.yqy-login-left, .yqy-login-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 左侧样式 */
.yqy-login-left {
    background: linear-gradient(135deg, #ffdede 0%, rgb(204 208 254) 25%, rgb(228 255 254) 50%, rgb(246 255 245) 75%, #ddf1ff 100%);
    justify-content: center;
    text-align: center;
    padding: 40px 0;
    height: 378px;
    position: relative;
    overflow: hidden;
}

/* 添加动态背景效果 */
.yqy-login-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
    rgba(100, 160, 255, 0.15) 0%,
    rgba(120, 180, 255, 0.1) 30%,
    rgba(140, 200, 255, 0.05) 60%,
    transparent 70%
    );
    animation: pulse 3s ease-in-out infinite;
    z-index: 1;
}

.yqy-login-left::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: linear-gradient(45deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 45%,
    rgba(255, 255, 255, 0.7) 50%,
    rgba(255, 255, 255, 0.4) 55%,
    transparent 100%
    );
    animation: shine 4s ease-in-out infinite;
    z-index: 2;
    transform: translateX(-100%);
}

#wx-login-content {
    width: 100%;
    position: relative;
    z-index: 3;
}

.qrcode-content h3, .welcome-content h3 {
    color: #5691f0;
    font-size: 22px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 20px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(86, 145, 240, 0.1);
    position: relative;
    overflow: hidden;
}

.qrcode-content h3::after, .welcome-content h3::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
            45deg,
            transparent 0%,
            rgba(255, 255, 255, 0.4) 45%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0.4) 55%,
            transparent 100%
    );
    transform: rotate(45deg);
    animation: titleShine 3s ease-in-out infinite;
}

@keyframes titleShine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    40%, 100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.welcome-content p {
    color: #666;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

.yqy-login-qr-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(86, 145, 240, 0.1);
    margin-bottom: 15px;
    text-align: center;
    width: 200px;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.yqy-login-qr-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(86, 145, 240, 0.15);
}

.yqy-login-expired {
    color: #ff4d4f;
    margin: 10px 0;
}

.yqy-login-refresh {
    color: #888;
    cursor: pointer;
}

.yqy-login-scan-tip {
    color: #666;
    margin-top: 20px;
}
.yqy-login-scan-tip i{
    color: #37ae25;
    font-size: 22px;
}

/* 右侧样式 */
.yqy-login-right {
    background: #fff;
    justify-content: center;
    position: relative;
    margin: 24px 0px 15px 0px;
}

.login-title {
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: bold;
    color: #222;
}

/* 表单样式 */
.yqy-login-input-group {
    width: 280px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 11px 15px;
    transition: all 0.3s;
    position: relative;
    justify-content: space-between;
}

.yqy-login-input-group:focus-within {
    background: #fff;
    box-shadow: 0 0 0 2px rgb(45 119 255 / 20%);
}

.yqy-login-input-group input {
    border: none;
    background: transparent;
    flex: 1;
    font-size: 16px;
    outline: none;
    padding: 8px 0;
    margin-left: 10px;
    min-width: 0;
}

.country-code {
    padding: 8px 10px;
    background: #efefef;
    border-radius: 22px;
    margin-right: 10px;
    font-size: 14px;
    color: #555;
}

.yqy-login-code-btn {
    padding: 8px 12px;
    background: #1e9fff;
    color: #fff;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.yqy-login-code-btn:hover {
    background: #0c8ff1;
}

.yqy-login-code-btn.disabled {
    background-color: #ccc !important;
    pointer-events: none;
}

.toggle-password {
    color: #999;
    cursor: pointer;
    padding: 8px;
}

.toggle-password:hover {
    color: #666;
}

/* 登录按钮 */
.yqy-login-login-btn {
    width: 100%;
    background: #1e9fff;
    border: none;
    border-radius: 30px;
    padding: 14px;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 6px 10px rgb(25 153 250 / 20%);
    transition: all 0.3s;
}

.yqy-login-login-btn:hover {
    background: #0c8ff1;
    transform: translateY(-1px);
    box-shadow: 0 8px 15px rgb(25 112 250 / 30%);
}

/* 协议和提示 */
.yqy-login-agreement {
    margin-top: 12px;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}

.yqy-login-agreement input[type="checkbox"] {
    margin-right: 5px;
}

.yqy-login-agreement a {
    color: #5691f0;
    text-decoration: none;
    margin: 0 3px;
    transition: color 0.3s;
}

.yqy-login-agreement a:hover {
    color: #3d7eeb;
}

.yqy-login-register-tip {
    margin-top: 18px;
    color: #999;
    font-size: 13px;
}

.yqy-login-register-tip a {
    color: #5691f0;
    text-decoration: none;
    transition: color 0.3s;
    margin: 0 10px;
}

.yqy-login-register-tip a:hover {
    color: #3d7eeb;
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.yqy-login-login-container {
    animation: fadeIn 0.3s ease-in-out;
}

.layui-layer {
    border-radius: 10px!important;
}

.yqy-login-close-btn {
    position: absolute;
    top: -5px;
    right: 15px;
    font-size: 21px;
    cursor: pointer;
    color: #999;
    transition: color 0.3s;
}

.yqy-login-close-btn:hover {
    color: #666;
}

/* 验证码样式 */
#verify-img {
    transition: opacity 0.3s;
    height: 38px;
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
}

#verify-img:hover {
    opacity: 0.8;
}

/* 登录方式切换 */
.login-methods {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 动画关键帧 */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(-45deg);
    }
    40%, 100% {
        transform: translateX(100%) rotate(-45deg);
    }
}