/* FadiTec Projects v0.6 — attachments & notifications */
.topbar-notification-bell{position:relative;border:1px solid #e4ebef;background:#fff;color:#334e58;width:42px;height:42px;display:grid;place-items:center;border-radius:13px;transition:background .15s,border-color .15s;cursor:pointer}
.topbar-notification-bell:hover,.topbar-notification-bell:focus-visible{background:#f8f1f2;border-color:#e6b4ba;color:#c81d2d}
.notification-bell-count{position:absolute;top:-7px;inset-inline-start:-7px;min-width:19px;height:19px;border-radius:50px;padding:1px 4px;background:#d31c28;color:#fff;border:2px solid #fff;font-weight:800;font-size:10px;line-height:15px;text-align:center}
.notification-bell-count[hidden]{display:none}
.notification-dropdown{width:min(375px,calc(100vw - 25px));max-height:70vh;overflow:auto;border:1px solid #e1e8ec;box-shadow:0 15px 50px #1d354020;border-radius:16px;text-align:right}
.notification-dropdown-head{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:8px;border-bottom:1px solid #edf0f1}.notification-dropdown-head strong{font-size:14px}.notification-dropdown-head span{font-size:11px;color:#7c8f99}
.notification-dropdown-list{max-height:330px;overflow:auto}.notification-dropdown-item{border:0;border-bottom:1px solid #edf0f1;display:block;text-align:right;width:100%;background:#fff;padding:13px 17px;color:#31424a}.notification-dropdown-item.is-unread{background:#fff8f8}.notification-dropdown-item:hover{background:#f5f8f9}.notification-dropdown-item strong{display:block;font-size:12px}.notification-dropdown-item small{font-size:11px;color:#73838b;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px}
.notification-dropdown-footer{display:flex;justify-content:center;gap:8px;align-items:center;color:#bf1f2a;font-size:12px;font-weight:800;text-decoration:none;padding:13px}.notification-dropdown-footer:hover{background:#fff7f7;color:#ac1420}.notification-dropdown-empty{text-align:center;color:#82929a;padding:20px;font-size:12px}
.task-attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(195px,1fr));gap:13px;margin:18px 0 22px}
.task-attachment-card{position:relative;border:1px solid #e6ebed;border-radius:15px;overflow:hidden;background:#fbfcfc;min-width:0}
.task-attachment-media{height:112px;display:grid;place-items:center;background:#f3f6f7;color:#5e7883;font-size:38px;overflow:hidden}.task-attachment-media img{height:100%;width:100%;object-fit:contain}.task-attachment-info{padding:12px 13px 14px;display:flex;flex-direction:column;gap:3px}.task-attachment-name{display:block;font-size:12px;font-weight:800;color:#30434c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-attachment-info small{font-size:10px;color:#84949a}.task-attachment-delete{position:absolute;inset-inline-end:8px;top:8px;background:#fff;box-shadow:0 2px 9px #0001}
.task-upload-form{padding:16px;border:1px dashed #cddde2;background:#fafcfc;border-radius:14px}.task-upload-controls{display:flex;align-items:center;gap:10px}.task-upload-controls .form-control{min-width:0;flex:1}.task-upload-controls button{flex:0 0 auto}
.notifications-page .section-title{display:flex;flex-wrap:wrap;align-items:center;gap:12px;justify-content:space-between}.notifications-list{display:flex;flex-direction:column}.notification-entry{display:flex;align-items:flex-start;gap:13px;padding:17px 8px;border-bottom:1px solid #ebeff1}.notification-entry:last-child{border:0}.notification-entry.is-unread{background:linear-gradient(90deg,transparent,#fff5f5)}.notification-entry-icon{border-radius:13px;background:#fcebed;color:#d31c28;width:43px;height:43px;display:grid;place-items:center;flex:0 0 43px}.notification-entry-content{flex:1;min-width:0}.notification-entry-content strong{font-size:13px}.notification-entry-content p{margin:4px 0;font-size:12px;color:#60747d}.notification-entry-content small{font-size:10px;color:#8d9da4}.notification-unread-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#d31c28}.notification-entry-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.notification-entry-actions .btn-link{font-size:11px;text-decoration:none}
@media(max-width:767px){.task-upload-controls{flex-direction:column;align-items:stretch}.task-upload-controls .btn{width:100%}.notification-entry{flex-wrap:wrap}.notification-entry-actions{width:100%;padding-inline-start:56px}.notification-dropdown{max-width:calc(100vw - 24px)}}
