.table-striped-bda {
  margin: 1em;
  border-collapse: separate;
}
.table-striped-bda > tbody > tr:nth-of-type(odd) {
  background-color: #fff;
}
.table-striped-bda td.sticky {
  position: sticky;
  top: 0;
}
.table-striped-bda td.sticky-father {
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.table-striped-bda td {
  border-right: 1px solid #000;
  border-bottom: 1px solid #000;
  padding: 0.5em;
  width: 3em;
  text-align: center;
}
.table-striped-bda tr:first-child td:first-child {
  background-color: #fff;
  border: none;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}
.table-striped-bda tr th:first-child {
  width: 15em;
  border-left: 1px solid #000;
  border-right: 1px solid #000;
  padding: 0.5em;
  text-align: left;
}
.table-striped-bda tr td:first-child {
  border-left: 1px solid #000;
}
.TavProduttori,
.TavComparti,
.TavCentriServizi,
.TavDistributori,
.TavRottame,
.TavCostruzioni,
.TavEnergia,
.TavFabAuto,
.TavFabMacc,
.TavFabMeta {
  color: #fff;
  text-transform: uppercase;
  font-weight: bold;
}
.TavCentriServizi {
  background-color: #548033;
}
.TavProduttori {
  background-color: #009fe3;
}
.TavDistributori {
  background-color: #fcbc05;
}
.TavComparti {
  background-color: #5f5e5e;
}
.TavRottame {
  background-color: #bc1818;
}
.TavCostruzioni {
  background-color: #02adb5;
}
.TavEnergia {
  background-color: #00a56b;
}
.TavFabAuto {
  background-color: #ff7c64;
}
.TavFabMacc {
  background-color: #f59c00;
}
.TavFabMeta {
  background-color: #9d9d9c;
}
.bda-header {
  padding: 2em;
}
.bda-header-index {
  padding: 2em;
  background-image: none;
}
.bda-header-button {
  float: right;
  text-align: center;
  font-size: 0.6em;
  width: 80px;
}
.bda-header-button,
.bda-index-button {
  text-transform: uppercase;
}
.bda-header-button a,
.bda-index-button a {
  color: #3c3c3c;
}
.bda-header-button a:hover,
.bda-index-button a:hover {
  color: #3c3c3c;
}
.bda-header-button img,
.bda-index-button img {
  padding-bottom: 0.8em;
}
.bda-index-button {
  position: relative;
  float: none;
  width: 130px;
  display: inline-block;
  font-size: 1em;
  text-align: center;
  vertical-align: top;
}
.bda-index-button img {
  margin: 0.5em;
  width: 60px;
}
.bda-index-button .new {
  display: inline-block;
  background-color: red;
  color: white;
  padding: 0.2em 2em;
  font-weight: bold;
  border-radius: 10px;
  margin-top: 0.3em;
  font-size: 0.75em;
}
.bda-header-wrapper-button {
  display: flex;
  float: right;
  text-align: center;
}
.bda-header-logo {
  padding-bottom: 2em;
}
.bda-index-wrapper-button {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2em;
  padding: 1em 0;
}
.bda-wrapper-index-block {
  background-color: #f5f5f5;
}
.bda-wrapper-index-block-green {
  background-color: #81ad2a;
  color: #fff;
}
.bda-wrapper-index-block,
.bda-wrapper-index-block-green {
  margin: 2em;
  padding: 1em;
  text-align: center;
}
.bda-title {
  text-align: center;
  font-size: 1.2em;
  text-transform: uppercase;
  color: #3c3c3c;
  font-weight: bold;
  margin-bottom: 1em;
}
.bda-subtitle {
  text-align: center;
  color: #fff;
  background-color: #3c3c3c;
  padding: 0.2em;
  margin-left: 30%;
  margin-right: 30%;
  font-size: 1.5em;
  font-weight: bold;
  position: relative;
}
.bda-subtitle .new {
  display: inline-block;
  background-color: red;
  color: white;
  padding: 0.2em 2em;
  font-weight: bold;
  border-radius: 10px;
  margin-top: 0.3em;
  font-size: 0.75em;
  position: absolute;
  right: -18px;
  top: -15px;
}
.bda-description,
.bda-description-extra {
  margin-left: 15%;
  margin-right: 15%;
  padding: 2em;
  border: none;
}
.bda-description-extra {
  margin-left: 0;
  margin-right: 0;
}
.bda-button-description {
  display: none;
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #81ad2a;
  border-radius: 6px;
  width: 400px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-transform: initial;
  color: #fff;
  z-index: 20;
}
.bda-index-button:hover img {
  filter: brightness(1.75);
}
.bda-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5em;
  margin-top: 2em;
  margin-bottom: 4em;
}
.bda-card {
  flex: 0 0 220px;
  text-align: center;
}
.bda-toggle {
  width: 100%;
  background-color: #fff;
  border: none;
  border-radius: 9999px;
  padding: 0.8em 1em;
  font-weight: 600;
  color: #3c3c3c;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}
.bda-toggle:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.bda-toggle .chevron {
  float: right;
  color: #bd29ed;
  font-size: 1.1em;
  transition: transform 0.3s ease;
}
.bda-toggle.active .chevron {
  transform: rotate(180deg);
}
.bda-content-card {
  display: none;
  text-align: left;
  margin-top: 1em;
  padding-left: 1em;
  font-size: 0.9em;
  color: #3c3c3c;
}
.bda-content-card li {
  padding: 0.3em 0;
  text-transform: uppercase;
}
.tip-description {
  position: relative;
  cursor: pointer;
}
.tip-description::after {
  content: attr(data-tooltip);
  position: fixed;
  left: var(--mouse-x, 0px);
  top: var(--mouse-y, 0px);
  transform: translate(10px, 10px);
  max-width: min(40vw, 360px);
  padding: 10px 12px;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease-out;
  z-index: 99999;
  white-space: normal;
  background: #3c3c3c;
  font-weight: normal;
  text-transform: uppercase;
}
.tip-description:hover::after {
  opacity: 1;
}
.bda-plus-section {
  margin-top: 2em;
}
.bda-search {
  padding: 1.2em 3em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.bda-azienda-col {
  display: flex;
  flex-direction: column;
  margin-bottom: 1em;
}
.bda-azienda-1 {
  color: #1f75fe;
}
.bda-azienda-2 {
  color: #8dbaf5;
}
.bda-btn-search {
  background: linear-gradient(90deg, #0000aa, #000000, #53005a);
  color: #fff;
  border-radius: 26px;
  font-weight: 700;
  padding: 0.5em 3em;
}
@media (max-width: 768px) {
  .bda-search {
    flex-direction: column;
    align-items: stretch;
  }
}
@media (min-width: 992px) {
  .radar-row {
    display: flex;
    align-items: center;
  }
}
@media (max-width: 991px) {
  .radar-row {
    display: block;
  }
  .canvas-col,
  #metric-selection {
    width: 100%;
    padding-left: 0;
    margin-bottom: 1em;
  }
}
.metric-item {
  display: block;
  margin-bottom: 0.5em;
}
@media (max-width: 991px) {
  .metric-item {
    display: inline-block;
    margin-right: 1em;
    margin-bottom: 0.5em;
  }
}
.bda-table-histogram td,
.bda-table-histogram th {
  border: 2px solid #dcdcdc;
  padding: 8px 12px;
  text-align: center;
}
.bda-table-histogram tr td:first-child,
.bda-table-histogram tr th:first-child {
  border-left: none !important;
}
.bda-table-histogram tr td:last-child,
.bda-table-histogram tr th:last-child {
  border-right: none !important;
}
.bda-table-histogram td:first-child,
.bda-table-histogram th:first-child {
  text-align: left !important;
}
.bda-table-histogram th {
  color: #fff;
  background-color: #3c3c3c;
}
.container-table-histogram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.col-histogram {
  flex: 1 1 45%;
  padding: 20px;
  box-sizing: border-box;
}
.bda-video-wrapper {
  border: 2px solid #8b42f6;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0 25px 0;
  min-height: 230px;
  text-align: left;
}
.bda-video-preview img {
  width: 180px;
  border-radius: 8px;
}
.bda-indice-video h4 {
  font-size: 16px;
  margin-top: 0;
  font-weight: 600;
}
.bda-indice-video ul {
  padding-left: 18px;
  margin-top: 8px;
}
.bda-indice-video li {
  margin-bottom: 4px;
  font-size: 14px;
}
.bda-shop-banner {
  background: #e6f3cc;
  text-align: center;
  margin: 2em;
  padding: 1em;
  color: #81ac29;
}
.bda-btn-shop {
  background: #81ac29;
  color: #fff;
  padding: 10px 32px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  border: 0;
  margin-top: 10px;
  display: inline-block;
}
.bda-btn-acquista {
  background: linear-gradient(90deg, #001f7f 0%, #000000 50%, #4b005e 100%);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(122, 0, 255, 0.35);
  transition: 0.2s ease;
  text-align: center;
}
.bda-btn-acquista:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
.bda-shop-banner {
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
}
.bda-shop-banner .shopping-cart {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  color: #7aae33;
}
/* wrapper immagine */
.bda-video-preview-wrapper,
.bda-has-overlay {
  position: relative;
  display: inline-block;
}
.bda-video-thumb {
  display: block;
  width: 100%;
  border-radius: 4px;
}
/* cerchio bianco col play */
.bda-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.25s ease;
  pointer-events: none;
  /* non blocca il click */
}
/* triangolo play */
.bda-play-icon {
  width: 0;
  height: 0;
  border-left: 22px solid #4b4b4b;
  /* colore identico al tuo mockup */
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 4px;
  /* centratura visiva */
}
/* hover effect */
.bda-has-overlay:hover .bda-play-overlay {
  background: #ffffff;
  transform: translate(-50%, -50%) scale(1.05);
}
.video-preview img {
  cursor: pointer !important;
}
.bda-video-wrapper {
  min-height: 260px;
  /* più alto, più omogeneo */
  align-items: center;
}
.video-preview {
  text-align: center;
  padding: 10px 0;
}
.disabled-button {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}
.bda-slide-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.bda-slide-btn span {
  position: relative;
  top: 2px;
  display: inline-block;
  line-height: 1.2em;
}
.content-section-subtitle + .content-section-subtitle {
  margin-top: 2px;
}
.content-section-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  text-decoration: underline;
  color: #1f3a93;
  cursor: pointer;
}
.content-videos-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}
.content-video-card {
  position: relative;
  width: 320px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
/* Placeholder images */
.content-thumb-1 {
  background-image: url("https://images.pexels.com/photos/3184312/pexels-photo-3184312.jpeg?auto=compress&cs=tinysrgb&w=800");
}
.content-thumb-2 {
  background-image: url("https://images.pexels.com/photos/3184306/pexels-photo-3184306.jpeg?auto=compress&cs=tinysrgb&w=800");
}
.content-video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  font-size: 13px;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.content-gallery-section {
  background: #f4f4f8;
}
.content-gallery-subtitle {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 6px;
  margin-bottom: 26px;
}
.content-buttons-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.content-btn {
  min-width: 140px;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #1d2456;
  color: #ffffff;
}
.content-btn:hover {
  filter: brightness(1.05);
}
@media (max-width: 700px) {
  .content-video-card {
    width: 100%;
    max-width: 340px;
  }
}

