body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
}

img {
    width: 100%;
    height: 100%;
}

/*状态栏 start*/
/*主界面内容样式 start*/
/*头部*/
.layui-header {
    position: relative;
    z-index: 1000;
    height: 60px;
    background:rgba(14, 14, 16, 1)!important;
}

.main_header .layui-nav-child {
    background: rgba(34, 34, 36, 1) !important;
    border: 1px solid rgba(34, 34, 36, 1) !important;
    border-radius: 8px !important;
    text-align: center !important;
    min-width: 50% !important;
    left: 60px !important;
}
.main_header .layui-nav-child a {
    color: rgba(255, 255, 255, 0.6) !important;
}

.main_header .layui-nav-child a:hover {
    background-color: rgba(57, 57, 63, 1) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

.layui-nav .layui-nav-item a {
    display: block !important;
    padding: 0 23px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    transition: all .3s !important;
    -webkit-transition: all .3s !important;
}


.main_header {
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0 23px;
    height: 60px;
    /*background-color: #2D2D36;*/
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color:rgba(255, 255, 255, 0.75) ;
}

.layui-nav {
    background-color: rgba(10, 10, 10, 1) !important;
}

.main_header .layui-nav .layui-nav-more {
    position: absolute;
    top: 0;
    right: -19px !important;
    left: auto !important;
    margin-top: 0;
    font-size: 12px;
    cursor: pointer;
    transition: all .2s;
    -webkit-transition: all .2s;
}

/*登录前按钮样式*/
/*注册/登录按钮*/
.register_btn a {
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.75);
    /*letter-spacing: 2px;*/
}

.register_btn {
    /*margin-top: 1px;*/
    padding: 8px 18px;
    /*width: 60px;*/
    /*height: 29px;*/
    border-radius: 20px;
    /*margin-right: 12px;*/
    margin: 0 0 0 10px;
    background: #2F2F37;
    text-align: center;
}

.register_btn:hover {
    background-color: rgba(55, 107, 237, 1);
}


/*状态按钮*/
.head_li {
    display: flex;
    align-items: center;
    margin: 0 2px;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: default;
    font-size: 12px !important;
}

.head_li_a:hover {
    border-radius: 20px;
    background-color: rgba(42, 42, 44, 1);
}

.head_li span {
    font-size: 12px !important;
}

.head_icon_img {
    margin-right: 8px;
}

.head_icon_img img {
    width: 15px;
    height: 15px;
}

/* 电池指示器样式 */
.battery-container {
    display: flex;
    align-items: center;
    position: relative;
}

.battery-icon {
    width: 24px;
    height: 12px;
    border: 1px solid #FFFFFF;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
}

.battery-icon::after {
    content: "";
    position: absolute;
    right: -4px;
    top: 3px;
    width: 2px;
    height: 6px;
    background-color: #FFFFFF;
    border-radius: 0 1px 1px 0;
}

.battery-level {
    height: 100%;
    background-color: #FFFFFF;
    border-radius: 1px;
    width: 55%; /* 初始电量55% */
}

.battery-text {
    font-size: 14px;
}

/* 语言选择器样式 */
.language-selector {
    cursor: pointer;
    position: relative;
}

.language-dropdown {
    position: absolute;
    top: 133%;
    right: -4px;
    background-color: rgba(34, 34, 36, 1);
    border-radius: 8px;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);*/
    display: none;
    min-width: 100px;
    z-index: 1200 !important;
    padding: 5px 0;
}

.current-language {
    margin: 0 5px 0 0;
}

.current-language-down {
    width: 15px;
    height: 15px;
    line-height: 1;
}

.language-dropdown.show {
    display: block;
}

.language-option {
    padding: 8px 15px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    align-items: center;
    text-align: center;
}

.language-option:hover {
    background-color: rgba(57, 57, 63, 1);
    color: rgba(255, 255, 255, 0.85);
}

