/* AddiPress Listings — Safe Payments (escrow). */

/* Buy safely button (pricebox) */
.apl-buy {
    display: flex; align-items: center; gap: 12px;
    margin: 10px 0; padding: 12px 16px;
    border-radius: 14px; text-decoration: none; color: #fff;
    background: linear-gradient(135deg, #059669, #10b981);
    box-shadow: 0 8px 22px rgba(16, 185, 129, .3);
    transition: transform .12s, box-shadow .12s;
}
.apl-buy:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16, 185, 129, .4); color: #fff; }
.apl-buy__lock { font-size: 22px; line-height: 1; }
.apl-buy__txt { display: flex; flex-direction: column; line-height: 1.25; }
.apl-buy__txt strong { font-size: 16px; font-weight: 800; }
.apl-buy__txt small { font-size: 11.5px; opacity: .95; }

/* Notes */
.apl-note { padding: 12px 16px; border-radius: 10px; margin-bottom: 14px; font-size: 14px; font-weight: 600; }
.apl-note--ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.apl-note--err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* Purchases / sales list */
.apl-purchases { display: grid; gap: 10px; }
.apl-purchase {
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    padding: 14px 16px; border: 1px solid var(--apl-line, #e2e8f0); border-radius: 12px; background: #fff;
}
.apl-purchase--held { border-color: #fcd34d; background: #fffbeb; }
.apl-purchase--released { border-color: #a7f3d0; background: #f0fdf4; }
.apl-purchase--refunded { opacity: .7; }
.apl-purchase__info { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.apl-purchase__info a { font-weight: 700; color: inherit; text-decoration: none; }
.apl-purchase__status { font-size: 12.5px; color: var(--apl-muted, #64748b); }
.apl-purchase__amt { font-weight: 800; font-size: 16px; }

/* Payouts */
.apl-payouts__status { padding: 16px; border: 1px solid var(--apl-line, #e2e8f0); border-radius: 12px; background: #fff; margin-bottom: 18px; }
.apl-payouts__ok { color: #047857; font-weight: 700; }
.apl-payouts__title { margin: 18px 0 10px; font-size: 16px; }
