/* 支付密码底部弹层 */
body.shop-pay-pwd-open {
    overflow: hidden;
}

.shop-pay-pwd-sheet[hidden] {
    display: none !important;
}

.shop-pay-pwd-sheet {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.shop-pay-pwd-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    border: 0;
    padding: 0;
    cursor: pointer;
}

.shop-pay-pwd-panel {
    position: relative;
    width: 100%;
    max-width: 100%;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 12px 20px calc(16px + var(--shop-safe-bottom));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
    animation: shop-pay-pwd-slide-up 0.26s ease;
}

@keyframes shop-pay-pwd-slide-up {
    from { transform: translateY(100%); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}

.shop-pay-pwd-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.shop-pay-pwd-title {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--shop-ink, #111827);
}

.shop-pay-pwd-close {
    border: 0;
    background: transparent;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--shop-ink-muted, #6b7280);
    font-size: 22px;
    border-radius: 8px;
}

.shop-pay-pwd-close:active {
    background: var(--shop-brand-soft, #fef2f2);
}

.shop-pay-pwd-desc {
    margin: 0 0 16px;
    font-size: 13px;
    color: var(--shop-ink-muted, #6b7280);
    line-height: 1.5;
}

.shop-pay-pwd-field .form-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.shop-pay-pwd-input {
    min-height: 44px;
    border-radius: 10px;
    font-size: 16px;
}

.shop-pay-pwd-actions {
    display: flex;
    gap: 10px;
}

.shop-pay-pwd-actions .btn {
    flex: 1;
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
}

.shop-pay-pwd-actions .btn-outline-secondary {
    border-color: var(--shop-border, #e5e7eb);
    color: var(--shop-ink-muted, #6b7280);
}

.shop-pay-pwd-actions .btn-primary {
    background: var(--shop-brand, #e0251a);
    border-color: var(--shop-brand, #e0251a);
}

.shop-pay-pwd-actions .btn-primary:disabled {
    opacity: 0.45;
}
