/* Custom V Engine API Documentation Styles */

.custom-header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-bottom: 2px solid #0f3460;
  padding: 16px 24px;
  margin: -20px -20px 20px -20px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #e94560;
  letter-spacing: 2px;
}

.version {
  background: #e94560;
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.tagline {
  color: #a0a0a0;
  font-size: 14px;
  margin-left: auto;
}

.custom-footer {
  background: #1a1a2e;
  border-top: 1px solid #333;
  padding: 20px;
  margin: 20px -20px -20px -20px;
  text-align: center;
}

.footer-content p {
  color: #888;
  margin: 4px 0;
  font-size: 12px;
}

.legal {
  font-style: italic;
  color: #666;
}

/* Enhance doxygen-awesome dark theme compatibility */
#top {
  background: #1a1a2e;
}

/* Improve code block styling */
.fragment {
  background: #0d1117 !important;
  border: 1px solid #30363d;
  border-radius: 6px;
}

/* Better parameter list styling */
.paramname {
  color: #e94560;
  font-weight: 600;
}

/* Fix search box spacing in top-left header area */
#MSearchBox {
  margin: 8px 12px 8px 0;
  padding: 4px;
}

#MSearchField {
  padding: 6px 10px;
  border-radius: 4px;
  background: #252a33;
  border: 1px solid #3a4149;
  color: #d4d4d4;
}

/* Improve title area spacing to prevent search box cutoff */
#titlearea {
  padding: 8px 16px;
  border-bottom: 1px solid #2a3038;
}

/* Main content area styling for index page */
.contents {
  line-height: 1.6;
}

.contents .textblock {
  max-width: 900px;
}

.contents h1 {
  color: #e94560;
  border-bottom: 2px solid #2a3038;
  padding-bottom: 12px;
  margin-bottom: 24px;
}

.contents h2 {
  color: #d4d4d4;
  margin-top: 32px;
  margin-bottom: 16px;
}

.contents p {
  color: #b0b0b0;
  margin-bottom: 16px;
}

.contents ul {
  color: #b0b0b0;
  margin-bottom: 16px;
}

.contents a {
  color: #e94560;
  text-decoration: none;
}

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

