body{
    padding: 0;
    margin: 0;
    background: #FAFAFD;
}
.flex-row{
    display: flex;
    flex-direction: row;
}
.color-write{
    color: #ffffff;
}
.ml-10{
    margin-left: 10px;
}
.mt-10{
    margin-top: 10px;
}
.mt-20{
    margin-top: 20px;
}
.mt-30{
    margin-top: 30px;
}
.flex-col{
    display: flex;
    flex-direction: column;
}
.jc-c{
    justify-content: center;
}
.jc-sb{
    justify-content: space-between;
}
.ai-c{
    align-items: center;
}
.ai-start{
    align-items: flex-start;
}
.flex-wrap{
    flex-wrap: wrap;
}

/* 加盟表单 */
.jiameng-box{
    width: 800px;
    height: 540px;
    box-sizing: border-box;
    padding: 50px;
    padding-right: 0;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.jiameng-box-are{
    width: 800px;
    height: 580px;
    box-sizing: border-box;
    padding: 50px;
    padding-right: 0;
    border-radius: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.layui-layer-iframe,
.layui-layer-content{
    border-radius: 15px !important;
}
.layui-layer-iframe iframe{
    border-radius: 15px !important;
}

.layui-input-diy{
    padding: 15px 20px;
    background: #efefef;
    border: none;
    border-radius: 60px;
    margin-top: 15px;
    width: 340px;
    box-sizing: border-box;
}
.layui-input-diy-are{
    padding: 15px 20px;
    background: #efefef;
    border: none;
    border-radius: 20px;
    margin-top: 15px;
    width: 340px;
    box-sizing: border-box;
}
.layui-btn-diy{
    padding: 15px 20px;
    background: #FF6B00;
    border: none;
    border-radius: 60px;
    margin-top: 15px;
    width: 340px;
    font-size: 18px;
    color: #ffffff;
}
.form-seo-intro{
    max-width: 340px;
    margin: 0 0 12px;
    color: #666;
    font-size: 14px;
    line-height: 1.7;
}
.form-seo-intro a{
    color: #FF6B00;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.jiameng-box .right-box{
    background: #ffb800;
    overflow: hidden;
    height: 540px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.jiameng-box-are .right-box{
    background: #FF6B00;
    overflow: hidden;
    height: 580px;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 右侧浮动客服 */
.right-fixed{
    width: 80px;
    position: fixed;
    right: 10px;
    top: calc(50% - 200px);
    z-index: 10;
    box-shadow: 0 0 10px rgba(150, 150, 150, 0.6);
    border-radius: 80px;
}
.right-fixed ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.right-fixed ul li{
    list-style: none;
    padding: 0;
    margin: 0;
}
.right-fixed .goto-top{
    width: 80px;
    height: 80px;
    background: #f1f1f1;
    border-radius: 0 0 80px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: #eeeeee 2px solid;
    cursor: pointer;
}
.right-fixed .logo{
    width: 80px;
    height: 84px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 84px 84px 0 0;
    background: #ffffff;
}
.right-fixed .item{
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-top: #eeeeee 2px solid;
    cursor: pointer;
    position: relative;
}
.right-fixed .item .tel-box{
    width: 180px;
    background: #FFBC34;
    position: absolute;
    top: 0;
    right: 80px;
    display: none;
    border-radius: 10px 0 0 10px;
    box-sizing: border-box;
    padding: 15px;
    text-align: center;
    color: #ffffff;
}
.right-fixed .item .tel-box .title{
    font-size: 16px;
    font-weight: 600;
}
.right-fixed .item .tel-box .mobile{
    font-size: 18px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.right-fixed .item .weixin-box{
    width: 180px;
    background: #FFBC34;
    position: absolute;
    top: 0;
    right: 80px;
    display: none;
    border-radius: 10px 0 0 10px;
    box-sizing: border-box;
    padding: 15px;
    text-align: center;
    color: #ffffff;
}
.right-fixed .item .tiyan-box{
    width: 180px;
    background: #FFBC34;
    position: absolute;
    top: 0;
    right: 80px;
    display: none;
    border-radius: 10px 0 10px 10px;
    box-sizing: border-box;
    padding: 15px;
    text-align: center;
    color: #ffffff;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .jiameng-box {
        width: 100%;
        height: auto;
        min-height: 100vh;
        margin: 0;
        padding: 20px;
        flex-direction: column;
        background: #fff;
    }

    .jiameng-box > div:first-child {
        width: 100%;
        padding: 0;
    }

    .flex-row {
        flex-wrap: wrap;
    }

    .flex-row h1 {
        font-size: 24px;
        margin: 0;
    }

    .flex-row h4 {
        font-size: 16px;
        margin-left: 10px;
    }

    .form-box {
        width: 100%;
    }

    .layui-form-item {
        margin-bottom: 15px;
    }

    .layui-input-diy {
        width: 100%;
        padding: 12px 15px;
        font-size: 16px;
    }

    .layui-btn-diy {
        width: 100%;
        margin-top: 20px;
    }

    .jiameng-box .right-box {
        display: none;
    }

    /* 验证码按钮样式优化 */
    #getCode, #getCodeBtn {
        width: 100px;
        height: 42px;
        line-height: 42px;
        font-size: 14px;
        right: 5px;
        top: 16px;
    }

    /* 弹窗样式优化 */
    .layui-layer {
        width: 100% !important;
        height: 100% !important;
        left: 0 !important;
        top: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        overflow: hidden;
    }

    .layui-layer-content {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .layui-layer-iframe {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }

    .layui-layer-iframe iframe {
        width: 100% !important;
        height: 100% !important;
        border-radius: 0 !important;
    }

    .layui-layer-title {
        height: 44px;
        line-height: 44px;
        font-size: 16px;
        padding: 0 15px;
        background: #fff;
        border-bottom: 1px solid #eee;
    }

    .layui-layer-setwin {
        top: 0;
        right: 0;
        width: 44px;
        height: 44px;
    }

    .layui-layer-setwin .layui-layer-close1 {
        width: 44px;
        height: 44px;
        background-position: center;
        background-size: 20px;
    }

    .layui-layer-btn {
        padding: 10px 15px;
        text-align: right;
        background: #fff;
        border-top: 1px solid #eee;
    }

    .layui-layer-btn a {
        height: 36px;
        line-height: 36px;
        padding: 0 15px;
        font-size: 14px;
    }
}

/* 移动端横屏适配 */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .jiameng-box {
        min-height: auto;
        padding: 15px;
    }

    .layui-form-item {
        margin-bottom: 10px;
    }
}
