﻿/* Realeyes Brand Colors for VerifEye Documentation */
/* Based on Realeyes Style Guide 2026 */

/* Import Lexend Deca Font (Regular and Bold) */
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400;700&display=swap');

/* Apply Lexend Deca to all text */
body,
html,
.retype-content,
h1, h2, h3, h4, h5, h6,
p, a, li, td, th, span, div {
  font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Material Symbols Rounded Icons */
.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'liga';
  vertical-align: middle;
  color: var(--base-color);
}

/* Icon sizes */
.material-symbols-rounded.icon-sm {
  font-size: 18px;
}

.material-symbols-rounded.icon-md {
  font-size: 24px;
}

.material-symbols-rounded.icon-lg {
  font-size: 32px;
}

/* Inline icons in headings */
h1 .material-symbols-rounded,
h2 .material-symbols-rounded,
h3 .material-symbols-rounded,
h4 .material-symbols-rounded {
  margin-right: 0.5rem;
}

/* Light Mode Theme */
:root,
html.light {
  /* Accent Color - Mint Green (use sparingly, ~5%) */
  --accent-color: #27EABF;
  --primary-500: #27EABF;
  --primary-600: #2DC0A2;
  --primary-700: #2DC0A2;

  /* Background - White */
  --base-bg: #FFFFFF;
  --body-bg: #FFFFFF;
  --base-white: #FFFFFF;

  /* Text - Asphalt */
  --base-text: #263235;
  --base-text-strong: #263235;
  --body-text: #263235;
  --base-color: #263235;

  /* Text Muted - Grey 500 */
  --base-text-muted: #666666;

  /* Borders - Grey 300 */
  --base-border: #E5E5E5;
  --base-border-hover: #B0B0B0;

  /* Links - Asphalt (good contrast) */
  --base-link: #263235;
  --base-link-hover: #27EABF;
  --body-link: #263235;
  --body-link-hover: #27EABF;
  
  /* Headings - Asphalt */
  --heading-text: #263235;

  /* Navigation */
  --nav-item-text: #263235;
  --nav-item-text-hover: #263235;
  --nav-item-text-active: #263235;
  --nav-item-bg-hover: #F5F5F5;
  --nav-item-bg-active: #FAFAFA;
  --nav-item-border-active: #27EABF;

  /* Table of Contents */
  --toc-text: #263235;
  --toc-text-hover: #263235;
  --toc-text-active: #263235;
  --toc-border-active: #27EABF;

  /* Buttons - Mint accent */
  --button-primary: #27EABF;
  --button-primary-hover: #2DC0A2;
  --button-primary-text: #FFFFFF;

  /* Header */
  --header-text: #263235;
  --header-text-hover: #27EABF;

  /* Search */
  --search-border-focus: #27EABF;

  /* Branding Label */
  --branding-label-text: #27EABF;
  --branding-label-border: #27EABF;
}

/* Dark Mode Theme */
html.dark {
  /* Primary Brand Color - Mint Green */
  --base-color: #27EABF;
  --primary-500: #27EABF;
  --primary-600: #2DC0A2;
  --primary-700: #2DC0A2;
  
  /* Background - Asphalt */
  --base-bg: #263235;
  --body-bg: #263235;
  
  /* Text - Grey 100 (almost white) */
  --base-text: #FAFAFA;
  --base-text-strong: #FFFFFF;
  --body-text: #FAFAFA;
  
  /* Text Muted - Grey 400 */
  --base-text-muted: #B0B0B0;
  
  /* Borders - Grey 600 */
  --base-border: #3A3A3A;
  --base-border-hover: #666666;
  
  /* Links - Mint Green with Emerald hover */
  --base-link: #27EABF;
  --base-link-hover: #2DC0A2;
  --body-link: #27EABF;
  --body-link-hover: #2DC0A2;
  
  /* Headings - Mint Green for emphasis */
  --heading-text: #27EABF;
  
  /* Navigation */
  --nav-item-text: #FAFAFA;
  --nav-item-text-hover: #27EABF;
  --nav-item-text-active: #27EABF;
  --nav-item-bg-hover: #3A3A3A;
  --nav-item-bg-active: #3A3A3A;
  --nav-item-border-active: #27EABF;
  
  /* Table of Contents */
  --toc-text: #FAFAFA;
  --toc-text-hover: #27EABF;
  --toc-text-active: #27EABF;
  --toc-border-active: #27EABF;
  
  /* Buttons */
  --button-primary: #27EABF;
  --button-primary-hover: #2DC0A2;
  --button-primary-text: #263235;
  
  /* Header */
  --header-text: #27EABF;
  --header-text-hover: #2DC0A2;
  
  /* Search */
  --search-border-focus: #27EABF;
  
  /* Branding Label */
  --branding-label-text: #27EABF;
  --branding-label-border: #27EABF;
}

