/* Nav announcements Bootstrap dropdown panel v20260813u */
.nav-ann-trigger {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.nav-ann-trigger::after {
  display: none !important; /* no caret */
}

.nav-ann-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #1a2540;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.12);
  display: none;
  pointer-events: none;
}
.nav-ann-badge.is-on { display: inline-block; }

.nav-ann-panel.dropdown-menu {
  width: min(320px, calc(100vw - 24px));
  max-height: min(420px, calc(100vh - 80px));
  overflow: hidden;
  display: none;
  flex-direction: column;
  padding: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  z-index: 2000;
}
.nav-ann-panel.dropdown-menu.show {
  display: flex !important;
}

.nav-ann-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px 8px;
}
.nav-ann-title {
  font-size: 0.875rem;
  font-weight: 650;
  color: #1a2540;
}
.nav-ann-mark {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
}
.nav-ann-mark:hover { text-decoration: underline; color: #1a2540; }

.nav-ann-sep {
  height: 1px;
  background: #e5e7eb;
  margin: 0;
  border: 0;
}

.nav-ann-list {
  overflow-y: auto;
  padding: 4px;
  flex: 1;
  min-height: 0;
}

.nav-ann-item {
  position: relative;
  display: flex;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
  cursor: pointer;
}
.nav-ann-item:hover { background: #f3f4f6; }

.nav-ann-item img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  border: 1px solid #e5e7eb;
  flex-shrink: 0;
  padding: 2px;
}

.nav-ann-body {
  flex: 1;
  min-width: 0;
}
.nav-ann-text {
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #4b5563;
  margin: 0;
}
.nav-ann-text strong {
  color: #1a2540;
  font-weight: 650;
}
.nav-ann-time {
  font-size: 0.7rem;
  color: #9ca3af;
  margin-top: 3px;
}
.nav-ann-dot {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1a2540;
}

.nav-ann-empty,
.nav-ann-loading,
.nav-ann-error {
  padding: 18px 14px;
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: center;
}

.nav-ann-foot {
  border-top: 1px solid #e5e7eb;
  padding: 8px;
}
.nav-ann-foot a {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a2540;
  text-decoration: none;
  padding: 6px;
  border-radius: 6px;
}
.nav-ann-foot a:hover { background: #f3f4f6; }
