/* ===================================================================
   Lasso PLATFORM DESIGN TOKENS FOR MATERIAL FOR MKDOCS
   Updated to match designTokens.ts from core-ui
   =================================================================== */

/* ===================================================================
   COLOR SCHEME
   =================================================================== */
  :root {
  /* Main Colors (Blue) */
  --md-primary-fg-color: #0C2F4D;
  --md-primary-fg-color--light: #275C8B;
  --md-primary-fg-color--dark: #071B2C;

  /* Primary Accent Colors (Teal) */
  --md-primary-main: #40B5AE;
  --md-primary-dark: #08918A;
  --md-primary-light: #53CBC5;
  
  /* Secondary Accent Colors (Coral/Orange) */
  --md-secondary-main: #F2795E;
  --md-secondary-dark: #E15436;
  --md-secondary-light: #F89781;
  
  /* Text Colors */
  --md-text-primary: #071B2C;
  --md-text-secondary: #275C8B;
  --md-text-disabled: rgba(0, 0, 0, 0.38);
  --md-default-fg-color: #071B2C;
  
  /* Background Colors */
  --md-bg-default: #F7F9FB;
  --md-bg-paper: #FFFFFF;
  --md-primary-bg-color: #F7F9FB;
  --md-default-bg-color: #F7F9FB;
  
  /* Action/Interaction Colors */
  --md-action-hover: #E5F0FB;
  --md-action-selected: #CEE5F9;
  --md-action-focus: #DFEEFB;
  --md-divider: #CEE5F9;
  
  /* Status Colors */
  --md-success-main: #2E7D32;
  --md-success-light: #4CAF50;
  --md-warning-main: #EF6C00;
  --md-warning-light: #FF9800;
  --md-error-main: #D32F2F;
  --md-info-main: #0288D1;
  
  /* Accent */
  --md-accent-fg-color: #53CBC5;
  
  /* Spacing System */
  --md-spacing-base: 8px;
  --md-spacing-0: 0px;
  --md-spacing-xs: 4px;
  --md-spacing-sm: 8px;
  --md-spacing-md: 16px;
  --md-spacing-lg: 32px;
  --md-spacing-xl: 64px;
  
  /* Border Radius */
  --md-border-radius-sm: 4px;
  --md-border-radius-md: 8px;
  --md-border-radius-lg: 18px;
  
  /* Shadows */
  --md-shadow-card: 1px 2px 5px 0px rgba(21, 24, 24, 0.10);
  --md-shadow-hover: 1px 2px 6px 1px rgba(21, 24, 24, 0.15);
  --md-shadow-dropdown: 2px 8px 8px 3px rgba(21, 24, 24, 0.25);
}

/* Set color of text with embedded links */
.md-content {
  --md-typeset-a-color: #08918A;
}
  
a:hover { 
  text-decoration: underline; 
  color: #08918A;
}

/* ===================================================================
   LINKABLE SECTION HEADERS
   =================================================================== */

/* Replace pilcrow with a link icon for headers */
.md-content .headerlink {
  font-size: 0;
}

.md-content .headerlink::before {
  content: "\f0c1"; /* fa-link */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
}

/* ===================================================================
    (1) BREADCRUMB NAV AT TOP OF PAGE
   =================================================================== */
/* Align icons and text */
.md-path a,
.md-path span {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* ===================================================================
    (2) NAV BAR ON LEFT
   =================================================================== */

/* REMOVE SITE NAME FROM TOP OF NAV */
.md-nav .md-nav__title {
  display: none;
}

/* FONT & STYLING */
.md-nav__item,
.md-nav__link {
  font-family: "Agrandir-Regular", Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
}
/* Bold text for parent sections of active page */
.md-nav__item--active > .md-nav__link {
  font-weight: 600;
}
/* Bold text for subsection of active page */
.md-nav__link--active {
  font-weight: 700;
  color: var(--md-accent-fg-color);
}

/* HIGHLIGHTS TO INDICATE WHICH PAGE/SECTION YOU ARE CURRENTLY ON IN NAV */
/* Ombre background highlighting for active subtree */
.md-nav__item--active > .md-nav {
  background-color: color-mix(
    in srgb,
    var(--md-accent-fg-color) 15%,
    transparent
  );
}

/* ===================================================================
   LAYOUT
   =================================================================== */

/* Page Width */
.md-grid {
  max-width: 86%;
}
/* Add some space to bottom of page */
.md-typeset {
    margin-bottom: 2rem;
}   

/* Adjust spacing between section headings and content */
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.6rem !important;
  margin-bottom: 0.75rem !important;
}

/* ===================================================================
   ACCESSIBILITY & INTERACTION STATES
   =================================================================== */
/* Focus States */
a:focus-visible,
button:focus-visible,
.md-nav__link:focus-visible {
  outline: 2px solid var(--md-primary-main);
  outline-offset: 2px;
}
/* Selected States */
.md-nav__item--active > .md-nav__link {
  color: var(--md-primary-dark);
}

/* ===================================================================
   HEADERS
   =================================================================== */
.md-typeset h1 {
  font-size: 2em;
  line-height: 1.2;
  color: #275C8B;
  font-weight: 700;
}
.md-typeset h2 {
  font-family: "Agrandir-Bold", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: #275C8B;
}
.md-typeset h3 {
  font-family: "Agrandir-Regular", sans-serif;
  font-size: 1.25rem; /* 20px tablet */
  line-height: 1.2;
  text-decoration: underline;
}
.md-typeset h4 {
  font-family: "Agrandir-Regular", sans-serif;
  font-size: 1.125rem; /* 18px tablet */
  line-height: 1.5;
}

.md-typeset h5 {
  font-family: "Agrandir-Regular", sans-serif;
  font-size: 1rem; /* 16px tablet */
  line-height: 1.5;
}

.md-typeset h6 {
  font-family: "Agrandir-Regular", sans-serif;
  font-size: 0.938rem; /* 15px tablet */
  line-height: 1.5;
}

/* Code Styling */
.md-typeset code {
  font-family: 'Courier New', monospace;
  color: #ba462c;
  font-weight: bold;
  padding: 0.2em 0.4em;
  border-radius: var(--md-border-radius-sm);
  font-size: 0.9em;
}

/* ICONS INCLUDED IN HEADERS */
.header-icon {
  margin-right: 0.5em;
  font-size: 1em;
  color: #199bd6;
}

/* LEFT NAV BAR ICONS */
.md-nav .material-icons {
  font-size: 1.0rem;
  vertical-align: middle;
  margin-right: 0.3rem;
  color: #275C8B;
  opacity: 0.9;
  transform: translateY(-2.0px);
}

/* ===================================================================
   BUTTONS
   =================================================================== */
.button-link {
  display: inline-block;
  background-color: var(--md-secondary-light);
  padding: 5px 10px;
  border-radius: var(--md-border-radius-md); /* Changed from 30px */
  font-size: 1.2em;
  font-weight: bold;
  transition: all 0.2s ease;
  color: var(--md-text-primary) !important;
}

.button-link i {
  margin-right: 6px; /* Spacing between icon and text */
}

.button-link:visited {
  color: var(--md-text-primary) !important;
  text-decoration: none;
}

.button-link:hover {
  background-color: var(--md-secondary-dark);
  box-shadow: var(--md-shadow-hover);
  color: var(--md-text-primary) !important;
  text-decoration: none;
}


