/* ============================================================
   ATTX Custom Doxygen Awesome Theme
   Author: ATTX | www.attx.space
   ============================================================ */

/* ------------------------------------------------------------
   Fonts
------------------------------------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Montserrat:wght@500;700&display=swap');

body, html {
  font-family: 'Lato', sans-serif;
  color: #0A2131;
  background-color: #FFFFFF;
  line-height: 1.6;
}

/* ------------------------------------------------------------
   Headings
------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Futura PT', sans-serif;
  font-weight: 700;
  color: #0A2131;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 1.4em;
  margin-bottom: 0.6em;
}

h1 {
  font-size: 2.5em;
  border-bottom: 3px solid #D6AD53;
  padding-bottom: 0.2em;
}

h2 { font-size: 1.8em; border-bottom: 2px solid #D6AD53; padding-bottom: 0.15em; }
h3 { font-size: 1.4em; color: #0A2131; }
h4, h5, h6 { font-size: 1.2em; color: #666666; }

/* ------------------------------------------------------------
   Text & Links
------------------------------------------------------------ */
a {
  color: #0A2131;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

a:hover {
  color: #D6AD53;
  border-bottom: 1px solid #D6AD53;
}

/* ------------------------------------------------------------
   Sidebar / Navigation
------------------------------------------------------------ */
.navpath, .sm-dox {
  background-color: #FFFFFF;
  color: #0A2131;
}

.sm-dox a, .navpath a {
  color: #EFDAAB;
}

.sm-dox a:hover, .navpath a:hover {
  color: #D6AD53;
}

/* Active page highlight */
.sm-dox .selected a {
  color: #FFFFFF;
  background-color: #D6AD53;
}

/* Change the color of the text in the headertitle */
.headertitle .title {
  color: #FFFFFF; /* Replace with your desired color */
}

/* ------------------------------------------------------------
   Code Blocks & Tables
------------------------------------------------------------ */
pre, code {
  font-family: 'JetBrains Mono', monospace;
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 0.5em 0.75em;
  color: #0A2131;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th {
  background-color: #0A2131;
  color: #FFFFFF;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.6em;
}

td {
  border: 0px solid #E5E7EB;
  padding: 0.6em;
}

/* ------------------------------------------------------------
   Lists & Bullets
------------------------------------------------------------ */
ul {
  list-style-type: disc;
  padding-left: 1.5em;
}

ul li::marker {
  color: #D6AD53;
}

/* ------------------------------------------------------------
   Footer
------------------------------------------------------------ */
.footer {
  background-color: #FFFFFF;
  color: #0A2131;
  padding: 1.5em;
  font-size: 0.9em;
  text-align: center;
}

.footer a {
  color: #EFDAAB;
}

/* ------------------------------------------------------------
   Doxygen Awesome Integration Tweaks
------------------------------------------------------------ */
:root {
  --primary-color: #0A2131;
  --primary-dark-color: #000000;
  --primary-light-color: #666666;
  --accent-color: #D6AD53;
  --accent-light-color: #EFDAAB;
  --background-color: #FFFFFF;
  --page-max-width: 1200px;
}

.doxygenawesome-darkmode-toggle {
  color: #D6AD53 !important;
}

/* ============================================================
   FORCE WHITE TOP NAVIGATION BAR (Main Page · Classes · Files)
   ============================================================ */

/* Main top tab bar */
div#navrow1.tabs,
div#navrow1.tabs > ul,
div#navrow1.tabs > ul.tablist {
  background: #FFFFFF !important;          /* white background */
  background-image: none !important;       /* remove blue gradient */
  border-bottom: 2px solid #E5E7EB !important;
}

/* All tab links */
div#navrow1.tabs ul.tablist li a,
div#navrow1.tabs ul.tablist li a span {
  color: #0A2131 !important;               /* dark text */
}

/* Hover and current tab */
div#navrow1.tabs ul.tablist li a:hover,
div#navrow1.tabs ul.tablist li.current a {
  background: #D6AD53 !important;          /* gold background on hover */
  color: #FFFFFF !important;               /* white text */
}

/* Remove the subtle blue highlight from Doxygen Awesome’s tab underline */
div#navrow1.tabs ul.tablist li {
  background-image: none !important;
}