body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    background: #f5f6fa;
}

p {
    padding: 0;
    margin: 0;
}

/* 通用 flex 布局 */
.g_flex {
    display: flex;
}

.g_flex_between_center {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 顶部导航 */
.top_wrap {
    width: 100%;
    background: #ffffff;
    padding: 20px 0;
}

.top_box {
    width: 1200px;
    min-width: 1200px;
    margin: auto;
}

.top_box img {
    width: 153px;
    height: auto;
}

.top_box a {
    font-size: 18px;
    color: #2f6aff;
    line-height: 24px;
    text-decoration: none;
}

.top_box a:hover {
    text-decoration: underline;
}

/* 面包屑导航 */
.nav {
    font-size: 14px;
    color: #a0a0a0;
    line-height: 20px;
    width: 1200px;
    margin: 16px auto;
    display: flex;
    align-items: center;
}

.nav img {
    width: 16px;
    height: 16px;
    margin: 0 8px;
}

/* 主内容区 */
.wrap {
    width: 1200px;
    min-height: 612px;
    background: #ffffff;
    border-radius: 8px;
    margin: 0 auto 16px;
    overflow: hidden;
    padding-bottom: 40px;
}

/* 步骤条 */
.steps {
    justify-content: center;
    margin: 40px 0 60px;
    text-align: center;
}

.steps_item {
    width: 312px;
    height: 48px;
    background: #F2F3F8;
    border-radius: 24px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 6px;
    margin: 0 6px;
    font-size: 16px;
    color: #b9c3d3;
    line-height: 22px;
    transition: all 0.3s;
}

.steps_item span {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    color: #b9c3d3;
    line-height: 36px;
    transition: all 0.3s;
    margin-right: 12px;
}

.steps_item div {
    flex: 1;
    text-align: left;
}

.steps_item.steps_active {
    background: #2f6aff;
    color: #ffffff;
}

.steps_item.steps_active span {
    background: #ffffff;
    color: #2f6aff;
}

/* 表单区域 */
.step_content {
    width: 100%;
}

.form_wrap {
    width: 280px;
    margin: 0 auto;
}

.form_item {
    width: 280px;
    height: 44px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 12px;
    margin: 0 auto 12px;
}

.form_item label {
    font-size: 14px;
    text-align: left;
    color: #282828;
    line-height: 20px;
    margin-right: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 56px;
}

.form_item > input[type="text"],
.form_item > input[type="password"] {
    border: none;
    background: transparent;
    flex: 1;
    min-width: 0;
    height: 42px;
    font-size: 14px;
    color: #323336;
    outline: none;
}

.form_item > input[type="text"]:focus,
.form_item > input[type="password"]:focus {
    background: transparent;
}

.form_item input::placeholder {
    color: #c8c9cc;
}

/* 手机号显示区域 */
.phone_display_wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.phone_display_wrap span {
    font-size: 14px;
    color: #282828;
    line-height: 20px;
    flex: 1;
    min-width: 0;
}

.modify_link {
    font-size: 14px;
    color: #2f6aff;
    text-decoration: none;
    cursor: pointer;
    border-left: solid #DCDCDC 1px;
    padding-left: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.modify_link:hover {
    text-decoration: underline;
}

/* 验证码输入框 */
.code_input_wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.code_input_wrap input {
    border: none;
    background: transparent;
    flex: 1;
    min-width: 0;
    height: 42px;
    font-size: 14px;
    color: #323336;
    outline: none;
}

.get_code_btn {
    font-size: 14px;
    color: #2f6aff;
    text-decoration: none;
    cursor: pointer;
    border-left: solid #DCDCDC 1px;
    padding-left: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.get_code_btn:hover {
    color: #1f5aef;
}

.get_code_btn.disabled {
    color: #c8c9cc;
    cursor: not-allowed;
}

/* 提交按钮 */
.submit_btn {
    width: 100%;
    height: 48px;
    background: #2f6aff;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    color: #ffffff;
    cursor: pointer;
    /* margin-top: 32px; */
    transition: all 0.3s;
    padding: 0;
}

.submit_btn:hover:not(.disabled) {
    background: #1f5aef;
}

.submit_btn.disabled {
    background: #d6e2ff;
    cursor: not-allowed;
}

/* 成功页面 */
.success_wrap {
    width: 320px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
}

.success_icon_wrap {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.success_title {
    font-size: 18px;
    font-weight: 500;
    color: #323336;
    line-height: 28px;
    margin-bottom: 32px;
}

/* 底部 */
.footer {
    width: 100%;
    background: #f5f6fa;
    padding: 24px 0;
    margin-top: 40px;
}

.footer_content {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer_company {
    font-size: 12px;
    color: #787878;
    line-height: 20px;
    margin-bottom: 8px;
}

.footer_info {
    font-size: 12px;
    color: #787878;
    line-height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}



.footer_info a {
    color: #787878;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.footer_info a:hover {
    color: #2f6aff;
}

.footer_info img {
    width: 16px;
    height: 16px;
    margin-right: 4px;
    margin-left: 15px;
    vertical-align: middle;
}

/* 自定义提示框 */
.custom-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    display: none;
}

.custom-toast.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.toast-content {
    min-width: 200px;
    max-width: 400px;
    padding: 16px 24px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-content p {
    font-size: 14px;
    color: #ffffff;
    line-height: 20px;
    text-align: center;
    margin: 0;
    word-break: break-word;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* 滑动验证弹窗 */
.captcha-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.captcha-modal.show {
    display: flex;
}

.captcha-dialog {
    width: 300px;
    background: #ffffff;
    border-radius: 16px;
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e6e6e6;
}

.captcha-title {
    font-size: 16px;
    color: #787878;
    line-height: 24px;
}

.captcha-close {
    font-size: 24px;
    color: #787878;
    line-height: 1;
    cursor: pointer;
}

.captcha-close:hover {
    color: #323336;
}

.captcha-close img {
    width: 20px;
    height: 20px;
}

.captcha-body {
    padding: 20px;
}

.captcha-image-wrap {
    position: relative;
    width: 260px;
    height: 170px;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.captcha-shade-image {
    width: 100%;
    height: 100%;
    display: block;
}

.captcha-cutout-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: left 0.1s;
    width: 55px;
    height: 55px;
}

.captcha-refresh {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.captcha-refresh:hover {
    background: rgba(255, 255, 255, 1);
}

.captcha-refresh img {
    width: 20px;
    height: 20px;
}

.captcha-slider-wrap {
    width: 260px;
    height: 40px;
}

.captcha-slider-track {
    position: relative;
    width: 100%;
    height: 40px;
    background: #f1f1f2;
    border-radius: 20px;
}

.captcha-slider-text {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #a0a0a0;
    user-select: none;
}

.captcha-slider-btn {
    position: absolute;
    left: -6px;
    top: -6px;
    width: 52px;
    height: 52px;
    cursor: pointer;
}

.captcha-slider-btn img {
    width: 52px;
    height: 52px;
}

.captcha-slider-btn:hover {
    opacity: 0.9;
}

.captcha-slider-btn.active {
    cursor: grabbing;
}

.captcha-slider-track.success {
    background: #d4f4dd;
    border-color: #52c41a;
}

.captcha-slider-track.success .captcha-slider-text {
    color: #52c41a;
}

.captcha-slider-track.error {
    background: #ffe7e7;
    border-color: #ff4d4f;
}

.captcha-slider-track.error .captcha-slider-text {
    color: #ff4d4f;
}

.hand_cursor {
    cursor: pointer;
}