@charset "utf-8";

body.rp-page {
    margin: 0;
    padding: 0;
    font: 14px "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background: #F0F5FF;
    text-align: left;
}

.rp-page-wrap {
    min-height: calc(100vh - 210px);
    padding-bottom: 40px;
}

.rp-header {
    display: flex;
    align-items: center;
    width: 75%;
    max-width: 1440px;
    margin: 0 auto;
    height: 76px;
    background: url(../images/register/person/SketchPng604296c1218155c60d7bbf73ea4d503bef46701601ac03ffc3cfb4537508d114.png) center center no-repeat;
    background-size: 100% 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.rp-header-logo {
    width: 57px;
    height: 57px;
    flex-shrink: 0;
}

.rp-header-title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 15px;
    height: 56px;
}

.rp-header-title-main {
    color: #3366CC;
    font-size: 24px;
    font-weight: 600;
    line-height: 33px;
}

.rp-header-title-sub {
    color: #3366CC;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.rp-header-divider {
    width: 1px;
    height: 37px;
    background: #3366CC;
    border-radius: 2px;
    margin: 0 30px;
    flex-shrink: 0;
}

.rp-header-label {
    color: #3366CC;
    font-size: 18px;
    font-weight: 500;
    line-height: 25px;
}

.rp-card {
    width: 75%;
    max-width: 1440px;
    margin: 20px auto 0;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 30px 68px 48px;
    box-sizing: border-box;
    min-height: 620px;
}

.rp-card-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-bottom: 30px;
    padding: 0 160px;
    box-sizing: border-box;
}

.rp-welcome {
    color: #3366CC;
    font-size: 30px;
    font-weight: 600;
    line-height: 42px;
    margin: 0;
    text-align: center;
    width: 100%;
}

.rp-switch-corp {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: inline-block;
    padding: 7px 45px;
    background: #3366CC;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    line-height: 22px;
}

.rp-switch-corp:hover,
.rp-switch-corp:focus {
    color: #fff;
    text-decoration: none;
}

/* 步骤条 */
.rp-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    user-select: none;
}

.rp-step-nav {
    display: flex;
    align-items: center;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 14px;
    color: #eee;
    cursor: default;
    line-height: 19px;
}

.rp-step-nav.rp-step-nav-active {
    color: #3366CC;
    cursor: pointer;
}

.rp-step-nav.rp-step-nav-disabled {
    color: #a7a7a7;
    pointer-events: none;
}

.rp-step-nav img {
    width: 6px;
    height: 12px;
    margin: 0 8px;
}

.rp-steps-track {
    flex: 1;
    max-width: 1040px;
    margin: 0 56px;
}

.rp-steps-dots {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    position: relative;
}

.rp-steps-dots::before {
    content: "";
    position: absolute;
    left: 40px;
    right: 40px;
    top: 11px;
    height: 2px;
    background: #eee;
    z-index: 0;
}

.rp-steps-dots.rp-steps-dots-progress-2::before {
    background: linear-gradient(to right, #3366CC 33%, #eee 33%);
}

.rp-steps-dots.rp-steps-dots-progress-3::before {
    background: linear-gradient(to right, #3366CC 66%, #eee 66%);
}

.rp-steps-dots.rp-steps-dots-progress-4::before {
    background: #3366CC;
}

.rp-step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #eee;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.rp-step-dot.rp-step-dot-active,
.rp-step-dot.rp-step-dot-done {
    background: #3366CC;
}

.rp-steps-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    padding: 0 4px;
}

.rp-steps-labels span {
    width: 25%;
    text-align: center;
    font-size: 14px;
    color: #666;
    line-height: 20px;
}

.rp-steps-labels span.rp-label-active {
    color: #3366CC;
    font-weight: 500;
}

/* 提示条 */
.rp-tip-banner {
    background: #f5f8ff;
    border-left: 3px solid #3366CC;
    padding: 12px 16px;
    margin-bottom: 24px;
    color: #666;
    font-size: 14px;
    line-height: 22px;
}

/* 表单 */
.rp-step-panel {
    display: none;
    max-width: 720px;
    margin: 0 auto;
}

.rp-step-panel.rp-step-panel-active {
    display: block;
}

.rp-form-row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.rp-form-label {
    width: 100px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 20px;
    line-height: 40px;
    color: #333;
    font-size: 14px;
}

.rp-form-field {
    flex: 1;
    min-width: 0;
}

.rp-form-field input[type="text"],
.rp-form-field input[type="password"],
.rp-form-field select {
    width: 100%;
    height: 40px;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    padding: 0 12px;
    box-sizing: border-box;
    font-size: 14px;
    color: #333;
    background: #fff;
}

.rp-form-field input:focus,
.rp-form-field select:focus {
    border-color: #3366CC;
    outline: none;
}

.rp-form-field .error,
.rp-form-field .correct {
    font-size: 12px;
    margin-top: 4px;
}

.rp-select-wrap {
    position: relative;
}

.rp-select-wrap select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 30px;
}

