html, body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
}

.root {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.25);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-color-scheme: dark) {
  /* Scrollbar WebKit */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #1e1e1e;
  }

  ::-webkit-scrollbar-thumb {
    background-color: #444;
    border-radius: 6px;
    border: 2px solid #1e1e1e;
  }

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

  /* Firefox */
  * {
    scrollbar-color: #444 #1e1e1e;
    scrollbar-width: thin;
  }
}

/* === Tooltip estilo Biltech GPS === */
.biltech-tooltip {
  position: relative;
}

/* Tooltip contenedor */
.biltech-tooltip[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  left: -10px;
  transform: translate(-100%, -50%);
  background: rgba(25, 25, 25, 0.9);
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.18s ease;
  font-family: 'Roboto', sans-serif;
  z-index: 9999;
}

/* Flechita hacia la derecha */
.biltech-tooltip[data-tooltip]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -6px;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent rgba(25, 25, 25, 0.9) transparent transparent;
  opacity: 0;
  transition: opacity 0.18s ease;
}

/* Mostrar tooltip al hover */
.biltech-tooltip[data-tooltip]:hover::after,
.biltech-tooltip[data-tooltip]:hover::before {
  opacity: 1;
}