.language-option .head_icon_img {
    margin-right: 8px;
}

/*连接方式*/
.link_way_usb {
    content: url("../img/header/link_USB.png");
}

.link_way_24G {
    content: url("../img/header/link_2.4G.png");
}

/*状态栏 end*/
/*返回箭头 start*/
.back_box {
    width: 85%;
    margin: 20px auto;
}

.go_back {
    width: 32px;
    height: 32px;
    padding: 6px;
}

.go_back:hover {
    width: 32px;
    height: 32px;
    padding: 6px;
    background-color: rgba(42, 42, 44, 1);
    border: 1px solid rgba(60, 60, 66, 1);
    border-radius: 4px;

}

.go_back img {
    width: 100%;
    height: 100%;
}

/*返回箭头 end*/

.container {
    display: flex;
    width: 85%;
    height: 100vh;
    margin: auto;
}

/* Sidebar 设置固定高度，并允许滚动 */
.sidebar {
    width: 250px;
    background-color: #1e1e1e;
    padding: 20px 0px;
    border-radius: 8px;
    max-height: 50vh; /* 最大高度为 80% 屏幕高度 */
    overflow-y: auto; /* 如果内容超过最大高度，启用滚动条 */
}

.sidebar a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 18px;
    display: block;
    /*margin: 15px 0;*/
    padding: 15px 0px;
    text-align: center;

    /*border-radius: 5px;*/
}

.sidebar a.active {
    background-color: rgba(25, 25, 26, 0.8);
    border-left: 4px solid rgba(55, 107, 237, 1);
    color: #fff;
}

/*.sidebar a:hover {*/
/*    background-color: #333;*/
/*}*/

/* Main Content 区域填充剩余空间 */
.content {
    flex-grow: 1;
    padding: 0px 15px;
    overflow-y: auto; /* 如果内容多，允许滚动 */
}
/* 隐藏垂直滚动条 */
.content::-webkit-scrollbar {
    width: 0;
}