.rp-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    pointer-events: none;
}

.rp-date-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rp-date-row input {
    flex: 1;
}

.rp-date-sep {
    color: #999;
    line-height: 40px;
}

.rp-validity-options {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding-left: 120px;
    margin: -8px 0 20px;
}

.rp-validity-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.rp-validity-radio {
    width: 16px;
    height: 16px;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    flex-shrink: 0;
}

.rp-validity-option.rp-validity-selected .rp-validity-radio {
    border-color: #3366CC;
}

.rp-validity-option.rp-validity-selected .rp-validity-radio::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #3366CC;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

.rp-code-row {
    display: flex;
    gap: 12px;
}

.rp-code-row input {
    flex: 1;
}

.rp-code-btn {
    flex-shrink: 0;
    height: 40px;
    padding: 0 16px;
    border: 1px solid #3366CC;
    background: #fff;
    color: #3366CC;
    font-size: 14px;
    cursor: pointer;
    border-radius: 2px;
    white-space: nowrap;
}

.rp-code-btn:hover {
    background: #F0F5FF;
}

.rp-code-tip {
    font-size: 12px;
    color: #999;
    margin-top: 6px;
}

/* 密码强度（设计稿：360px 彩色条 + 右侧弱/中/强） */
.rp-pwd-strength-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 387px;
    max-width: calc(100% - 120px);
    margin: 15px 0 20px 120px;
}

.rp-pwd-strength-bar {
    flex: 1;
    max-width: 360px;
    height: 8px;
    background: #e5e5e5;
    border-radius: 1px;
    overflow: hidden;
}

.rp-pwd-strength-fill {
    height: 8px;
    width: 0;
    background: url(../images/register/person/SketchPng6af66bdf88c950a29fb1536db6b0884e0ae14de9e734310e747c6ece389120ca.png) left center no-repeat;
    background-size: 360px 8px;
    transition: width 0.2s ease;
}

.rp-pwd-strength-row.rp-pwd-level-1 .rp-pwd-strength-fill {
    width: 25%;
}

.rp-pwd-strength-row.rp-pwd-level-2 .rp-pwd-strength-fill {
    width: 50%;
}

.rp-pwd-strength-row.rp-pwd-level-3 .rp-pwd-strength-fill {
    width: 100%;
}

.rp-pwd-strength-text {
    flex-shrink: 0;
    min-width: 12px;
    margin-left: 15px;
    font-size: 12px;
    color: #333;
    line-height: 16px;
    text-align: left;
}

.rp-page .mimasm {
    position: absolute;
    right: -270px;
    top: 0;
}

.rp-pwd-field-wrap {
    position: relative;
}

/* 协议 */
.rp-agreement {
    display: flex;
    align-items: flex-start;
    padding-left: 120px;
    margin: 24px 0;
    font-size: 14px;
    color: #333;
    line-height: 22px;
}

.rp-agreement input {
    margin: 4px 8px 0 0;
}

.rp-agreement a {
    color: #3366CC;
}

/* 按钮 */
.rp-actions {
    text-align: center;
    margin-top: 32px;
}

.rp-btn-primary {
    display: inline-block;
    min-width: 200px;
    height: 44px;
    line-height: 44px;
    padding: 0 40px;
    background: #3366CC;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-align: center;
}

.rp-btn-primary:hover {
    background: #2952A3;
}

.rp-btn-primary:active {
    background: #1E3A8A;
}

.rp-btn-primary:disabled {
    background: #A3C1E0;
    cursor: not-allowed;
}

/* 第4步 - 人脸核验 */
.rp-face-panel {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 20px 0;
}

.rp-face-desc {
    text-align: left;
    color: #666;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 32px;
}

