/* IRRing Technologies style for itdirr docs */

:root {
  --irr-bg:        #0b0b14;
  --irr-bg2:       #11111f;
  --irr-bg3:       #16162a;
  --irr-purple:    #7b5ef8;
  --irr-purple2:   #9d82ff;
  --irr-border:    rgba(123, 94, 248, 0.25);
  --irr-text:      #c8c8e0;
  --irr-text-muted:#7a7a9a;
  --md-primary-fg-color: #7b5ef8;
  --md-primary-fg-color--light: #9d82ff;
  --md-primary-fg-color--dark: #5a3fd4;
  --md-accent-fg-color: #9d82ff;
}

body,
.md-main,
[data-md-color-scheme="slate"] {
  --md-default-bg-color: #0b0b14;
  --md-default-fg-color: #c8c8e0;
  --md-default-fg-color--light: #7a7a9a;
  background-color: #0b0b14;
}

.md-header {
  background-color: #0b0b14 !important;
  border-bottom: 1px solid rgba(123, 94, 248, 0.3);
  box-shadow: 0 0 20px rgba(123, 94, 248, 0.1);
}

.md-header__title {
  color: #9d82ff !important;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.md-nav { background-color: #0b0b14; }
.md-sidebar { background-color: #0b0b14; border-right: 1px solid rgba(123, 94, 248, 0.15); }
.md-nav__item .md-nav__link { color: #7a7a9a; transition: color 0.2s, padding-left 0.2s; }
.md-nav__item .md-nav__link:hover { color: #9d82ff; padding-left: 6px; }
.md-nav__item .md-nav__link--active { color: #9d82ff !important; font-weight: 600; }
.md-content { background-color: #0b0b14; }
.md-typeset { color: #c8c8e0; }
.md-typeset h1 { color: #9d82ff; font-weight: 700; border-bottom: 1px solid rgba(123, 94, 248, 0.3); padding-bottom: 0.4em; }
.md-typeset h2 { color: #b8a0ff; font-weight: 600; }
.md-typeset h3 { color: #c8c8e0; font-weight: 600; }
.md-typeset a { color: #9d82ff; }
.md-typeset a:hover { color: #b8a0ff; text-decoration: underline; }
.md-typeset code { background-color: #16162a; color: #b8a0ff; border: 1px solid rgba(123, 94, 248, 0.2); border-radius: 4px; padding: 0.1em 0.4em; }
.md-typeset pre { background-color: #11111f !important; border: 1px solid rgba(123, 94, 248, 0.2); border-radius: 8px; }
.highlight { background-color: #11111f !important; }
.md-typeset table:not([class]) { border: 1px solid rgba(123, 94, 248, 0.2); border-radius: 8px; overflow: hidden; }
.md-typeset table:not([class]) th { background-color: #16162a; color: #9d82ff; border-bottom: 1px solid rgba(123, 94, 248, 0.3); }
.md-typeset table:not([class]) tr:hover { background-color: rgba(123, 94, 248, 0.05); }
.md-typeset table:not([class]) td { border-top: 1px solid rgba(123, 94, 248, 0.1); color: #c8c8e0; }
.md-footer { background-color: #0b0b14; border-top: 1px solid rgba(123, 94, 248, 0.2); }
.md-footer-meta { background-color: #08080f; }
.md-clipboard { color: #7a7a9a; }
.md-clipboard:hover { color: #9d82ff; }
.md-search__form { background-color: #16162a; border: 1px solid rgba(123, 94, 248, 0.3); border-radius: 8px; }
.md-search__input { color: #c8c8e0; }
.md-typeset .admonition { border-color: rgba(123, 94, 248, 0.4); background-color: rgba(123, 94, 248, 0.05); border-radius: 8px; }
.md-typeset .admonition-title { background-color: rgba(123, 94, 248, 0.15); color: #9d82ff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0b0b14; }
::-webkit-scrollbar-thumb { background: rgba(123, 94, 248, 0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(123, 94, 248, 0.7); }
.md-nav--secondary .md-nav__link--active { color: #9d82ff !important; }
.md-header__title::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, #7b5ef8, transparent); }
