.notify-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background-color: #fcb813;
  color: #000;
  font-size: 0.875rem;
  line-height: 1.5;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  transition: margin-top 0.3s ease;
}

.notify-bar--scrolled {
  margin-top: 0;
}

.notify-bar__content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding-right: 2rem;
}

.notify-bar__text {
  text-align: center;
}

.notify-bar__button {
  background-color: rgb(1, 112, 185);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.25rem 1rem;
  white-space: nowrap;
  transition: all 150ms ease;
}

.notify-bar__button:hover,
.notify-bar__button:focus {
  background-color: rgb(43, 108, 176);
  color: #fff;
  text-decoration: none;
}

.notify-bar__close {
  /* display: none; */
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.25rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.notify-bar__close:hover,
.notify-bar__close:focus {
  opacity: 1;
}

.notify-bar--hidden {
  display: none;
}

@media (max-width: 768px) {
  .notify-bar {
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .notify-bar__content {
    padding-right: 1.5rem;
  }

  .notify-bar__close {
    right: 0.5rem;
  }
}