.rp-face-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: #F0F5FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-face-icon img {
    width: 64px;
    height: 64px;
}

.rp-face-skip {
    display: block;
    margin-top: 24px;
    color: #3366CC;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
}

.rp-face-skip:hover {
    color: #2952A3;
}

/* 第4步 - 注册成功 */
.rp-success-panel {
    text-align: center;
    max-width: 560px;
    margin: 40px auto;
    padding: 20px 0;
}

.rp-success-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 24px;
    background: #e8f7ef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rp-success-icon svg {
    width: 44px;
    height: 44px;
}

.rp-success-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px;
}

.rp-success-desc {
    font-size: 16px;
    color: #666;
    margin: 0 0 8px;
    line-height: 24px;
}

.rp-success-countdown {
    font-size: 14px;
    color: #999;
    margin: 0 0 32px;
}

.rp-success-countdown a {
    color: #3366CC;
}

.rp-success-countdown span {
    color: #3366CC;
    font-weight: 600;
}

.rp-success-face-tip {
    font-size: 14px;
    color: #666;
    margin: 0 0 32px;
    line-height: 24px;
}

.rp-face-verify-link {
    color: #3366CC;
    text-decoration: none;
}

.rp-face-verify-link:hover {
    text-decoration: underline;
}

/* 页脚 */
.rp-foot {
    width: 100%;
    background: url(../images/register/person/SketchPng06851cba8249b32a2989765131f8fb4d71cda7372afb6284aab5de2b118b34e3.png) center center no-repeat;
    background-size: cover;
    background-color: #2f3237;
    position: relative;
    padding: 19px 0 30px;
    min-height: 210px;
    box-sizing: border-box;
    margin-top: 40px;
}

.rp-foot-inner {
    width: 75%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
    padding-right: 280px;
    box-sizing: border-box;
}

.rp-foot-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.rp-foot-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.rp-foot-contact-item img {
    width: 24px;
}

.rp-foot-contact-title {
    font-size: 14px;
    color: #7d8283;
    margin: 0 0 4px;
}

.rp-foot-contact-text {
    font-size: 14px;
    color: #7d8283;
    margin: 0;
}

.rp-foot-info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 90px;
    margin-top: 14px;
}

.rp-foot-info-row-2 {
    align-items: center;
    gap: 10px 30px;
    margin-top: 12px;
}

.rp-foot-info-row-2 img {
    width: 31px;
    height: 14px;
}

.rp-foot-text {
    font-size: 14px;
    color: #7d8283;
    line-height: 20px;
    margin: 0;
}

.rp-foot-service-time {
    margin-top: 15px;
}

.rp-code-box {
    position: absolute;
    top: 30px;
    width: 110px;
    text-align: center;
}

.rp-code-box-wechat {
    right: 130px;
}

.rp-code-box-app {
    right: 0;
}

.rp-code-box p {
    font-size: 10px;
    color: #7d8283;
    line-height: 14px;
    margin: 0;
}

.rp-code-box img {
    width: 84px;
    height: 84px;
    margin: 4px 0;
}

/* 人脸核验弹窗（个人注册） */
.rp-page #qrCodeDialog {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

.rp-page #qrCodeDialog.rp-face-qr-visible {
    display: flex !important;
}

.rp-page #qrCodeDialog .rp-face-qr-wrap {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 0;
    width: 100%;
    max-width: 640px;
    height: auto;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.rp-page #qrCodeDialog .rp-face-qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.rp-page #qrCodeDialog .rp-face-qr-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.rp-page #qrCodeDialog .code-close {
    position: static;
    width: 32px;
    height: 32px;
    line-height: 30px;
    text-align: center;
    font-size: 22px;
    color: #999;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.rp-page #qrCodeDialog .code-close:hover {
    color: #666;
    background: #f5f5f5;
}

.rp-page #qrCodeDialog .rp-face-qr-notice {
    margin: 16px 24px 0;
    font-size: 13px;
    color: #888;
    line-height: 22px;
    text-align: justify;
}

.rp-page #qrCodeDialog .rp-face-qr-subtitle {
    margin: 12px 24px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 24px;
}

.rp-page #qrCodeDialog .rp-face-qr-codes {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: 24px 32px;
    box-sizing: border-box;
}

.rp-page #qrCodeDialog .rp-face-qr-codes:after {
    display: none;
}

