/* 登录页：不显示纵向滚动条，仍可滚轮/触控滚动 */
html {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    background: #f5f6f8;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    display: none;
}

/* 与 .register-container 一致：顶栏 Logo + 中部表单 + 底部版权 的留白逻辑相同，logo 位置对齐注册页 */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    position: relative;
    padding: max(12px, env(safe-area-inset-top)) 0 max(16px, env(safe-area-inset-bottom));
    box-sizing: border-box;
    background-color: #f5f6f8;
}

/* 与 .register-page-logo 一致 */
.login-page-logo {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-top: 4px;
}

.login-page-main {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* 不设 min-height:0 + overflow:auto，避免表单区域单独出现滚动 */
    min-height: auto;
    overflow: visible;
}

.login-page-footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.login-page-footer .common3-copyright {
    flex: none;
    width: 100%;
    max-width: min(23.75rem, calc(100vw - 2.5rem));
}

.login-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.18);
    z-index: 0;
    pointer-events: none;
}

.login-box {
    /* 宽度随视口变化，避免浏览器 125% 缩放时卡片相对视口过“满”或比例生硬 */
    width: 100%;
    max-width: min(23.75rem, calc(100vw - 2.5rem));
    padding: clamp(1rem, 1.8vw, 1.4rem) clamp(0.9rem, 2.2vw, 1.1rem);
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.8s ease-out;
    box-sizing: border-box;
}

.login-header {
    text-align: center;
    position: relative;
    margin-bottom: 12px;
}

.login-header h2 {
    color: var(--primary-color);
    font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem);
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.login-header p {
    color: #555;
    font-size: 15px;
    margin: 0;
}

.form-group {
    margin-bottom: 8px;
    position: relative;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--primary-color);
    font-size: 17px;
}

.form-group input {
    width: 100%;
    padding: 11px 14px 11px 44px;
    border: 2px solid rgba(193, 44, 32, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 44, 32, 0.1);
    outline: none;
}

.form-group input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.toggle-password {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.toggle-password:hover {
    color: var(--primary-color);
}

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    margin-top: 2px;
}

.remember-me {
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    user-select: none;
    color: var(--text-color);
    font-size: 14px;
}

.remember-me input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    display: inline-block;
    height: 18px;
    width: 18px;
    background-color: rgba(193, 44, 32, 0.1);
    border-radius: 4px;
    margin-right: 8px;
    transition: all 0.3s;
}

.remember-me:hover input ~ .checkmark {
    background-color: rgba(193, 44, 32, 0.2);
}

.remember-me input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.remember-me input:checked ~ .checkmark:after {
    display: block;
}

.remember-me .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 8px;
    background: var(--gradient-accent);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(193, 44, 32, 0.25);
}

.login-button:hover {
    box-shadow: 0 6px 15px rgba(193, 44, 32, 0.35);
    transform: translateY(-2px);
}

.login-button:hover::before {
    left: 100%;
}

.login-button span {
    margin-right: 8px;
    letter-spacing: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    font-weight: 700;
}

