main{
    background: #6A47ED;
    padding-bottom: 10rem;
   
}

.container-2 {
    display: flex;
    /* max-width: 800px; */
    background: white;
    border-radius: 2rem;
    box-shadow: 0 0 0.625rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 0rem 12.5rem ;
    gap: 0.625rem;
    padding: 1.25rem;
    justify-content: space-between
    
}

.form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.form-container{
    padding: 1.25rem;
    flex: 1;
    box-shadow: #ECECEC 0px 0px 5px;
    border-radius: 2rem;
}

.info-container {
    background: url("../img/bg_from.png");
    width: 53.625rem;
    height: 74.375rem;
    /* 容器宽度占满父容器 */
    /* padding-top: 53.33%; */
    /* 模拟宽高比（1920:1024） */
    position: relative;
    /* 创建相对定位上下文 */
    /* 替换为你的图片路径 */
    background-size: cover;
    /* 覆盖整个容器 */
    background-position: center;
    /* 图片居中 */
    background-repeat: no-repeat;
    /* 禁止平铺 */
    /* 可选：备用背景颜色 */
    flex: 1;
    display: flex;
    justify-content: center;

}

.info-content{
    background-color: #6A47ED;
    color: #ffffff;
    width: 60%;
    margin: 12rem 10rem;
    padding: 1.875rem;
    border-radius: 8px;
    overflow-x: hidden;
    overflow-y: scroll;
    /* scrollbar-width: none; */

}

 /* 滚动条整体部分 */
 .info-content::-webkit-scrollbar {
    width: 0.5rem; /* 设置滚动条宽度 */
}

/* 滚动条轨道 */
.info-content::-webkit-scrollbar-track {
    background: #6A47ED; /* 轨道背景颜色 */
    border-radius: 8px; /* 圆角 */
}

/* 滑块（滚动的部分） */
.info-content::-webkit-scrollbar-thumb {
    background: #DFD6FF; /* 滑块颜色 */
    border-radius: 8px; /* 圆角 */
}

/* 鼠标悬停时滑块变色 */
.info-content::-webkit-scrollbar-thumb:hover {
    background: #3C229D; /* 悬停时的颜色 */
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    margin: 1rem 0;
}
.input-group input{
    width: 18rem;
    padding: 1.5625rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.messages-content{
    width: 100%;
    height: 13.75rem;
    margin: 1rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;

}
.required-star {
    position: absolute;
    right: 0.625rem;
    color: red;
    font-weight: bold;
    font-size: 1.2rem;
}
.send-btn {
    background: #6A47ED;
    color: white;
    border: none;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    border-radius: 0.3125rem;
    margin-top: 0.625rem;
    font-size: 1.25rem;
}
.send-btn:hover {
    background: #18185E;
}
.checkbox-container {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    font-size: 1rem;
}
.checkbox-container input {
    width: 1rem;
    width: 1rem;
    margin-right: 0.625rem;
}
.accordion {
    cursor: pointer;
    padding: 0.625rem;
    display: flex;
    justify-content: space-between;
    border-top: 1px #886CF1 solid;
    /* border-bottom: 1px #886CF1 solid; */
}
.accordion:hover {
 color: #cccccc;
}
.panel {
    display: none;
    padding: 0.625rem;
    border-radius: 0.3125rem;
    margin-bottom: 0.3125rem;
}

.question_down_icon {
    transform: rotateZ(180deg);
  }
  
  
  
 /*ninja ------------------------ from*/
/* 让表单整体居中 */
.nf-form-layout {
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    width: 100%;
}

/* 设置表单字段容器的样式 */
.nf-field-container {
    width: 100%;
    max-width: 36rem; /* 适应您的表单布局 */
    margin: 0.5rem 0;
}

/* 输入框 & 选择框的样式 */
.nf-field-element input,
.nf-field-element textarea,
.nf-field-element select {
    width: 100%;
    padding: 1.5625rem; /* 适应您的表单样式 */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    position: relative;
}

/* 调整多行文本框高度 */
.nf-field-element textarea {
    height: 13.75rem;
}

/* 让星号出现在输入框内部右侧 */
.nf-field-label .nf-error-msg:after,
.nf-error .nf-field-label:after,
span.nf-error-msg:after {
    content: "*" !important;
    color: red !important;
    font-weight: bold !important;
    font-size: 1.2rem !important;
    position: absolute !important;
    right: 0.8rem !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}



.nf-form-fields-required{
     display: none;
}

/* 让必填字段的星号显示在正确的位置 */
.nf-error .nf-field-element input,
.nf-error .nf-field-element textarea {
    padding-right: 2rem; /* 预留星号空间 */
}

/* 复选框样式 */
.nf-field-element input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

/* 提交按钮样式 */
#nf-field-4 {
    background: #6A47ED;
    color: white;
    border: none;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    border-radius: 0.3125rem;
    margin-top: 0.625rem;
    font-size: 1.25rem;
    text-align: center;
}

/* 提交按钮样式 */
#nf-field-31 {
    background: #6A47ED;
    color: white;
    border: none;
    cursor: pointer;
    padding: 1rem;
    width: 100%;
    border-radius: 0.3125rem;
    margin-top: 0.625rem;
    font-size: 1.25rem;
    text-align: center;
}

.nf-form-submit:hover {
    background: #18185E;
}
