/* GRFTSH 04.G6 — tickets personnels */
#grftsh-my-receipts-panel[hidden]{display:none!important}
#grftsh-my-receipts-panel{padding:12px 0 28px;display:grid;gap:15px;min-width:0}
.grftsh-receipts-back{justify-self:start;border:1px solid var(--border,#444);border-radius:12px;background:var(--surface-2,#171717);color:var(--text,#fff);padding:11px 15px;cursor:pointer}
#grftsh-my-receipts-panel h2{margin:0;color:var(--text,#fff)}
#grftsh-my-receipts-panel>p{margin:0;color:var(--text-muted,#aaa)}
.grftsh-receipts-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,255px),1fr));gap:14px}
.grftsh-receipt-history-card{display:grid;gap:8px;align-content:start;padding:17px;border:1px solid var(--border,#444);border-radius:15px;background:var(--surface-2,#151515);color:var(--text,#fff)}
.grftsh-receipt-history-card h3,.grftsh-receipt-history-card p{margin:0}
.grftsh-receipt-history-card small,.grftsh-receipt-history-card p:not(.grftsh-receipt-history-total){color:var(--text-muted,#aaa)}
.grftsh-receipt-history-total{font-size:19px;font-weight:700}
.grftsh-receipt-history-link{display:block;text-align:center;padding:12px 14px;border-radius:10px;background:#d9fb44;color:#101310;text-decoration:none;font-weight:700;margin-top:6px}

/* 04.G6.1 — consultation des reçus dans l'espace membre */
.grftsh-receipt-history-link{border:0;cursor:pointer;font:inherit;font-weight:700;width:100%}
.grftsh-member-receipt-modal[hidden]{display:none!important}
.grftsh-member-receipt-modal{position:fixed;inset:0;z-index:999999;background:rgba(0,0,0,.82);display:grid;place-items:center;padding:14px}
.grftsh-member-receipt-dialog{position:relative;width:min(100%,470px);height:min(90dvh,820px);background:#151c28;border:1px solid #424a58;border-radius:18px;box-shadow:0 18px 65px #0009;padding:52px 9px 10px;overflow:hidden}
.grftsh-member-receipt-close{position:absolute;right:12px;top:9px;width:42px;height:42px;border-radius:11px;border:1px solid #4b5569;background:#263145;color:#fff;font-size:30px;cursor:pointer;z-index:1}
.grftsh-member-receipt-dialog iframe{display:block;width:100%;height:100%;border:0;background:#151c28}
body.grftsh-member-receipt-open{overflow:hidden}
@media(max-width:520px){.grftsh-member-receipt-modal{padding:6px}.grftsh-member-receipt-dialog{height:96dvh;padding:50px 0 4px}}
