/**
 * PistonTribe — Noir dialog (ptNoirNotice / ptNoirConfirm)
 *
 * Extracted from chat-commerce.css 2026-08-12 and loaded GLOBALLY, because the helper it styles is
 * the PT standard confirmation and is now needed well outside the deal chat — listing pages,
 * profiles, account screens. While it lived in the offers-page-only stylesheet, any call from
 * elsewhere fell back to a native browser alert(), which is exactly what CLOSE THE LOOP is meant to
 * replace. Pairs with js/pt-noir-dialog.js.
 */

.pt-noir-dialog {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pt-noir-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.55);
    cursor: pointer;
}
.pt-noir-dialog__panel {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 24px 24px 20px;
    text-align: left;
}
.pt-noir-dialog__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}
.pt-noir-dialog__body {
    margin: 0 0 18px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #475569;
}
.pt-noir-dialog__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.pt-noir-dialog__btn {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
}
.pt-noir-dialog__btn--confirm {
    background: #0a0a0a;
    color: #fff;
    transition: background 0.15s ease;
}
.pt-noir-dialog__btn--confirm:hover,
.pt-noir-dialog__btn--confirm:focus {
    background: #1f1f1f !important;
    border-color: #1f1f1f !important;
    color: #fff !important;
}
.pt-noir-dialog__btn--cancel {
    background: transparent;
    color: #64748b;
    border-color: #e5e7eb;
}
.pt-noir-dialog__btn--cancel:hover {
    background: #f8fafc;
    color: #0f172a;
}