.login-button i {
    font-size: 16px;
    transition: transform 0.3s;
    margin-left: 5px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.login-button:hover i {
    transform: translateX(5px);
}

.login-button.loading {
    background: linear-gradient(45deg, #c12c20, #e74c3c);
    opacity: 0.8;
    cursor: wait;
}

.login-button.loading i {
    margin-right: 10px;
    animation: spin 1s infinite linear;
}



@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.register-link {
    text-align: right;
    margin-top: 10px;
    color: #555;
    font-size: 14px;
}

.register-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.register-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.back-to-home {
    margin-bottom: 10px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    background: none;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s ease;
}

.back-button::before {
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 13px;
    color: inherit;
}

.back-button:hover {
    color: var(--primary-dark);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 视口高度紧张时（高缩放、小屏笔记本等）略收紧纵向间距，表单更协调 */
@media (max-height: 720px) and (min-width: 577px) {
    .login-header {
        margin-bottom: 8px;
    }

    .login-tabs {
        margin-bottom: 10px;
    }

    .login-tab {
        padding: 5px 0;
    }

    .options {
        margin-bottom: 10px;
    }

    .form-group {
        margin-bottom: 6px;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        align-items: flex-start;
        padding: max(12px, env(safe-area-inset-top)) 12px max(24px, env(safe-area-inset-bottom));
    }

    .login-box {
        width: 100%;
        max-width: min(25rem, calc(100vw - 2rem));
        margin: 0;
        padding: clamp(1.125rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.25rem);
        box-sizing: border-box;
    }

    .login-header {
        margin-bottom: 10px;
    }

    .login-header h2 {
        font-size: clamp(1.25rem, 1rem + 1.2vw, 1.5rem);
    }

    .back-button {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .login-container {
        padding: max(10px, env(safe-area-inset-top)) 10px max(20px, env(safe-area-inset-bottom));
    }

    .login-box {
        padding: 20px 16px;
    }

    .login-header h2 {
        font-size: 22px;
    }

    .login-header p {
        font-size: 14px;
    }

    .form-group input {
        padding: 12px 14px 12px 44px;
        font-size: 16px;
    }

    .input-icon {
        left: 14px;
        font-size: 16px;
    }

    .back-button {
        font-size: 12px;
    }
}

/* 登录方式切换标签 */
.login-tabs {
    display: flex;
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(193, 44, 32, 0.1);
}

.login-tab {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    transition: all 0.3s;
}

.login-tab.active {
    color: var(--primary-color);
}

.login-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

.login-tab:hover {
    color: var(--primary-color);
}

/* 登录表单容器 */
.login-forms {
    position: relative;
    min-height: 0;
}

.login-form {
    transition: all 0.4s;
}

.login-form.hidden {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    transform: translateX(20px);
}

/* 短信验证码样式 - 按照图片验证码格式但适应嵌套结构 */
.sms-code-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sms-code-input {
    flex: 1;
    min-width: 0;
    position: relative;
}

.sms-code-input .input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 18px;
}

.sms-code-input input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px 11px 44px;
    border: 2px solid rgba(193, 44, 32, 0.2);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
}

.sms-code-input input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(193, 44, 32, 0.1);
    outline: none;
}

.get-code-btn {
    height: 42px;
    min-width: 100px;
    background: var(--gradient-accent);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(193, 44, 32, 0.2);
}

.get-code-btn span {
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.get-code-btn:hover::before {
    left: 100%;
}

.get-code-btn:disabled {
    background: linear-gradient(135deg, #bbbbbb, #cccccc);
    color: #666666;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.get-code-btn:disabled span {
    text-shadow: none;
}

.get-code-btn:disabled i {
    transform: none;
}

.get-code-btn i {
    margin-right: 6px;
    font-size: 15px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.get-code-btn:hover i {
    transform: translateX(-3px);
}

/* 获取短信前：图形验证码弹窗 */
.verify-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.verify-overlay.active {
    opacity: 1;
    visibility: visible;
}

.verify-container {
    background: white;
    width: 320px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: all 0.3s;
}

.verify-container--sms-captcha {
    position: relative;
    width: min(360px, calc(100vw - 32px));
}

.verify-overlay.active .verify-container {
    transform: translateY(0);
}

.verify-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    text-align: center;
}

.verify-subtitle {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin: 0 0 14px;
    line-height: 1.4;
}

.sms-captcha-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 6px;
}

.sms-captcha-input {
    flex: 1;
    min-width: 0;
    height: 41px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
}

.sms-captcha-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.sms-captcha-img-wrap {
    flex-shrink: 0;
    width: 132px;
    height: 41px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid #eee;
    background: #f8f8f8;
}

.sms-captcha-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sms-captcha-refresh {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 13px;
    cursor: pointer;
    display: block;
    margin: 0 0 4px;
    padding: 4px 0;
    text-align: left;
}

.sms-captcha-refresh:hover {
    text-decoration: underline;
}

.sms-captcha-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}

.sms-captcha-btn {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: background 0.2s, opacity 0.2s;
}

.sms-captcha-btn-cancel {
    background: #f0f0f0;
    color: #555;
}

.sms-captcha-btn-cancel:hover {
    background: #e5e5e5;
}

.sms-captcha-btn-ok {
    background: var(--primary-color);
    color: #fff;
}

.sms-captcha-btn-ok:hover {
    opacity: 0.92;
}

.verify-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
    color: #999;
    cursor: pointer;
    transition: all 0.3s;
}

