/* 遮罩层样式 */
.login-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999; /* 保证在页面内容之上 */
}

/* 登录弹窗样式 */
.login-modal {
    width: 420px;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 1000; /* 保证在遮罩层之上 */
}

.login-header {
    text-align: center;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap:10px;
    justify-content: center;
}

.login-header img {
    max-height: 40px; /* 适配 logo 高度，可自行调整 */
}

.login-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.login-tabs {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.login-tabs span {
    padding: 0 15px;
    cursor: pointer;
    color: #999;
    border-bottom: 2px solid transparent;
    margin: 0 5px;
    position: relative;
    transition: all 0.3s;
    font-size:20px;
    color:#b3d2cc;
    font-weight: 600;
}

.login-tabs span.active {
    color: #333;
}

.login-tabs span.active::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #067660;
}

.login-body {
    padding: 20px;
}

.login-body input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #e9ebf0;
    border-radius: 4px;
    box-sizing: border-box;
    height:45px;
}

.login-body button {
    width: 100%;
    /*padding: 10px;*/
    background: #1abc9c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.login-body button:hover {
    background: #16a085;
}

/* 关闭按钮（可选，如需点击关闭弹窗） */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #999;
    font-size: 20px;
    background: transparent;
    border: none;
}

.close-btn:hover {
    color: #666;
}

.layui-form-select dl {
    max-height: 200px !important; /* 限制下拉菜单最大高度（可根据需求调整） */
    overflow-y: auto !important;  /* 超出高度时显示垂直滚动条 */
    overflow-x: hidden !important; /* 隐藏水平滚动条 */
}

