* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-family);
  height: calc(var(--vh) * 100);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  z-index: 1; /* Ensure header is above default content, but below sidebar */
}

.header-buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.app-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  margin-top: -100px;
  position: absolute; /* Allows chat container to fill space */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none; /* Allows clicks to pass through */
}

.app-container .app-title.large {
  pointer-events: auto; /* Re-enable pointer events for the title */
  margin-top: calc(50vh - 100px); /* Center title vertically */
  z-index: 0; /* Below header and chat */
}

.chat-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding-top: 50px; /* Space for header */
}