@charset "utf-8";

/* 忘记密码：复用 registerPerson.css 布局，补充验证方式卡片等 */
body.fp-page .rp-header {
    background-image: url(../images/forget/SketchPng604296c1218155c60d7bbf73ea4d503bef46701601ac03ffc3cfb4537508d114.png);
}

body.fp-page .rp-foot {
    background-image: url(../images/forget/SketchPng06851cba8249b32a2989765131f8fb4d71cda7372afb6284aab5de2b118b34e3.png);
}

body.fp-page .rp-card-top {
    position: relative;
}

body.fp-page .rp-welcome {
    text-align: center;
    width: 100%;
}

.fp-account-tip {
    font-size: 13px;
    color: #e65c5c;
    margin: 8px 0 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.fp-method-title {
    font-size: 14px;
    color: #333;
    margin: 0 0 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.fp-method-list {
    max-width: 720px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.fp-method-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    overflow: hidden;
}

.fp-method-card:hover,
.fp-method-card.fp-method-selected {
    border-color: #3366CC;
    box-shadow: 0 0 0 1px rgba(51, 102, 204, 0.15);
}

.fp-method-card img.fp-method-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.fp-method-card img.fp-method-check {
    display: none;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 36px;
    height: 36px;
    pointer-events: none;
}

.fp-method-card.fp-method-selected img.fp-method-check {
    display: block;
}

.fp-method-text h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.fp-method-text p {
    margin: 0;
    font-size: 13px;
    color: #999;
    line-height: 1.5;
}

.fp-verify-panel {
    max-width: 720px;
    margin: 0 auto;
}

.fp-readonly-value {
    height: 40px;
    line-height: 40px;
    padding: 0 12px;
    border: 1px solid #dcdcdc;
    border-radius: 2px;
    background: #f7f7f7;
    color: #333;
    font-size: 14px;
    box-sizing: border-box;
}

.fp-face-wrap {
    text-align: center;
    padding: 10px 0 20px;
}

.fp-face-qr-box {
    width: 200px;
    height: 200px;
    margin: 20px auto;
    border: 1px solid #B3D1FF;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E6F0FF;
}

.fp-face-qr-box img,
.fp-face-qr-box canvas {
    max-width: 180px;
    max-height: 180px;
}

.fp-face-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 8px;
}

.fp-face-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 24px;
    font-size: 14px;
    color: #4f4f50;
}

.fp-face-alt span {
    white-space: nowrap;
}

.fp-face-alt a {
    color: #3366CC;
    cursor: pointer;
    text-decoration: none;
}

.fp-face-alt img {
    width: 12px;
    height: 12px;
}

.fp-back-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 14px;
    color: #3366CC;
    cursor: pointer;
}

.fp-success-panel {
    text-align: center;
    padding: 40px 20px 20px;
}

.fp-success-panel .rp-success-desc {
    margin-bottom: 12px;
}

.fp-no-check-link {
    font-size: 13px;
    color: #3366CC;
    margin-top: 12px;
    display: inline-block;
    cursor: pointer;
}

/* 无法验证身份弹窗 */
.fp-modal-dialog {
    width: 520px;
    max-width: calc(100% - 40px);
    margin: 120px auto;
}

.fp-modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.fp-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.fp-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.fp-modal-close {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: #999;
    font-size: 22px;
    line-height: 24px;
    cursor: pointer;
    padding: 0;
}

.fp-modal-close:hover {
    color: #666;
}

.fp-modal-body {
    padding: 20px 24px 8px;
}

.fp-modal-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    text-align: center;
}

.fp-modal-link {
    color: #3366CC;
    text-decoration: none;
    cursor: pointer;
}

.fp-modal-link:hover {
    color: #2952A3;
    text-decoration: none;
}

.fp-modal-footer {
    padding: 16px 24px 24px;
    text-align: center;
    border-top: none;
}

.fp-modal-confirm {
    min-width: 120px;
    height: 40px;
    line-height: 40px;
    padding: 0 32px;
    font-size: 14px;
    border-radius: 4px;
}

@media screen and (max-width: 900px) {
    .fp-method-list,
    .fp-verify-panel,
    .fp-method-title {
        padding-left: 16px;
        padding-right: 16px;
    }
}
