.bg {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99998;
    backdrop-filter: blur(5px);
}

.login {
    width: 340px;
    position: fixed;
    left: 50%;
    margin-left: -170px;
    padding: 30px;
    top: 150px;
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    z-index: 99999;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.login .title {
    font-size: 22px;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e96300;
    position: relative;
}

.login .title::before {
    content: '🔐';
    margin-right: 8px;
    font-size: 20px;
}

.login .dl {
    margin-top: 10px;
}

.login .dl input {
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    width: calc(100% - 30px);
    margin-bottom: 15px;
    outline: none;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.login .dl input:focus {
    border-color: #e96300;
    box-shadow: 0 0 0 3px rgba(233, 99, 0, 0.1);
}

.login .dl input::placeholder {
    color: #999;
}

.login .dl button {
    background: linear-gradient(135deg, #e96300 0%, #d45a00 100%);
    color: #fff;
    width: 100%;
    border: 0;
    padding: 14px;
    cursor: pointer;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(233, 99, 0, 0.4);
}

.login .dl button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 99, 0, 0.5);
    background: linear-gradient(135deg, #f07000 0%, #e96300 100%);
}

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

.login #send {
    float: right;
    margin-left: 10px;
    margin-top: -60px;
    cursor: pointer;
    color: #fff;
    font-size: 17px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #e96300 0%, #d45a00 100%);
    border-radius: 10px;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(233, 99, 0, 0.3);
}

.login #send:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(233, 99, 0, 0.4);
    background: linear-gradient(135deg, #f07000 0%, #e96300 100%);
}

.login .dl font {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
    cursor: pointer;
    color: #e96300;
    font-size: 13px;
}

.login .dl font:hover {
    text-decoration: underline;
}

.login .p {
    float: right;
    cursor: pointer;
    margin-top: 15px;
    color: #666;
    font-size: 13px;
    padding: 0 10px;
}

.login .p:hover {
    color: #e96300;
}

.login .dl span {
    float: right;
    margin-left: 10px;
    margin-bottom: 15px;
}

.login .dl span img {
    width: 110px;
    height: 42px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login .dl span img:hover {
    border-color: #e96300;
    transform: scale(1.02);
}

.cos {
    position: fixed;
    top: 120px;
    right: 50%;
    margin-right: -260px;
    color: #fff;
    cursor: pointer;
    z-index: 99999;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cos:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.login .links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.login .links span {
    color: #666;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.login .links span:hover {
    color: #e96300;
}

.login .qrcode-box {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: transparent;
    border-radius: 12px;
    border: none;
    position: relative;
    box-shadow: none;
}

.login .qrcode-box img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.login .qrcode-box::after {
    content: '📱 扫码登录';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #666;
    background: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    border: 1px solid #eee;
}
