/* notices-bar */
 .notices-bar {
    background-color: #19b5ff;
  }
   .notices-bar .content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 60px;
  }
   .notices-bar .text {
    font-size: 14px;
    font-weight: 600;
    font-family: var(--secondary-font);
    color: #ffffff;
  }
  
  /* action-btn */
   .notices-bar .action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-left: 15px;
    background-color: #3d73ff;
    color: #ffffff;
    padding: 7px 14px;
    border-radius: 2px;
    white-space: nowrap;
    transition: all .15s ease;
  }
   .notices-bar .action-btn:hover {
    background-color: #22a5ff;
  }
  
  /* close-btn */
   .notices-bar .close-btn {
    position: absolute;
    right: 20px;
    cursor: pointer;
  }
   .notices-bar .close-btn img {
    width: 12px;
  }
   .notices-bar .close-btn:hover {
    opacity: .7;
  }


  /* notices-bar - danger 样式 */
.notices-bar-danger {
  background-color: #ff4d4f;
}

.notices-bar-danger .content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 60px;
}

.notices-bar-danger .text {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--secondary-font);
  color: #ffffff;
}

/* action-btn - danger 样式 */
.notices-bar-danger .action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-left: 15px;
  background-color: #d93025;
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 2px;
  white-space: nowrap;
  transition: all .15s ease;
}

.notices-bar-danger .action-btn:hover {
  background-color: #b9251e;
}

/* close-btn - danger 样式（保持原有交互，颜色适配） */
.notices-bar-danger .close-btn {
  position: absolute;
  right: 20px;
  cursor: pointer;
}

.notices-bar-danger .close-btn img {
  width: 12px;
  /* 若关闭图标为深色，可添加滤镜使其适应红色背景 */
  filter: brightness(0) invert(1);
}

.notices-bar-danger .close-btn:hover {
  opacity: .7;
}