.notification-trigger { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--white); text-decoration: none; &:hover, &:focus-visible { opacity: .8; } }
.user-menu { > a.notification-trigger:not(.logo):not(.chat-trigger):not(.dashboard-widget-link) { color: var(--white); } }
.notification-trigger.has-unread::after { position: absolute; top: 5px; right: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--red-600); content: ""; }
.notification-trigger > img { width: 20px; height: 20px; }
.notifications-panel { display: grid; gap: 20px; max-width: 1000px; margin: 0 auto; padding: 0 12px 12px; }
.notification-compose, .notifications-list-wrap { display: grid; gap: 10px; }
.notification-compose { padding: 0; border: 0; background: transparent; }
.notifications-list-wrap { padding: 16px; border: 1px solid var(--slate-200); border-radius: 8px; background: var(--white); }
.notification-compose > h2, .notifications-list-wrap > h2 { margin: 0; font-size: 16px; }
.notification-compose-fields { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr); gap: 16px; }
.notification-compose-field { display: grid; align-content: start; gap: 8px; min-width: 0; }
.notification-compose-field > select, .notification-compose-field > .notification-body-wrap > textarea { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--slate-300); border-radius: 4px; font: inherit; }
.notification-compose-field > select { height: 140px; min-height: 140px; }
.notification-body-wrap { position: relative; }
.notification-compose-field > .notification-body-wrap > textarea { height: 140px; min-height: 140px; padding: 8px 72px 38px 8px; resize: vertical; }
.notification-body-wrap > button { position: absolute; right: 16px; bottom: 8px; width: 42px; height: 24px; min-height: 24px; padding: 0; font-size: 11px; }
.notifications-list-header { display: flex; align-items: center; justify-content: space-between; }
.notifications-list-header > h2 { margin: 0; font-size: 16px; }
.notifications-list-header > span { color: var(--slate-500); font-weight: 500; }
.notifications-list { display: grid; gap: 8px; }
.notification-item { display: grid; gap: 5px; padding: 12px; border: 1px solid var(--slate-200); border-radius: 6px; background: var(--slate-50); color: var(--slate-700); text-align: left; white-space: pre-wrap; cursor: pointer; }
.notification-item.is-unread { border-left: 4px solid var(--sky-500); background: var(--white); }
.notification-item > div:first-child { color: var(--slate-500); font-size: 12px; }
.notification-item a { color: var(--color-link); }
.notification-item a:hover, .notification-item a:focus-visible { color: var(--color-link-hover); }
.notification-empty { color: var(--slate-500); }
.matching-detail-comment-form { position: relative; }
.comment-mention-popup { position: absolute; z-index: 20; top: calc(100% - 6px); right: 12px; left: 12px; max-height: 180px; overflow-y: auto; border: 1px solid var(--slate-300); border-radius: 6px; background: var(--white); box-shadow: 0 4px 12px rgb(15 23 42 / 16%); }
.jobs-workers-detail-comments:has(> .matching-detail-comment-form > .comment-mention-popup:not([hidden])) { overflow: visible; }
.comment-mention-popup[hidden] { display: none; }
.comment-mention-popup > button { display: block; width: 100%; padding: 7px 10px; border: 0; background: var(--white); color: var(--slate-700); text-align: left; cursor: pointer; }
.comment-mention-popup > button:hover, .comment-mention-popup > button:focus-visible { background: var(--slate-100); }
@media (max-width: 640px) { .notification-compose-fields { grid-template-columns: minmax(0, 1fr); } }
