        :root {
            --brand-color: #CCED50; /* 指定的黄绿色 */
            --active-bg: #FFFFFF;    /* 选中后的白色背景 */
            --error-color: #ef4444;
            --success-color: #10b981;
        }

        body {
            background-color: #f8f9fa;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        }

.login-card {
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
    border-radius: 24px;
    /* width: 468px; */
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

        /* 用户协议文字样式 - 与index.php保持一致 */
        .login-style-text {
            font-size: 12px;
            color: rgba(17,17,17,.3);
            text-align: center;
            width: 100%;
            margin-top: 26px;
        }

        .login-style-text a {
            color: #111;
            font-weight: 600;
        }

        .tab-btnk {
            flex: 1;
            text-align: center;
            padding: 14px 0;
            border-radius: 999px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 14px;
            color: #6b7280;
            margin: 0 4px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            background: transparent;
            border: 1px solid transparent;
        }

        .tab-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .tab-btnk.active {
            background-color: white;
            color: #000000;
            font-weight: 600;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            border: 1px solid #e5e7eb;
        }

        .tab-btnk:hover:not(.active) {
            background-color: rgba(255,255,255,0.5);
            color: #374151;
        }

        .input-group {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            transition: all 0.2s;
            height: 52px;
            display: flex;
            align-items: center;
            padding: 0 12px;
            background-color: #fff;
        }

        .input-group:focus-within {
            border-color: #999;
            box-shadow: 0 0 0 3px rgba(0,0,0,0.03);
        }

        .input-group.error {
            border-color: var(--error-color);
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
        }

        .input-group.success {
            border-color: var(--success-color);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
        }

        .btn-brand {
            background-color: var(--brand-color);
            color: #000;
            font-weight: 600;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .btn-brand:hover:not(:disabled) {
            filter: brightness(0.95);
            transform: translateY(-1px);
        }

        .btn-brand:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }

        /* 旋转加载动画 */
        .spinner {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(0,0,0,0.15);
            border-top-color: #000;
            border-radius: 50%;
            animation: spin 0.4s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .fade-in {
            animation: fadeIn 0.4s ease-out;
        }
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* 平滑过渡动画 */
        .smooth-transition {
            transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
        }

        .fade-out {
            opacity: 0;
            visibility: hidden;
        }

        .fade-in-visible {
            opacity: 1;
            visibility: visible;
        }

        /* 自定义提示框样式 */
        #toast {
            position: fixed;
            top: 20px;
            left: 50%;
            transform: translateX(-50%);
            background: #333;
            color: white;
            padding: 12px 20px;
            border-radius: 8px;
            font-size: 14px;
            z-index: 1000;
            display: none;
            max-width: none;
            white-space: nowrap;
            min-width: max-content;
            text-align: center;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }

        #toast.error {
            background: var(--error-color);
        }

        #toast.success {
            background: var(--success-color);
        }

        /* 验证码规则提示框样式 */
        .verification-rules-tooltip {
            position: fixed;
            background: white;
            color: #333;
            padding: 12px 16px;
            border-radius: 8px;
            font-size: 11px;
            line-height: 1.4;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1001;
            opacity: 0;
            transform: translateY(10px) scale(0.95);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            pointer-events: none;
            max-width: 260px;
            border: 1px solid #e5e7eb;
        }

        .verification-rules-tooltip.show {
            opacity: 1;
            transform: translateY(0) scale(1);
        }

        .verification-rules-tooltip::before {
            content: '';
            position: absolute;
            bottom: -6px;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 6px solid white;
        }

        .verification-rules-tooltip .tooltip-header {
            font-weight: 600;
            margin-bottom: 6px;
            font-size: 12px;
            color: #333;
            text-align: center;
        }

        .verification-rules-tooltip .tooltip-content {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }

        .verification-rules-tooltip .tooltip-item {
            font-size: 11px;
            color: #666;
        }

        /* 链接悬停效果增强 */
        #resend-email-code-hf {
            position: relative;
            transition: all 0.3s ease;
        }

        #resend-email-code-hf:hover {
            color: #6b7280;
            transform: translateY(-1px);
        }

        /* QQ登录相关样式 */
        .qq-login-container {
            padding: 20px 0;
        }

      .qq-login-wrap {
    position: relative;
    width: 100%; 
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 32px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.qq-login-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 40px;
}

 

        .qq-login-status {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 16px;
            border: 1px solid #e5e7eb;
        }

        .qq-login-status .spinner {
            border-top-color: #12B7F5;
        }

        .qq-login-status .status-text {
            color: #6b7280;
        }

        .new-btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 18px 64px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-radius: 20px;
    background: #CCED50;
    font-size: 18px;
    color: #111;
    font-weight: 600;
    cursor: pointer;
}

        /* 信息提示框样式 - 与forgot_password.php保持一致 */
        .info-text {
            background: #f0f9ff;
            border: 1px solid #0ea5e9;
            color: #0c4a6e;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            font-size: 14px;
            line-height: 1.5;
        }

        /* 成功消息框样式 - 与forgot_password.php保持一致 */
        .success-message {
            background: #f0fdf4;
            border: 1px solid #bbf7d0;
            color: #166534;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
            font-size: 14px;
        }

        .success-message.show {
            display: block;
        }

        /* 错误提示样式 */
        .error-message {
            background: #fef2f2;
            border: 1px solid #fecaca;
            color: #dc2626;
            padding: 12px 16px;
            border-radius: 8px;
            margin-bottom: 20px;
            display: none;
            font-size: 14px;
        }

        .error-message.show {
            display: block;
        }

        /* 二维码错误状态样式 */
        .qr-code-error {
            background: #fef2f2;
            border: 2px solid #fecaca;
            border-radius: 12px;
            padding: 20px;
            text-align: center;
            margin: 20px 0;
        }

        .qr-code-error .error-icon {
            font-size: 48px;
            color: #dc2626;
            margin-bottom: 16px;
        }

        .qr-code-error .error-title {
            font-size: 16px;
            font-weight: 600;
            color: #dc2626;
            margin-bottom: 8px;
        }

        /* 六位验证码输入框样式 */
        .email-code-container {
            display: flex;
            justify-content: space-around;
            gap: 8px;
            margin: 16px 0;
        }

