.form-container {
    max-width: 100%;
    margin: 50px auto;
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}
.form-group {
    margin-bottom: 30px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2b67a8;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    height: 32px;
    line-height: 32px;
    padding: 0 10px;
    box-sizing: border-box;
    border: none;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    background-color: #f5f5f5;
    &::placeholder {
        color: #bfbfbf;
        opacity: 1;
    }
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #409eff;
    /* 聚焦时边框颜色 */
}
.form-group textarea {
    height: 100px;
    resize: vertical;
}
.submit-btn {
    margin: 0 auto;
    padding: 8px 30px;
    border: none;
    border-radius: 4px;
    background-color: #2b67a8;
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.lineBox {
    display: flex;
    justify-content: space-between;
}
.lineForm {
    flex: 1;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 4px;
}
.submitBtn {
    display: flex;
    justify-content: center;
    align-items: center;
}
.formTitle {
    text-align: center;
    color: #2b67a8;
}
.pl {
    padding-left: 10px;
}
.pr {
    padding-right: 10px;
}
.codeSendBox {
    position: relative;
}
.captcha-button {
    position: absolute;
    top: 0;
    right: 0;
    height: 32px;
    line-height: 32px;
    text-align: center;
    color: #fff;
    background-color: #2b67a8;
    border: none;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
}
.error-message {
    color: #f44336;
    font-size: 14px;
}
input:invalid~.error-message,
textarea:invalid~.error-message,
#areaCode:invalid~.error-message,
input:focus:invalid~.error-message {
    display: block;
}
.phoneBox {
    position: relative;
    display: flex;
}
@media (max-width: 768px) {
    .lineBox {
        display: flex;
        flex-direction: column;
    }
    .pl {
        padding-left: 0px;
    }
    .pr {
        padding-right: 0px;
    }
    .lineForm {
        flex: 1;
        box-sizing: border-box;
        padding: 0px;
        border-radius: 4px;
    }
}
/* 直接为select元素添加样式 */
.selectlist {
    max-height: 200px;
    overflow-y: auto;
    display: block;
    width: 100%;
    position: absolute;
    left: 0;
    top: 100%;
    border: 1px solid #e4e7ed;
    border-radius: 4px;
    padding: 0;
    background-color: #fff;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    display: none;
		 z-index:9999;
}
.selectlist li {
    font-size: 14px;
    padding: 0 20px;
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #606266;
    height: 34px;
    line-height: 34px;
    box-sizing: border-box;
    cursor: pointer;
    &:hover {
        background-color: #f5f7fa;
    }
}
#areaCode {
    background-color: #2b67a8;
    max-width: 80px;
    border: none;
    cursor: pointer;
    color: #fff !important;
}