/* Notifications: the bell at the right of the sidebar's Elthos row and the
   panel it opens, in the Settings panel's look. */
body#elthosApp .notification-bell {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px !important;
  height: 30px !important;
  min-width: 0 !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #484844 !important;
  cursor: pointer;
}
body#elthosApp .notification-bell[hidden] { display: none !important; }
body#elthosApp .notification-bell:hover,
body#elthosApp .notification-bell[aria-expanded="true"] {
  background: #edede9 !important;
}
body#elthosApp .notification-bell svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.notification-bell-dot {
  position: absolute;
  top: 5px;
  right: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d93025;
  box-shadow: 0 0 0 2px #f7f7f5;
}
.notification-bell-dot[hidden] { display: none; }

.notification-panel {
  position: fixed;
  z-index: 1200;
  top: 16px;
  left: 16px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100vh - 32px));
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e4;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(20, 20, 18, .14), 0 2px 6px rgba(20, 20, 18, .06);
  color: #252525;
  overflow: hidden;
}
.notification-panel[hidden] { display: none; }
.notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 12px 10px 18px;
  border-bottom: 1px solid #e8e8e4;
}
.notification-panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.2px;
}
.notification-panel-head > div { display: flex; align-items: center; gap: 2px; }
.notification-panel-head button {
  border: 0;
  background: transparent;
  color: #484844;
  font: inherit;
  font-size: 13px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
}
.notification-panel-head button:hover { background: #edede9; }
.notification-panel-head .notification-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
}
.notification-icon-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.notification-list { overflow-y: auto; padding: 6px; }
.notification-row {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  width: 100%;
  padding: 10px 10px 10px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.notification-row:hover { background: #f4f4f1; }
.notification-row-dot {
  width: 7px;
  height: 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: transparent;
}
.notification-row.is-unread .notification-row-dot { background: #2f6fde; }
.notification-row-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.notification-row-copy strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  color: #252525;
}
.notification-row:not(.is-unread) .notification-row-copy strong { font-weight: 400; color: #484844; }
.notification-row-copy span {
  font-size: 13px;
  line-height: 1.4;
  color: #6d6c67;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notification-row time {
  font-size: 12px;
  color: #6b6a66;
  padding-top: 2px;
  white-space: nowrap;
}
.notification-empty {
  margin: 0;
  padding: 36px 16px;
  text-align: center;
  font-size: 14px;
  color: #6d6c67;
}
