body {
    background-color: #f5f5f5;
    overflow-y: hidden;
}

.layui-form-item label{
    width: 20%;
}

.layui-input-block textarea{
    width: 90%;
}

.form-container{
    display: flex;
    flex-wrap: wrap;
    margin: 0 -18px;
}

.form-left{
    flex: 1;
    min-width: 70%;
    padding: 30px 10px;
    box-sizing: border-box;
    position: sticky; /* 左侧固定 */
}

.form-right{
    flex: 2;
    min-width: 30%;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 100vh;
    overflow-x: hidden;
    padding: 30px 20px 80px;
}

.form-right label{
    margin-left: -25px;
}
.form-right .layui-input-inline{
    min-width: 300px;
}

/* 统一右侧下拉框和输入框的宽度和样式 */
.form-right .layui-input-inline select,
.form-right .layui-input-inline input,
.form-right .layui-input-inline textarea{
    width: 100%;
    box-sizing: border-box;
    padding: 6px 12px;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

/* 上下排列的表单项样式 */
.layui-form-item {
    display: block;
    margin-bottom: 15px;
}

.layui-form-label {
    float: none;
    width: 100%;
    text-align: left;
    padding-left: 5%;
    margin-bottom: 5px;
}

.layui-input-block {
    margin-left: 5%;
    width: 100%;
}

.layui-textarea {
    min-height: 50%;
}

.layuimini-form {
    height: 100vh;
    overflow: hidden; /* 防止整个表单滚动 */
}

.layui-form-label.required::after {
    content: "*";
    color: red;
    margin-left: 4px;
}