.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: white;
    /* margin-top: 70px; */
    height: 100%;
    width: 100%;
    /* 底部上移动画 */
    transition: top 10s ease-in-out;


}



/* 防止输入框与元素因边框与内边距导致溢出 */
.modal-security-page * {
    box-sizing: border-box;
}

.modal-verify-item {
    background: var(--bg);
    padding-top: 12px;
    margin-bottom: 14px;
    margin-top:30px
}

.modal-verify-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.modal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.modal-header-content a {
    /* 去除默认样式 */
    text-decoration: none;
    color: var(--text);
    font-size: 22px;
    font-weight: 600;
}

.modal-header .modal-title {
    margin: 90px 0 0;
    padding-left: 0;
    font-size: 22px;
    font-weight: 600;
}

.modal-label {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.modal-verify-item .modal-field {
    margin-bottom: 10px;
}

.modal-actions-row {
    position: relative;
    margin-top: 30px;
}


.modal-btn {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    height: 42px;
    padding: 0 10px;
    border: 0;
    background: #FFF;
    color: #d2a346;
    transition: all 0.3s ease;
}

/* 发送验证码按钮禁用状态（黑白样式） */
.modal-btn:disabled,
.modal-btn.disabled {
    background: #fff;
    color: #e9d093;
    border: 0;
    cursor: not-allowed;
}

/* 确保输入框不会超出容器宽度 */
.modal-security-page .modal-input {
    max-width: 100%;
    display: block;
}

/* 行内布局时输入框自适应宽度 */
.modal-actions-row .modal-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
}

.modal-actions-row .modal-btn {
    flex: 0 0 110px;
    max-width: 140px;
}

.modal-actions-row .modal-timer {
    white-space: nowrap;
    flex: 0 0 auto;
}

/* 验证通过状态：绿色对勾 */
.modal-actions-row .modal-status-check {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    white-space: nowrap;
    flex: 0 0 auto;
    font-size: 20px;
    line-height: 44px;
    color: #22c55e;
    /* 绿色 */
}

.modal-timer {
    color: var(--muted);
    font-size: 13px;
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
}

/* 进度文本使用黄色 */
#verify-progress {
    color: var(--primary);
}
.back-img{
    width: 24px;
    height: 24px;
}
.modal-input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding-left: 12px;
    font-size: 15px;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', Helvetica, Arial, "Microsoft YaHei", sans-serif;
    color: #333;
    caret-color: #333;
    background: #fff;
}


.done-phone .done-email {
    display: none;
}

/* 风险核验按钮样式 */
.risk-verification-section {
    margin-top: 73px;
    /* padding: 0 20px; */
}

.risk-verification-btn {
    width: 100%;
    height: 50px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    /* 黄色按钮样式 */
    background-color: #ffd85c;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    outline: none;
}

.risk-verification-btn:disabled {
    /* 禁用状态样式 */
    background-color: #fff099;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}

.risk-verification-btn:hover:not(:disabled) {
    background-color: #ffb300;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.risk-verification-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}