﻿/* 弹框容器 */
.modal-login {
    background-color: #1e1e1e;
    width: 400px;
    height: 100vh;
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    display: none;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #888;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

    .close-btn:hover {
        color: #fff;
    }

/* 顶部用户信息 */
.login-user-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.login-avatar-container {
    position: relative;
    margin-right: 15px;
}

.login-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a90e2, #9013fe);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
}

    /* 简单的机器人图标模拟 */
    .login-avatar::before {
        content: "🤖";
    }

.login-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background-color: #00d2ff;
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.login-user-info h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
}

.login-user-meta {
    font-size: 12px;
    color: #aaa;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-copy-icon {
    cursor: pointer;
    font-size: 10px;
}

/* 按钮区域 */
.login-btn-create-team {
    width: 100%;
    background-color: transparent;
    border: 1px solid #333;
    color: #ffd000; /* 亮绿色文字 */
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    transition: background 0.2s;
}

    .login-btn-create-team:hover {
        background-color: rgba(191, 255, 0, 0.1);
    }

/* 会员横幅 */
.login-vip-banner {
    background-color: #ffd000; /* 亮绿色背景 */
    color: #000;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
}

.login-btn-go-open {
    background-color: #000;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

/* 余额区域 */
.login-balance-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.login-balance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.login-balance-left {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #999999;
}

.login-balance-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.login-amount {
    font-size: 20px;
    font-weight: bold;
}

    .login-amount.login-green {
        color: #ffd000;
    }

    .login-amount.login-orange {
        color: #ff9f00;
    }

.login-btn-recharge {
    background-color: #333;
    color: #ccc;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.login-balance-desc {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
}

    .login-balance-desc span {
        cursor: pointer;
    }

        .login-balance-desc span:hover {
            text-decoration: underline;
        }

/* 分割线 */
.login-divider {
    height: 1px;
    background-color: #333;
    margin-bottom: 20px;
}

/* 菜单网格 */
.login-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.login-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s;
}

    .login-menu-item:hover {
        color: #fff;
    }

/* SVG 图标通用样式 */
.login-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* 底部水印 */
.login-footer-watermark {
    margin-top: 30px;
    text-align: center;
    color: #444;
    font-size: 12px;
    /*pointer-events: none;*/
}
