/* AddiPress Listings — AI assistant buttons. */
.apl-ai-bar { display: flex; justify-content: flex-end; margin-bottom: 6px; }
.apl-ai-inline { margin-left: 8px; }
.apl-ai-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px; cursor: pointer;
    font-size: 13px; font-weight: 700; line-height: 1;
    color: #fff; border: none;
    background: linear-gradient(135deg, var(--apl-primary, #4f46e5), var(--apl-secondary, #0ea5e9));
    box-shadow: 0 2px 8px rgba(79,70,229,.25);
    transition: transform .15s ease, opacity .15s ease;
}
.apl-ai-btn:hover { transform: translateY(-1px); }
.apl-ai-btn.is-busy { opacity: .7; cursor: progress; }
.apl-ai-inline .apl-ai-btn { padding: 3px 9px; font-size: 11px; vertical-align: middle; }

/* ---- Snap & Sell panel ---- */
.apl-snap {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 18px; margin: 0 0 22px;
    border-radius: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--apl-primary, #4f46e5), var(--apl-secondary, #0ea5e9));
    box-shadow: 0 12px 30px rgba(79, 70, 229, .28);
}
.apl-snap__icon { font-size: 30px; line-height: 1; flex: 0 0 auto; }
.apl-snap__body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.apl-snap__title { font-size: 16px; font-weight: 800; }
.apl-snap__desc { font-size: 13.5px; opacity: .92; }
.apl-snap__status { font-size: 13px; margin-top: 4px; font-weight: 600; }
.apl-snap__status.is-working::before { content: "⏳ "; }
.apl-snap__status.is-ok { color: #d1fae5; }
.apl-snap__status.is-ok::before { content: "✓ "; }
.apl-snap__status.is-err { color: #fecaca; }
.apl-snap__status.is-err::before { content: "⚠ "; }
.apl-snap__btn {
    flex: 0 0 auto;
    background: #fff; color: var(--apl-primary, #4f46e5);
    border: 0; border-radius: 12px;
    padding: 12px 18px; font-weight: 800; font-size: 14px; cursor: pointer;
    transition: transform .12s, box-shadow .12s;
}
.apl-snap__btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.apl-snap__btn:disabled { opacity: .7; cursor: progress; }
.apl-snap__hint { margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--apl-primary, #4f46e5); }

@media (max-width: 560px) {
    .apl-snap { flex-wrap: wrap; }
    .apl-snap__btn { flex: 1 0 100%; }
}
