/* 遮罩层 */
.pwd-overlay {
    display: none; /* 默认必须隐藏 */
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(6px);
    z-index: 9999;
}
/* 用来居中的类，只有显示时才加上 */
.pwd-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 卡片 */
.pwd-card {
    margin: auto;
    width: 320px;
    padding: 28px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;

    animation: fadeInUp 0.3s ease;
}

.pwd-card input,
.pwd-card button {
    box-sizing: border-box;
}

/* 标题 */
.pwd-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

/* 描述 */
.pwd-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
}

/* 输入框 */
#pwdInput {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    outline: none;
    transition: all 0.2s;
}

#pwdInput:focus {
    border-color: #409eff;
    box-shadow: 0 0 0 2px rgba(64,158,255,0.2);
}

/* 按钮 */
.pwd-btn {
    margin-top: 14px;
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 6px;
    background: #409eff;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.pwd-btn:hover {
    background: #2f8de0;
}

/* 错误提示 */
.pwd-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 10px;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 抖动动画 */
@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

/* 触发类 */
.shake {
    animation: shake 0.3s;
}