/* Tab Styles - Override Retype's default blue tabs */
/* Override CSS variables for tabs */
:root,
html.light {
  --tab-text-hover: #27EABF !important;
  --tab-text-active: #27EABF !important;
  --tab-border-active: #27EABF !important;
}

html.dark {
  --tab-text-hover: #27EABF !important;
  --tab-text-active: #27EABF !important;
  --tab-border-active: #27EABF !important;
}

/* Callout/Alert Boxes - Use Mint Green accent for decorative bars */
.alert.success,
.alert.info,
.alert.note {
  border-left-color: #27EABF !important;
}

/* Success callout icon color */
.alert.success::before {
  color: #27EABF !important;
}

/* Info/Note callout icon color */
.alert.info::before,
.alert.note::before {
  color: #27EABF !important;
}

/* Table of Contents (Right Sidebar) - Add hover background effect like left navigation */
/* Target the sidebar-right component and its links */

/* Light Mode */
:root doc-sidebar-right a,
html.light doc-sidebar-right a,
:root .sidebar-right a,
html.light .sidebar-right a {
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 4px;
  padding: 4px 8px !important;
  margin: 2px 0;
  display: block;
}

:root doc-sidebar-right a:hover,
html.light doc-sidebar-right a:hover,
:root .sidebar-right a:hover,
html.light .sidebar-right a:hover {
  background-color: #F5F5F5 !important;
  color: #263235 !important;
}

:root doc-sidebar-right a.active,
html.light doc-sidebar-right a.active,
:root .sidebar-right a.active,
html.light .sidebar-right a.active {
  background-color: #FAFAFA !important;
  color: #263235 !important;
  border-left: 2px solid #27EABF !important;
}

/* Dark Mode */
html.dark doc-sidebar-right a,
html.dark .sidebar-right a {
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 4px;
  padding: 4px 8px !important;
  margin: 2px 0;
  display: block;
}

html.dark doc-sidebar-right a:hover,
html.dark .sidebar-right a:hover {
  background-color: #3A3A3A !important;
  color: #27EABF !important;
}

html.dark doc-sidebar-right a.active,
html.dark .sidebar-right a.active {
  background-color: #3A3A3A !important;
  color: #27EABF !important;
  border-left: 2px solid #27EABF !important;
}

/* Contrast Button Styling - Grey filled button */
/* Light Mode */
:root .button.contrast,
html.light .button.contrast,
:root a.button.contrast,
html.light a.button.contrast {
  background-color: #263235 !important;
  border: none !important;
  color: #FFFFFF !important;
  transition: all 0.2s ease;
}

:root .button.contrast:hover,
html.light .button.contrast:hover,
:root a.button.contrast:hover,
html.light a.button.contrast:hover {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

/* Dark Mode */
html.dark .button.contrast,
html.dark a.button.contrast {
  background-color: #263235 !important;
  border: none !important;
  color: #FFFFFF !important;
  transition: all 0.2s ease;
}

html.dark .button.contrast:hover,
html.dark a.button.contrast:hover {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

