body[data-bs-theme="dark"] {
  background-color: #212529;
  color: #f8f9fa;
}

body[data-bs-theme="dark"] .word-list-export {
  color: black !important;
}

body[data-bs-theme="light"] {
  background-color: #f8f9fa;
  color: #212529;
}

body[data-bs-theme="light"] .word-list-export {
  color: inherit;
}

.force-black-text {
  color: black !important;
}

.grid {
  display: grid;
  justify-content: center;
  gap: 2px;
  margin: 20px auto;
}

.cell {
  width: 35px;
  height: 35px;
  background: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s, transform 0.1s;
}

.cell:hover {
  background-color: rgba(13, 110, 253, 0.2);
  transform: scale(1.05);
}

.cell.selected {
  background-color: #0d6efd;
  color: white;
  transform: scale(1.1);
}

.cell.found {
  background-color: #198754 !important;
  color: white;
  animation: pulse 1s;
}

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

.highlight {
  background-color: rgba(13, 110, 253, 0.3);
}

.found-word {
  text-decoration: line-through;
  color: #198754;
  font-weight: bold;
}

.site-name {
  font-size: 24px;
  font-weight: bold;
  margin-top: 10px;
  color: #0d6efd; /* Couleur bleue pour le nom du site */
  text-align: center;
}
