.novex-notification-bell { position: relative; }
.novex-notification-bell[hidden] { display: none !important; }
.novex-notification-bell__button {
  position: relative;
  min-width: 36px;
  min-height: 36px;
  border: 1px solid #d4a947;
  border-radius: 8px;
  background: #fff8e1;
  color: #12233d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.novex-notification-bell__button em {
  position: absolute;
  top: -6px;
  inset-inline-end: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #b42318;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.novex-notification-bell__button em[hidden] { display: none !important; }
.novex-notification-bell__panel {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  width: min(420px, 92vw);
  max-height: 70vh;
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  z-index: 80;
}
.novex-notification-bell__panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
}
.novex-notification-bell__panel header button {
  border: 0;
  background: transparent;
  color: #0f766e;
  font-weight: 700;
  cursor: pointer;
}
.novex-notification-bell__list { padding: 8px; }
.novex-notification-bell__list h3 {
  color: #213547;
  font-size: 12px;
  margin: 10px 10px 8px;
}
.novex-notification-bell__list button {
  display: block;
  width: 100%;
  text-align: inherit;
  border: 0;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px 12px;
  margin-bottom: 8px;
  cursor: pointer;
}
.novex-notification-bell__list button.is-action {
  background: #eefaf7;
  border-inline-start: 3px solid #0f8d82;
}
.novex-notification-bell__list button.is-document {
  background: #fff7ed;
  border-inline-start: 3px solid #dc8a17;
}
.novex-notification-bell__list button:hover,
.novex-notification-bell__list button:focus-visible { outline: 2px solid #178d83; }
.novex-notification-bell__list button span,
.novex-notification-bell__list button b,
.novex-notification-bell__list button small,
.novex-notification-bell__list button time { display: block; }
.novex-notification-bell__list button span { color: #0f766e; font-size: 11px; }
.novex-notification-bell__list button b { color: #17324a; margin-block: 3px; }
.novex-notification-bell__list button small { color: #526579; }
.novex-notification-bell__list button time { color: #526579; font-size: 11px; margin-block-start: 5px; }
.novex-notification-bell__list p { margin: 16px 8px; color: #64748b; }
.novex-notification-bell__list p.novex-notification-bell__advance-count {
  margin: 6px 8px 12px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
}
.novex-notification-bell__list p.novex-notification-bell__partial { color: #8a4b12; }
.novex-notification-bell__approval {
  padding: 14px;
  border-top: 1px solid #dcebe8;
  background: #f8fcfb;
  direction: rtl;
}
.novex-notification-bell__approval[hidden] { display: none !important; }
.novex-notification-bell__approval h3 { margin: 0 0 6px; color: #17324a; font-size: 15px; }
.novex-notification-bell__approval p { margin: 0 0 8px; color: #526579; }
.novex-notification-bell__approval pre {
  max-height: 130px;
  overflow: auto;
  margin: 0 0 10px;
  padding: 8px;
  border: 1px solid #d7e6e3;
  border-radius: 8px;
  background: #fff;
  color: #17324a;
  text-align: start;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.novex-notification-bell__approval label { display: block; margin-bottom: 4px; font-weight: 700; }
.novex-notification-bell__approval textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #b8cbc9;
  border-radius: 8px;
  padding: 8px;
  resize: vertical;
}
.novex-notification-bell__approval-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.novex-notification-bell__approval-actions button {
  border: 1px solid #0f766e;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  padding: 7px 11px;
  cursor: pointer;
}
.novex-notification-bell__approval-actions [data-decision="reject"] { border-color: #b42318; background: #fff5f3; color: #a91f15; }
.novex-notification-bell__approval-actions [data-decision="cancel"] { border-color: #b8cbc9; background: #fff; color: #17324a; }
.novex-notification-bell__approval-actions button:disabled { opacity: .55; cursor: wait; }
.novex-notification-bell__approval small[role="alert"] { display: block; color: #b42318; margin-top: 7px; }
