body.text-light {
  background-image: url(../medias/map/cartejohto2.png);
  background-size: cover;
  background-repeat: no-repeat;
}
.text-light {
  color: #f2f2f2;
}

.text-muted {
  color: #bdbdbd;
}

.btn-outline-secondary {
  border: 2px solid #777;
  color: #ccc;
}

.btn-outline-secondary:hover {
  background: #777;
  color: white;
}

.clicker-card{
  border: 3px solid #ffcc00;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.clicker-card:hover {
  transform: translateY(-4px);
  border: 5px solid #ffcc00;
  transition: 1.2s;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.clicker-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #ffeb7a;
  text-shadow: 1px 1px 2px #c79c00;
}
.clicker-button {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  width: 100px;
  height: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.clicker-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}
#upgrades-list button {
    background-color: #ffc107;
    color: #000;
    border: none;
    padding: 8px 10px;
    width: 100%;
    text-align: left;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

#upgrades-list button:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}

.upgrades-container {
  max-height: 450px;   /* Taille du bloc (ajuste selon ton layout) */
  display: flex;
  flex-direction: column;
}

#upgrades-list {
  flex: 1;   /* Ajoute une barre de défilement verticale si le contenu dépasse */
}

.upgrades-scroll {
    height: 300px;
    overflow-y: auto;
}


