
header {
  height: var(--header-height);
  position: fixed;
  top: 0px;
  background-color: var(--bg-header);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    height: 100%;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-title a {
  color: inherit;
  text-decoration: none;
  font-weight: bold !important;
  /* cursor: default; */
}
.header-title {
  font-weight: 700; 
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-header);
}
.header-title-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap:8px;
}



.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 32px;
  height: 32px;

  border-radius: 10px;

  background: var(--bg-card-main);
  border: 1px solid var(--border-color-main);

  color: var(--text-main);

  cursor: pointer;
  user-select: none;

  transition: all 0.2s ease;
}

/* hover как в SaaS */
.theme-toggle:hover {
  background: var(--bg-card-hover, #f3f4f6);
  transform: translateY(-1px);
}

/* focus как у нормальных UI библиотек */
.theme-toggle:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* иконки */
.theme-toggle .icon {
  position: absolute;
  transition: opacity 0.2s ease, transform 0.2s ease;
}