/* The bell list, toast and modal messages (lib/Announcements). */
.announce-menu { min-width: 300px; max-width: 92vw; max-height: 60vh; overflow-y: auto; }
.announce-menu .announce-item { padding: 8px 14px; border-bottom: 1px solid #eee; cursor: default; }
.announce-menu .announce-item.unread { background: #f4f9ff; cursor: pointer; }
.announce-menu .announce-item.unread .announce-title { font-weight: bold; }
.announce-time { font-size: 10px; color: #888; }
.announce-text { white-space: pre-line; word-wrap: break-word; }
.announce-menu .announce-text { font-size: 12px; }

#announce-toasts { position: fixed; bottom: 15px; right: 15px; z-index: 2000; width: 320px; max-width: calc(100vw - 30px); }
.announce-toast { background: #fff; border: 1px solid #ddd; border-left: 4px solid #337ab7; border-radius: 3px; padding: 10px 14px;
                  margin-bottom: 10px; box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.announce-toast .close { margin-left: 8px; }

html.theme-dark .announce-menu .announce-item { border-color: #2c3440; }
html.theme-dark .announce-menu .announce-item.unread { background: #1f2a3a; }
html.theme-dark .announce-time { color: #9aa4b2; }
html.theme-dark .announce-toast { background: #1b212b; border-color: #2c3440; border-left-color: #6cb2ff; color: #e5e7eb; }
