/* 跑马灯公告通知样式 */
.announcement-bar {
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #e6f4ff 0%, #f0f8ff 100%);
  border-bottom: 1px solid #91caff;
  padding: 0 16px;
  height: 50px;
  position: relative;
  overflow: hidden;
}
.announcement-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #0958d9;
  white-space: nowrap;
  padding-right: 12px;
  border-right: 1px solid #91caff;
  margin-right: 12px;
  flex-shrink: 0;
}
.announcement-icon {
  font-size: 18px;
}
.announcement-marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.announcement-content {
  display: inline-block;
  white-space: nowrap;
  animation: announcement-scroll 60s linear infinite;
  font-size: 17px;
  font-weight: 500;
  line-height: 50px;
}
.announcement-content:hover {
  animation-play-state: paused;
}
.announcement-item {
  display: inline-block;
  margin-right: 80px;
}
.announcement-item.important {
  color: #d4380d;
  font-weight: 500;
}
.announcement-item.urgent {
  color: #cf1322;
  font-weight: 600;
}
.announcement-item-title {
  font-weight: 500;
  margin-right: 8px;
}
@keyframes announcement-scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.announcement-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #86909c;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 8px;
  flex-shrink: 0;
  line-height: 1;
}
.announcement-close:hover {
  color: #4e5969;
}
