.brand{position:relative}.brand>div:nth-child(2){min-width:0;flex:1}.notification-button{position:relative;display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:1px solid rgba(255,255,255,.16);border-radius:11px;background:rgba(255,255,255,.08);color:#d6e8e3;cursor:pointer}.notification-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.notification-button:hover,.notification-button.has-unread{color:#fff3bb;background:rgba(255,255,255,.15);border-color:rgba(255,243,187,.34)}.notification-button>b{position:absolute;top:-7px;right:-7px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 4px;border:2px solid #14332e;border-radius:999px;background:#df5151;color:#fff;font:700 9px/1 Inter,sans-serif}.notification-button>b[hidden]{display:none}.superadmin-mode .notification-button,.patient-mode .notification-button{display:none!important}
.notification-popover{position:fixed;z-index:140;top:72px;left:226px;width:min(420px,calc(100vw - 24px));max-height:min(650px,calc(100vh - 86px));overflow:hidden;border:1px solid #d9e3df;border-radius:18px;background:#fff;color:#172b27;box-shadow:0 22px 55px rgba(15,39,34,.26)}.notification-popover[hidden]{display:none}.notification-popover-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:17px 18px 14px;border-bottom:1px solid #edf1ef}.notification-popover-head h3{margin:2px 0 0;font-size:17px}.notification-head-actions{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.notification-popover-head button{border:0;background:none;color:#126756;font-size:10px;font-weight:700;cursor:pointer}.notification-popover-head button.danger-link{color:#a4433d}.notification-list{max-height:500px;overflow:auto}.notification-item{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 30px;align-items:stretch;border-bottom:1px solid #edf1ef;background:#fff}.notification-item:hover{background:#f7faf9}.notification-item.unread{background:#f0f8f5}.notification-open{display:grid;width:100%;grid-template-columns:36px minmax(0,1fr) 8px;gap:11px;align-items:flex-start;padding:14px 8px 14px 17px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}.notification-open>span:nth-child(2){min-width:0}.notification-open b,.notification-open small,.notification-open time{display:block}.notification-open b{font-size:12px;color:#152d28}.notification-open small{margin:4px 0;color:#546b65;font-size:10.5px;line-height:1.45}.notification-open time{color:#86938f;font-size:9px}.notification-open>i{width:7px;height:7px;margin-top:5px;border-radius:50%;background:#18715f}.notification-delete{align-self:center;width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#93a09c;font-size:17px;cursor:pointer}.notification-delete:hover{background:#fdebea;color:#a43f39}.notification-type-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#e5f3ef;color:#126756;font-style:normal;font-weight:800}.notification-type-icon.warning{background:#fff1d4;color:#8a5d0d}.notification-type-icon.urgent{background:#fde5e5;color:#ae3131}.notification-type-icon.success{background:#e4f4e8;color:#25713a}.notification-empty{padding:40px 20px;text-align:center}.notification-empty>span{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 10px;border-radius:14px;background:#edf5f2;color:#176857;font-size:20px}.notification-empty strong,.notification-empty p{display:block;margin:0}.notification-empty p{margin-top:5px;color:var(--muted);font-size:10px}.notification-popover-foot{display:flex;justify-content:space-between;padding:11px 17px;background:#f7f9f8;color:#6a7d77;font-size:9px;font-weight:600}
.admin-notification-layout{display:grid;grid-template-columns:minmax(330px,420px) minmax(0,1fr);gap:18px;align-items:start}.admin-notification-compose{display:grid;gap:14px;padding:22px}.admin-notification-compose h2,.admin-notification-compose p{margin:0}.admin-notification-compose>p{color:var(--muted)}.admin-notification-compose label{display:grid;gap:6px;font-size:10px;font-weight:700;color:#374c47}.admin-notification-compose input,.admin-notification-compose select,.admin-notification-compose textarea{width:100%;padding:11px 12px;border:1px solid #d4dedb;border-radius:10px;background:#fff;color:#172b27;font:inherit;resize:vertical}.admin-broadcast-toggle{display:flex!important;align-items:flex-start;gap:10px;padding:12px;border-radius:11px;background:#f2f8f6}.admin-broadcast-toggle input{width:auto;margin-top:2px}.admin-broadcast-toggle span strong,.admin-broadcast-toggle span small{display:block}.admin-broadcast-toggle span small{margin-top:3px;color:var(--muted);font-weight:400}.admin-notification-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.admin-notification-feedback{min-height:14px!important;color:#b33!important}.admin-notification-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:12px}.admin-notification-kpis article{padding:16px}.admin-notification-kpis small,.admin-notification-kpis strong{display:block}.admin-notification-kpis small{color:var(--muted);font-size:9px}.admin-notification-kpis strong{margin-top:4px;font-size:22px;color:#145e50}.admin-notification-history{padding:20px}.admin-notification-history-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px;align-items:start;padding:13px 0;border-top:1px solid #edf1ef}.admin-notification-history-row:first-of-type{border-top:0}.admin-notification-history-row p,.admin-notification-history-row small{margin:4px 0 0}.admin-notification-history-row p{color:#526963;font-size:10.5px}.admin-notification-history-row small{display:block;color:#89938f;font-size:9px}
@media(max-width:900px){.admin-notification-layout{grid-template-columns:1fr}.admin-notification-compose{order:0}}
@media(max-width:760px){.notification-popover{top:72px;right:10px;left:10px;width:auto;max-height:calc(100vh - 84px)}}
@media(max-width:620px){.admin-notification-options,.admin-notification-kpis{grid-template-columns:1fr}.notification-open{padding:13px 7px 13px 13px}}
