/* General Styles for Header */
.header {
  font-family: 'IBM Plex Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
}

.header svg {
  display: inline-block;
  vertical-align: top;
}

.header h1 {
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  margin: 6px 0 6px 10px;
  display: inline-block;
  vertical-align: top;
}

.header .menu {
  display: flex;
  align-items: center;
}

.header .menu li {
  list-style: none;
  margin-right: 20px;
}

.header .menu li a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.header .menu li a:hover {
  text-decoration: underline;
}

.header .menu li img.icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  margin-right: 8px;
}

.header .welcome {
  color: #333;
  font-size: 14px;
  margin-right: 10px;
}

.header .button-group button + button {
  margin-left: 10px;
}

.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger-menu div {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }
  .header .menu {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  .header .menu li {
    width: 100%;
    text-align: left;
  }
  .header .menu li a {
    padding: 10px 20px;
    width: 100%;
  }
  .burger-menu {
    display: flex;
  }
  .header.open .menu {
    display: flex;
  }
}

/* Dropdown Menu Styles */
.header ul {
  display: none;
  flex-direction: column;
}

.header ul li ul {
  display: none;
  flex-direction: column;
  position: absolute;
  background: white;
  margin-top: 0;
  padding: 10px;
  border: 1px solid #ccc;
}

.header ul li:hover ul {
  display: flex;
}

.header ul li ul li {
  margin-right: 0;
}
