/* btnarriba.css */
#btnarriba {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 20px;
  padding: 0.3em 0.6em;
  border: none;
  background-color:  #4CAF50;
  color: #333;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: none; /* Oculto por defecto */
  transition: opacity 0.3s;
  z-index: 1000;
}
#btnarriba:hover {
  background-color: #ddd;
}
/* ── Barra de navegación crosslinks ───────────────────── */
.crosslinks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  margin: 1.5rem 0;
  border-top: 1px solid #d6cfc3;
  border-bottom: 1px solid #d6cfc3;
}

.crosslinks a {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  border: 1.5px solid #d6cfc3;
  color: #7a7267;
  background: #f4f0e8;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.crosslinks a:hover {
  background: #006b3f;
  color: white;
  border-color: #006b3f;
  box-shadow: 0 2px 8px rgba(0,107,63,0.22);
}

.crosslinks a:active {
  transform: translateY(1px);
}

/* El enlace "Inicio/Up" centrado y levemente distinto */
.crosslinks a:nth-child(2) {
  border-color: #b5d6c7;
  color: #006b3f;
  background: #e3f0ea;
}

.crosslinks a:nth-child(2):hover {
  background: #006b3f;
  color: white;
}

@media (max-width: 480px) {
  .crosslinks { gap: 0.4rem; padding: 0.5rem; }
  .crosslinks a { font-size: 0.78rem; padding: 0.3rem 0.7rem; }
}

@media print {
  .crosslinks { display: none; }
}
