:host {
  box-sizing: border-box;
  display: block;
  height: 100%;
  width: 100%;
}

.board-header {
  color: var(--color-ti-text-grey-darker);
  font-size: 20px;
  font-weight: 400;
  padding: 2% 2% 0% 2%;
  text-transform: uppercase;
}

.board-description {
  color: var(--color-ti-text-grey);
  font-size: 12px;
  height: 100px;
  line-height: 20px;
  padding: 2%;
  width: calc(100% - 105px - 2%);
}

.board-img {
  position: absolute;
  top: 4  5px;
  right: 15px;
  width: 105px;
}

.device-selection {
  background-color: var(--color-ti-white);
  background-image: url(../../images/bg-tile.svg);
  background-position-y: -19%;
  border-radius: 2px;
  margin: 10px 15px 10px 0;
  padding: 2% 2% 0 2%;
  position: relative;
  transition: all 0.2s;
  width: 100%;
}

.chip-container {
  display: flex;
  align-items: center;
}

.selection-ctr {
  height: 110px;
  overflow: hidden;
}

.card-unselected {
  height: 19.8px;
  width: 19.8px;
  border: 1px solid var(--color-ti-border-grey-dark);
  border-radius: 9.9px;
}

.checked-green {
  --iron-icon-fill-color: var(--color-ti-secondary-green);
}

.device-selection.selected {
  border: 1px dashed var(--color-ti-primary-red);
  box-shadow: 0px 0px 7px -2px var(--color-ti-primary-red);
}

.device-selection.disable-true {
  opacity: 0.7;
  pointer-events: none;
}

.grid-c-2{
  display: grid;
  grid-template-columns: repeat(2, auto);
}

.variants-container{
  width: 80%;
}

.device-variant{
  padding: 10px;
  margin: 10px;
  border: 1px dotted #c0c0c0;
  width: fit-content;
  border-radius: 5px;
  cursor: pointer;
}

.device-variant.selected{
  border: 1.5px dotted green;
  box-shadow: 0px 0px 10px -2px 
}

.variants-info-icon{
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
}

.info-overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.variants-info-popup{
  position: relative;
  padding: 30px;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  transform: translate(-50%, -50%);
  background-color: #eeeeee;
  z-index: 1;
  border-radius: 15px;
  box-shadow: 0px 0px 7px -2px;
  animation:popup; 
  animation-duration:0.2s;
  animation-iteration-count: 1;
}

.popup-header{
  color: #2e2b2b;
  font-size: 18px;
  font-weight: 500;
  margin: 10px 15px;
}

.dev-info{
  padding: 5px;
  margin: 5px 10px;
}

.info-header{
  color: #494646;
  font-weight: 500;
  margin: 1px 0px;
}

@keyframes popup{
  0%{
    width: 10%;
    height: 10%;
  }
  25%{
    width: 20%;
    height: 20%;
  }
  50%{
    width: 30%;
    height: 30%;
  }
  75%{
    width: 40%;
    height: 40%;
  }
  100%{
    width: 50%;
    height: 50%;
  }
}