[data-md-color-scheme="javi"] {
    --md-primary-fg-color:        #0077b6;
    --md-primary-fg-color--light: #0077b6;
    --md-primary-fg-color--dark:  #0077b6;
}

[data-md-color-scheme="slate"] {
    --md-primary-fg-color:        #0077b6;

    /* Default color shades */
   --md-default-fg-color:               hsla(0, 0%, 100%, 1); 
   --md-default-fg-color--light:        hsla(0, 0%, 100%, 0.87); 
   --md-default-fg-color--lighter:      hsla(0, 0%, 100%, 0.32); 
   --md-default-fg-color--lightest:     hsla(0, 0%, 100%, 0.12); 
   --md-default-bg-color:               hsla(232, 15%, 21%, 1); 
   --md-default-bg-color--light:        hsla(232, 15%, 21%, 0.54); 
   --md-default-bg-color--lighter:      hsla(232, 15%, 21%, 0.26); 
   --md-default-bg-color--lightest:     hsla(232, 15%, 21%, 0.07); 
  
   /* Code color shades */
   --md-code-bg-color:                  hsla(232, 15%, 18%, 1); 
   --md-code-fg-color:                  hsla(60, 30%, 96%, 1); 
  
   /* Text color shades */
   --md-text-color:                     var(--md-default-fg-color--light); 
   --md-text-link-color:                var(--md-primary-fg-color); 
  
   /* Admonition color shades */
   --md-admonition-bg-color:            hsla(0, 0%, 100%, 0.025); 
   --md-admonition-fg-color:            var(--md-default-fg-color); 
  
   /* Footer color shades */
   --md-footer-bg-color:                hsla(232, 15%, 12%, 0.87); 
   --md-footer-bg-color--dark:          hsla(232, 15%, 10%, 1); 
  }

@media only screen and (min-width: 76.25em) {
  .md-main__inner {
    max-width: none;
  }
  .md-sidebar--primary {
    left: 0;
  }
  .md-sidebar--secondary {
    right: 0;
    margin-left: 0;
    -webkit-transform: none;
    transform: none;
  }
}

.md-header {
  max-width: none;
  width: 100%;
}
.md-header__inner {
  max-width: none;
}

/* Centrar tablas */
.md-typeset table {
  margin: 0 auto !important;
  display: table !important;
}

.md-typeset .centered-table {
  margin: 0 auto !important;
}

/* Centrar específicamente la tabla de conectores coaxiales */
.md-typeset table:has(th:contains("Conector macho")) {
  margin: 0 auto !important;
}

/* Aumentar tamaño de fuente para todos los encabezados */
.md-typeset h1 {
  font-size: 2.2em !important;
}

.md-typeset h2 {
  font-size: 1.8em !important;
}

.md-typeset h3 {
  font-size: 1.6em !important;
}

.md-typeset h4 {
  font-size: 1.4em !important;
}

.md-typeset h5 {
  font-size: 1.3em !important;
}

.md-typeset h6 {
  font-size: 1.2em !important;
}

/* Aumentar tamaño de fuente para títulos de admonitions */
.md-typeset .admonition-title {
  font-size: 1.3em !important;
  font-weight: bold !important;
}

.md-typeset .admonition {
  font-size: 1em !important;
}

/* Estilos para el mapa embebido de cables submarinos */
.map-container {
  position: relative;
  background: #f8f9fa;
  border: 2px solid #0077b6 !important;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  margin: 20px 0 !important;
}

.map-container iframe {
  border: none !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 600px;
}

/* Fallback para navegadores que no soportan iframe */
.map-container::before {
  content: "🌐 Cargando mapa interactivo...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #0077b6;
  font-size: 1.2em;
  z-index: 1;
}

.map-container iframe:not([src=""])::before {
  display: none;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
  .map-container {
    height: 400px !important;
  }
  
  .map-container iframe {
    min-height: 400px;
  }
}