/* ===============================
   COLOR BARRA SUPERIOR
   =============================== */

.md-header,
.md-tabs {
  background-color: #fc4c02 !important;
}

.md-header__inner {
  background-color: #fc4c02 !important;
}


/* ===============================
   LOGO
   =============================== */

.md-header__button.md-logo img {
  height: 40px;
  width: auto;
}

/* ===============================
   TEXTO HEADER EN BLANCO
   =============================== */

.md-header__title,
.md-header__title span {
  color: #ffffff !important;
}

.md-search__input,
.md-search__icon {
  color: #ffffff !important;
}

.md-search__input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.md-header__button {
  color: #ffffff !important;
}


/* ===============================
   FUENTES MUSEO - LOGYCA
   =============================== */

@font-face {
  font-family: 'Museo';
  src: url('../fonts/museo/Museo-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Museo';
  src: url('../fonts/museo/Museo-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Museo';
  src: url('../fonts/museo/Museo-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

/* ===============================
   APLICACIÓN GLOBAL
   =============================== */

body,
.md-typeset {
  font-family: 'Museo', sans-serif;
  font-weight: 300;
}

.md-typeset h1,
.md-typeset h2 {
  font-weight: 900;
}

.md-typeset h3,
.md-typeset h4 {
  font-weight: 500;
}

.md-header__title {
  font-family: 'Museo', sans-serif;
  font-weight: 900;
}

/* ===============================
   NAV SUPERIOR - TABS
   =============================== */

.md-tabs__link {
  color: #ffffff !important;
  opacity: 0.85;
}

.md-tabs__link--active {
  color: #ffffff !important;
  opacity: 1;
  font-weight: 500;
}

.md-tabs__link:hover {
  color: #ffffff !important;
  opacity: 1;
}

/* ===============================
   SCROLL MENU LATERAL
   =============================== */

.md-sidebar__scrollwrap::-webkit-scrollbar {
  width: 6px;
}

.md-sidebar__scrollwrap::-webkit-scrollbar-track {
  background: #f2f2f2;
}

.md-sidebar__scrollwrap::-webkit-scrollbar-thumb {
  background-color: #fc4c02;
  border-radius: 4px;
}

.md-sidebar__scrollwrap::-webkit-scrollbar-thumb:hover {
  background-color: #fc4c02;
}

/* Firefox */
.md-sidebar__scrollwrap {
  scrollbar-color: #fc4c02 #f2f2f2;
  scrollbar-width: thin;
}

/* ===============================
   MENU LATERAL - HOVER
   =============================== */

.md-nav__link:hover {
  color: #fc4c02 !important;
}

.md-nav__item--active > .md-nav__link {
  color: #fc4c02 !important;
  font-weight: 500;
}


/* ===============================
   SCROLLBAR - LOGYCA
   =============================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
  background-color: #fc4c02;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #e04400;
}

/* Firefox */
* {
  scrollbar-color: #fc4c02 #f2f2f2;
  scrollbar-width: thin;
}

/* ===============================
   OVERRIDE COLOR IDENTIDAD
   =============================== */

:root {
  --md-primary-fg-color: #fc4c02;
  --md-accent-fg-color: #fc4c02;
  --md-typeset-a-color: #fc4c02;
}

/* ===============================
   LIMPIEZA DE EFECTOS
   =============================== */

.md-nav__link:focus,
.md-nav__link:hover {
  background-color: transparent !important;
}

.md-nav__item--active > .md-nav__link {
  background-color: transparent !important;
}

/* ===============================
   ACCESIBILIDAD - FOCUS WCAG
   =============================== */

/* Links y botones */
a:focus-visible,
button:focus-visible,
.md-nav__link:focus-visible,
.md-search__input:focus-visible {
  outline: 2px solid #fc4c02;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Evita focus invisible */
:focus {
  outline: none;
}

/* Focus en menú lateral */
.md-nav__link:focus-visible {
  background-color: rgba(252, 76, 2, 0.08);
}

/* ===============================
   MODO OSCURO - AJUSTES LOGYCA
   =============================== */

[data-md-color-scheme="slate"] {
  --md-default-bg-color: #121212;
  --md-default-fg-color: #e0e0e0;
  --md-typeset-color: #e0e0e0;
}

/* Links en modo oscuro */
[data-md-color-scheme="slate"] a {
  color: #fc4c02;
}
