.header {
  width: auto;
  height: 80px;
  background: linear-gradient(90deg, #2e1746 3%, #2e225f 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
}

@media (max-width: 1024px) {
  .header {
    height: 64px;
  }
  .logo {
    height: 32px;
    width: auto;
  }
}

.logoBox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  height: 48px;
  width: 115px;
  display: block;
}

.userBox {
  display: flex;
  align-items: center;
  gap: 16px;
}

.username {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  height: 24px;
  line-height: 24px;
}

.divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.4);
}

.exitBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  cursor: pointer;
}

.exitBtn:hover {
  color: #ffffff;
}

.exitIcon {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, 0.6);
}

.exitBtn:hover .exitIcon {
  stroke: #ffffff;
}

@media (max-width: 768px) {
  .header {
    height: 56px;
    padding: 0 12px;
  }
  .logo {
    height: 24px;
  }
  .username {
    display: inline-block;
    font-size: 12px;
    line-height: 20px;
  }
  .userBox {
    gap: 10px;
  }
  .exitBtn {
    gap: 6px;
  }
  .exitIcon {
    width: 14px;
    height: 14px;
  }
}