.rp-page #qrCodeDialog .rp-face-qr-code-item {
    float: none;
    flex: 1;
    max-width: 220px;
    text-align: center;
}

.rp-page #qrCodeDialog .rp-face-qr-divider {
    width: 1px;
    align-self: stretch;
    min-height: 200px;
    background: #B3D1FF;
    margin: 0 28px;
    flex-shrink: 0;
}

.rp-page #qrCodeDialog .rp-face-qr-code-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    padding: 8px;
    border: 1px solid #B3D1FF;
    border-radius: 6px;
    background: #E6F0FF;
    box-sizing: border-box;
}

.rp-page #qrCodeDialog .rp-face-qr-code-box img {
    width: 160px;
    height: 160px;
    margin: 0;
    display: block;
    object-fit: contain;
}

.rp-page #qrCodeDialog .rp-face-qr-code-label {
    margin: 12px 0 0;
    font-size: 13px;
    color: #666;
    line-height: 20px;
}

.rp-page #qrCodeDialog .rp-face-qr-tips {
    padding: 14px 24px 20px;
    background: #F0F5FF;
    border-top: 1px solid #f0f0f0;
}

.rp-page #qrCodeDialog .rp-face-qr-tips p {
    margin: 0 0 6px;
    padding-left: 12px;
    font-size: 12px;
    color: #888;
    line-height: 20px;
    position: relative;
}

.rp-page #qrCodeDialog .rp-face-qr-tips p:last-child {
    margin-bottom: 0;
}

.rp-page #qrCodeDialog .rp-face-qr-tips p:before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #3366CC;
}

.rp-page #qrCodeDialog .rp-face-qr-phone {
    color: #3366CC;
    font-weight: 500;
}

.rp-page #qrCodeDialog .rp-face-verify-success {
    padding: 48px 24px 56px;
    text-align: center;
}

.rp-page #qrCodeDialog .rp-face-verify-success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
}

.rp-page #qrCodeDialog .rp-face-verify-success-icon svg {
    width: 72px;
    height: 72px;
    display: block;
}

.rp-page #qrCodeDialog .rp-face-verify-success-title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 28px;
}

.rp-page #qrCodeDialog .rp-face-verify-success-desc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #666;
    line-height: 22px;
}

.rp-page #qrCodeDialog .rp-face-verify-success-countdown {
    margin: 0;
    font-size: 14px;
    color: #888;
    line-height: 22px;
}

.rp-page #qrCodeDialog .rp-face-verify-success-countdown span {
    color: #3366CC;
    font-weight: 600;
}

@media screen and (max-width: 640px) {
    .rp-page #qrCodeDialog .rp-face-qr-codes {
        flex-direction: column;
        align-items: center;
        padding: 20px 16px;
    }

    .rp-page #qrCodeDialog .rp-face-qr-divider {
        width: 80%;
        height: 1px;
        min-height: 0;
        margin: 20px 0;
    }
}

/* 人脸弹窗侧栏 */
.rp-page #button-list {
    width: 35px;
    display: inline-block;
    position: absolute;
    top: 0;
    left: -35px;
}

.rp-page .buttons {
    display: inline-block;
    text-align: center;
    padding: 20px 7px;
    font-size: 14px;
    background: #1E3A8A;
    cursor: pointer;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    writing-mode: vertical-rl;
    color: #fff;
}

.rp-page .buttons-active {
    background: #5B8FF9;
}

.rp-page .layui-layer-dialog {
    max-width: none !important;
}

@media screen and (max-width: 900px) {
    .rp-header,
    .rp-card,
    .rp-foot-inner {
        width: 94%;
    }

    .rp-card {
        padding: 20px 16px 32px;
    }

    .rp-form-row {
        flex-direction: column;
    }

    .rp-form-label {
        width: 100%;
        text-align: left;
        padding: 0 0 6px;
        line-height: 1.4;
    }

    .rp-validity-options,
    .rp-agreement,
    .rp-pwd-strength-row {
        padding-left: 0;
        margin-left: 0;
        width: 100%;
        max-width: none;
    }

    .rp-card-top {
        padding: 0 120px 0 0;
    }

    .rp-steps-bar {
        flex-wrap: wrap;
        gap: 8px;
    }

    .rp-steps-track {
        width: 100%;
        margin: 0;
        order: 3;
    }

    .rp-page .mimasm {
        position: static;
        margin-top: 8px;
    }
}
