/* 知识星球二维码和按钮居中样式补丁 */

/* 卡片注释 */
.card-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* 知识星球二维码区域 - 确保完全居中 */
.card-qrcode-section {
    text-align: center;
    margin: 32px 0 24px 0;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 二维码图片 - 使用display: block和margin: auto确保居中 */
.card-qrcode {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: var(--radius-md);
    margin: 0 auto 12px auto;
    box-shadow: var(--shadow-md);
}

/* 二维码提示文字 */
.qrcode-hint {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    text-align: center;
}

/* 按钮包装器 - 确保按钮完全居中 */
.card-button-wrapper {
    text-align: center;
    margin-bottom: 16px;
    width: 100%;
}

/* 按钮本身 - 使用inline-block确保居中 */
.card-button-wrapper .card-button {
    display: inline-block;
    width: auto;
    max-width: 100%;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .card-qrcode {
        width: 160px;
        height: 160px;
    }
}