/**
 * 错误/提示弹窗样式（统一）
 * 供注册、登录、个人中心、修改密码等使用 showErrorModal 的页面引用
 * 与 User.js 中 showErrorModal 生成的 DOM 结构对应
 */
.error-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
.error-modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 0;
    border-radius: 8px;
    width: 200px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s;
}
@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 1;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.error-modal-header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.error-modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}
.error-modal-close {
    font-size: 18px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    line-height: 1;
}
.error-modal-close:hover {
    color: #333;
}
.error-modal-body {
    padding: 8px;
    color: #666;
    text-align: center;
}
.error-modal-footer {
    padding: 6px 15px;
    text-align: right;
}
.error-modal-btn {
    padding: 3px 11px;
    background: #19345c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 11px;
}
.error-modal-btn:hover {
    background: #1a4a6e;
}
