body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #f8f9fa;
}

.navbar {
  background: #2c3e50;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  /* For absolute positioning */
  overflow: hidden;
  /* Masks content beyond border-radius */
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  /* Allow wrapping to multiple rows */
  gap: 15px;
  /* Reduce gap */
  flex: 1;
  /* Take remaining space */
}



.navbar-logo {
  position: absolute;
  right: 10px;
  /* Position from right edge */
  top: 50%;
  transform: translateY(-50%);
  /* Center vertically */
  height: 80px;
  /* Max height constraint */
  width: 80px;
  /* Max width constraint */
  object-fit: contain;
  /* Fit within bounds */
  z-index: 1;
  /* Behind nav text */
}

.navbar a {
  color: #ecf0f1;
  text-decoration: none;
  padding: 8px 12px;
  /* Reduce padding */
  border-radius: 4px;
  transition: background 0.3s;
  white-space: nowrap;
  /* Prevent text wrapping */
  font-size: 14px;
  /* Smaller font if needed */
}

.navbar a:hover,
.navbar a.active {
  background: #3498db;
}

.header {
  background: url('LFAttributeForgeCover.png') center/cover no-repeat;
  color: white;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  height: 150px;

}

.header h1 {
  margin: 0;
  font-size: 2.5em;
}

.header p {
  margin: 10px 0 0 0;
  font-size: 1.2em;
  opacity: 0.9;
}

.section {
  background: white;
  margin: 20px 0;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1,
h2 {
  color: #2c3e50;
  border-bottom: 3px solid #3498db;
  padding-bottom: 10px;
  margin-top: 0;
}

h3 {
  color: #34495e;
  margin-top: 25px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.feature-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #3498db;
}

.feature-card h4 {
  margin-top: 0;
  color: #2c3e50;
}

.step-container {
  background: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  margin: 15px 0;
}

.step-number {
  background: #3498db;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 15px;
}

.code-block {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  overflow-x: auto;
  margin: 15px 0;
}

.warning {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin: 15px 0;
}

.breadcrumb {
  background: #e9ecef;
  padding: 10px 20px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 14px;
}

.breadcrumb a {
  color: #495057;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #dee2e6;
}

.page-nav a {
  background: #3498db;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
}

.page-nav a:hover {
  background: #2980b9;
}

/* Version Switcher */
.version-switcher {
  background: #34495e;
  padding: 10px 15px;
  border-radius: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.version-switcher-label {
  color: #ecf0f1;
  font-weight: 500;
  font-size: 14px;
}

.version-link {
  background: #3498db;
  color: white;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s;
}

.version-link:hover {
  background: #2980b9;
}

.version-link.current {
  background: #2c3e50;
  color: #bdc3c7;
  cursor: default;
}

.version-link.pro {
  background: #33785d;
}

.version-link.pro:hover {
  background: #2a6049;
}

.version-link.ultimate {
  background: #8b5cf6;
}

.version-link.ultimate:hover {
  background: #7c3aed;
}

/* Add this to your existing styles.css */

.code-block {
  background: #2c3e50;
  color: #ecf0f1;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  overflow-x: auto;
  margin: 15px 0;
  border-left: 4px solid #3498db;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  /* This preserves line breaks */
}

.file-tree {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.4;
  overflow-x: auto;
  margin: 15px 0;
  border-left: 4px solid #007acc;
  white-space: pre;
}

/* Dark theme for better contrast */
.file-tree {
  background: #0d1117;
  color: #c9d1d9;
  border: 1px solid #30363d;
}

/* For light theme users */
@media (prefers-color-scheme: light) {
  .file-tree {
    background: #f6f8fa;
    color: #24292f;
    border: 1px solid #d0d7de;
    border-left: 4px solid #0969da;
  }
}

/* Syntax highlighting for file extensions */
.file-tree .cs-file {
  color: #9cdcfe;
}

.file-tree .folder {
  color: #ffcc02;
  font-weight: bold;
}

/* Alternative clean file tree style */
.file-tree-clean {
  background: #f8f9fa;
  border: 1px solid #e1e4e8;
  padding: 16px;
  border-radius: 6px;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', 'Consolas', monospace;
  font-size: 13px;
  line-height: 1.45;
  color: #24292e;
  white-space: pre;
  overflow-x: auto;
  margin: 15px 0;
}


ul,
ol {
  padding-left: 25px;
}

li {
  margin: 8px 0;
}