body{
    max-width: 500px;
    margin: auto;
    font-size: 14px;
}
input, textarea, select {
    -webkit-user-modify: read-write-plaintext-only; /* 防止 Safari 自动放大 */
}

.header img{
    width: 100%;
}
.content-block{
    position: relative;
    top: -30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    background-color: white;
    padding: 20px;
}
.content-block h3{
    margin-bottom: 20px;
    text-align: center;
}
.content-block .desc{
    white-space:pre-wrap;
}
.group{
    margin-top: 15px;
}
.group i.sign{
    color:red;
    padding-right: 5px;
    position: absolute;
    left: -10px;
    line-height: 25px;
    font-weight: 800;
}
.group .item{
    border: 1px solid #dcdfe6;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /*overflow: hidden;*/
    background: transparent;
    border-radius: 8px;
    margin-top: 5px;
    position: relative;
    /*height: 40px;*/
    line-height: 45px;
    padding-left: 10px
}
.group .item input{
    border: none;
    /*border-bottom: 1px solid #d3dfef;*/
    overflow: hidden;
    background-color: #fff;
    border-radius: 4px;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    outline: 0;
    /*padding: 0 15px;*/
    margin-top: 10px;
    width: 100%;
    font-size: 16px;
}
.group textarea{
    margin-top: 5px;
    border-radius:8px;
    border: 1px solid #dcdfe6;
    line-height: 28px;
    height: 200px;
}
.group .item p{
    font-size: 12px !important;
    color: rgb(144, 144, 144) !important;
    margin-top: 5px;
}
.group .item label{
    padding: 0 10px;
}
.group button{
    display: block;
    margin: 10px auto;
    padding: 8px;
    border-radius: 5px;
    width: 100px;
    background:linear-gradient(to right, #5172ff, #3dbcff);
    border: 1px solid #5172ff;
    color: white;
    cursor: pointer;
    line-height: 24px;
}
.group button:hover{
    background:#3dbcff;
}

/*    签名样式*/
.signature{
    padding: 10px;
}
#signature-canvas, .signature-block{
    width: 100%;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    background-color: #f9f9f9;
    touch-action: none;
    box-sizing: border-box;
}
#signature-canvas{
    display: none;
}

.canvas-placeholder{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #aaa;
    font-size: 1.2rem;
    pointer-events: none;
}
.signature .item-value .upload{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 76px;
    border-radius: 4px;
    border: 1px dashed #dcdfe6;
    background: #f5f7fa;
    color: #919499;
}
.group .item .layui-form-radio{
    margin: 0;
}