/* 后台登录页面样式 */

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-card {
    width: 100%;
    max-width: 420px;
    border-radius: 12px;
    border: none;
}

.login-logo {
    font-size: 3rem;
    color: #667eea;
}

/* 二维码容器 */
#qr-container {
    width: 234px;
    height: 234px;
}

#qr-container.qr-is-expired {
    background: #f1f3f5;
    color: #6c757d;
}

.qr-expiry-message {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-wrapper {
    position: relative;
}

.qr-container {
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 微信 SDK iframe 样式调整 */
.qr-container iframe {
    width: 300px;
    height: 340px;
    border: none;
}

/* 超时遮罩 */
.qr-expired {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 10;
}

.qr-expired i {
    font-size: 3rem;
    color: #6c757d;
}

/* 降级方案样式 */
.qr-fallback {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
}
