/* 基础重置与全局样式 */
body {
    width: 100%;
    min-height: 100vh;
    height: auto; /* 允许随内容增长 */
    margin: 0;
    padding: 0;
    font-size: 16px;
    background: linear-gradient(135deg, #4338ca 0%, #8b5cf6 30%, #ec4899 70%, #f472b6 100%);
    display: flex;
    flex-direction: column;
    position: relative; /* 添加相对定位 */
    overflow-x: hidden; /* 防止水平滚动条 */
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0; /* 使用四个方向定位确保全覆盖 */
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    background-size: 10px 10px;
    animation: particle-flow 20s linear infinite;
    z-index: 0;
    /* 确保覆盖所有边缘 */
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

@keyframes particle-flow {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 200px;
    }
}



* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
ul, li { list-style: none; }
a { color: #333; text-decoration: none; }
a:hover { color: #159797; }
img { max-width: 100%; border: 0; }

/* 滚动条样式 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { border-radius: 5px; background: #f0f0f0; box-shadow: inset 1px 0 3px #a2a2a2; }
::-webkit-scrollbar-track { border-radius: 0.2rem; box-shadow: inset 1px 1px 8px #dedede; }

.authcenter{
    background: url("../image/leftImg2.png") 30% 250px no-repeat;
    width: 100%;
    height: 100vh;
}

/* 工具类 */
.hide { display: none !important; }
.fl { float: left; }
.fr { float: right; }
.oh { overflow: hidden; }
.p20 { padding: 20px 0; }

/* 登录容器 */
.authcenter-body {
    width: 990px;
    min-height: 450px;
    margin: 0 auto;
    padding: 50px 0;
    position: relative;
}

.authcenter-body-logo a {
    display: inline-block;
    color: #fff;
    font-size: 38px;
    line-height: 43px;
}

.authcenter-body-login {
    float: right;
    width: 320px;
    position: relative;
}

/* 登录表单 */
.ui-nav {
    overflow: hidden;
    background: rgba(0,0,0,.5);
    border-radius: 5px 5px 0 0;
}

.ui-nav li {
    float: left;
    width: 100%;
    color: #fff;
    text-align: left;
    font-size: 16px;
    padding: 30px 33px 4px;
}

.ui-nav li.active { font-weight: bold; }

.login {
    background: rgba(0,0,0,.5);
    border-radius: 0 0 5px 5px;
    width: 100%;
    padding: 0 30px;
    position: absolute;
    overflow: hidden;
}

.login-modern form { padding-top: 20px; }

/* 输入框组 */
.input_cell {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.ui-label_img {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #a7a7a7;
    color: #fff;
    border-radius: 3px 0 0 3px;
}

.ui-label_img svg { width: 20px; height: 20px; }

.ui-input,
input[type="text"],
input[type="password"] {
    flex: 1;
    height: 38px;
    padding: 9px;
    border: 1px solid #fff;
    border-radius: 0 3px 3px 0;
    color: #595959;
    font-size: 16px;
    background: rgba(255,255,255,0.8);
}

input[type="text"]:disabled { background: #e9f0fa; color: #444; }

/* 按钮 */
.ui-button {
    width: 100%;
    padding: 0 20px;
    font-size: 18px;
    line-height: 36px;
    height: 40px;
    color: #fff;
    background: #159797;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.ui-button:hover { background: #1db4b4; }

/* 辅助元素 */
.a_cell {
    width: 100%;
    padding-bottom: 20px;
    display: inline-block;
    font-size: 12px;
}

.a_cell a { color: #fff; text-decoration: underline; }
.a_cell a:hover { opacity: 0.7; }

.argessbox {
    color: #fff;
    padding-bottom: 20px;
    font-size: 12px;
}

.argessbox a { color: #fff; text-decoration: underline; }

.autologin_label {
    cursor: pointer;
    position: relative;
    display: inline-block;
    font-size: 12px;
    line-height: 16px;
}

/* 验证码相关 */
.getcode {
    position: absolute;
    right: 5px;
    top: 5px;
    font-size: 12px;
    color: #fff;
    background: #32417566;
    border-radius: 2px;
    padding: 0 15px;
    border: none;
    cursor: not-allowed;
    height: 28px;
    line-height: 30px;
    overflow: hidden;
}

.getcode.is_allow { background-color: #00A50D; cursor: pointer; }

/* 二维码登录 */
.qrcode_btn {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 50px;
    height: 50px;
    overflow: hidden;
    border-top-right-radius: 5px;
}

.qrcode_btn img {
    width: 100px;
    height: 100px;
    transition: transform 0.5s;
}

.qrcode_btn.on img { transform: translate(-50px, -50px); }

.login_qrcode_box2 {
    text-align: center;
    border-top: 1px solid #fff;
    padding: 28.5px 0;
}

.login_qrcode_box2 img { width: 200px; height: 200px; }

.login_qrcode_box2 .a {
    margin: 20px auto;
    display: block;
    text-align: right;
    width: 200px;
}

.login_qrcode_box2 .a a {
    color: #fff;
    background: #00a50d;
    text-decoration: none;
    padding: 2px 12px;
    border-radius: 3px;
    transition: background 0.3s;
}

.login_qrcode_box2 .a a:hover { background: #01810c; }


.copyright{text-align:right; color: #414179; position: absolute; width: 400px; right:30px; bottom:20px; font-size: 14px; line-height: 25px;}
.copyright a{color: #414179;}
.copyright a:hover{color: #333 !important; text-decoration: underline;}

.selectGame{
    appearance: none; /* 移除默认样式 */
    -webkit-appearance: none; /* 针对 Safari 和 Chrome */
    -moz-appearance: none; /* 针对 Firefox */
    /* 添加自定义箭头 */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8.5L2.5 5l.7-.7L6 7.1l2.8-2.8.7.7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center; /* 调整箭头位置：距离右侧10px */
    background-size: 20px;
}

.switchType{font-size: 14px !important; color: #DDD !important;}
.switchType a{color: #DDD !important;}