.email-code-input {
    width: 55px;
    height: 90px;
    text-align: center;
    border: 4px solid #e5e7eb;
    border-radius: 12px;
    font-size: 58px;
    font-weight: 600;
    transition: all 0.3s ease;
    outline: none;
    background-color: #fff;
}

        .email-code-input:focus {
            border-color: #CCED50;
            box-shadow: 0 0 0 3px rgba(204, 237, 80, 0.1);
            background-color: #f9fafb;
        }

        .email-code-input.filled {
            border-color: #CCED50;
            background-color: #f9fafb;
        }

        .email-code-input:disabled {
            background-color: #f9fafb;
            border-color: #e5e7eb;
            cursor: not-allowed;
            opacity: 0.6;
        }
        
        .email-code-input:not(:disabled) {
            background-color: #ffffff;
            border-color: #d1d5db;
            box-shadow: 0 0 0 1px rgba(204, 237, 80, 0.1);
        }

        .email-verify-status {
            text-align: center;
            font-size: 14px;
            font-weight: 500;
            height: 24px;
            color: #6b7280;
            margin: 12px 0;
        }

        .qr-code-error .error-message {
            font-size: 14px;
            color: #7f1d1d;
            margin-bottom: 16px;
            background: none;
            border: none;
            padding: 0;
            display: block;
        }

        .qr-code-error .retry-btn {
            background: #dc2626;
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 14px;
            cursor: pointer;
            transition: background-color 0.2s;
        }

        .qr-code-error .retry-btn:hover {
            background: #b91c1c;
        }


        .error-message {
            color: var(--error-color);
            font-size: 12px;
            margin-top: 4px;
            display: none;
            white-space: nowrap;
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .error-message.show {
            display: block;
        }

        /* 密码强度指示器 */
        .password-strength {
            height: 3px;
            background-color: #e5e7eb;
            border-radius: 2px;
            margin-top: 4px;
            overflow: hidden;
        }

        .password-strength-bar {
            height: 100%;
            transition: all 0.3s ease;
            border-radius: 2px;
        }

        .password-strength-weak {
            width: 33%;
            background-color: var(--error-color);
        }

        .password-strength-medium {
            width: 66%;
            background-color: #f59e0b;
        }

        .password-strength-strong {
            width: 100%;
            background-color: var(--success-color);
        }

 

        /* 加载遮罩 */
        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.8);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 9999;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--brand-color);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        /* 微信登录容器样式 */
        .wechat-qr-container {
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center; 
            position: relative;
        }

        /* Ant Design风格的4圆圈加载动画 */
        .ant-spin-dot {
    position: relative;
    display: inline-block;
    font-size: 17.5px;
    width: 1em;
    height: 1em;
        }

        .ant-spin-dot-item {
position: absolute;
    display: block;
    width: 7.75px;
    height: 7.75px;
    background-color: #41d04f;
    border-radius: 100%;
    transform: scale(0.75);
    transform-origin: 50% 50%;
    opacity: 0.5;
    animation-name: css-12notvr-antSpinMove;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-direction: alternate;
        }
