/* .background-modulo-niveles-mi-iberdrola-familias {
  background: var(--Color-Surface-General-Inverse, #00402A);
} */

.modulo-niveles-mi-iberdrola-familias {
  width: 100%;
  padding: 40px 16px 20px 16px;
  background: var(--Color-Surface-General-1, white);
  /* border-radius: 16px 16px 0 0; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 32px;
}

.contenedor-title {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

.modulo-niveles-mi-iberdrola-familias .title_s {
  width: 100%;
  max-width: 800px;
  text-align: center;
  color: var(--Color-Content-General-1, #2C2C2C);
}

.contenedor-tabla-niveles {
  align-self: stretch;
  background: var(--Color-Surface-General-1, white);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 16px;
}

.contenedor-niveles {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 8px;
}

.nivel-plata,
.nivel-oro,
.nivel-plus {
  flex: 1 1 0;
  height: auto;
  min-height: 62px;
  max-height: 62px;
  padding: 12px;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
  transition: max-height 1s ease-in-out;
}

.nivel-plata {
  background: var(--Neutral-60, #999999);
}

.nivel-oro {
  background: #E5AC51;
}

.nivel-plus {
  background: var(--Forest-80, #00402A);
}

.contenido-niveles {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 24px;
}

.contenedor-texto-nivel-plata {
  align-self: stretch;
  height: 54.59px;
  justify-content: flex-end;
  display: flex;
  flex-direction:column;
  color: var(--Color-Content-General-Inverse, white);
  word-wrap: break-word;
}

.contenedor-texto-nivel-oro {
  align-self: stretch;
  height: 90.42px;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  color: var(--Color-Content-General-Inverse, white);
  word-wrap: break-word;
}

.contenedor-texto-nivel-plus {
  align-self: stretch;
  height: 128.42px;
  justify-content: flex-end;
  display: flex;
  flex-direction: column;
  color: var(--Color-Content-General-Inverse, white);
  word-wrap: break-word;
}

.logo-nivel-plata {
  width: 25px;
  height: 30.917px;
}

.logo-nivel-oro {
  width: 25px;
  height: 31.012px;
}

.logo-nivel-plus {
  width: 25px;
  height: 31.011px;
}

.nivel-plata.hover,
.nivel-oro.hover,
.nivel-plus.hover{
  max-height: 500px;
} 

.contenedor-celdas {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
}

.contenedor-fila {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 8px;
}

.modulo-niveles-mi-iberdrola-familias .body_regular_s {
  align-self: stretch;
  color: var(--Color-Content-General-2, rgba(71, 71, 71, 0.8));
}

.contenido-fila {
  align-self: stretch;
  padding: 16px 6px;
  background: var(--Color-Surface-General-3, #F9F9F9);
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contenedor-texto-fila {
  flex: 1 1 0;
  text-align: center;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
}

.texto-fila-desktop {
  display: none;
}


@media (min-width: 576px) {
  .modulo-niveles-mi-iberdrola-familias {
    padding: 40px 42px 20px 42px;
  }

  .modulo-niveles-mi-iberdrola-familias .title_s {
    font-family: var(--font-family-1-smbold);
    font-size: var(--size-font-200);
    line-height: var(--size-font-line-height-2xl);
    font-style: var(--font-style-normal);
  }
}

@media (min-width: 992px) {
  .modulo-niveles-mi-iberdrola-familias {
    padding: 48px 82px 24px 82px;
    /* border-radius: 48px 48px 0 0; */
  }
  
  .contenedor-niveles {
    width: 686px;
    gap: 24px;
  }

  .nivel-plata,
  .nivel-oro,
  .nivel-plus {
    min-height: 87px;
    max-height: 87px;
  }

  .logo-nivel-plata {
    width: 44px;
    height: 54.414px;
  }

  .logo-nivel-oro {
    width: 44px;
    height: 54.581px;
  }

  .logo-nivel-plus {
    width: 44px;
    height: 54.616px;
  }

  .contenido-niveles .body_regular_xs {
    font-family: var(--font-family-1-regular);
    font-size: var(--size-font-125);
    line-height: var(--size-font-line-height-m);
    font-style: var(--font-style-normal);
  }
  
  .contenedor-fila {
    flex-direction: row;
    gap: 24px;
  }

  .contenido-fila {
    width: 100%;
    padding: 24px 0px;
  }

  .texto-fila-mobile {
    display: none;
  }

  .texto-fila-desktop {
    display: block;
  }

  .modulo-niveles-mi-iberdrola-familias .body_regular_s {
    align-content: center;
    text-align: right;
    /* width: 118px; */
    width: 142.43px;
    height: 70px;
  }
}

@media (min-width: 1200px) {
  .modulo-niveles-mi-iberdrola-familias {
    padding: 48px 102px 24px 102px;
  }

  .contenedor-niveles {
    width: 850px;
  }

  .modulo-niveles-mi-iberdrola-familias .body_regular_s {
    /* width: 122px; */
    width: 142.96px;
  }
}

@media (min-width: 1912px) {  /* Edge */
  .modulo-niveles-mi-iberdrola-familias {
    padding: 48px 324px 24px 324px;
  }

  .contenedor-niveles {
    /* width: 1032px; */
    width: 81%
  }

  .modulo-niveles-mi-iberdrola-familias .body_regular_s {
    /* width: 216px; */
    width: 266.24px;
  }
}