
body {
    background-color: #f4f7f9;
    margin: 0;
    font-family: "Microsoft YaHei", sans-serif;
}

.reg-wrapper {
    width: 100%;
}

.reg-standalone-wrapper {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 998px;
    margin: 38px auto;
    background: #fff;
}

.required {
    color: #FF4D4F;
    margin-right: 4px;
}

/* 导航与容器 */
.reg-header {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 27px;
}

.header-left .head-wz {
    font-size: 20px;
    color: #165dff;
    font-weight: bold;
    margin-left: 10px;
    vertical-align: middle;
}

.header-left {
    height: 70px;
    line-height: 70px;
    width: 316px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left .head-axc img {
    width: 80px;
    vertical-align: middle;
    height: 32px;
}

.header-left .head-wz {
    display: inline-block;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    width: 129px;
    height: 20px;
    line-height: 20px;
    padding: 0 10px;
    border-left: 2px solid #333;
}

.head-zczh {
    display: inline-block;
    width: 56px;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #165DFF;
}

.header-right {
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: end;
    align-items: center;
}

.header-right a {
    color: #165dff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.header-right span img {
    width: 14px;
    margin-top: 5px;
}

.header-right .right_phone {
    margin-right: 20px;
}

#registerbox_blank {
    width: 780px;
    margin: 0 auto;
}

.reg-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    box-sizing: border-box;
    border-radius: 6px;
}

.reg-tabs li {
    cursor: pointer;
    color: #165DFF;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 6px 0 0 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 390px;
    height: 40px;
    border: 1px solid #165DFF;
}

.reg-tabs li img {
    margin-right: 10px;
}

.reg-tabs #tab_2 {
    border-radius: 0px 6px 6px 0px;
}

.reg-tabs li.active {
    background: #165DFF;
    color: #fff;
    font-weight: 500;
}

.reg-main-content {
    padding: 20px 80px;
}

.regtab-contul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.regtab-contul li {
    display: flex;
    align-items: center;
    margin-bottom: 26px;
}

/* 下拉框主体样式 */
.mainName-tip {
    position: absolute;
    top: 100%; /* 紧贴输入框容器底部 */
    left: 0;
    width: 100%; /* 宽度与父级对齐 */
    background-color: #fff;
    border: 1px solid #dcdfe6;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 9999; /* 确保在最顶层 */
    max-height: 200px; /* 超过高度显示滚动条 */
    overflow-y: auto;
    box-sizing: border-box;
}

/* 下拉列表 ul */
#mainName-ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 列表项 li */
#mainName-ul li {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #606266;
    line-height: 1.5;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0; /* 覆盖掉外层 li 的 margin */
}

#mainName-ul li:last-child {
    border-bottom: none;
}

/* 鼠标悬停效果 */
#mainName-ul li:hover {
    background-color: #f5f7fa;
    color: #409eff;
}

/* 匹配红字的样式 */
#mainName-ul li span {
    color: #ff4d4f;
    font-weight: bold;
}

.reg-item-label {
    width: 140px;
    font-size: 14px;
    text-align: right;
    flex-shrink: 0;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 0em;
    color: #666666;
}

/* 输入框容器 */
/* 针对自动填充状态的深度重置 */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    /* 1. 用白色内阴影覆盖蓝色背景 */
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    /* 2. 这里的文字颜色也要强制指定 */
    -webkit-text-fill-color: #333 !important;
    /* 3. 重点：强制显示边框，颜色与你 lg-srbox 的 #dcdfe6 保持一致 */
    border: none !important;
}

/* 确保父级容器 lg-srbox 始终拥有边框 */
.lg-srbox {
    display: flex;
    align-items: center;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    background: #fff;
    height: 32px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    width: 540px;
}

/* 即使在自动填充时，input 也不应该有自己的边框，避免遮挡父级边框 */
.lg-srbox input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

/* 小眼睛 */
.eye-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url(../images/login/eye1.png) no-repeat center center;
    background-size: contain;
    cursor: pointer;
    z-index: 10;
}

.eye-password.eye {
    background-image: url(../images/login/eye.png);
}

/* 下拉联想框 */
.mainName-tip {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #dcdfe6;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 错误提示文字 */
.error-msg {
    color: #ff4d4f;
    font-size: 12px;
    margin-top: -15px;
    margin-bottom: 8px;
    margin-left: 145px;
    height: 16px;
    visibility: hidden;
}

/* 自动填充背景去除 */
input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
    -webkit-text-fill-color: #333 !important;
}

.captcha-btn-text {
    color: #165dff;
    cursor: pointer;
    font-size: 13px;
    flex-shrink: 0;
    padding: 0 10px;
    border-left: 1px solid #eee;
}

/* 底部协议与链接 */
.submit-container {
    text-align: center;
    margin-top: 46px;
}

.agree-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 34px;
    font-size: 13px;
    color: #666;
}

.agree-row input {
    margin-right: 5px;
    cursor: pointer;
}

.lg-agree-a {
    color: #165dff;
    text-decoration: none;
}

.lg-agree-a:hover {
    text-decoration: underline;
}

.btn-full {
    width: 248px;
    height: 40px;
    background: #165DFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-full:hover {
    opacity: 0.9;
}

.btn-full:disabled {
    background-color: #a0cfff !important;
    cursor: not-allowed;
}

.agree-row a:hover {
    text-decoration: underline !important;
}

.reg-footer {
    text-align: center;
    padding: 0;
    color: #aaa;
    font-size: 12px;
}

.reg-footer a {
    color: #666666 !important;;
}

/* 模拟 Ant Design 的 Alert 样式 */
.reg-alert {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-top: 15px;
    line-height: 1.5;
    font-size: 14px;
    border-radius: 4px;
    position: relative;
    word-wrap: break-word;
}

/* 信息类型 */
.reg-alert-info {
    background-color: #f5f5f5;
    border: none;
}

.reg-alert-info .reg-alert-icon {
    color: #fff;
    margin-right: 10px;
    font-weight: bold;
    font-style: normal;
    background-color: #E2A244;
    width: 12px;
    height: 12px;
    line-height: 12px;
    font-size: 10px;
    border-radius: 50%;
    text-align: center;
}

.reg-alert-content {
    color: #165DFF;
    font-weight: 500;
    font-size: 14px;
    width: 97%;
}
.confirmBox {
    display: none;
    border: 1px #d3d4d3 solid;
    width: 340px;
    height: 120px;
    padding: 15px;
    z-index: 999;
    background-color: #fff;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.closeBtn{
    width: 100px;
    border-radius: 4px;
    margin-right: 15px;
    border: 0px;
    height:36px;
}
.confirmBtn{
    width: 100px;
    border-radius: 4px;
    border: 0px;
    background-color: #165dff;
    color: #fff;
    height:36px;
}