/* Pépite Push – bandeau d'accord, message bref, page « Mes notifications » (charte Pépite Tech) */
.pp-prompt { position: fixed; left: 20px; bottom: 20px; z-index: 1040; display: flex; gap: 14px; align-items: flex-start; width: 380px; max-width: calc(100vw - 32px);
  padding: 18px 44px 18px 18px; background: #fff; border: 1px solid #ececec; border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.16);
  font-family: inherit; color: #232323; opacity: 0; transform: translateY(16px); transition: opacity .25s, transform .25s; box-sizing: border-box; }
.pp-prompt.pp-show { opacity: 1; transform: none; }
.pp-prompt .pp-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; border: 1px solid #ececec; object-fit: contain; background: #fff; }
.pp-prompt .pp-content { min-width: 0; }
.pp-prompt .pp-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 1.3; }
.pp-prompt .pp-text { margin: 0 0 14px; font-size: 13px; line-height: 1.5; color: #555; }
.pp-prompt .pp-text a { color: #232323; font-weight: 600; text-decoration: underline; }
.pp-prompt .pp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pp-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 18px; border: 1px solid #232323; border-radius: 999px;
  background: #fff; color: #232323; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.pp-btn:hover { background: #232323; color: #fff; }
.pp-btn-main { background: #232323; color: #fff; }
.pp-btn-main:hover { background: #f0a33a; border-color: #f0a33a; }
.pp-btn:focus-visible, .pp-close:focus-visible { outline: 2px solid #f0a33a; outline-offset: 2px; }
.pp-close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; background: #f3f3f3; color: #232323;
  font-size: 18px; line-height: 30px; text-align: center; cursor: pointer; padding: 0; }
.pp-close:hover { background: #ececec; }
.pp-share { display: inline-block; width: 14px; height: 16px; vertical-align: -2px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23232323' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M8 7l4-4 4 4'/%3E%3Cpath d='M5 12v8h14v-8'/%3E%3C/svg%3E"); }
@media (max-width: 575px) {
  .pp-prompt { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; }
  .pp-prompt .pp-btn { flex: 1 1 0; }
}
/* message bref : même pilule blanche que les autres messages du site, rond vert (ou rouge si erreur) */
.pp-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1050; display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: calc(100vw - 32px);
  padding: 10px 22px 10px 10px; background: #fff; border: 1px solid #ececec; border-radius: 999px; box-shadow: 0 18px 40px rgba(0,0,0,.18);
  color: #232323; font-size: 14px; font-weight: 700; line-height: 1.35; transform: translate(-50%, 12px); opacity: 0; transition: opacity .25s, transform .25s; box-sizing: border-box; }
.pp-toast::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: #eaf7ef url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e7a46'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pp-toast.pp-off::before { background: #f3f3f3 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23232323'%3E%3Cpath d='M20 18.69 7.84 6.14 5.27 3.49 4 4.76l2.8 2.8v.01c-.52.99-.8 2.16-.8 3.42v5l-2 2v1h13.73l2 2L21 19.72l-1-1.03zM12 22c1.11 0 2-.89 2-2h-4c0 1.11.89 2 2 2zm6-7.32V11c0-3.08-1.64-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.15.03-.29.08-.42.12-.1.03-.2.07-.3.11h-.01c-.01 0-.01 0-.02.01-.23.09-.46.2-.68.31 0 0-.01 0-.01.01L18 14.68z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pp-toast.pp-error::before { background: #fdecea url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c0392b'%3E%3Cpath d='M11 15h2v2h-2zm0-8h2v6h-2zm1-5C6.47 2 2 6.5 2 12a10 10 0 1 0 10-10zm0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pp-toast.pp-show { opacity: 1; transform: translate(-50%, 0); }

/* page « Mes notifications » */
.pp-manage { background: #fff; border: 1px solid #ececec; border-radius: 16px; padding: 24px; }
.pp-manage h2 { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: #232323; }
.pp-manage .pp-lead { color: #6b6b6b; font-size: 14px; margin: 0 0 18px; }
.pp-manage .pp-state { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #f7f7f7; border-radius: 14px; font-size: 14px; color: #232323; margin: 0 0 16px; }
.pp-manage .pp-state::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #bdbdbd; }
.pp-manage[data-pp-status="on"] .pp-state::before { background: #1e9e5a; }
.pp-manage[data-pp-status="denied"] .pp-state::before { background: #c0392b; }
.pp-manage .pp-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 24px; }
.pp-manage .pp-actions .pp-btn { height: 44px; padding: 0 22px; }
.pp-manage h3 { font-size: 16px; font-weight: 700; margin: 0 0 10px; color: #232323; }
.pp-manage ul.pp-devices { list-style: none; margin: 0 0 14px; padding: 0; }
.pp-manage ul.pp-devices li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
.pp-manage ul.pp-devices li span { color: #6b6b6b; }
.pp-manage .pp-legal { font-size: 12px; color: #6b6b6b; line-height: 1.6; margin: 18px 0 0; }
.pp-manage .pp-legal a { color: #232323; text-decoration: underline; }
.pp-manage [hidden] { display: none !important; }

/* lien « Ouvrir le navigateur » (navigateurs intégrés aux applications) */
a.pp-btn { text-decoration: none !important; color: #232323; }
a.pp-btn-main, a.pp-btn-main:hover { color: #fff !important; }
