.header {
  background-color: #f8f8f8;
  padding: 10px;
  position: sticky;
  box-sizing: border-box;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.announcement {
  font-size: 0.85rem;
  color: #212529;
  font-weight: normal;
  line-height: 1.6;
}

.link {
  text-decoration: underline;
  font-weight: 600;
  cursor: pointer;
  color: #343a40;
  transition: opacity 0.3s ease;
}

.link:hover {
  opacity: 0.7;
}

.menuContainer {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
}

.menuButton {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.menuButton:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.menuIcon {
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.menuIcon span {
  display: block;
  height: 2px;
  width: 18px;
  background-color: #212529;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  min-width: 160px;
  margin-top: 8px;
}

.dropdownItem {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  text-align: left;
  font-size: 0.9rem;
  color: #495057;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dropdownItem:hover {
  background-color: #f8f9fa;
}

.dropdownItem:first-child {
  border-radius: 6px 6px 0 0;
}

.dropdownItem:last-child {
  border-radius: 0 0 6px 6px;
}

.dropdownItem:only-child {
  border-radius: 6px;
}

@media (max-width: 768px) {
  .header {
    padding: 5px;
    height: 55px;
  }

  .menuContainer {
    right: 15px;
  }

  .announcement {
    font-size: 0.85rem;
  }

  .menuIcon {
    width: 20px;
    height: 20px;
  }

  .menuIcon span {
    width: 16px;
  }

  .dropdown {
    min-width: 140px;
  }

  .dropdownItem {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}
