/*
 * Alerte Pellet — page Mes alertes.
 * Powered by JeyZee
 */
:root{color-scheme:dark;--bg:#0b1017;--panel:#121a24;--panel-soft:#17212d;--border:#263445;--text:#f7f9fc;--muted:#98a7b8;--orange:#ff7a1a;--orange-soft:rgba(255,122,26,.14);--green:#6dde9a;--danger:#ff7f88}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;min-height:100vh;color:var(--text);background:radial-gradient(circle at top,#162231 0,var(--bg) 42%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button{font:inherit}[hidden]{display:none!important}
.user-alerts-header{border-bottom:1px solid var(--border);background:rgba(11,16,23,.9);backdrop-filter:blur(14px)}.user-alerts-header-inner{width:min(100% - 28px,960px);min-height:72px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px}.user-alerts-brand{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:900;text-decoration:none}.user-alerts-logo{width:42px;height:42px;object-fit:contain}.user-alerts-back{color:var(--muted);font-size:13px;font-weight:700;text-decoration:none}
.user-alerts-shell{width:min(100% - 28px,860px);margin:0 auto;padding:34px 0 60px}.user-alerts-state{min-height:360px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;text-align:center;color:var(--muted)}.user-alerts-spinner{width:34px;height:34px;border:3px solid #293747;border-top-color:var(--orange);border-radius:999px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.user-alerts-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:24px}.user-alerts-eyebrow{margin:0 0 8px;color:var(--orange);font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}.user-alerts-heading h1{margin:0;font-size:clamp(30px,7vw,46px);line-height:1.05}.user-alerts-heading p:last-child{max-width:620px;margin:12px 0 0;color:var(--muted);line-height:1.55}
.user-alerts-primary,.user-alerts-secondary,.user-alerts-danger{min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border-radius:12px;font-weight:900;text-decoration:none;cursor:pointer}.user-alerts-primary{border:1px solid var(--orange);color:#1d0d02;background:var(--orange)}.user-alerts-secondary{border:1px solid var(--border);color:var(--text);background:var(--panel-soft)}.user-alerts-danger{border:1px solid rgba(255,127,136,.35);color:#ffd9dc;background:rgba(255,127,136,.08)}button:disabled{cursor:wait;opacity:.58}
.user-alerts-notice{margin:0 0 16px;padding:12px 14px;border:1px solid var(--border);border-radius:13px;background:rgba(18,26,36,.76);color:var(--muted);font-size:13px}.user-alerts-notice[data-state="success"]{border-color:rgba(109,222,154,.35);color:#c9f6d9}.user-alerts-notice[data-state="error"]{border-color:rgba(255,127,136,.35);color:#ffd2d6}
.user-alerts-list{display:grid;gap:16px}.user-alerts-card{padding:20px;border:1px solid var(--border);border-radius:20px;background:rgba(18,26,36,.94);box-shadow:0 14px 40px rgba(0,0,0,.16)}.user-alerts-card[data-status="paused"]{opacity:.78}.user-alerts-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.user-alerts-card h2{margin:0;font-size:20px}.user-alerts-card-meta{margin:6px 0 0;color:var(--muted);font-size:12px}.user-alerts-status{flex:0 0 auto;padding:7px 10px;border:1px solid rgba(109,222,154,.28);border-radius:999px;color:#bdf2cf;background:rgba(109,222,154,.08);font-size:12px;font-weight:900}.user-alerts-card[data-status="paused"] .user-alerts-status{border-color:rgba(152,167,184,.28);color:#c5d0dc;background:rgba(152,167,184,.08)}
.user-alerts-info-grid{margin-top:18px;display:grid;gap:9px}.user-alerts-info-row{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;align-items:start;padding:10px 0;border-bottom:1px solid rgba(38,52,69,.75)}.user-alerts-info-label{color:var(--muted);font-size:12px;font-weight:800}.user-alerts-info-row strong{min-width:0;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.user-alerts-triggers{margin-top:16px;display:flex;flex-wrap:wrap;gap:8px}.user-alerts-chip{padding:7px 10px;border:1px solid rgba(255,122,26,.28);border-radius:999px;color:#ffd7b8;background:var(--orange-soft);font-size:12px;font-weight:850}.user-alerts-card-actions{margin-top:18px;display:flex;flex-wrap:wrap;gap:10px}
.user-alerts-empty{padding:34px 22px;border:1px dashed #39495c;border-radius:20px;text-align:center;background:rgba(18,26,36,.7)}.user-alerts-empty h2{margin:0 0 8px}.user-alerts-empty p{margin:0 0 18px;color:var(--muted);line-height:1.55}.user-alerts-error strong{color:var(--text);font-size:18px}.user-alerts-error p{margin:0 0 8px}.user-alerts-powered{margin:26px 0 0;color:var(--muted);text-align:center;font-size:12px}.user-alerts-powered strong{color:var(--orange)}
@media(max-width:620px){.user-alerts-heading{align-items:stretch;flex-direction:column}.user-alerts-heading .user-alerts-primary{width:100%}.user-alerts-card-top{flex-direction:column}.user-alerts-info-row{grid-template-columns:1fr;gap:4px}.user-alerts-card-actions{display:grid;grid-template-columns:1fr 1fr}}