@keyframes css-12notvr-antSpinMove{to{opacity:1;}}
        .ant-spin-dot-item:nth-child(1) {
            top: 0;
            left: 0;
        }

        .ant-spin-dot-item:nth-child(2) {
            top: 0;
            right: 0;
            animation-delay: 0.4s;
        }

        .ant-spin-dot-item:nth-child(3) {
            right: 0;
            bottom: 0;
            animation-delay: 0.8s;
        }

        .ant-spin-dot-item:nth-child(4) {
            bottom: 0;
            left: 0;
            animation-delay: 1.2s;
        }

        @keyframes antSpinMove {
            to {
                opacity: 1;
            }
        }

        @keyframes antRotate {
            to {
                transform: rotate(405deg);
            }
        }

        .ant-spin-dot-spin {
    animation: antRotate 1.2s infinite linear;
    transform: rotate(45deg);
    /* animation-name: css-12notvr-antRotate; */
    animation-duration: 1.2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
        }

        /* 二维码中间图标容器 */
        .qr-icon-container {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); 
        }

        /* 二维码加载动画 - 精确居中在二维码中间 */
        .qr-loading-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.85);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 5;
            border-radius: 8px;
        }

        .qr-icon {
            width: 30px;
            height: 30px;
            fill: #07c160;
        }

        .qr-code-box {
            text-align: center;
            position: relative;
        }

        .qr-code-box img {
            width: 222px;
            height: 222px;
            display: block;
            margin: 0 auto;
        }

        .qr-code-box .loading-spinner {
            margin: 60px auto;
        }

        .qr-status { 
            font-size: 14px;
            color: #666;
            text-align: center;
            letter-spacing: 0.5px; 
            line-height: 1.5;
        }
        
        /* 二维码过期状态样式 */
        .qr-code-box.expired .qr-status {
            color: #dc3545;
            font-weight: bold;
            background: #fef2f2;
            border: 1px solid #fecaca;
            border-radius: 8px;
            padding: 10px;
        }

        .qr-expire {
            margin-top: 8px;
            font-size: 12px;
            color: #999;
            text-align: center;
            letter-spacing: 1px;
        }
        
        .qr-expire.expire-warning {
            color: #e53e3e !important;
        }

        .expire-warning {
            color: #e53e3e !important;
        }
        
   /* 麦当秀风格二维码刷新按钮 - 简洁设计 */
.qr-refresh-btn {
    padding: 1px 24px;
    background: transparent;
    color: #000;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 140px;
    position: relative; /* 改为相对定位 */
    z-index: 10;
}
        
.ant-qrcode-mask-content{color: rgba(0, 0, 0, 0.88);}