.verify-close:hover {
    color: var(--primary-color);
}

/* 手机号登录：获取短信前的图形验证码弹窗 — 移动端缩小体量 */
@media (max-width: 576px) {
    .verify-overlay {
        align-items: center;
        justify-content: center;
        padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        box-sizing: border-box;
    }

    .verify-container.verify-container--sms-captcha,
    .verify-container--sms-captcha {
        width: min(280px, calc(100vw - 28px));
        max-width: min(280px, calc(100vw - 28px));
        padding: 12px 14px 14px;
        border-radius: 10px;
        box-sizing: border-box;
    }

    .verify-title {
        font-size: 15px;
        margin-bottom: 4px;
        padding-right: 32px;
    }

    .verify-subtitle {
        font-size: 12px;
        margin-bottom: 10px;
        line-height: 1.35;
    }

    .sms-captcha-row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .sms-captcha-input {
        height: auto;
        min-height: 48px;
        padding: 12px 14px;
        font-size: 16px;
        line-height: 1.35;
        box-sizing: border-box;
    }

    .sms-captcha-img-wrap {
        width: 100%;
        max-width: 154px;
        height: 48px;
        margin: 0 auto;
    }

    .sms-captcha-img-wrap img {
        object-fit: contain;
        object-position: center;
    }

    .sms-captcha-refresh {
        font-size: 12px;
        text-align: center;
        width: 100%;
        margin: 2px 0 0;
    }

    .sms-captcha-buttons {
        margin-top: 12px;
        justify-content: stretch;
        gap: 8px;
    }

    .sms-captcha-btn {
        flex: 1;
        padding: 9px 12px;
        font-size: 14px;
    }

    .verify-close {
        top: 8px;
        right: 10px;
        font-size: 15px;
    }
}



/* 验证码相关样式 */
.captcha-group {
    display: flex;
    align-items: center;
}

.captcha-group input {
    flex: 1;
    min-width: 0;
}

.captcha-container {
    margin-left: 10px;
    height: 41px;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
}

.captcha-container img {
    height: 100%;
    transition: opacity 0.3s;
}

/* 微信登录样式 */
.wechat-login {
    margin-top: 0.35rem;
    text-align: center;
}

.wechat-login .divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0.65rem 0;
    text-align: center;
}

.wechat-login .divider::before,
.wechat-login .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
}

.wechat-login .divider span {
    flex-shrink: 0;
    padding: 0 4px;
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.wechat-login-button {
    width: 50px;
    height: 50px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.3);
    transition: all 0.3s ease;
}

.wechat-login-button:hover {
    background: #06ad56;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 193, 96, 0.4);
}

.wechat-login-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(7, 193, 96, 0.3);
}

.wechat-login-button i {
    font-size: 1.5rem;
}

/* 微信登录提示文字 */
.wechat-login-tip {
    display: block;
    font-size: 10px;
    color: red;
    letter-spacing: 1px;
    margin-top: 0.8rem;
    text-align: center;
    line-height: 1.4;
}

/* 认证图片链接样式 */
.wechat-login .wechat-login-button,
.wechat-login .renzheng-link {
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.5rem;
}

