.custom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000;
  color: #fff;
  height: 60px;
  padding: 0 10px;
  position: relative;
}

.custom-header h1 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: 18px;
  line-height: 60px;
  text-align: center;
  color: #fff;
}

.custom-header img.logo {
  height: 36px;
  width: auto;
  display: block;
  margin: 0;
}

.custom-header a {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  text-decoration: none !important;
}

.custom-header .ui-btn {
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* Group container: left-aligned label above row */
.offset-group {
  max-width: 90%;
  margin: 1em auto;
  text-align: left;
}

/* Horizontal layout for input + button */
.offset-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

/* Input and button sizing */
.offset-row input,
.offset-row button {
  flex: 1;
  min-width: 80px;
  max-width: 160px;
  font-size: 0.9em;
  box-sizing: border-box;
}

/* Button height reduced by 4px */
.offset-row button#saveOffset {
  padding: calc(0.4em - 4px) 0.8em;
  line-height: normal;
}


