/* assets/style.css —— 问题券付费墙与解锁内容样式 */

.wq-coupon {
    max-width: 300px;
    margin: 20px auto;
    padding: 24px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #fafbff 100%);
    box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
    text-align: center;
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.wq-lock {
    font-size: 34px;
    line-height: 1;
    margin-bottom: 10px;
}

.wq-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 6px;
}

.wq-desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 14px;
}

.wq-price {
    font-size: 22px;
    font-weight: 800;
    color: #ef4444;
    margin-bottom: 16px;
}

.wq-pay-btn {
    display: block;
    width: 100%;
    padding: 12px 0;
    border: none;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, opacity 0.15s ease;
}

.wq-pay-btn:hover {
    background: #1d4ed8;
}

.wq-pay-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.85;
}

.wq-msg {
    margin-top: 12px;
    font-size: 13px;
    min-height: 18px;
}

.wq-msg.wq-ok {
    color: #15803d;
}

.wq-msg.wq-error {
    color: #dc2626;
}

/* 解锁后的内容容器 */
.wq-content-unlocked {
    margin: 16px 0;
    padding: 16px 18px;
    border-left: 4px solid #22c55e;
    background: #f0fdf4;
    border-radius: 8px;
}

/* 支付确认中（等待回调） */
.wq-coupon.wq-waiting {
    border-color: #fcd34d;
    background: linear-gradient(180deg, #ffffff 0%, #fffbeb 100%);
}
