.cbot-notify {
  position: relative;
  margin: 0 0.15rem 0 0.35rem;
}
.cbot-notify-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border: 1px solid #e4e7ec;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  color: #4b5563;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.cbot-notify-bell:hover,
.cbot-notify-bell:focus {
  background: #fff;
  border-color: #d0d5dd;
  color: #111827;
  outline: none;
}
.cbot-notify-bell.is-open {
  border-color: #c4b5fd;
  color: #5b21b6;
  box-shadow: 0 0 0 3px rgba(178, 0, 253, 0.12);
}
.cbot-notify-count {
  position: absolute;
  top: -4px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e03131;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}
.cbot-notify-count.is-hidden {
  display: none;
}
.cbot-notify-panel {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 1035;
  display: none;
  width: min(380px, calc(100vw - 1.5rem));
  max-height: min(28rem, calc(100vh - 5.5rem));
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
.cbot-notify-panel.is-open {
  display: flex;
  flex-direction: column;
}
.cbot-notify-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.7rem;
  border-bottom: 1px solid #f1f3f5;
}
.cbot-notify-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.01em;
}
.cbot-notify-mark {
  border: 0;
  background: none;
  color: #7c3aed;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0;
  cursor: pointer;
}
.cbot-notify-mark:hover,
.cbot-notify-mark:focus {
  color: #5b21b6;
  text-decoration: underline;
  outline: none;
}
.cbot-notify-mark:disabled {
  color: #adb5bd;
  cursor: default;
  text-decoration: none;
}
.cbot-notify-list {
  overflow-y: auto;
  max-height: min(22rem, calc(100vh - 9rem));
}
.cbot-notify-empty {
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: #868e96;
  font-size: 0.88rem;
}
.cbot-notify-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0;
  border-bottom: 1px solid #f3f4f6;
  background: #fff;
  text-align: left;
  cursor: pointer;
  text-decoration: none !important;
  color: inherit;
}
.cbot-notify-row:hover,
.cbot-notify-row:focus {
  background: #f8f5ff;
  outline: none;
}
.cbot-notify-row.is-unread {
  background: #fcfbff;
  box-shadow: inset 3px 0 0 #b200fd;
}
.cbot-notify-icon {
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.cbot-notify-icon--success {
  background: #d3f9d8;
  color: #2b8a3e;
}
.cbot-notify-icon--error {
  background: #ffe3e3;
  color: #c92a2a;
}
.cbot-notify-icon--warning {
  background: #fff3bf;
  color: #e67700;
}
.cbot-notify-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  min-width: 0;
  flex: 1 1 auto;
}
.cbot-notify-row-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  font-size: 0.84rem;
  font-weight: 650;
  color: #212529;
  line-height: 1.3;
}
.cbot-notify-dot {
  flex: 0 0 auto;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #b200fd;
}
.cbot-notify-row.has-links {
  cursor: default;
}
.cbot-notify-title-link {
  color: inherit !important;
  text-decoration: none !important;
  cursor: pointer;
}
.cbot-notify-campaign-wrap {
  display: block;
  margin: 0;
  max-width: 100%;
}
.cbot-notify-campaign {
  display: inline-block;
  vertical-align: top;
  position: relative;
  z-index: 2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
  color: #6c757d !important;
  text-decoration: none !important;
}
.cbot-notify-row:hover .cbot-notify-campaign {
  color: #6c757d !important;
  text-decoration: none !important;
}
.cbot-notify-panel .cbot-notify-campaign:hover,
.cbot-notify-panel .cbot-notify-campaign:focus,
.cbot-notify-panel .cbot-notify-campaign.is-hover,
.cbot-notify-row:hover .cbot-notify-campaign:hover,
.cbot-notify-row:hover .cbot-notify-campaign:focus,
.cbot-notify-row:hover .cbot-notify-campaign.is-hover {
  color: #7c3aed !important;
  text-decoration: underline !important;
}
.cbot-notify-body {
  margin: 0;
  font-size: 0.78rem;
  color: #6c757d;
  line-height: 1.35;
}
.cbot-notify-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.18rem 0.7rem;
  width: 100%;
  margin: 0;
}
.cbot-notify-post {
  display: flex;
  align-items: center;
  gap: 0.28rem;
  flex: 0 1 auto;
  min-width: 0;
  max-width: calc((100% - 1.4rem) / 3);
  font-size: 0.75rem;
  line-height: 1.25;
  color: #374151;
  text-decoration: none !important;
  cursor: pointer;
}
.cbot-notify-post i {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
  color: #4267B2;
}
.cbot-notify-post .la-linkedin-square {
  color: #0a66c2;
}
a.cbot-notify-post:hover,
a.cbot-notify-post:focus {
  color: #5b21b6;
  outline: none;
}
.cbot-notify-post.is-static {
  color: #6c757d;
  cursor: default;
}
.cbot-notify-post span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cbot-notify-meta {
  margin: 0.45rem 0 0;
  font-size: 0.72rem;
  color: #adb5bd;
}
@media (max-width: 575.98px) {
  .cbot-notify {
    margin-right: 0;
  }
  .cbot-notify-panel {
    position: fixed;
    top: calc(var(--cbot-header-height, 55px) + 0.4rem);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100vw - 1.5rem);
    max-width: calc(100vw - 1.5rem);
  }
}
