/* Header and logo styles */
.header {
  display: grid;
  grid-template-columns: 1fr 288px; /* Adjusted to remove logo column */
  align-items: center;
  margin-bottom: 16px;
  padding: 0 16px;
}

.logo {
  width: 139px;
  height: auto;
  display: block;
  margin-top: -10px;
  margin-left: -10px;
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 9999;
}

.page-title-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -10px auto 16px;
  max-width: 1104px;
  padding: 0 20px;
  box-sizing: border-box;
  min-height: 45px;
  position: relative;
  left: 48px;
}

/* Adjust title position when track button is hidden (user's own page) */
.page-title-container.own-page {
  left: 11px; /* 48px - 37px = 11px */
}

.page-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px; /* constant gap between title and track button */
  width: auto;
  margin: 0;
  padding: 0;
  font-size: 22px;
  font-weight: bold;
  color: #666666;
  background: none;
  box-shadow: none;
}

.page-title-text {
  position: static;
  transform: none;
  margin: 0;
  z-index: 1;
  white-space: nowrap;
  flex-shrink: 1;
  flex-grow: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