#qr-placeholder svg{padding:15px }

        .qr-refresh-btn:hover {
    color: var(--fyzs-translate-theme-grey-textColor);
}
        
        .qr-refresh-btn svg {
            font-size: 14px;
            margin-right: 4px;
        }
        
        /* 麦当秀风格过期状态 - 简洁优雅 */
        .qr-code-box.expired {
            position: relative;
        }
        
        .qr-code-box.expired #wechat-qr-code {
            opacity: 0.5;
            filter: grayscale(50%);
        }
        
        .qr-code-box.expired .qr-refresh-btn {
            display: flex !important;
        }
        
        .qr-code-box.expired .qr-status {
            color: #666;
            font-weight: 400;
        }
        
        /* 风格遮罩层 - 极简设计 */
     .ant-qrcode-mask {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 81%);
    /* backdrop-filter: blur(2px); */
    border-radius: 8px;
   /* gap: 16px; /* 添加间距 */
}
        
        .ant-qrcode-mask-content {
            font-weight: 400;
            letter-spacing: 0.5px;
            color: rgba(0, 0, 0, 0.88);
            font-size: 14px;
            text-align: center;
        }
        

        /* 登录内容区域样式 */
        .login-content {
            min-height: 280px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        /* 微信登录区域特定样式 */
        #wechat-login-section { 
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 280px;
        }
#qr-placeholder-hf svg {
    padding: 15px;
}
        /* 密码输入框包装 */
        .password-input-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            width: 100%;
        }

        .password-toggle {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 0.25rem;
            transition: background-color 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .password-toggle:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .password-toggle:focus {
            outline: 2px solid #3b82f6;
            outline-offset: 2px;
        }

        .login-password-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        .login-password-icon:hover {
            color: #333;
        }

        /* 覆盖浏览器自动填充的蓝色背景 */
        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px white inset !important;
            box-shadow: 0 0 0 30px white inset !important;
            -webkit-text-fill-color: #000 !important;
            transition: background-color 5000s ease-in-out 0s;
        }

        /* Firefox 自动填充样式 */
        input:-moz-autofill,
        input:-moz-autofill:hover,
        input:-moz-autofill:focus,
        input:-moz-autofill:active {
            background-color: white !important;
            color: #000 !important;
        }

        /* 通用自动填充样式 */
        input:autofill,
        input:autofill:hover,
        input:autofill:focus,
        input:autofill:active {
            background-color: white !important;
            color: #000 !important;
            box-shadow: 0 0 0 30px white inset !important;
        }

        /* 模态框基础样式 - 补充Tailwind CSS类 */
        #login-modal-hf {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            z-index: 50;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #login-modal-hf.hidden {
            display: none;
        }

        .fixed {
            position: fixed;
        }

        .inset-0 {
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
        }

        .z-50 {
            z-index: 50;
        }

        .flex {
            display: flex;
        }

        .items-center {
            align-items: center;
        }

        .justify-center {
            justify-content: center;
        }

        .hidden {
            display: none;
        }

        .relative {
            position: relative;
        }

        .absolute {
            position: absolute;
        }

        .top-4 {
            top: 1rem;
        }

        .right-4 {
            right: 1rem;
        }

        .z-10 {
            z-index: 10;
        }

        .z-20 {
            z-index: 20;
        }

        .w-6 {
            width: 1.5rem;
        }

        .h-6 {
            height: 1.5rem;
        }

     

        .bg-white {
            background-color: #fff;
        }

        .bg-opacity-50 {
            background-color: rgba(0, 0, 0, 0.5);
        }

        .bg-opacity-90 {
            background-color: rgba(255, 255, 255, 0.9);
        }

        .rounded-2xl {
            border-radius: 1rem;
        }

        .shadow-2xl {
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
        }

        .max-w-md {
            max-width: 28rem;
        }

        .w-full {
            width: 100%;
        }

        .mx-4 {
            margin-left: 1rem;
            margin-right: 1rem;
        }

        .transform {
            transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
        }

        .transition-opacity {
            transition-property: opacity;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
            transition-duration: 150ms;
        }

        .transition-all {
            transition-property: all;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
            transition-duration: 150ms;
        }

        .text-gray-400 {
            color: #9ca3af;
        }

        .text-gray-600 {
            color: #4b5563;
        }

        .hover\:text-gray-600:hover {
            color: #4b5563;
        }

        .p-6 {
            padding: 1.5rem;
        }

        .transition {
            transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
            transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
            transition-duration: 150ms;
        }

        .duration-300 {
            transition-duration: 300ms;
        }

        .ease-out {
            transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
        }

        /* 二维码扫描状态样式 - 与login.php保持一致 */
        #wechat-qr-code-hf.scanned {
            filter: blur(2px);
            opacity: 0.7;
            transition: all 0.3s ease;
        }