@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Share+Tech+Mono&display=swap');

.interaction {
  cursor: pointer;
  background-color: rgba(51, 49, 49, 0.2);
  border: solid 1px rgba(255, 255, 255, 0.1);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 1px 5px rgba(255, 255, 255, 0.7);
  padding: 0;
}

.interactions-icon {
  margin-left: 3px;
  margin-top: 3px;
  width: 19px;
  height: 19px;
}

.accordion-column-panel {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}

.interaction-box {
  width: auto;
  height: auto; /* oppure 100px se serve */
  position: absolute;
  /* RIMOSSI flex, align-items, gap, ecc. */
}

/* POSIZIONE DI DEFAULT: a DESTRA dell'interazione, centrato verticalmente */
.interaction-title-cnt {
  position: absolute;
  top: 5%;
  left: 80%;
  transform: translateY(-50%);
  margin-left: 10px;
  white-space: nowrap;
  z-index: 10;
  padding: 6px 10px;
  border-radius: 8px;
  color: white;
  text-align: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Quando troppo a destra → sposta a sinistra, ma resta centrato verticalmente */
.align-left {
  left: auto !important;
  right: 100%;
  top: 10%;
  transform: translateY(-50%);
  margin-left: 0;
  margin-right: 10px;
}

/* Quando troppo in basso → sposta SOPRA l’interazione, centrato orizzontalmente */
.align-top {
  top: auto !important;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  margin-bottom: 10px;
}

/* Quando troppo in alto → sposta SOTTO */
.align-bottom {
  top: 100% !important;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0;
  margin-top: 10px;
}

.align-left {
  left: auto !important;
  right: 100%;
  top: 10%;
  transform: translateY(-50%);
  margin-left: 0;
  margin-right: 10px;
}




/** Nuova animazione Titoli interazioni
/* Stile del titolo */
.animated-title {
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  overflow: hidden;
  letter-spacing: .4px;
  display: inline-block;
  pointer-events: none!important;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.8));
  border-bottom: rgba(255, 255, 255, 0.6) 1.4px solid;
  padding: 1px 2px;
  border-radius: 1px;
}

/* Stile per ogni lettera */
.animated-title span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-100px) translateY(0) scale(0.8);
  animation: fadeInWave .4s forwards ease-out;
  pointer-events: none!important;
}

/* Animazione lettere con balzo */
@keyframes fadeInWave {
  0% {
      opacity: 0;
      transform: translateX(-100px) translateY(0) scale(0.8);
  }

  50% {
      opacity: 1;
      transform: translateX(0) translateY(-20px) scale(1.1);
  }

  70% {
      transform: translateX(0) translateY(10px) scale(1);
  }

  100% {
      opacity: 1;
      transform: translateX(0) translateY(0) scale(1);
  }
}



.interactionTitleHidden {
  display: none;
  opacity: 0;
}

.interaction-hidden {
  display: none;
}

.list-all-interactions-cnt {
  width: 50%;
  height: 80%;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  margin-top: 50px;
  gap: 5px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  align-items: center;
}

.list-all-interactions-cnt::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.interaction-horizontal-card {
  width: 60%;
  display: flex;
  align-items: center;
  background: #222;
  border-radius: 5px;
  height: 100px;
  cursor: pointer;
}

.interaction-card-content-wrapper {
  width: 100%;
}

.inter-in-video-time {
  color: #bbb;
  font-size: 0.85rem;
  text-align: center;
}

.interaction-card-bg-in-video {
  flex: 0 0 100px;
  height: 100px;
  background: #333;
}

.interaction-card-img-in-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.inter-form-in-video-cnt {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
  justify-content: center;
}

.inter-in-video-title {
  color: white;
  font-size: 1rem;
  text-align: center;
}

.content-switcher-cnt {
  margin-top: 1%;
  padding-bottom: 5%;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.details-doc-detail {
  height: 50vh;
}

.identity-switch,
.kids-switch,
.adults-switch {
  padding: 4px;
  border-radius: 25%;
  background-color: rgba(66, 65, 65, 0.9);
  border: none;
  cursor: pointer;
  z-index: 10;
}

.pr-cnt-col {
  display: flex;
  flex-direction: column;
  justify-items: start;
  align-items: center;
  text-align: center;
  gap: 2px;
}

.pr-text {
  color: white;
  font-size: x-small;
}

.active {
  border: solid white 2px;
  transition: 0.3 ease-in-out;
}

.card-hidden {
  display: none;
}

.text-hidden {
  display: none;
}

.interaction-description {
  color: white;
  font-size: 12px;
  margin-top: 4px;
  line-height: 1.3;
}


.icon-size-S img {
  width: 20px;
  height: 20px;
}
.icon-size-M img {
  width: 30px;
  height: 30px;
}
.icon-size-L img {
  width: 40px;
  height: 40px;
}

.interactionsDiv-size-S {
  width: 20px;
  height: 20px;
}
.interactionsDiv-size-M {
  width: 30px;
  height: 30px;
}
.interactionsDiv-size-L {
  width: 40px;
  height: 40px;
}

.interactionsTitle-size-S {
  font-size: 1rem;
}
.interactionsTitle-size-M {
  font-size: 1.3rem;
}
.interactionsTitle-size-L {
  font-size: 1.7rem;
}