.renzheng-link {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.renzheng-link:hover {
    transform: translateY(-2px);
}

.renzheng-image {
    height: 50px;
    width: auto;
    cursor: pointer;
    display: block;
}

/* 移动端微信登录按钮优化 */
@media (max-width: 480px) {
    .wechat-login-button {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .wechat-login-button i {
        font-size: 1.3rem;
    }
}

/* 微信二维码弹窗样式 */
.wechat-qr-container {
    text-align: center;
    padding: 20px;
}

.qr-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.qr-loading i {
    font-size: 2rem;
    color: #07c160;
    margin-bottom: 10px;
    display: block;
}

.qr-content {
    text-align: center;
}

.qr-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.qr-title i {
    font-size: 1.5rem;
    color: #07c160;
    margin-right: 8px;
}

.qr-image-container {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    display: inline-block;
}

.qr-image-container img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
}

.qr-tips {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.qr-tips p {
    margin: 5px 0;
}

/* 移动端二维码弹窗优化 */
@media (max-width: 480px) {
    .wechat-qr-container {
        padding: 15px;
    }
    
    .qr-image-container {
        padding: 10px;
    }
    
    .qr-image-container img {
        max-width: 150px;
    }
}

/* 小程序登录区域样式 */
.miniprogram-login {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.2);
    animation: fadeIn 0.5s ease;
}

.miniprogram-info {
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
}

.miniprogram-info i {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    display: block;
}

.miniprogram-info p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

.miniprogram-login-button {
    width: 100%;
    padding: 0.8rem;
    background: #fff;
    color: #07c160;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.miniprogram-login-button:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.miniprogram-login-button:active {
    transform: translateY(0);
}

.miniprogram-login-button i {
    font-size: 1.1rem;
}

.miniprogram-login .divider {
    text-align: center;
    position: relative;
    margin: 1.2rem 0 0.8rem 0;
}

.miniprogram-login .divider::before,
.miniprogram-login .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.miniprogram-login .divider::before {
    left: 0;
}

.miniprogram-login .divider::after {
    right: 0;
}

.miniprogram-login .divider span {
    color: rgba(255, 255, 255, 0.9);
    background: transparent;
    padding: 0 0.8rem;
    font-size: 0.85rem;
}

.account-login-button {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.account-login-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.account-login-button:active {
    transform: translateY(0);
}

.account-login-button i {
    font-size: 1rem;
}

/* 移动端小程序登录样式 */
@media (max-width: 480px) {
    .miniprogram-login {
        padding: 1rem;
        margin-bottom: 1.2rem;
    }
    
    .miniprogram-info i {
        font-size: 1.5rem;
    }
    
    .miniprogram-login-button {
        padding: 0.7rem;
    }
    
    .account-login-button {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}

/* 返回小程序登录按钮样式 */
.back-to-miniprogram {
    margin-bottom: 0.65rem;
    text-align: left;
}

.back-to-miniprogram-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-to-miniprogram-btn:hover {
    background: #f5f5f5;
    border-color: #07c160;
    color: #07c160;
}

.back-to-miniprogram-btn i {
    font-size: 0.9rem;
}

.back-to-miniprogram-btn:active {
    transform: scale(0.98);
}

/* 登录提示对话框样式（与业务选择页面一致） */
.click-tips-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.click-tips-dialog.show {
    opacity: 1;
    visibility: visible;
}

.click-tips-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.click-tips-dialog.show .click-tips-content {
    transform: scale(1);
}

.click-tips-header {
    background: linear-gradient(135deg, #223a5e 0%, #3a5485 100%);
    color: white;
    padding: 10px 10px 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px 16px 0 0;
}

.click-tips-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.click-tips-header h3 i {
    transform: translateY(1px);
}

.click-tips-header .close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.click-tips-header .close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.close-btn i {
    font-size: 16px;
}

.click-tips-body {
    padding: 24px;
}

.click-tips-text {
    color: #374151;
    line-height: 1.6;
    margin: 0;
    text-align: left;
    font-weight: 500;
    max-height: 50vh;
    overflow-y: auto;
    background: transparent;
    border-radius: 0;
    border: none;
}

.click-tips-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.click-tips-actions button {
    padding: 12px 12px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 80px;
    justify-content: center;
}

.click-tips-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 58, 94, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #223a5e 0%, #3a5485 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(34, 58, 94, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(34, 58, 94, 0.5);
}

 