
html {
    overflow-x: hidden
}

h1, h2, h3 {
    font-size: 14px
}

::-webkit-input-placeholder {
    color: #999
}

.site-content, .site-menu {
    min-height: 950px
}

.site-menu {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 9;
    width: 240px;
    box-shadow: none;
    border-left: none
}

.site-content {
    margin: 0 0 0 240px;
    padding: 15px 0 15px 15px
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Microsoft Yahei", sans-serif;
}

/* 登录容器布局 */
.login-container {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-width: 1000px;
    background-image: url('/image/login-background.png');
    background-repeat: no-repeat; /* 禁止图片重复 */
    background-position: center; /* 图片水平+垂直居中 */
    background-size: cover; /* 核心属性：保持宽高比，铺满容器，超出部分裁剪 */
    background-attachment: fixed;
    box-sizing: border-box;
}

/* 左侧banner区域 */
.login-banner {
    position: absolute;
    left: 0; /* 父容器左侧开始 */
    top: 0;
    width: 60%; /* 固定宽度 */
    height: 100%; /* 铺满父容器高度 */
}

/* 右侧登录表单区域 */
.login-form-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 80px;
    top: 50%;
    right: 0;
    width: 40%;
    transform: translateY(-50%);
    transform-origin: right center;
    position: absolute;
}

.login-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 40px;
    font-weight: 600;
}

/* 表单样式定制 */
.layui-form-item {
    margin-bottom: 15px;
    width: 280px;
}

.layui-input {
    height: 48px;
    border-radius: 6px;
    border: 1px solid #e6e6e6;
    font-size: 14px;
    padding: 0 15px;
    width: 100%;
}

.layui-input:focus {
    border-color: #276E42;
}

/* 验证码输入行 */
.code-input-group {
    display: flex;
    gap: 10px;
}

.code-input {
    flex: 1;
}

.get-code-btn {
    flex: 0 0 120px;
    height: 48px;
    line-height: 48px;
    padding: 0;
    background-color: #fff;
    color: #276E42;
    border: 1px solid #276E42;
    border-radius: 6px;
}

.get-code-btn:hover {
    background-color: #276E42;
    color: #fff;
}

/* 协议勾选 */
.protocol-item {
    margin-bottom: 30px;
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
}

.protocol-item a {
    color: #276E42;
    text-decoration: none;
}

.protocol-item a:hover {
    text-decoration: underline;
}

/* 登录按钮 */
.login-btn {
    width: 100%;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    background-color: #276E42;
    border: none;
    border-radius: 6px;
    color: white;
}

.login-btn:hover {
    background-color: #00695c;
}

/* 密码登录链接 */
.pwd-login-link {
    text-align: left;
    margin-top: 10px;
    font-size: 12px;
}

.pwd-login-link-right {
    text-align: right;
    margin-top: 10px;
    font-size: 12px;
}
.pwd-login-link a {
    color: #276E42;
    text-decoration: none;
}

.pwd-login-link a:hover {
    text-decoration: underline;
}
.code-img{
    padding: 3px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    width: 252px;
    height: 48px;
    align-items: center;
    display: flex;
    justify-content: center;
}
.code-input-div{
    width: 252px;
    height: 48px;
    margin-bottom: 10px;
}
.code-input2{
    padding: 3px;
    width: 100%;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    height: 100%;
    font-size: 18px;
    text-align: center;
}
.code-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    text-align: center;
    background-color: #FFFFFF;
    box-sizing: border-box;
    height: 100%;
    justify-content: end;
    border-radius: 8px;
}
.login-agreement-line{
    position: relative;
    top: 4px;
    left: 0;
    color: #999999;
}
.login-margin-right-5{
    margin-right: 5px !important;
}
.login-main-color{
    color: #276E42 !important;
}
.login-type{
    font-size: 12px;
    color: #276E42;
}
.login-type-line{
    justify-content: space-between;
    display: flex;
}
.login-agreement-a{
    color: #276E42 !important;
    text-decoration: underline !important;
}
