* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    background-color: #f5f5f5;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.back-btn,
.close-btn {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.title {
    font-size: 18px;
    font-weight: bold;
}

.banner {
    display: flex;
    align-items: center;
    background-color: #fff;
}

.banner img {
    width: 100%;
    height: auto;
}

.banner-text {
    font-size: 14px;
    color: #333;
}

.container {
    padding: 0 15px;
    background: #f6f6f6;
}

.section {
    background-color: #fff;
    margin-top: 10px;
    padding: 15px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.phone-title {
    margin-bottom: 0;
}

.amount-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #ebebeb;
    padding: 0 0 10px 0;
}

.amount-btn {
    width: 30px;
    height: 30px;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    color: #3562f9;
}

.amount-display {
    font-size: 30px;
    font-weight: 700;
    margin: 0 20px;
    text-align: center;
    width: 80%;
    border: none;
}

.amount-display:focus {
  outline: none;
  border: none;
}

.amount-options {
    display: flex;
    gap: 10px;
}

.amount-group-left,
.amount-group-right {
    width: 10%;
}

.amount-group-center {
    width: 80%;
    text-align: center;
}

.amount-option {
    flex: 1;
    padding: 4px 15px;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
}

.amount-option.active {
    background-color: #3562f9;
    color: #fff;
    border-color: #3562f9;
}

.education-options {
    width: 100%;
    height: 40px;
}

.education-option {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
    float: left;
}

.education-option.active {
    background-color: #3562f9;
    color: #fff;
    border-color: #3562f9;
}

.education-option:nth-child(1) {
    width: 29%;
    margin-right: 2%;
}
.education-option:nth-child(2) {
    width: 18%;
    margin-right: 2%;
}
.education-option:nth-child(3) {
    width: 18%;
    margin-right: 2%;
}
.education-option:nth-child(4) {
    width: 29%;
}

.occupation-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.occupation-option {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
}

.occupation-option.active {
    background-color: #3562f9;
    color: #fff;
    border-color: #3562f9;
}

.credit-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.credit-option {
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 15px;
    cursor: pointer;
    text-align: center;
    font-size: 12px;
}

.credit-option.active {
    background-color: #3562f9;
    color: #fff;
    border-color: #3562f9;
}

.phone-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    margin-top: 10px;
    padding: 10px 15px;
}

.phone-number {
    font-size: 16px;
}

.optimized-input {
    /* 布局 */
    width: 100%;
    /* 按需调整宽度 */
    padding: 10px 15px;
    /* 控制光标位置 */
    box-sizing: border-box;
    /* 样式 */
    background: #fff;
    /* 白色背景 */
    border: none;
    /* 去掉边框 */
    outline: none;
    /* 移除聚焦时的轮廓线 */
    /* 字体 */
    font-size: 14px;
    /* 指定字号 */
    text-align: right;
    /* 光标靠右 */
    color: #000;
    /* 文字颜色（可选） */
    /* 其他 */
    border-radius: 0;
    /* 可选：去掉圆角 */
}

.section-context {
    margin-top: 10px;
}

.tip-text {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    line-height: 1.5;
}

.agree-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.agree-btn {
    width: 16px;
    height: 16px;
    border: 1px solid #ccc;
    border-radius: 2px;
    cursor: pointer;
}

.agree-text {
    font-size: 12px;
    color: #999;
}

.agree-text a {
    color: #007bff;
    text-decoration: none;
}

.submit-btn-group {
    width: 100%;
    cursor: pointer;
    text-align: center;
}

.submit-btn {
    width: 86%;
    margin: 0 7%;
    background-color: #3562f9;
    border: none;
    display: block;
    padding: 12px;
    color: #fff;
    font-size: 15px;
    border-radius: 25px;
    margin-top: 20px;
    font-weight: 700;
}

.customer-service {
    text-align: center;
    font-size: 10px;
    color: #9da1ad;
    margin: 30px 0;
}