/* App-wide tweaks on top of Volt. */

/* Footer sits at the very bottom of the page, thin. */
main.content { display: flex; flex-direction: column; min-height: 100vh; }
main.content > footer { margin-top: auto; }
main.content > * { flex: 0 0 auto; }

/* Bell in the top bar (static/js/bell.js): red number, list of notifications */
.bell-link { position: relative; display: inline-flex; align-items: center; padding: 6px !important; }
.bell-link::after { display: none; }
.bell-icon { color: #4b5563; }
.bell-count {
  position: absolute; top: 0; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: #e5322d; color: #fff; font-size: 11px; font-weight: 700;
  line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #f2f4f6;
}
.bell-count[hidden] { display: none; }
.notifications-dropdown { width: min(380px, calc(100vw - 24px)); }
.bell-list { max-height: 60vh; overflow-y: auto; }
.bell-item { display: flex; gap: 10px; padding: 10px 14px; white-space: normal; }
.bell-item.is-unread { background: #f0f8f8; }
.bell-item-dot { display: block; flex: 0 0 8px; width: 8px !important; max-width: 8px; height: 8px; padding: 0; margin-top: 7px; border-radius: 50%; background: transparent; }
.bell-item.is-unread .bell-item-dot { background: #e5322d; }
.bell-item-title { font-size: 0.875rem; color: #1f2937; }
.bell-item-task { font-size: 0.8125rem; color: #4b5563; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bell-item-time { font-size: 0.75rem; color: #9ca3af; }
