/* ══════════════════════════════════════════════════════════════════
   BlackSix — card pacchetto dentro la chat Community VIP.
   Classi scoped .bsa- per non collidere con gli stili esistenti.
   Le card vengono iniettate sotto i messaggi di BlackSix AI quando
   l'agente cita uno o più pacchetti del catalogo.
   ══════════════════════════════════════════════════════════════════ */

.bsa-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  width: 100%;
}

.bsa-card {
  border: 1px solid rgba(244, 212, 140, 0.24);
  border-radius: 14px;
  padding: 11px 12px;
  background: linear-gradient(180deg, rgba(20, 24, 33, 0.96), rgba(13, 16, 23, 0.96));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
}

.bsa-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.bsa-card-name {
  font-weight: 800;
  font-size: 0.86rem;
  color: #f7f2e8;
  line-height: 1.2;
}
.bsa-card-price {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 0.82rem;
  color: #3a2c08;
  background: linear-gradient(135deg, #fff2b9, #f4d48c);
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.bsa-card-feat {
  margin: 7px 0 0;
  font-size: 0.72rem;
  color: #b9b2bf;
  line-height: 1.4;
}
.bsa-card-actions {
  display: flex;
  gap: 7px;
  margin-top: 10px;
}
.bsa-btn {
  flex: 1 1 0;
  font: inherit;
  cursor: pointer;
  text-align: center;
  padding: 7px 10px;
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.16s ease, background 0.16s ease;
}
.bsa-btn:hover { transform: translateY(-1px); }
.bsa-btn-go {
  border: 1px solid rgba(122, 217, 255, 0.4);
  background: rgba(122, 217, 255, 0.12);
  color: #eaf7ff;
}
.bsa-btn-go:hover { background: rgba(122, 217, 255, 0.22); }
.bsa-btn-buy {
  border: 1px solid transparent;
  color: #3a2c08;
  background: linear-gradient(135deg, #fff2b9, #f4d48c);
}

.bsa-admin-btn {
  margin-top: 9px;
  font: inherit;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 13px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(244, 212, 140, 0.45);
  background: linear-gradient(135deg, rgba(244, 212, 140, 0.2), rgba(255, 143, 82, 0.14));
  color: #fff2b9;
  transition: transform 0.16s ease;
}
.bsa-admin-btn:hover { transform: translateY(-1px); }

/* glow sulla card di destinazione dopo "Vai" */
.bsa-target-glow { animation: bsa-target 2.2s ease; border-radius: inherit; }
@keyframes bsa-target {
  0%, 100% { box-shadow: 0 0 0 0 rgba(122, 217, 255, 0); }
  20%, 60% { box-shadow: 0 0 0 3px rgba(122, 217, 255, 0.55), 0 0 28px rgba(122, 217, 255, 0.4); }
}
