/* Plugin Style per Slot Machine */
.bf-slot-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.bf-slot-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.bf-slot-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.slot-img-wrapper {
  position: relative;
}
.slot-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.provider-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  padding: 3px 6px;
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.2);
  z-index: 2;
  max-width: 70px;
  max-height: 26px;
  overflow: hidden;
}
.provider-badge img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.bf-slot-box-content {
  text-align: center;
  padding: 12px 15px 18px;
}
.bf-slot-box-content h3 {
  font-size: 1.05rem;
  color: #333;
  margin: 8px 0;
}
.bf-slot-btn {
  display: inline-block;
  background: #0069ff;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 8px;
}
.filter-bar {
  text-align: center;
  margin: 30px 0 25px;
}
.filter-btn {
  background: #0069ff;
  color: white;
  border: 1px solid #0069ff;
  padding: 8px 16px;
  margin: 0 10px 10px 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.2s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: #004bb5;
  color: #fff;
  border-color: #004bb5;
}
.pagination {
  margin: 40px auto 60px;
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  text-align: center;
}
.pagination a {
  padding: 6px 12px;
  margin: 0 3px;
  text-decoration: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
}
.pagination a.active {
  background-color: #0069ff;
  color: #fff;
  border-color: #0069ff;
}


/* Final override */
.provider-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 2;
  max-width: 60px;
  max-height: 24px;
  overflow: hidden;
}
.provider-badge img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0;
}


/* Fix stabilità posizione logo */

/* Fissa la posizione del logo provider indipendentemente dall'hover */
.bf-slot-box {
  position: relative;
}
.slot-img-wrapper {
  position: relative;
}
