﻿/* 登录弹窗样式 */
.login-modal-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-modal-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.login-modal-container {
    position: relative;
    z-index: 10000;
    width: 420px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: background 0.2s;
    z-index: 10;
}

    .login-modal-close:hover {
        background: rgba(0, 0, 0, 0.08);
    }

    .login-modal-close i {
        font-size: 18px;
        color: #666;
    }

.login-modal-content {
    padding: 40px 30px 30px;
}

.login-modal-header {
    text-align: center;
    margin-bottom: 30px;
}

    .login-modal-header h3 {
        font-size: 24px;
        color: #333;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .login-modal-header p {
        font-size: 13px;
        color: #999;
        line-height: 1.5;
    }

.login-modal-body .login-ctrsel {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    background: #f5f5f5;
    border-radius: 8px;
    padding: 4px;
}

.login-modal-body .ctrsel-btn {
    flex: 1;
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-radius: 6px;
    transition: all 0.2s;
}

    .login-modal-body .ctrsel-btn.selbtn {
        background: #fff;
        color: #ffd000;
        font-weight: 500;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }

.login-modal-body .login-ctrlist {
    margin-bottom: 20px;
}

.login-modal-body .ctrlist-inpt {
    position: relative;
    margin-bottom: 15px;
}

    .login-modal-body .ctrlist-inpt input {
        width: 100%;
        height: 44px;
        padding: 0 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 14px;
        transition: border-color 0.2s;
        box-sizing: border-box;
    }

        .login-modal-body .ctrlist-inpt input:focus {
            outline: none;
            border-color: #ff8b28;
        }

.login-modal-body .inpt-down {
    position: absolute;
    left: 0;
    top: 0;
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    background: #f9f9f9;
    border-right: 1px solid #e0e0e0;
    border-radius: 8px 0 0 8px;
    font-size: 14px;
    color: #333;
}

    .login-modal-body .inpt-down img {
        width: 16px;
        height: 16px;
        margin-left: 8px;
    }

    .login-modal-body .inpt-down + input {
        padding-left: 80px;
    }

.login-modal-body .code-inpt {
    display: flex;
    gap: 10px;
}

    .login-modal-body .code-inpt .ctrlist-inpt {
        flex: 1;
        margin-bottom: 0;
    }

.login-modal-body .code-btn {
    width: 110px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ffd000, #ffd000);
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.2s;
}

    .login-modal-body .code-btn:hover {
        opacity: 0.9;
    }

    .login-modal-body .code-btn p {
        margin: 0;
        color: #fff;
        font-size: 14px;
        font-weight: 500;
    }

.login-modal-body .login-ctrbtn button {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #ffd000, #ffd000);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
}

    .login-modal-body .login-ctrbtn button:hover {
        opacity: 0.9;
        transform: translateY(-1px);
    }

.login-modal-body .ctrbtn-denglu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    font-size: 13px;
}

.login-modal-body .ctrbtn-dengle {
    display: flex;
    align-items: center;
    color: #666;
}

    .login-modal-body .ctrbtn-dengle input[type="checkbox"] {
        margin-right: 6px;
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

    .login-modal-body .ctrbtn-dengle p {
        margin: 0;
    }

.login-modal-body .ctrbtn-zc {
    display: flex;
    gap: 15px;
}

    .login-modal-body .ctrbtn-zc a {
        color: #ffd000;
        text-decoration: none;
        transition: color 0.2s;
    }

        .login-modal-body .ctrbtn-zc a:hover {
            color: #ff6b35;
        }

.login-modal-body .third-party {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eaeaea;
}

.login-modal-body .party-tit {
    text-align: center;
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    position: relative;
}

    .login-modal-body .party-tit::before,
    .login-modal-body .party-tit::after {
        content: '';
        position: absolute;
        top: 50%;
        width: 30%;
        height: 1px;
        background: #eaeaea;
    }

    .login-modal-body .party-tit::before {
        left: 0;
    }

    .login-modal-body .party-tit::after {
        right: 0;
    }

.login-modal-body .third-partypc {
    display: block;
}

.login-modal-body .third-partymob {
    display: none;
}
.head-bmri-btn button {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ffd000;
    background-color: transparent;
    cursor: pointer;
    color: #ffd000;
    white-space: nowrap;
}
/* 响应式 */
@media only screen and (max-width: 768px) {
    .login-modal-container {
        width: 90%;
        max-width: 360px;
    }

    .login-modal-body .third-partypc {
        display: none;
    }

    .login-modal-body .third-partymob {
        display: block;
    }
}
