
/* Centre de notifications Fabronex */
.notifications-panel{position:fixed;right:18px;top:70px;width:min(420px,calc(100vw - 24px));max-height:calc(100vh - 92px);z-index:160;background:#fff;border:1px solid #dbe5ec;border-radius:18px;box-shadow:0 24px 70px rgba(3,21,38,.24);display:flex;flex-direction:column;opacity:0;transform:translateY(-8px) scale(.985);pointer-events:none;transition:.18s ease;overflow:hidden}
.notifications-panel.open{opacity:1;transform:none;pointer-events:auto}
.notifications-backdrop{position:fixed;inset:0;z-index:150;background:rgba(3,14,27,.18);backdrop-filter:blur(1px)}
.notifications-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;padding:16px 17px 12px;background:linear-gradient(180deg,#fdfefe,#f7fafc);border-bottom:1px solid #e4ebf0}
.notifications-panel-head h2{margin:2px 0;color:#123550;font-size:19px}.notifications-panel-head small{color:#8295a4;font-size:8px}.notifications-close{border:0;background:#edf3f6;color:#36566c;width:32px;height:32px;border-radius:9px;cursor:pointer;font-size:18px}
.notifications-actions{display:flex;gap:7px;padding:9px 12px;border-bottom:1px solid #edf2f5}.notifications-actions button,.notifications-panel footer button{border:0;background:#f1f5f7;color:#456378;border-radius:8px;padding:7px 9px;font-size:8px;font-weight:800;cursor:pointer}.notifications-actions button:hover,.notifications-panel footer button:hover{background:#e8eef2}
.notifications-list{overflow:auto;min-height:120px;max-height:560px;padding:5px 8px}
.notification-item{display:grid;grid-template-columns:1fr auto;align-items:center;border-bottom:1px solid #edf2f5;border-radius:11px;position:relative}
.notification-item.unread{background:#fffaf0}.notification-item.unread:before{content:"";position:absolute;left:4px;top:18px;width:6px;height:6px;border-radius:50%;background:#b88e46}
.notification-main{border:0;background:transparent;text-align:left;display:grid;grid-template-columns:34px 1fr;gap:9px;align-items:start;padding:11px 8px 11px 14px;cursor:pointer;min-width:0}
.notification-icon{width:32px;height:32px;border-radius:9px;background:#0c2b47;color:#d4b069;display:grid;place-items:center;font-size:11px}
.notification-copy{min-width:0}.notification-copy strong{display:block;color:#183a54;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.notification-copy small{display:block;color:#657e91;font-size:9px;line-height:1.35;margin-top:2px}.notification-copy em{display:block;color:#8a9aa7;font-size:7px;font-style:normal;margin-top:4px}
.notification-item-actions{display:flex;gap:4px;padding-right:7px}.notification-item-actions button{width:29px;height:29px;border:0;border-radius:8px;background:#edf3f6;color:#4f6c80;cursor:pointer;font-size:12px}.notification-item-actions button.danger{background:#fff1f1;color:#a44b4b}
.notifications-empty{display:grid;place-items:center;align-content:center;min-height:200px;text-align:center;gap:4px}.notifications-empty>span{font-size:26px}.notifications-empty strong{color:#183a53}.notifications-empty small{color:#8093a2;max-width:250px}
.notifications-panel footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;border-top:1px solid #e6edf2;background:#fafcfd}.notifications-panel footer span{font-size:8px;color:#7f93a3}.notifications-panel footer button{color:#9b4d4d;background:#fff1f1}
.notification-dot{min-width:17px;height:17px;padding:0 4px;display:grid;place-items:center;border-radius:999px;background:#c74c4c;color:#fff;font-size:7px;font-weight:900;border:2px solid #091a30}
.notification-target-flash{outline:2px solid rgba(190,145,66,.65)!important;outline-offset:3px;animation:notifFlash .8s ease 2}
@keyframes notifFlash{50%{outline-color:rgba(190,145,66,.1)}}
@media(max-width:680px){.notifications-panel{right:8px;top:64px;width:calc(100vw - 16px);max-height:calc(100vh - 76px);border-radius:15px}.notifications-list{max-height:none;flex:1}}
