/* 
  DionLabs Theme Overrides for Material MkDocs
  Matches dionlabs.ai color palette 
*/

[data-md-color-scheme="slate"] {
  /* Core Palette */
  --md-primary-fg-color:        #4a00e0; /* Dion Violet */
  --md-primary-fg-color--light:  #6a20ff;
  --md-primary-fg-color--dark:   #3a00b0;

  --md-accent-fg-color:         #00f2ff; /* Electric Cyan */
  --md-accent-fg-color--transparent: rgba(0, 242, 255, 0.1);

  /* Backgrounds */
  --md-default-bg-color:        #050508; /* Void Black */
  --md-default-bg-color--light:  #0a0a0d;
  --md-default-bg-color--dark:   #000000;

  /* Text Colors */
  --md-default-fg-color:        #e0e0e0; /* Landing Page Text */
  --md-default-fg-color--light:  #a0a0b0; /* Subtext */
  --md-default-fg-color--lighter:#808090;

  /* Code Blocks */
  --md-code-bg-color:           #0a0a0d;
  --md-code-fg-color:           #e0e0e0;

  /* Header & Navigation */
  --md-header-bg-color:         #050508;
  --md-header-fg-color:         #ffffff;
  --md-typeset-a-color:         #00f2ff;
}

/* UI Refinements to match Landing Page Vibe */

/* Remove standard shadow and add a subtle cyan border to the header */
.md-header {
  box-shadow: none !important;
  border-bottom: 1px solid rgba(0, 242, 255, 0.1) !important;
}

/* Style the navigation tabs */
.md-tabs {
  background-color: #050508 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ensure headings have the lighter tech weight from landing page */
.md-typeset h1, 
.md-typeset h2, 
.md-typeset h3 {
  color: #ffffff !important;
  font-weight: 400 !important;
}

/* Link hover effects */
.md-typeset a:hover {
  color: #4a00e0 !important;
}

/* Code block styling - matching the landing page "input" feel */
.md-typeset pre > code {
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 4px;
}

/* Sidebar adjustments */
.md-nav__link--active {
  color: #00f2ff !important;
  font-weight: 700;
}

/* Feedback (Likes) Styling */
.md-feedback {
  background-color: #0a0a0d;
  border: 1px solid rgba(0, 242, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  margin-top: 2rem;
}

/* Feedback Stats & Like Button */
.feedback-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: #a0a0b0;
  margin: 1.5rem 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-item i {
  color: #00f2ff;
}

.like-button {
  background: rgba(74, 0, 224, 0.1);
  border: 1px solid rgba(74, 0, 224, 0.3);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}

.like-button:hover:not(:disabled) {
  background: rgba(0, 242, 255, 0.1);
  border-color: #00f2ff;
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.like-button.active {
  background: #4a00e0;
  border-color: #00f2ff;
  color: #fff;
  cursor: default;
}

.like-button.loading {
  opacity: 0.6;
  pointer-events: none;
}

