/* 创建一个容器并设置阴影效果 */
.container {
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(92, 92, 92, 0.1);
    width: 800px; /* 设置宽度 */
    height: auto; /* 设置高度 */
    margin-left: auto; /* 左边距设置为 auto，实现水平居中 */
    margin-right: auto; /* 右边距设置为 auto，实现水平居中 */
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative; /* 添加相对定位 */
    max-width: 80%;
}

.container hr {
    border: none;
    height: 1px;
    background-color: rgb(216, 216, 216);
    margin: 25px 0px;
    position: relative; /* 相对定位水平线 */
    margin-top: 30px;
}

/* 在水平线上方插入文字 */
.container .text-over-hr {
    display: inline-block;
    position: absolute;
    top: 40px; /* 让文字与水平线平齐 */
    left: 50%;
    transform: translate(-50%);
    padding: 0 20px;
    background-color: rgb(255, 255, 255);
    color: rgb(105, 105, 105);
}

h3 {
    text-align: center;
}

h3 img {
    width: 30px; /* 调整图标宽度 */
    height: 30px; /* 调整图标高度 */
    vertical-align: middle; /* 垂直居中对齐 */
}

.container4 span {
    font-size: 14px
}

.container_span {

    color: rgb(105, 105, 105);
    display: flex;
}

.container_span2 {
    color: rgb(105, 105, 105);
}

.input-field {
    width: 100%;
    height: 35px;
    padding: 4px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #9b9b9b;
}

input.input-field:focus {
    outline: none;
    border-color: none; /* 或者设置为你想要的边框颜色 */
    cursor: auto;
}


.input-label{
    font-size: 14px;
    color: #333;
    margin-bottom: 2px;
}

textarea {
    box-sizing: border-box; /* 盒子模型设置为 border-box */
    width: 100%;
    height: 100px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    resize: none; /* 禁止调整大小 */
    padding-top: 10px; /* 添加上内边距 */
    font-family: inherit; /* 继承父元素的字体 */
}

/* 设置 textarea 的 placeholder 样式 */
textarea::placeholder {
    padding-top: -10px; /* 设置上内边距 */
}

textarea:focus::placeholder {
    color: rgb(223, 223, 223); /* 输入框获得焦点时占位符颜色降低 */
}

.container button {
    color: white; /* 设置按钮文字颜色 */
    background-color: #000a92c2; /* 设置按钮背景色 */
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%; /* 设置宽度 */
    height: 50px; /* 设置高度 */
    font-size: 20px; /* 设置字体大小 */
    margin-top: 20px; /* 上边距 */
    margin-bottom: 20px;
}

.container button:hover {
    background-color: #173e86; /* 设置悬停时的背景色 */
}

.input-with-icon1 {
    background-image: url('css-img/email.svg');
    background-position: 2px 7px; /* 设置图标的位置 */
    background-repeat: no-repeat; /* 防止图标重复显示 */
    padding-left: 25px; /* 保证输入框文字不会被图标覆盖 */
    background-size: 20px;
}
.input-with-icon2 {
    background-image: url('css-img/user.svg');
    background-position: 2px 7px; /* 设置图标的位置 */
    background-repeat: no-repeat; /* 防止图标重复显示 */
    padding-left: 25px; /* 保证输入框文字不会被图标覆盖 */
    background-size: 20px;
}
.input-with-icon3 {
    background-image: url('css-img/quiz.svg');
    background-position: 2px 7px; /* 设置图标的位置 */
    background-repeat: no-repeat; /* 防止图标重复显示 */
    padding-left: 25px; /* 保证输入框文字不会被图标覆盖 */
    background-size: 20px;
    padding-top: 8px; /* 设置上内边距 */
}

.container2{
    width: 380px;
    display: flex;
    flex-direction: column; /* 垂直排列 */
    box-sizing: border-box; /* 让 margin 不会使元素宽度超出设置的百分比 */
    margin-top: 20px;
    margin-left: 10px; /* 间距，根据需要调整 */
    margin-right: 10px;
}

.container3{
    flex-wrap: wrap; /* 允许元素换行 */
    display: flex;
    flex-direction: row; /* 设置为水平排列 */
}

.container4{
    margin-left: 10px; /* 间距，根据需要调整 */
    margin-right: 10px;
}

.container4 p{
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}