#psppd-alert {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* 密码要求提示框样式 */
.pgpp-hint-box {
    padding: 10px;
    background-color: #f7f7f7;
    border: 1px solid #eee;
    border-radius: 4px;
    line-height: 1.5;
}

/* 确保紧凑提示的行高正常 */
.pgpp-compact-hint {
    line-height: 1.2;
}
/* 隐藏列表（以防万一） */
.pgpp-hint-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none; 
}

/* 新增：确保 Font Awesome 图标能被识别，如果主题未加载 */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* ---------------------------------------------------------------------- */
/* 解决按钮样式问题：颜色、圆角、高度、字体 */
/* ---------------------------------------------------------------------- */
form#pp_password_reset_1 .pp-submit-form.pp-reset-button.pp-reset-button-block {
    /* 强制应用品牌蓝和圆角 */
    background-color: #046BD2 !important; 
    border-color: #046BD2 !important;
    border-radius: 5px !important; 
    color: #ffffff !important;
    
    /* 根据主题变量设置字体大小和高度 */
    font-size: 15px !important; /* 来自 --btn-font-size */
    height: auto !important; 
    padding: 10px 18px !important; /* 调整 padding 确保按钮高度合适 */
    line-height: normal !important;
}

/* ---------------------------------------------------------------------- */
/* 解决输入框样式问题：圆角、高度、占位符居中、字体 */
/* ---------------------------------------------------------------------- */
.pgpp-pw-wrap input[type="password"],
.pgpp-pw-wrap input[type="text"] {
    /* 强制应用圆角 */
    border-radius: 5px !important; 
    
    /* 解决占位符不居中/高度太大的问题：使用 padding 强制居中 */
    box-sizing: border-box !important; 
    height: auto !important; 
    padding: 12px 15px !important; /* 调整 padding 确保占位符/文本居中 */
    line-height: 1.5 !important; 
    
    /* 根据主题变量设置字体大小 */
    font-size: 16px !important; /* 来自 --wp--preset--font-size--normal */
}

/* 占位符字体大小微调 (通常与输入框字体一致即可) */
.pgpp-pw-wrap input::placeholder {
    font-size: 16px !important; 
    opacity: 0.8 !important; /* 让占位符略微变浅 */
}
.pgpp-pw-wrap input::-webkit-input-placeholder {
    font-size: 16px !important;
    opacity: 0.8 !important;
}
.pgpp-pw-wrap input:-ms-input-placeholder {
    font-size: 16px !important;
    opacity: 0.8 !important;
}