.radioWrap {
  display: flex;
  gap: 8px;
  width: 100%;

  &.twoItem {
    justify-content: flex-start;
  }

  &.threeItem {
    justify-content: flex-start;
  }

  &.fourItem {
    flex-wrap: wrap;
  }
}

.radioItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;

  &:hover {
    opacity: 0.85;
  }

  .twoItem & {
    flex: 1;
    max-width: 180px;
  }

  .threeItem & {
    flex: 1;
    max-width: 140px;
  }

  .fourItem & {
    width: calc(50% - 6px);
    box-sizing: border-box;
  }
}

.imgBox {
  width: 100%;
  height: 76px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  background: #181a24;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  &.imgBoxActive {
    border-color: rgba(58, 137, 254, 0.4);
    background: rgba(58, 137, 254, 0.1);
  }
}

.layoutImg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.layoutName {
  font-size: 12px;
  color: #b4b7c1;
  text-align: center;

  &.layoutNameActive {
    color: #3a89fe;
  }
}
