body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  letter-spacing: -0.01em;
  font-feature-settings: 'ss01' on, 'ss02' on;
}

#top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
}

.top-nav {
  display: flex;
  gap: 24px;
}

.top-nav a {
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s ease;
  color: #ffffff;
}

.top-nav a:hover {
  opacity: 0.7;
}

.right-section {
  display: flex;
  align-items: center;
  gap: 32px;
}

#logo {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

#logo:hover {
  opacity: 0.75;
  cursor: default;
}

main {
  margin-top: 100px;
  padding: 60px 40px;
  max-width: 1200px;
  margin-inline: auto;
}

h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

a {
  text-decoration: none;
}

.subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 800px;
}

.mainContentSection.documents {
  border-radius: 2px;
}

#fileTreeContainer {
  overflow-y: auto;
  height: 600px;
  padding-inline: 14px 10px;
}

#fileTreeContainer::-webkit-scrollbar {
  width: 5px;
}

#fileTreeContainer::-webkit-scrollbar-thumb {
  border-radius: 4px;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  line-height: 2em;
  cursor: pointer;
  position: relative;
  padding-left: 20px;
}

li.directory::before {
  position: absolute;
  left: 0;
  top: 3.5px;
}

li.file::before {
  position: absolute;
  left: 0;
  top: 3.5px;
}

li.directory > ul {
  display: none;
}

li.directory.expanded > ul {
  display: block;
}

li > span {
  display: inline-block;
  width: calc(100% - 15px);
  padding: 2px 5px;
  border-radius: 3px;
  transition: background-color 0.15s;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  font-family: 'Inter', Helvetica, Arial, 'Segoe UI', sans-serif;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 8px;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s, font-weight 0.2s;
}

.lang-btn.active {
  font-weight: 700;
  opacity: 1;
}

.lang-btn:hover {
  opacity: 0.75;
}

.lang-separator {
  font-size: 15px;
  opacity: 0.3;
}

[data-lang-content] {
  transition: opacity 0.35s, transform 0.35s;
}
