/* NexFLOW Custom Styles */

:root {
  --md-primary-fg-color: #3f51b5;
  --md-primary-fg-color--light: #5c6bc0;
  --md-primary-fg-color--dark: #303f9f;
  --md-accent-fg-color: #536dfe;
}

/* Logo sizing */
.md-header__button.md-logo img {
  height: 22 px;
  width: auto;
}

/* Navigation styling */
.md-nav__title {
  font-weight: 600;
}

.md-nav__link {
  font-size: 0.85rem;
}

/* Code block enhancements */
.highlight code {
  font-size: 0.85em;
}

/* Admonition styling */
.md-typeset .admonition,
.md-typeset details {
  font-size: 0.9rem;
}

/* Table styling */
.md-typeset table:not([class]) {
  font-size: 0.85rem;
}

.md-typeset table:not([class]) th {
  background-color: var(--md-primary-fg-color);
  color: white;
}

[data-md-color-scheme="slate"] .md-typeset table:not([class]) th {
  background-color: var(--md-primary-fg-color--dark);
}

/* Hero section for index page */
.hero {
  text-align: center;
  padding: 2rem 1rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--md-default-fg-color--light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.feature-card {
  padding: 1.5rem;
  border-radius: 8px;
  background: var(--md-code-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
}

.feature-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--md-default-fg-color--light);
}

/* Quick start links */
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.quick-links a {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: var(--md-primary-fg-color);
  color: white !important;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.quick-links a:hover {
  background: var(--md-primary-fg-color--dark);
}

/* Tip boxes */
.tip-box {
  background: rgba(63, 81, 181, 0.1);
  border-left: 4px solid var(--md-primary-fg-color);
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 0 4px 4px 0;
}

/* Responsive adjustments */
@media screen and (max-width: 76.1875em) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
