/* 帧叙AI助手 - 支付弹窗样式 */

.pay-qr-modal {
    max-width: 360px;
    width: 90%;
    border-radius: 16px;
    overflow: hidden;
}

.pay-qr-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}

.pay-qr-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.pay-qr-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted, #9ca3af);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.pay-qr-close:hover {
    color: var(--text-primary, #1f2937);
}

.pay-qr-body {
    padding: 24px 20px;
    text-align: center;
}

.pay-qr-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: var(--bg-secondary, #f3f4f6);
    border-radius: 8px;
}

.pay-qr-label {
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
}

.pay-qr-amount {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-color, #f97316);
}

.pay-qr-img {
    display: inline-block;
    padding: 12px;
    background: #fff;
    border: 2px solid var(--border-color, #e5e7eb);
    border-radius: 12px;
    margin-bottom: 12px;
}

.pay-qr-img canvas,
.pay-qr-img img {
    display: block;
}

.pay-qr-tip {
    font-size: 13px;
    color: var(--text-muted, #9ca3af);
    margin-bottom: 16px;
}

.pay-qr-status {
    font-size: 14px;
    color: var(--text-secondary, #6b7280);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.pay-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--warning, #f59e0b);
    animation: pulse 1.5s infinite;
}

.pay-status-dot.success {
    background: var(--success, #10b981);
    animation: none;
}

.pay-status-dot.error {
    background: var(--error, #ef4444);
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