.card {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.card input, .card button {
    width: 100%;
    height: 46px;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    /*border: 1px solid #333;*/
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(40, 40, 43, 0.8);
    color: #fff;
}

.card button {
    cursor: pointer;
}

/*.card button:hover {*/
/*    background-color: #45a049;*/
/*}*/



.card .linked {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card .linked img {
    width: 20px;
    margin-right: 10px;
}

.card .linked span {
    font-size: 14px;
}

.card .linked button {
    background-color: #f44336;
    width: auto;
    padding: 5px 15px;
}

.card .linked button:hover {
    background-color: #e53935;
}

/* 用户中心模块 start*/
.user_center {
    padding: 10px;
    background: rgba(25, 25, 26, 0.8);
    border-radius: 8px;
}

.user_center_content {
    padding: 32px 27px;
}

.user_avatar_box {
    display: flex;
}

.user_avatar {
    width: 80px;
    height: 80px;
}
#avatarImg{
    border-radius: 50%;
}

.update_avatar_btn {
    margin: 6px 24px;
}

.user_avatar_box button,.confirm_update button{
    background-color: rgba(55, 107, 237, 1);
    border-radius: 8px;
    width: auto;
    padding: 13px 23px;
}

/*.confirm_update button{*/
/*    background-color:rgba(115, 151, 242, 1);*/
/*}*/

.confirm_update button:disabled {
    background-color: rgba(115, 151, 242, 1);
    cursor: not-allowed; /* 鼠标悬停时显示禁止图标 */
}


.user_avatar_box button:hover ,.confirm_update button:hover{
    background-color: rgba(85, 129, 240, 1);
}


/*昵称输入框样 start*/
.user_nickname{
    margin-top: 46px;
    color: rgba(255, 255, 255, 0.6);
}
.input-wrapper {
    position: relative;
    display: inline-block;
    width: 300px;
}

.input-wrapper .layui-input {
    padding-right: 70px; /* 预留右侧空间显示字数 */
    color: rgba(255, 255, 255, 0.6);
}

.input-wrapper .layui-input:hover,.layui-textarea:hover{
    border-color:rgba(255, 255, 255, 0.4)!important;
}

.input-wrapper .layui-input:focus,.layui-textarea:focus{
    border-color:rgba(255, 255, 255, 0.4) !important;
    box-shadow : 0 0 0 3px rgba(22,183,119,.08);
}


.word-count {
    position: absolute;
    right: 18px;
    bottom: 23px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    pointer-events: none; /* 不挡输入 */
}

.word-count.over {
    color: red;
    font-weight: bold;
}

/*昵称输入框样 end*/

/*账号设置 start*/
.account_set{
    padding: 20px;
    background: rgba(25, 25, 26, 0.8);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
}
.user_account_phone,.user_account_email,.user_account_otherAC,.user_account_out{
    margin-top: 24px;
    margin-left: 2px;
}

.user_bind_other button{
    background-color:rgba(25, 25, 26, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(63, 63, 63, 0.8);
    color: rgba(255, 255, 255, 0.75);
    width: auto;
    padding: 12px 23px;
    margin:0 11px;
}
.user_bind_other button:hover{
    border: 1px solid rgba(116, 116, 116, 0.8);
}

.outAccount button{
    background-color:rgba(194, 51, 51, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(194, 51, 51, 0.35);
    color: rgba(255, 255, 255, 0.75);
    width: auto;
    padding: 12px 23px;
    margin: 32px auto;
}
.outAccount button:hover{
    background-color:rgba(203, 81, 81, 1);
}

/*账号设置 end*/
/*密码设置 start*/
.user_pwd_setting{
    padding: 20px;
    background: rgba(25, 25, 26, 0.8);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.user_pwd_setting button{
    background-color:rgba(115, 151, 242, 1);
    border-radius: 8px;
    width: auto;
    /*padding: 6px 23px;*/
    padding: 13px 23px;
}

#pwdSetting_Warntips{
    color: rgba(212, 112, 112, 1);
    font-size: 12px;
    margin-bottom: 10px;
}
/*密码设置 end*/
/* 用户中心模块 end*/

/*公共样式*/
.bind_type{
    display: flex;

}

.user_account_tit{
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    font-weight: 500;
}
.bind_type button{
    background-color:rgba(115, 151, 242, 1);
    border-radius: 8px;
    width: auto;
    padding: 6px 23px;
    margin:11px;
}
.user_center_icon{
    width: 54px;
    height: 46px;
}
.user_bind_other{
    display: flex;
    align-items: center;
    margin: 24px auto;
}

.user_account_bindtips{
    margin-top: 16px;
}

/*轻提示*/
.layui-layer {
    /*width: 377px !important;*/
    background-color:rgba(85, 91, 97, 0.8) !important;
    color: rgba(255, 255, 255, 1) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 4px !important;
    padding: 10px 0px !important;
}
.layui-layer.custom-small-style {
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
}
/*密码设置*/
#next_step_btn:disabled,#getCodeBtn:disabled,#confirmPasswordBtn:disabled {
    background-color: rgba(115, 151, 242, 1);
    cursor: not-allowed; /* 鼠标悬停时显示禁止图标 */
}
#verificationCode{
    width: 140px;
}
#getCodeBtn{
    margin-left: 13px;
}

.input-code {
    position: relative;
    display: flex;
    width: 300px;
}
.input-pwd {
    position: relative;
    width: 300px;
}
#useraccount{
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(40, 40, 43, 0.8);
}

/*#next_step_code_btn:disabled {*/
/*    background-color: rgba(115, 151, 242, 1);*/
/*    cursor: not-allowed; !* 鼠标悬停时显示禁止图标 *!*/
/*}*/

/*#newPassword,#confirmPassword{*/
/*    */
/*}*/

